|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: preventing output of attribute defaults using xala
> Not including DTD defaulted attributes in the XPath data > model would be non-conformant. I don't think this is strictly true: the XSLT specification allows you to construct a source tree any way you like, and a processor that gave you the option not to expand attribute defaults would, I think, be conformant. But that's a technicality, and the basic advice remains sound: if you supply a DTD and use a validating parser, then attributes are likely to be expanded, so if you don't want this to happen, then you need to make sure that parser doesn't do validation, and the simplest way to achieve that is to not reference a DTD. Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








