How can I match the xmlns:* attributes with XSLT 1.0 ? Using a RDF document I tried:
<xs:template match="rdf:RDF">
(...)
<xsl:for-each select="@*">
<xsl:value-of select="."/>
</xsl:for-each>
(...)
</xsl:template>
but it doesn’t seem to work for the xmlns attributes.
Thanks.
The xmlns attributes aren’t normal attributes, they are namespace declarations. You need to use the namespace axis to access them.
e.g.: