[Home] [By Thread] [By Date] [Recent Entries]


If you use org.dom4j.dom.DOMDocument perhaps the
best way in this case is use a org.dom4j.io.XMLWriter 
for writing to output. 

> Where node is a DomElement, the problem is that I'm getting the
> following error:
> 

Maybe code as:

XMLWriter writer = new XMLWriter(System.out);
writer.write(node);

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member