[jdom-interest] XPath to create XML Docs from Scratch
bob mcwhirter
bob at werken.com
Tue Oct 2 13:26:17 PDT 2001
You could use saxpath (http://saxpath.org/) to build something
that notifies you of name-test-steps, and you could create the
document based upon those notifications.
Lots of cruft to make it work, though...
-bob
On Tue, 2 Oct 2001, Jeff Branc wrote:
> <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>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>
More information about the jdom-interest
mailing list