[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: element census tool?
> 2. Copy the following expression (and a variation for attribute names) > into the XPath 2.0 editor and then press 'save' to add it to the saved > expression list: > distinct-values(for $n in //* return local-name($n)) > The variable here seems ugly: why not distinct-values(//*/local-name()) Or if you want distinct paths distinct-values(//*/string-join(ancestor-or-self::*/local-name(),'/')) Michael Kay
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|