I am a XSLT newbie and have a simple task:
Suppose I have the following XML:
You can define characters to replace and replacing chars, then use translate. You can use this XSLT:
translate
12 AX
Another way:
A X
will match all attributes attr1, then using xsl:choose you creates appropriate value for this attribute.
attr1
xsl:choose