Vadim Gritsenko wrote:
Terry Rosenbaum wrote:
Try /doc[contains(title,"fo'o")] ... Double quotes work too.
I think that /doc[contains(title,"fo"o")] also should work, right?
Vadim
Hmm. This is a pain. I want to use the XMLDBSource in Cocoon for this -
someone can type a value into a form, click 'search', and it'll build up
an XPath query with the value they enter. I therefore don't have the
ability to replace an apostrophe with ' as there's no Java code of
mine involved.... Hmmm. Any ideas?
Regards, Upayavira