This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
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@4dconcept.fr
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list