Ximple Xpath question

  • Thread starter Thread starter Ot
  • Start date Start date
O

Ot

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top