[Solved] Replace xml attribute values with constant values by xsl
There are a few things incorrect with your XSLT: It is trying to replace the whole ‘use’ element with an attribute. You are using two pairs of quotes around $blue, which causes it to be treated as a string. You are not using namespaces even though your XML uses a namespace. Please try this: <xsl:stylesheet … Read more