[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Modifying namespace definitions in xs:schema eleme
> Exploring the set of attributes in xs:schema (by <xsl:choose> > <xsl:when test="true()"> <xsl:value-of > select="concat(namespace-uri(),local-name())"/>...) has shown > me that the namespace definitions (xmlns="...") are not > passed to template processing. The namespace declarations appear in the data model in the form of namespace nodes, and are available on the namespace axis (they are not attribute nodes on the attribute axis). You can process them using the XPath expression namespace::*. However, you cannot process them using template rules, because there is no match pattern that will match namespace nodes. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
|
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
|