XSLT
XSLT Contents
Summary This snippet describes how to use the "Kaysian method" to express the intersection of two node-sets in pure XPath.
The only set operation provided in XSLT is the Union -- and it can be specified using the XPath and XSLT union operator |.
Until recently it was believed that in order to implement other types of set operations (e.g. intersection) one could only resort on using extension functions -- and different XSLT processors provided such extensions (e.g. saxon:intersection).
As it turned out in June 2000, it is possible to express the intersection of two node-sets in pure XPath. This technique was discovered by Michael Kay and is known as the Kaysian method.
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