[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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... Thanks, -- Paul TERRAY - Documents Management Systems Engineer email : terray@xxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|