You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by th...@ascentialsoftware.com on 2002/11/27 04:02:28 UTC

Element/attribute namespace qualification

The rules to determine if an xml element must be namespace qualified in an
XML document are as follow: when the element was declared you specified
form="qualified", or the element was declared globally, or there was no
value specified for form when the element was declared, but the schema has:
<schema ... elementFormDefault="qualified"...>

The rules to determine if an xml attribute must be namespace qualified in an
XML document are as follow: when the attribute was declared you specified
form="qualified", or the attribute was declared globally, or there was no
value specified for form when the attribute was declared, but the schema
has:  <schema ... attributeFormDefault="qualified"...>

My experiments seem to show that the rules to namespace qualify an attribute
or element in an Xpath within an XSLT stylesheet are exactly the same, but
I'd like to get, if possible, a definitive confirmation on that.

Thanks

Thomas