24 ways to impress your friends

Jump to menu

Vote up?

Sebastian Redl

> The expression / matches any element

That’s not true. The expression / matches the document root, and nothing else. And by document root, I don’t mean the document element (atom:feed) but the actual root, the document itself. This is an explicit example in XSLT 1.0 Section 5.2 “Patterns”.