Re: DOCBOOK-APPS: XML equivalent of (o)nsgmls?

From
Jirka Kosek <>
Date
2001-05-29T21:25:21+00:00
ID
Thread
Re: DOCBOOK-APPS: XML equivalent of (o)nsgmls?
Dan York wrote:

> I'm starting to play a little bit with XML/XSL versus SGML/DSSSL and
> one thing I can't seem to find yet is the answer to this:
> 
>  - with current XML tools, is there an equivalent to 'nsgmls' or
>    'onsgmls' that will validate the XML code?

You can use nsgmls to validate your XML code. Invoke it in following
way:

nsgmls -s -wxml /path/to/xml.dcl your_document.xml
 
> I use onsgmls all the time to validate the SGML code before I process
> it into other formats.  Is there an equivalent type of thing I can do
> with Xalan, Saxon or some other tool?

There are many XML parsers available. One of the most known is probably
Xerces. It can be downloaded from xml.apache.org.

Jirka

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: 
  http://www.kosek.cz