Subject: Re: [xsl] Convert SGML to XML using James Clarke's tool From: Michael Ludwig <mlu@xxxxxxxxxxxxx> Date: Tue, 18 Aug 2009 18:56:08 +0200 |
I have a task of converting sgml to XML. The XML file has a schema and the SGML file has a DTD<br><br>I downloaded James Clarke's tool. But I am not clear as to how to run it. <br><br>Can anybody please help me with a documentation that I can look at or with examples?
http://www.jclark.com/sp/ http://www.jclark.com/sp/sx.htm
# type movie.dtd <!ELEMENT movie - O (name,length,rating)> <!ELEMENT name O O (#PCDATA)> <!ELEMENT length - O (#PCDATA)> <!ELEMENT rating - O (#PCDATA)> <!ATTLIST length units (min|hour) min>
# type movie.sgml <!DOCTYPE movie SYSTEM "movie.dtd"> <MOVIE> Gladiator <LENGTH UNITS="min">195 <RATING>MA
# sx movie.sgml <?xml version="1.0"?> <MOVIE
UNITS="MIN"<NAME Gladiator</NAME><LENGTH
195</LENGTH><RATING MA</RATING></MOVIE>
-- Michael Ludwig
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Convert SGML to XML using Jam, sa ku | Thread | Re: [xsl] Convert SGML to XML using, Syd Bauman |
[xsl] Convert SGML to XML using Jam, sa ku | Date | Re: [xsl] Convert SGML to XML using, Syd Bauman |
Month |