RE: [xsl] sgml

Subject: RE: [xsl] sgml
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2008 16:36:08 -0500
Hi,

Dan is correct that XSLT can be used to convert SGML.

You to wire your transformation engine to an SGML parser in front of your transformation, or to convert your SGML to XML as a pre-process, and then take it from there. Many shops have used James Clark's SX tool to do the latter. Since XML is specified as a subset of SGML, this is really just a normalizing phase. And depending on the SGML, it might even be possible to use an XML parser directly.

Similarly, any XML you serialize after an XSLT transformation can be parsed by conformant SGML parsers, given the proper configuration.

But Dan is also correct that this question isn't strictly on topic, since XSLT will happen after parsing the input (whatever it is) and before serializing (and then further processing) the output.

Cheers,
Wendell

Depending upon the conventions used in your SGML files you might be able to use XSLT to process them. If they were edited with SGML native tools, they probably already conform to the minimum requirements to make them XML. But someone might have introduced some features only supported in SGML.

I think its the XML standard has an appendix that was written by James Clark about the difference in XML and SGML, this would be a good place to start if you wanted to try and use XSLT to process the files.

XML was built as working set of SGML features that most people were using or the tools supported, so you might get away with this approach.

You can contact me off-line if folks don't want an SGML conversation to appear here.

..dan

At 09:48 AM 2/12/2008, you wrote:
You're right, this is the wrong list, but I *believe* DSSSL was made for
SGML transformations. Check Wikipedia to verify that. I also believe
MulberryTech maintains a DSSSL mailing list quite like this one; you'll
have better luck there, if it turns out DSSSL is what you need.

(p.s. why are you using SGML and not XML?)

~ Scott


-----Original Message----- From: Rose Rose [mailto:rose2577@xxxxxxxxx] Sent: Tuesday, February 12, 2008 11:43 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] sgml

Hi:

I know this is not the right forum to ask SGMl
questions, but I am trying to convert one sgml to
another. Can anyone suggest any forum if they know for
these kind of questions? I have looked on the website
and cannot find any.

Thanks in advance for all help.



________________________________________________________________________
____________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

--------------------------------------------------------------------------- Danny Vint

Specializing in Panoramic Images of California and the West
http://www.dvint.com

voice: 510-522-4703

When H.H. Bennett was asked why he preferred to be out
shooting landscapes rather than spending time in his portrait studio:

"It is easier to pose nature and less trouble to please."

http://www.portalwisconsin.org/bennett_feature.cfm


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread
  • [xsl] sgml
    • Rose Rose - 12 Feb 2008 17:43:38 -0000
      • Scott Trenda - 12 Feb 2008 17:49:15 -0000
        • Message not available
          • Dan Vint - 12 Feb 2008 19:00:23 -0000
          • Wendell Piez - 12 Feb 2008 21:38:17 -0000 <=