Re: [xsl] SGML to XML

Subject: Re: [xsl] SGML to XML
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Feb 2009 10:00:07 -0500
At 2009-02-25 14:57 +0000, Graeme Kidd wrote:
Is it possible to convert a SGML file to XML using XSLT?

No, SGML is not a valid input to XSLT.


Currently I am using AltovaXML free XSLT 2.0 engine:
http://www.altova.com/altovaxml.html

I have a feeling it might not be able to read in SGML so does any one have any suggestion on applications that can help me convert SGML to XML?

There is a free one on our web site called "n2x" (for "nsgmls to XML"):


http://www.CraneSoftwrights.com/resources/#n2x

If applications like that do exist will they use XSLT to transform or am I looking at some other language?

Some other language ... SGML is not a valid input to XSLT.


I hope this helps.

. . . . . . . . . Ken

--
XQuery/XSLT training in Prague, CZ 2009-03 http://www.xmlprague.cz
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread