[Home] [By Thread] [By Date] [Recent Entries]
> quite easy. I believe there could even be validity checker attached if one > has such > a thing on top of expat! > > I wrote little program demonstrating this, it's called naxWriter which > means "natural > xml writer" i.e. you can feed "natural" xml to it; it checks > well-formedness using > expat's XML_Parse and if expat thinks it's ok, it output xml as you wrote > it! (You only got yourself > to blame for pretty printing flaws ;-) ) Checking with Relax NG and passing on (for use in pipes) is what RNV (http://davidashen.net/rnv.html) does. RNV uses Expat as an XML parser. cat guide.dbx | rnv -p docbook.rnc | xslt db2html.xsl > guide.html David
|

Cart



