<xml>
<notempty><foo /></notempty>
<textplustag>bar<foo /></textplustag>
<tagplustext>bar<foo /></tagplustext>
<empty></empty>
</xml>
<xml>
<notempty><foo /></notempty>
<textplustag>bar<foo /></textplustag>
<tagplustext>bar<foo /></tagplustext>
<empty></empty>
</xml>