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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   re: SAX app

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: xml-dev@lists.xml.org
  • Date: Fri, 13 Oct 2000 12:27:53 -0400 (EDT)

Pollington, Lee (ELSLON) writes:

 > Has anyone got a JAVA SAX app that takes a xml file as a command line
 > argument and just spits it out again. I've been trying, but keep getting
 > stuck.

It's quite simple if you use the Java XMLWriter package at

  http://www.megginson.com/Software/

The package includes a default ContentHandler that actually writes the
events back out as text and figures out all of the
Namespace-declaration trickiness.  There's no support for the
DTDHandler or the extension handlers yet, though.


All the best,


David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/

  • References:
    • SAX app
      • From: "Pollington, Lee (ELSLON)" <lee.pollington@biomednet.com>



 

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

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