Subject: Re: [xsl] Convet SGML data to XML format From: Happy Name <techy_2507@xxxxxxxxx> Date: Fri, 27 Mar 2009 14:19:54 -0700 (PDT) |
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@xxxxxxxxxxxxxxxxxxxx> wrote: > From: G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> > Subject: Re: [xsl] Convet SGML data to XML format > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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@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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Convet SGML data to XML f, Happy Name | Thread | Re: [xsl] Convet SGML data to XML f, Wendell Piez |
Re: [xsl] Need help combing two ele, Wendell Piez | Date | Re: [xsl] Numbering new nodes using, David Carlisle |
Month |