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

How to know if an attribute is defaulted

Subject: How to know if an attribute is defaulted
From: Paul Terray <terray@xxxxxxxxxxxx>
Date: Tue, 08 Jan 2002 17:38:01 +0100
 How to know if an attribute is defaulted
Hi to everyone,

I just discovered (never to late) that an attribute which has a default value in the DTD is treated by XSLT like an attribute in the instance.

My question is : how do I know this attribute is in the XML or not ?
An alternative would be : is there a way to know the default value of an attribute ?

My problem is : I am filtering a file, and the normal copy templates adds a lot of attribute I don't need.

I fear I know the answer, but I ask anyway...


Paul TERRAY - Documents Management Systems Engineer
email : terray@xxxxxxxxxxxx

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

Current Thread


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.
First Name
Last Name
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.