Hello!
I want to add to the all links (<a href="..."/>) in my site
Where does the code come from?
additional parameter (eg. ?param=value), without changing all files... is it possible do this in the sitemap?
How does the sitemap look like?
It's possible using an additional transformer:
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template><xsl:template match="a/@href">
<xsl:attribute name="href">
<xsl:value-of select="."/>
<xsl:text>?param=value</xsl:text>
</xsl:attribute>
</xsl:template>Of course you can add a better logic to the second template for testing if @href already contains parameters and if yes replace the ? with &.
Regards,
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
