Do I also need to check for how XmlNodeList it brought back form my selectNodes() method?
I only checked the not node but my xml file has no record of <titles><yyyy> on this iteration. why would secondaryTitles != null fail?
My code enters that if statement.
Do I need to check for .count = 0 property too?
foreach (XmlNode element in elements)
XmlNodeList secondaryTitles = element.SelectNodes("titles/yyyy"); <===
if (secondaryTitles != null) <=== count is 0 and the code enters here
foreach (XmlNode node in secondaryTitles)
doing somehting here