[jdom-interest] Merging two Documents

Aleksi Kallio aleksi.kallio at infomates.net
Fri Jul 7 04:29:06 PDT 2000


Lets imagine we have two Documents:

First:
<root>
	<element>
		<fancy-element />
	</element>
</root>

Second:
<root>
	<element>
		<another-fancy-element />
	</element>
	<groovy-element />
</root>

I want to merge them to create this Document:

<root>
	<element>
		<fancy-element />
		<another-fancy-element />
	</element>
	<groovy-element />
</root>

Is there an easy way to do this with JDOM? Will there be?







More information about the jdom-interest mailing list