open gibsonca.xml ; for //* { $t = .//text() ; if not($t and xsh:matches($t,'\S')) echo xsh:lineno(.) ; }