[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] creating an xml message
Quick question: I am trying to create a new xml message with the following at the top: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE myMessage SYSTEM "myDTD.dtd"> This should be pretty simple, but this is all I have so far: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); try { DocumentBuilder builder = factory.newDocumentBuilder(); document = builder.newDocument(); .... I believe the second line is a DocumentType Node, but how is the first line created? Thanks, Miguel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|