RE: xml to xml identity transforms, and reading the DTD

Subject: RE: xml to xml identity transforms, and reading the DTD
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Jun 2000 23:01:49 +0100 (BST)
Chris Powell writes:
 > Since I am transforming someone else's valid SGML into a different flavor
 > of XML to suit my own sinister purposes, I just cheat this by modifying
 > the DTD so all the attributes are CDATA #IMPLIED before I use sax to
 > change the SGML to XML.  Kind of cheesy but it works for me.

I did exactly the same thing when converting  TEI SGML files to TEI
XML. It is wonderfully effective, I agree! It just makes me nervous
to have different DTDs around with the same name.  I suppose it is the 
path of least resistance.

Sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread