Jump to content
Sign in to follow this  
s.krasniqi

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.

 

 

<okstore>

Books.xml

Share this post


Link to post
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
Sign in to follow this  

×