RE: Doctype and namespaces in source/generated files2004-05-28 15:50:28In 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
|
|