Useful XPath: listing all distinct element names in a document Posted by mholmes on 24 Aug 2007 in Activity log This is handy when you're checking whether your XSLT handles all the elements your documents happen to use: distinct-values(//*/descendant-or-self::*/name(.)) This entry was posted by Martin and filed under Activity log.