Re: [xsl] What is a bulletproof way to assign a variable this value: single quote, value of an element, single quote?

Subject: Re: [xsl] What is a bulletproof way to assign a variable this value: single quote, value of an element, single quote?
From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 May 2024 14:00:34 -0000
On 13/05/2024 14:06, Roger L Costello costello@xxxxxxxxx wrote:

$legacy-elmt-value = 'O'Neil'

That is an error (unmatched single quote).

What is the best way to fix this error?

Use a curly apostrophe b in the data, not a unidirectional one '


Peter

Current Thread