I am sorry, I don't know what 'CQ' is.
Yes, I have selected the right database, have the right forest attached.
Follow-up question :
The xdmp:document-insert worked fine with the name of the document
provided as "test.xml". Subsequently, all .xqy have also worked fine
with the URI as "test.xml". I can also see that the admin panel shows
one document in the database. So, how come when loading using
xdmp:document-insert the URI doesn't have to be a representation of
the Windows filesystem ?
Nagesh
On 9/26/08, Shannon <[EMAIL PROTECTED]> wrote:
> Are you using cq? If yes, have you selected the correct database from
> the dropdown?
>
> --
> Sent from iPhone
>
> On Sep 26, 2008, at 1:27, "ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ
> (Nagesh S)" <[EMAIL PROTECTED]> wrote:
>
>> Yes, I meant the 'Load' tab on the Admin interface.
>>
>> I did have the URI come up to me with /C/Program Files/etc. But, this
>> URI (or, any of its variants) would never work for me as
>> doc-available() would always return false. oh yes, I did try URL
>> encoding the blank space too.
>>
>> Nagesh
>>
>> On 9/26/08, Danny Sokolsky <[EMAIL PROTECTED]> wrote:
>>> 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
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general