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
Hello,

I used to have the same requirement before. SX is used to convert SGML to XML. You can find it here: http://www.jclark.com/sp/.

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.

Jingjun

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