I am using XSLT to transform a XML into a html/php file. In this XSLT I replace some tags by php code and now I have to pass attribute values into that php code. My problem
For an XSLT 1.0 solution either write your own recursive solution, or you can use the FXSL template str-map:
str-map
' \
When applied on the provided XML document:
the wanted, correct result is produced:
test\'xyz