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

Re: XSLT 2 processing of W3C Schema expressed defaulta

Subject: Re: XSLT 2 processing of W3C Schema expressed defaultattributes
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Tue, 02 Sep 2003 23:26:10 +0100
defaulta
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


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.