[xquery-talk] reproducing nested structure

Michael Kay mike at saxonica.com
Sun Mar 13 18:48:09 PST 2011


On 13/03/2011 10:00, trubliphone wrote:
> Hello,
>
> I have managed to write some code to reproduce the nested structure of
> a source document (once that document has gone out of context), but it
> is _really_ ugly.  I was wondering if anybody has any suggestions on
> improving it.
>

Probably not the answer you want to hear, but this kind of 
transformation works much better in XSLT than in XQuery.

Michael Kay
Saxonica


More information about the talk mailing list