How to Escape a Single Quote in Java 1.5 javax.xml.xpath.* ?  
Author Message
Tom Jastrzebski





PostPosted: 2004-11-8 4:24:00 Top

java-programmer, How to Escape a Single Quote in Java 1.5 javax.xml.xpath.* ? Hi everybody,

How to escape a single quote in java 1.5 javax.xml.xpath XPath queries?
Eg. meta[@name='Tom Jastrzebski's question']
I have tried numerous approaches that typically work but none of them did.
Does anybody KNOW how to do it?

Thanks in advance.
Tom


 
Brusque





PostPosted: 2004-11-9 19:58:00 Top

java-programmer >> How to Escape a Single Quote in Java 1.5 javax.xml.xpath.* ?
"Tom Jastrzebski" <email***@***.com> wrote in message
news:email***@***.com...
> Hi everybody,
>
> How to escape a single quote in java 1.5 javax.xml.xpath XPath queries?
> Eg. meta[@name='Tom Jastrzebski's question']
> I have tried numerous approaches that typically work but none of them did.
> Does anybody KNOW how to do it?
>
> Thanks in advance.
> Tom
>
>

try ' or '