in reply to How to get empty tag value in XML::XPath

I usually use XML::XSH2 for XML processing. To get empty Data tags, this works:
open 930957.xml ; ls //Data[not(text())] ;