[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: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 3 Sep 2003 00:01:35 +0100
Re:  XSLT 2 processing of W3C Schema expressed defaulta
> 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

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.