- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Mon, 25 Feb 2002 16:47:50 +0000
- To: www-xpath-comments@w3.org
- CC: "Pfeiffer, Bernhard - Munich" <bpfeiffer@munichre.com>
Mike Kay wrote:
>> What to do with a string which contains both characters " and '
>> ????
>
> This problem actually exists at XPath 1.0, and in an XSLT
> environment it is usually solved by using concat() with variables.
[or without variables -- concat('He said, "', "I didn't", '"')]
> But we have resolved to extend the syntax for string literals to
> allow the delimiting quotes to be doubled as in SQL, so you will be
> able to write 'He said, "I didn''t"'.
Huzzah! Excellent. :)
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Monday, 25 February 2002 11:47:52 UTC