XSLT
XSLT Contents
Summary The alternative solution to Qing-Hua Jiang's code is of course one using recursion, i.e. a named template calling itself recursively. It is not that fascinating, as it uses a standard approach to computing in XSLT, but its advantage is that it works also with XSLT processors (like, for instance James Clark's XT) that do not have the "node-set" extension function implemented.
Partners
Dream.In.Code dotNet Slackers dotNet Spider Your HTML Source VisualBuilder.com DevGuru Planet Source Code ZVON.ORG Web Design ASPAlliance XML Pitstop Scripts
The Spot 4 SAP Bitshop Web Hosting