Help for this page

Select Code to Download


  1. or download this
    ## select any "element" with no kids and no text 
    /descendant-or-self::node()[
    ...
        and
        not(self::text())
    ]
    
  2. or download this
    /descendant-or-self::node()
    [not(./*)]
    [not(self::text()]