[xquery-talk] xquery with large xml file
fatma helmy
fatmahelmy2000 at yahoo.com
Thu Apr 13 07:27:17 PDT 2006
dear all
i received the following code to return all nodes with
their full paths
declare function local:pathOfNode($node)
{if(empty($node/..)) then "" else
concat(local:pathOfNode($node/..), "/",
local-name($node))};
let $j:= doc("book_sample.xml")
let $paths := for $n in $j//* return
local:pathOfNode($n)
actually it worked well with xml file size 1M and
worked slow with xml file 4M and died with file 11M
can xquery deal with large xml file?
do i need index to speed up my operation?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the talk
mailing list