It would be nice to have mechanisms to set the innerXML and outerXML, in a similar mechanism to the innerHTML and outer HTML properties in the HTML DOM. The mechanism should by default use the same DocumentFactory as one that the node was created with It should also be able to cope with setting any node type. (This would be very useful for the edit panels in visdom) Ideally (as a default option?) it should have the ability to modify the current node rather to replace it, and potentially (not default) merge the values into the existing document. We should ensure that Node node = document.getRootElement(); node.setOuterXML("fred"); //document.getRootElement() == node Thoughts? _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dom4j-dev
RE: [dom4j-dev] inner and outer XML - was Why do add(...) methods return void?
Mike Skells \(ebizz-consulting\) Mon, 18 Jun 2001 01:44:00 -0700
- Re: [dom4j-dev] inner and outer XML - was... Mike Skells \(ebizz-consulting\)
- Re: [dom4j-dev] inner and outer XML ... James Strachan