Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

XPath help needed - lists and NULL

$
0
0

I am using C# and the having problems finding info on how to test for NULL or empty strings and also how to filter with a list.

In C# I could do this to test for empty Strings:

String.IsNullOrEmpty(myValueString)

And I can do this to filter on an array of values:

IList<String> origion = new String[] { "G", "K", "O" };

origion.Contains(myValueString)

How can I do these things in XPath?

Thanks in advance for any help,

Eamonn J.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>