[XQZone General] Element repacement function?
tjf2n at virginia.edu
Fri Dec 2 14:04:48 PST 2005
I want to write a function for replacing an element within an XML
fragment. The arguments would be the XML fragment, the element that
needs to be replaced, and the replacement, which might have mixed
content. The function should return the fragment with the substitution
E.g. repl($fragment, $fragment/a/b, <c>Mixed <d>content</d></c>)
Can it be done without using xdmp:node-replace()?
Electronic Imprint (UVA Press)
More information about the General