I posted this to the wrong group. It went to m.p.dotnet.lang uages.vb.
Ooops.
--------------------------------------------------------------------
I have this tiny problem. I have learned that an xpath expression can be
bounded by either single or double quotation marks.
But sometimes I want to search for a title containing both a single and
double quote. Any way to do this?
The user enters the title, so now it is in a String variable.
How can I dynamically construct the right Xpath query to find the book with
that title.
<book>
<title>Who's your "Daddy"</title>
The only logic that I can think of is to detect the occurrence of double
quotes in the data and make an iterator that finds the partial title (the
part that doesn't contain the ' " ') and then do an individual match title
by title.
Ooops.
--------------------------------------------------------------------
I have this tiny problem. I have learned that an xpath expression can be
bounded by either single or double quotation marks.
But sometimes I want to search for a title containing both a single and
double quote. Any way to do this?
The user enters the title, so now it is in a String variable.
How can I dynamically construct the right Xpath query to find the book with
that title.
<book>
<title>Who's your "Daddy"</title>
The only logic that I can think of is to detect the occurrence of double
quotes in the data and make an iterator that finds the partial title (the
part that doesn't contain the ' " ') and then do an individual match title
by title.
Comment