Curiously, is there a shorter way to write this in one line without having to reference the node twice? I find myself doing a lot of these in parsing.
lidID.idCountry = (passportnode.Descendants("COUNTRY").First().Value != String.Empty) ?
passportnode.Descendants("COUNTRY").First().Value :
"NONE"
or is the simplest way to make a temp variable for the value?