[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Doctype and namespaces in source/generated files
> In XSLT 2.0, you can use (if I interpret correctly) > > <xsl:stylesheet ... > xpath-default-namespace="http://www.w3.org/1999/xhtml"> > > then a simple: > > <xsl:template match="*"> > > should have the same effect as the above. > No, match="*" matches any element regardless of its name. You can match any element in the XHTML namespace by writing <xsl:template match="x:*" xmlns:x="http://www.w3.org/1999/xhtml"> either in 1.0 or 2.0. Michael Kay
|
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
|