xsl-list
[Top] [All Lists]

Re: [xsl] Convet SGML data to XML format

2009-03-27 17:20:24

Hello

I have a question. While converting SGML to XML, there is an XML schema that 
the XML has to be validated against. I did the mapping between the SGML 
elements and the XML schema elements. I was not clear on how to use the n2x to 
be able to use the XML schema while converting the SGML. 
Any tips will be appreciated.

Thanks

--- On Wed, 3/18/09, G. Ken Holman <gkholman(_at_)CraneSoftwrights(_dot_)com> 
wrote:

From: G. Ken Holman <gkholman(_at_)CraneSoftwrights(_dot_)com>
Subject: Re: [xsl] Convet SGML data to XML format
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Wednesday, March 18, 2009, 7:37 PM
At 2009-03-18 12:30 -0700, Happy Name
wrote:
Hi: Can anyone give me some tips on writing a
transformation to convert SGML data into XML? The SGML DTD
(with inclusions and PC data etc) does not conform to the
XML format.. Should my first approach be to generate an XML
DTD out of the SGML DTD? Any suggestion.links is
appreciated. Thanks Happy

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

n2x is a freely-downloadable environment based on the free
NSGMLS/SP from the inimitable James Clark.  I exploited
his program's output using Python to support additional
features such as the preservation of SDATA and NDATA entity
declarations if they are important to you.

I hope this helps.

. . . . . . . . . Ken


--
XSLT/XSL-FO/XQuery training in Los Angeles (New dates!)
2009-06-08
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(_at_)CraneSoftwrights(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--







--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>