On 13/05/2024 16:50, Piez, Wendell A. (Fed) wendell.piez@xxxxxxxx wrote:
>
> Use a character map so the apos character in "O'Neil" is rewritten into some
escaped form?
That wouldn't work as there is not only the single quote in the data
(e.g. "O'Neil") but also in the surrounding delimiters. A character map
used later on serialization would rewrite both.
>
>
> <xsl:variable name="tmp-legacy-elmt-value" as="xs:string+">
> <xsl:text>'</xsl:text>
> <xsl:value-of select="string($legacy-elmt)"/>
> <xsl:text>'</xsl:text>
> </xsl:variable>
|