<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="node( ) | @*">
<xsl:copy>
<xsl:apply-templates select="@* | node( )"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
The idea, then, is to augment this with templates to transform what you
want. For example, to [naively] prefix all "select" attributes with "x:",
you could add the following template:
<xsl:template match="@*[local-name() = 'select']">
<xsl:attribute name="select">
<xsl:value-of select="concat('x:', .)"/>
</xsl:attribute>
</xsl:template>
Of course a realistic template would need to do more processing such as
splitting at "/" separators, recombining, etc.
Regards,
--A
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/