in reply to searching a empty XML tag or self enclosing tags
(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())]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: searching a empty XML tag or self enclosing tags
by Anonymous Monk on Apr 19, 2012 at 14:24 UTC | |
by choroba (Cardinal) on Apr 19, 2012 at 14:25 UTC | |
by Anonymous Monk on Apr 19, 2012 at 14:55 UTC |