If you are referring to the load tab on the database portion of the Admin 
Interface, it tells you the URI before it loads it.  For example, if you put 
c:\tmp in the directory and test.xml in the filter, it will give you a dialog 
telling you the filenames and uris corresponding to the document(s) you will 
load.  Something like:

The following files will be loaded:

    Filesystem Location         URI
    c:\tmp\test.xml     /c/tmp/test.xml

The URI is /c/tmp/test.xml.  So if you run the following query against the 
database to which you loaded it:

doc("/c/tmp/test.xml") it will return the document.

-Danny

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ?????? 
??????????? (Nagesh S)
Sent: Thursday, September 25, 2008 4:17 PM
To: [email protected]
Subject: [MarkLogic Dev General] What is the URI of the doc that is loadedfrom 
admin panel ?

Hi,
When I upload a XML file to the database from the admin panel, I am
shown the resulting URI which is a representation of the Windows path
to that file. However, whenever I use this URI (or, in _ANY_ which way
I hack it ! Specifically, I tried with a URI relative to root of app
server, etc.), the doc-available function always returns 'false'. So,
what is the URI of the doc that is loaded from admin panel ?

OTOH, when loaded using the xdmp:insert
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
  • [MarkLogic... ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)
    • RE: [... Danny Sokolsky
      • R... ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)
        • ... Shannon
          • ... ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)
            • ... Danny Sokolsky
      • [... Deshbir
        • ... Mindie Sorenson
      • [... Deshbir
        • ... Geert Josten

Reply via email to