cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Editor: Count characters in xml but without some tags

hbestler
12-Amethyst

Editor: Count characters in xml but without some tags

Hi guys,

we need to count the characters (including spaces) within a xml, but without counting the characters of some specific xml-tags, which e.g. includes meta-information. 

My idea was to begin from the root element and go forward until end and count with the command length:

length(oid_xpath_string(oid_caret(),"."))

But i have problems with the count with nested xml-tags.

Maybe you guys had the same requirement and can help me. 

Thank you in advance.

Greetings from germany

0 REPLIES 0
Top Tags