This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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: jirka@kosek.cz
  http://www.kosek.cz

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]