I have the following fragment in XSLT. Is there a way to rewrite it without escaping the characters <
and >
with the ASCII equivalent?
<coord>
...
<xsl:with-param name="substringIn" select="'' ''"/>
<xsl:with-param
name="substringOut"
select="'</coord><coord>'"
/>
...
</coord>
I have a string of space delimited numbers like
<value>1 2 3 4 5 6 7</value>
and I would like to convert each one of them in XML tags like:
<coord>1</coord>
<coord>2</coord>
<coord>3</coord>
<coord>4</coord>
<coord>5</coord>
<coord>6</coord>
<coord>7</coord>
My code above does that, but I don't want to use the ASCII escape chars.