Subject: Re: [xsl] What is a bulletproof way to assign a variable this value: single quote, value of an element, single quote? From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 14 May 2024 14:12:34 -0000 |
On Tue, 2024-05-14 at 07:21 +0000, Roger L Costello costello@xxxxxxxxx wrote: > > 2.B B B 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. This should be W. H. bBUDb BARRON. The typewriter vertical quote isnbt really used in regular text; neither is the typewriter double quote ("). Of course, where people can choose their own names, someone could choose to use one in their name. Youbre right that changing data and representing data are different things. Note: youbre, not you're. On Linux with GNOME (for example) you can set the right alt key to be a Compose key (or choose another key), and then press compose, then let go and press ' and then let go and press < or > to get b or b and there are also ways to get this compose key behaviour on other systems. But the wider question about escaping characters in the string has alerady been answered i think. liam -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] What is a bulletproof way, Peter Flynn peter@xx | Thread | Re: [xsl] What is a bulletproof way, Peter Flynn peter@xx |
Re: [xsl] What is a bulletproof way, Peter Flynn peter@xx | Date | [xsl] Question about position(), rick@xxxxxxxxxxxxxx |
Month |