I am selecting some nodes using XPath, and would like to use wildcards. Is this possible?
Something like the following would be useful:
foreach (XmlNode xml_node in xml_document.SelectNodes("/Data/Customers/D*"))
{
//
}
Try this:
/Data/Customers/*[starts-with(name(.), "D")]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With