You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Marc Jenzer <mj...@hotmail.com> on 2002/10/28 17:13:07 UTC

apostrophe in xpath

Hi

Sometimes the user stores surnames with an apostrophe in our xml database. 
If I would receive this document, I execute the following XPath statement:

/address-list/address[surname='abc&apos;defgh']

Unfortunately it doesn't work. Could you give me a hint?

Marc



_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp


Re: apostrophe in xpath

Posted by Terry Rosenbaum <Te...@amicas.com>.
See: http://marc.theaimsgroup.com/?l=xindice-users&m=103544278506936&w=2
<http://marc.theaimsgroup.com/?l=xindice-users&m=103544278506936&w=2>
Marc Jenzer wrote:

> Hi
>
> Sometimes the user stores surnames with an apostrophe in our xml 
> database. If I would receive this document, I execute the following 
> XPath statement:
>
> /address-list/address[surname='abc&apos;defgh']
>
> Unfortunately it doesn't work. Could you give me a hint?
>
> Marc
>
>
>
> _________________________________________________________________
> Surf the Web without missing calls! Get MSN Broadband. 
> http://resourcecenter.msn.com/access/plans/freeactivation.asp
>