Hello Pieter,
I have tried this query on several databases -
either newly created or already existing-, and it works fine
in all cases.
what do you get with:
declare variable $xml := fn:collection("/", nature="document");
for $doc in $xml/*
return
<doc href="{xlib:document($doc)}" />
or simply:
fn:collection("/", nature="document")
?
--
Xavier Franc
Qizx design and development
On Mon, 09 Jan 2012 15:48:24 +0100, Pieter Masereeuw <[email protected]>
wrote:
> Hi,
>
> I don't seem to be able to retrieve the /path/ property from a Qizx
> document.
>
> An earlier script, written a few years ago by my predecessor, using Qizx
> version 2.2-FE still works properly. However, the same script running on
> a new database in version 4.4-FE only returns empty strings for the path
> property.
>
> The script that I use is given below between [quote] and [/quote].
>
> Any idea what I am doing wrong?
>
> Pieter Masereeuw
>
> [quote]
>
> declare variable $xml := fn:collection("/", nature="document");
> for $doc in $xml/*
> return
> <doc href="{xlib:get-property(xlib:document($doc),'path')}" />
>
> [/quote]
--
Qizx Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/qizx-support