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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Fwd: Re: Genx - expat co-operation

[ Lists Home | Date Index | Thread Index ]

> 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




 

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

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