[jdom-interest] XPath - the reverse?
kenneth.lee at alfacomtech.com
Sun Nov 26 20:40:54 PST 2000
Most of the time we only worry about retrieval of nodes using an XPath
expression, but now I want to reconstruct a hierarchy using an XPath.
It is like packing a directory into a tarball, and then restoring it on a
different directory or machine. Of coz the paths have to be absolute, with
no wildcards (node tests and predicates).
It is not difficult to split the path by a slash, then build one by one if a
node doesn't already exist. But is there any other approaches to doing this?
Any idea would be appreciated.
More information about the jdom-interest