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: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 May 2024 07:20:08 -0000
Peter Flynn wrote:


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


That is an interesting idea. However, I have two concerns with it:



1.    That is changing the data. Isnbt there some kind of XML law which
says, bthou shall not change the datab?

2.    Although the left curly b might be appropriate for data like O'Neil,
it isnbt appropriate for data like this:
W H 'BUD' BARRON, i.e., W H bBUDb BARRON doesnbt seem right.



Thoughts?



/Roger

Current Thread