(You did not specify what to do with comments and processing instructions. You might need to change the XPath accordingly.)ls //*[0=count(./* | ./@* | ./text() | ./comment() | ./processing-inst +ruction())]
In reply to Re: searching a empty XML tag or self enclosing tags
by choroba
in thread searching a empty XML tag or self enclosing tags
by ritvik_raj2012
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |