(If not already installed, install xidel)
xidel ex.xml \ -e '//@display/concat(substring("------",1,count(ancestor::*)),">",.)'
substring("------",1,n)
is a dirty way of building a string with n "-"
(If not already installed, install xidel)
xidel ex.xml \ -e '//@display/concat(substring("------",1,count(ancestor::*)),">",.)'
substring("------",1,n)
is a dirty way of building a string with n "-"