OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Quick dom question.

[ Lists Home | Date Index | Thread Index ]

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);




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS