Re: [xsl] SGML to XML

Subject: Re: [xsl] SGML to XML
From: jingjun long <longjingjun@xxxxxxxxx>
Date: Thu, 26 Feb 2009 13:15:29 +0800

I used to have the same requirement before. SX is used to convert SGML to XML. You can find it here:

Maybe OmniMark is another option. I did not try it. I would like to know if any of you use it for this purpose before.


G. Ken Holman ei:
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:

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"):

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
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:
Video overview:
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Male Cancer Awareness Nov'07
Legal business disclaimers:

Current Thread