RE: [xsl] Convet SGML data to XML format

Subject: RE: [xsl] Convet SGML data to XML format
From: "Houghton,Andrew" <houghtoa@xxxxxxxx>
Date: Wed, 18 Mar 2009 15:59:29 -0400
> From: Happy Name [mailto:techy_2507@xxxxxxxxx]
> Sent: Wednesday, March 18, 2009 3:31 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Convet SGML data to XML format
>
>
> Hi:
>
> Can anyone give me some tips on writing a transformation to convert
> SGML data into XML? The SGML DTD (with inclusions and PC data etc) does
> not conform to the XML format.. Should my first approach be to generate
> an XML DTD out of the SGML DTD?

You can use tagsoup with any Java based XSL processor, such as Saxon.  No
need to convert the SGML DTD to an XML DTD.  Just use the instance document
and create a XSL transform.

<http://home.ccil.org/~cowan/XML/tagsoup/>


Andy.

Current Thread