I'm working my way through the ParserDemo.java. I am wondering is it 
possible to print to a file instead of consol.

//instantiate an XML parser
XMLParser XMLParser = new DefaultXMLParser();
                                
//encode message in XML
String ackMessageInXML = XMLParser.encode(message);
                                
//print XML-encoded message to standard out
System.out.println(ackMessageInXML);

Thank You
Mark Shortt


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to