[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: SGML to XML

Subject: RE: SGML to XML
From: Graeme Kidd <coolkidd3@xxxxxxxxxxx>
Date: Wed, 25 Feb 2009 16:05:18 +0000
RE:  SGML to XML
Thank you both for your helpful replies, I will try out your suggestions as
soon as I can.

Thanks,
Graeme



>
> Another option is OpenSP:
>
> http://openjade.sourceforge.net/doc/index.htm
>
> In particular, look at the documentation on osx. I've been using this
> to convert old "SGML-based" Open Financial Exchange (.ofx) files to
> XML with good results.
>
> Tip: the completeness of your DTD and SGML declaration will greatly
> impact the quality of the output XML. osx will apply a default SGML
> declaration if you don't specify one, but you may not get the results
> you need, especially where omitted end tags and nesting are concerned.
>
> If you need to make structural changes to the document in addtion to
> converting to XML, then you could use XSLT for a subsequent XML-to-XML
> step, eg:
>
> SGML --(osx)--> "converted" XML --(XSLT)--> target XML
>
> Kevin Bray
>
>
> Quoting "G. Ken Holman" :
>
>> 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
>
_________________________________________________________________
Twice the funShare photos while you chat with Windows Live Messenger. Learn
more.
http://www.microsoft.com/uk/windows/windowslive/products/messenger.aspx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.