[jdom-interest] XPath to create XML Docs from Scratch
Jeff Branc
jbranc at avicon.com
Tue Oct 2 12:36:54 PDT 2001
<PRE>
I am wondering if it is possible to use XPath to create XML documents from
scratch. If you have a series of XPaths that refer to the same structure
such as:
order/id
order/messageType
order/shipTo/name
order/shipTo/address
order/billTo/name
it will build a DOM such as:
< order>
< id> < /id>
< shipTo>
< name>< /name>
< address>< /address>
< /shipTo>
< billTo>
< name>< /name>
< /billTo>
< /order>
</PRE>
More information about the jdom-interest
mailing list