I need that too, having two problems:
1. I had no luck finding the length of a xml-field 2. {section show=ne($node.data_map.text.content,0)} doesn't work for me? You need a count?!
This worked for me: {section show=ne($node.data_map.text.content|count_chars,0)}