Hiya,
to be really sure what your asking about (element "text" has a fairly
typical meaning for xml):
1) you'd actually like the serialized xml, not its text value i.e.
asString(xpath.tree)
2) you don't want {}sound but whatever the first child element of all
myContainers is - so either //myContainer/*[1] or
asString(top(doc.rootElem).\\*("myContainer"l).\*(1).head.tree)
This would yield the serialised subtree xml with the default <?xml
version="1.0" encoding="UTF-8"?> serialization. Customising that
behaviour is via custom SerializerFactory instances.
re prompt reply - you are more than welcome :) I enjoyed your channel
9 videos, its nice to contribute something back.
Cheers,
Chris
On Mon, Jan 28, 2013 at 9:36 PM, Lucius Meredith
> --
> You received this message because you are subscribed to the Google Groups
> "scales-xml" group.
> To unsubscribe from this group, send email to
>
scales-xml+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>