I believe it\'s possible but couldn\'t figure out the syntax. Something like this:
xmlNode.SelectNodes(\"//*[count(child::*) <= 1]\")
bu
Why less or equal to 1 ?
xmlNode.SelectNodes("//*[count(child::*) = 0]")
Make tests etc at this site http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm
Pretty helpful ..