This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]