I am trying to convert replace single/double quotes with "
and '
respectively in xml
I am very new to xsl so very much appreciate if someone can help
I am trying to convert replace single/double quotes with "
and '
respectively in xml
I am very new to xsl so very much appreciate if someone can help
For a dynamic method of replacing it will be better to create separate template with parameters as input text, what to replace and replace with.
So, in example input text is:
In below XSL example, you can see replacing of
"
(") with"
and'
("'):Then result of replacing will be as below:
Hope it will help.