Subject: RE: [xsl] preventing output of attribute defaults using xalan From: "Michael Kay" <mhk@xxxxxxxxx> Date: Sun, 21 Dec 2003 22:31:23 -0000 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] preventing output of attr, David Holden | Thread | [xsl] output CDATA in xml using xsl, Thomas Rasmussen |
Re: [xsl] preventing output of attr, David Holden | Date | RE: [xsl] output CDATA in xml using, Michael Kay |
Month |