Subject: Re: Quoting Quotes in a Stand Along Context
From: Alan <alan-xsl-list@xxxxxxxxx>
Date: Wed, 26 Jan 2005 03:00:53 -0500
|
* Michael Kay <mike@xxxxxxxxxxxx> [2005-01-25 18:23]:
> XPath 1.0 doesn't define any way to escape quotes in a string literal.
>
> XPath 2.0 allows you to escape the delimiting quotes by doubling them, for
> example
>
> "He said: ""I don't"""
>
> You can achieve this escaping using the XPath 2.0 replace() function.
Good. I can double the quotes and document that I'm emitting XPath 2.0.
Thank you very much.
--
Alan Gutierrez - alan@xxxxxxxxx
|