First off I already know about the Node.asXML() method. Assuming I have a dom4j node and I wish to get at that nodes xml but none of its children's xml. So in the example below If I have Node B and I only want to get , do some stuff, then get . Basically I wish there was an asXMLBeforeChildren() and asXMLAfterChildren() methods. Any hints as to how I could implement this myself in dom4j.
<A>
<B prop="value">
<C>
</C>
</B>
</A>