Re: [xsl] XSLT 2 processing of W3C Schema expressed default attributes

Subject: Re: [xsl] XSLT 2 processing of W3C Schema expressed default attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 3 Sep 2003 00:01:35 +0100
> I would have expected copy-of to produce a 
> literal copy with no additions

the question though is what's it a copy of.
In XSLT 1 for example if you use a DTD to default an attribute and the
XML parser used by XSLT reads the DTD (which most do) then the attribute
is defaulted by the parser before XSLT starts so is in the input seen by
XSLT and xsl:copy of (or any operation) sees the default attribute as
present and indistinguishable from an explicit attribute.

David

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


Current Thread