Hello all. I have a problem
I have a document :
<..>
</otx>
I want to add more namespace to the otx tag. I use a query is:
for $otx in collection()/otx
return replace node $otx with
<otx
...
>
{$otx/@*}
{
$otx/metaData, $otx/specification,$otx/adminData,$otx/imports,
$otx/declarations,
$otx/validities, $otx/signatures,
for $p in $otx/procedures
let $r:= $p/realisation
return $p
}
</otx>
but it run very slow if the database is pretty largely.
Please help me for a best solution.
Thanks so much!