Copyright (c) Xoetrope Ltd., 2002-2003
$Revision: 2.2 $
License: see License.txt
202203204205206207208209210211212213
{ try { XmlElement topEle = XmlParserFactory.getInstance().createXmlElement( model.getTagName() ); outputModel( topEle, model ); //XmlWriter writer = XmlParserFactory.getInstance().getWriter( w ); NanoXmlWriter writer = new NanoXmlWriter( w ); writer.write( topEle, true, 2 ); } catch ( Exception ex ) { ex.printStackTrace(); } }