[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: DOCBOOK: Re: sgml vs xml
On Wed, Mar 12, 2003 at 07:41:30AM -0500, Norman Walsh wrote: > | I was unaware you could use DSSSL with XML. Is the converse true - can > | you use XSL with SGML? > > There's no technical reason why you couldn't. XSL is a tree-to-tree > transformation language and SGML documents are certainly trees. But I > don't know of any XSLT processor that has a general-purpose SGML > parser on the front end. I think xsltproc has some heuristics for > accepting (some?) DocBook SGML documents. Hum, no don't use that, it's really broken. It may work for some really simple document but will break for anything non-trivial. You need a real SGML parser to handle SGML. It's better to convert the SGML documents to XML with an SGML tool and then process that XML. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]