|
Subject: Re: [xsl] Trouble with namespaces and running identity From: "Robert Stukey" <restukey@xxxxxxxxx> Date: Tue, 9 Mar 2004 22:50:12 -0500 |
Not sure if these will help? They are from a tutorial I
downloaded, not sure from where.
<!-- Matches attributes with names qualified to a namespace OTHER than
the namespace of the containing element -->
<xsl:template match="@*[namespace-uri()]">
<xsl:attribute name="{local-name()}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:template>
<!-- Matches attributes with the same namespace as the
containing element -->
<xsl:template match="@*">
<xsl:attribute name="{name()}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Starts-with not working w, Josh Canfield | Thread | [xsl] Sequencing, Numbering, and Co, James Paul |
| RE: [xsl] Starts-with not working w, Josh Canfield | Date | [xsl] Sequencing, Numbering, and Co, James Paul |
| Month |