Jump to content

Xpath with wildcard


Recommended Posts

Hello everybody

I need help concerning xPath.

I want to select all book nodes for the books having title beginning with H*. This is the string so far, but it did not work

xml.SelectNodes('//bookstore/book[starts-with(title, "H")');

This is the xmlFile.





Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...