Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <TOP>
- <A>
- <AA>
- <AAA/>
- </AA>
- </A>
- <B>
- <BB>
- <BBB/>
- </BB>
- </B>
- <C>
- <CC>
- <CCC/>
- </CC>
- </C>
- </TOP>
- A, AA, AAA, B, BB, BBB
- TOP/*[name() != 'C']/descendant-or-self::*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement