xsl-list
[Top] [All Lists]

Re: XSLT 2 processing of W3C Schema expressed default attributes

2003-09-02 15:26:10
On Tue, 2003-09-02 at 16:24, G. Ken Holman wrote:
Hi folks!

My expectations of the instance and document model below are that a 
schema-aware XSLT 2 processor will "see" the default attribute expressed in 
the W3C Schema expression and this attribute will show up in a copy-of for 
the entire document.  I'm expecting the output <entry1> will have 
defattr="hello" included since I didn't specify such an attribute in the 
input.

Like performing normalization on it? That's interesting -- I wouldn't 
have expected that behavior; I would have expected copy-of to produce a 
literal copy with no additions. I might look for <xsl:normalize> or a
normalize() function, though.

///Peter



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