kesh...@us.ibm.com wrote on 11/30/2009 11:28:36 AM: > > As we have xs:any in xerces for any namespace usage , how do I > > achieve in xslt ? I could not find any construct in xsl as we have > > in schema language. > > XSLT 1.0 and XPath 1.0 are not schema-aware. (That was added in the > 2.0 version of these, which Xalan does not yet support.) > > If you want to match names without looking at the namespace, you can > use wildcard QNames such as *:foo, or match on a wildcard and then > qualify that with a predicate.
I believe that form [1] has only been supported since XPath 2.0. Pretty sure XPath 1.0 [1] only allows foo:* wildcards (but not *:foo). Thanks. [1] http://www.w3.org/TR/xpath20/#prod-xpath-NameTest [2] http://www.w3.org/TR/xpath#NT-NameTest Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org