names of paths and the container collections

Hello

I have two questions (running the shell. / dbxml):
(a) when I opened a container, for example /path/to/my/container.dbxml (a container that is not in my default DB environment)
with the command "openContainer /path/to/my/container.dbxml."
How can I perform an xquery query then?
because if I try to "request"collection("/path/to/my/container.dbxml") / *' ', "
I get the error:
stdin:8: the query failed, error: could not resolve the container: path/to/my/container.dbxml. No open container and automatic opening is not enabled. Container cannot exist.

But my container does not exist!
(I won't use aliases)

(b) how do we get the names of documents within a collection?

Thank you.

(a) why not use just "collection()' when you opened a container? You don't have to provide a path that he once you opened
(b) collection () / dbxml:metadata('dbxml:name')

Vyacheslav

Tags: Database

Similar Questions

  • How to specify the output path and the name of the report file in OSTEOARTHRITIS

    Hello
    I need to change the output path and filename for simultaneous work.

    By default, all output files end up in the $ folder COMMON_TOP/admin/out on UNIX and the file name is something like o3996093.out.

    Does anyone know how I can change both the output path and the name of a report in 11i?

    Thanks and greetings
    Roy

    Hi Roy,

    Use a mechanism to copy the file where you have, for example the driver printer running cp $filename$ / xxx/yyy

    Kind regards
    Gareth

  • I bought a license for cs 6 standard, I have the serial number and the previous collection of 1 to 5. I need to reinstall the program. I would like to know were your site I should go to re - install the program?

    I bought a license for cs 6 standard, I have the serial number and the previous collection of 1 to 5. I need to reinstall the program. I would like to know were your site I should go to re - install the program?

    You can download CS6 on the following link...

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

    Download and Installation Help-

    https://helpx.Adobe.com/download-install.html

  • How can I change the name of 'folio' and the ' name of the publication?

    Hello

    We have published a multi-folio application a unique folio in it.

    We would like to change the name of 'folio' and "the name of the publication" and we tried to do by using the dashboard. However, when clicking on "update" we box unchecked the "update content", because there is no change to the content of the folio. The problem is that this did not change anything in the application: the 'folio name' and "the name of the publication" remain the same...

    Is it possible to do without having to republish this folio?

    Thank you!

    Olivier.

    Metadata are considered as part of the content. Click Update again and leave the box "update content" checked.

    Neil

  • Impossible to delete the "cannot find the specified file. Be sure to only specify the path and the correct name?

    For sum reason my computer just started to do the following when I try and delete a file or move a file from one place to the other.

    I am the administrator and the file is there.

    Failed to remove "" cannot find the specified file. Be sure to only specify the path name and filre coeerct.

    Help!

    Perry

    Hi KAD Rebar,.

    1. Did you the latest changes on the computer?
    2. When was the last time it was working fine?
    3. Are you having similar problem with all the files you are trying to move or remove it from the computer?
    4. You have security software installed on the computer?

    Method 1

    See the link below and run the Fixit tool available, check if it helps.

    Diagnose and repair Windows files and folders problems automatically

    http://support.Microsoft.com/mats/windows_file_and_folder_diag/

     

    Method 2

    If the previous step fails, then I suggest that you start the computer in safe mode and check if the problem persists.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

    If the problem does not persist in safe mode, then it is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See section to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

  • CameraRoll added the path and the name of the image

    How can I get the name and the path of the image stored in cameraroll?

    Or y at - it a way to display the image in the photo card?

    var cameraRoll:CameraRoll = new CameraRoll();
    cameraRoll.addEventListener(Event.COMPLETE, saveComplete);
    cameraRoll.addBitmapData(bmpData);
    

    Solved by selecting the last image in the folder of the camera.

    var strDir:String = File.userDirectory.resolvePath('shared/camera').nativePath;
    var fileCam:File = new File(strDir);
    var files:Array = fileCam.getDirectoryListing();
    files.sortOn("creationDate", Array.NUMERIC);
    var lastFile:File = new File();
    lastFile = files[files.length-1];
    
  • View the number of paths and the political path for each data store

    Hi all

    Seem to be stuck on this one. and all that seems to be able to find through topis and scripts for the air path setting. All I have to do is list each data store to its policy of access road and the number of path for the data store on the host computer.

    I'm gussiing it uses the get-vmhoststorage cmdlet?

    Any help much appriciated.

    Phil

    Try something like this

    Get-VMHost | %{
         $esxImpl = $_
         $_ | Get-ScsiLun | where {$_.LunType -eq "Disk"} | %{
              $_ | Select @{N="HostName";E={$esxImpl.Name}},
              @{N="Path";E={$_.CanonicalName}},
              @{N="Policy";E={$_.MultiPathPolicy}},
              @{N="Number";E={($_ | Get-ScsiLunPath).Count}}
         }
    }
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Are required to report the VM path and the full path of the friendly help LUN ID .vmx file

    Hello

    Came across Luke script to the data store and vm path list:

    Get - VM | Get-View | %{

    $row = "" | Select the name, the data store, path

    $row. Name = $_. Name

    $row. Data store = (Get-view $_.) Datastore [0]). Summary.Name

    $current = get-view $_. Parent

    $path = $_. Name

    {}

    $parent = $current

    if($parent.) Name - only "vm") {$path = $parent. {Name + "\" + $path}

    $current is get-view $current. Parent

    } While ($current. Parent - no $null)

    $row. Path = $path

    $report += $row

    }

    $report | Export-Csv $CsvFile - NoTypeInformation

    I need help modify this script to display the full path of the vmx file

    Thank you

    Is that what you mean?

    Get-VM | Get-View | % {
         $row = "" | select Name, Datastore, Path, VMXPath
         $row.Name = $_.Name
         $row.Datastore = (Get-View $_.Datastore[0]).Summary.Name
         $current = Get-View $_.Parent
         $path = $_.Name
         do {
              $parent = $current
              if($parent.Name -ne "vm"){$path = $parent.Name + "\" + $path}
              $current = Get-View $current.Parent
         } while ($current.Parent -ne $null)
         $row.Path = $path
         $row.VMXPath = $_.Config.Files.VmPathName
         $report += $row
    }
    $report | Export-Csv $CsvFile -NoTypeInformation
    
  • List vm name, IP address, and the folder path

    Hello

    DOE anyone at - it a script that will list the following?

    VM name, IP address, path to folder.

    Thank you

    Try the attached script

  • Save as a Script with the path and the preset name

    Hello

    LiveCycle version: 8.2.1.4029.1.523496

    The purpose of the script that I have is to save the livecycle form in a predefined directory and using the values to a text field in the name of the file.

    The script is placed in an output on a field event using javascript as follows:

    this.saveAs ("/ c/Forms/Template/Leave Application"+ Applicants_Name.rawValue".pdf" ");

    The script does not work.

    Can someone please learn about some fixed my script?

    Any help will be most appreciated.

    The only way for a SaveAs is so confident at the level of the Script files.

    Create a javascript (Config.js) file in the Javascripts directory (usually C:\Program Files\Adobe\ Acrobat x.0\Acrobat\Javascripts, where x = the version of Acrobat you have installed).  In the .js file, put something like

    SaveAs Function1

    var mySaveDoc = {app.trustedFunction (function (doc)}

    app.beginPriv ();

    var myPath = "/ c/temp /" + "WhateverNameYouLike" + ".pdf";

    saveAs is the only privileged code that should be placed

    with beginPriv/endPriv

    doc.saveAs ({cPath: myPath,})

    bCopy: true,

    ({bPromptToOverwrite: false});

    app.endPriv ();

    });

    Call the function as event.target.mySaveDoc (event.target); the use of javascript in a mouse, an event for a button.

    I hope this helps.

  • I am trying to copy pictures to a memory stick and I get: cant create or replace file.can't find the specified file.make you specify the path and the correct name.

    That's what im I get. I had a momory stick which I just plugged and it worked. What is new, what I have to do something special? Thank you very much

    Hello

    Are you able to copy or move files or folders in the hard drive?

    Step 1: Run the fix it tool in the following article and check.

    Diagnose and repair Windows files and folders problems automatically
    http://support.Microsoft.com/mats/windows_file_and_folder_diag/

    Step 2: If the memory stick is empty then you can try to format and then search for the question.

    Here's how:

    1. right click on the memory stick and select format.
    2. click on the Start button.

  • Get separate paths and the depth attribute value using the XQuery function

    Hi otn.
    I want to write the function XQuery that accept the following input document nodes.

    < counter Root = "8" >
    < has counter = "3" >
    < meter B '2' = >
    < C meter = "1" >
    < meter D = "1" / >
    / < C >
    < /B >
    < C meter = "2" >
    < counter E = "1" / >
    / < C >
    < /A >
    < meter B = "4" >
    < C meter = "3" / >
    < /B >
    < C meter = "6" >
    < counter E = "3" / >
    < counter D '2' = >
    < counter E = "1" / >
    / < d: >
    / < C >
    < meter D = "2" / >
    < counter E = "4" >
    < counter F = "1" / >
    < /E >
    < counter F = "1" / >
    < / root >

    Then returns many things at the same time as follows:
    1 - list of all of the separate paths
    2 - meter of the depth of each path element attribute value
    3 - the value of the previous counter in 2, is divided by the value of the attribute root counter.

    Thanks in advance :)))

    I'm sorry that not all xml input data correctly.

    You must use the {code} tag to enclose the code snippets. Formatting will be preserved and content not interpreted by the forum software.

    
      
       
        
         
        
       
       
        
       
      
      
       
      
      
       
       
        
       
      
      
      
       
      
      
    
    

    Here's an XQuery query that should work:

    declare function local:list-paths($d as element())
    as element()*
    {
      let $root := name($d)
      let $rootcnt := xs:integer($d/@counter)
      for $i in $d/descendant::*
      return element path
      {
        attribute value {
          substring-after(
            string-join(
              for $j in $i/ancestor-or-self::*
              return name($j)
            , "/"
            )
          , $root
          )
        }
      , attribute counter {$i/@counter}
      , attribute percentage {xs:integer($i/@counter) div $rootcnt}
      }
    };
    
  • Error message: Windows cannot access the specified device path and the second user cannot access the internet

    Original title: I have two users on Vista. We get to the top with windows can not access the specified device path.etc. The other has no problem

    The second user cannot access the internet. Can't access window appears. The other user is not problems.

    Hi Rickravel,

    1. what type of account you use?

    2. This only happens when you access Internet?

    3. when the problem started?

    4. you remember to make changes to the computer before this problem?

    Step 1:

    You can start in safe mode with network and see if the problem occurs in the account.

    You can see the following link to start in safe mode with network.

    Start your computer in safe mode

    Note: Restart the computer to boot into normal mode.

    Step 2:

    If you use Internet explorer, then you can try to disable add ons and check if it helps:

    Run Internet explorer with no Add - ons. Steps to open Internet with no mode of modules:

    a. click on start

    (b) in the search box, type in Internet explore

    c. Select Internet (no add-on mode)

    If you were able to access the Web site without any problems, then the module may cause the error.

    You can read the following article and try the steps to activate the modules individually determine which Add - ons may be the cause of the problem.

    How the modules of the browser affect my computer?

    Hope this information is useful.

  • Why the name of thumbnail and the size of info I used disappeared

    Why the thumbnail name and size of info I disappear before and now it just shows the thumbnail? Also, at the same time the name of my folder disappeared to be replaced by a dark gray box semi transparent showing the namesuperimposed on the folder icon. How can I return just the name in the text and shown just below the thumbnail size?

    Did this just happen, or it's updated product? What version of PS and bridge you use. Have you tried to reset your preferences: ctrl/cmd-alt/opt-shift at the start of the Bridge.

  • Name of forms and the associated management rules

    Dear all,

    I'm looking for a list of the forms in the planning of an application as well as the associated business rule.

    Is it possible to have this information from database

    kindly Guide.

    Concerning
    ACE

    Depends on the version, but here's an example

    --Form Names
    
    select object_name as "Form Name" from hsp_object
    where object_type = 7
    
    -- Form Names and associated rules
    
    select frm.object_name as "Form Name",calc.calc_name as "Calc Name" from
    hsp_object frm, hsp_form_calcs calc
    where
    frm.object_id = calc.form_id (+)
    and frm.object_type = 7
    

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • Qosmio F10: Driver Installation does not detect the wireless network card

    I wonder if anyone can help before I phone supported again. My motherboard is dead and ASP replaced and recovered my laptop qosmio F10. Since having back, my wireless card did not work. Windows detects a "network controller" whenever it starts and gi

  • Slow download speed of R7500 / HARD drive corruption

    Hello: I bought a R7500 (the box indicated it was R7500v2, but inside, I found a R7500v1) n February 2016. I have about 60/60 (download/upload) when you have a wired connection, but WiFi I have only 50/10. I can understand a 10% drop, but not a drop

  • Windows Vista upgrade, updates, etc..

    I had problems with my computer for months now. I was able to install my security was last updated June 11, 2010. When support for Windows Vista has been cancel that I wasn't informed observation about covers them the free Windows 7 upgrade because m

  • Error message: "the AC adapter type cannot be determined." when connecting to the CA DELL 90W Adapter

    My power adapter is plugged into my laptop, but it is not the battery.  I could use the computer plugged into it.  The message I get is "AC adapter type cannot be determined.  This is the adapter supplied with the notebook, which is DELL 90W AC adapt

  • Windows 7 Ultimate Installation

    I have a Lenovo G480 with windows 7 Home Basic installed. However, I would now like to upgrade to windows 7 ultimate. I recently bought a windows 7 ultimate 64 bit cd because my laptop is also 64-bit. It happens when I run the Setup. During installat