Hello all,
Is there any way to insert a document into another document and make it
inherit the namespace of the parent node?
Example:
doc1:
<root1 xmlns="urn:blahblahblah">
<child />
<child />
</root1>
doc2:
<root2>
<child />
<child />
</root2>
I'd like to root1.content().addAll( root2.content() ) and make it so
that root1.selectNodes("/pre:child") would return all the children.
(assuming "pre" is mapped to my "urn:blahblahblah" namespace)
Thanks,
--Evan
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user