Re: [xml] String Literals in XPath



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 23 April 2002 4:00 pm, Richard Jinks wrote:
Hi

Whilst writing a couple of our own extension functions for XPath, I've
found my self needing to use nested quotes within string literals in XPath
expressions.

I've just done a quick scan of the XPath 2.0 working draft, and the
associated W3C comments mailing list, and it found a comment suggesting
that they are considering allowing you to double up quotes, i.e.
'He said "I didn''t"' (the example as used in the post).

Well I for one am glad to see this. It's incredibly frustrating to have to use 
concat() to build up strings with multiple quotes.

- -- 
<:->get a SMart net</:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzFuHkACgkQVBc71ct6Oyxm3ACeM22fjC/dHRB+fBa9Fk224Ymz
sakAoMB/o+/JkfyuhD8cud7JHoZr10fm
=q9UW
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]