[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: xml to xml identity transforms, and reading the DTD
From: Chris Powell <sooty@xxxxxxxxx>
Date: Thu, 8 Jun 2000 15:58:44 -0400 (EDT)
RE: xml to xml identity transforms

On Thu, 8 Jun 2000, DuCharme, Robert wrote:

> >So the question is, do any of the XML parsers which I might plug in to
> >(say) Saxon support this minimal level of DTD reading, in which
> >default values are NOT applied?
> 
> The issue reminds me of the answer to the classic XSL-L question "How can I
> pass along entity references to my output instead of having the entity
> values substituted for the references": you're looking for a way to prevent
> the parser from doing something that it's required to do by the XML spec, so
> (unless some parser author has exposed this kind of behavior as an option)
> tinkering directly with parser source code is probably the only way to go
> about it. 

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.


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.