Previous | Next | Indexes
adultinternetusers > Tutorials > XSLT 2.0 Tutorial > Keys (7/12) >

The same node matched by several keys

Several xsl:keys may match the same node in the source document.


            <xsl:output  method="xml"
            <xsl:key  name="kkk"
            <xsl:key  name="jjj"

            <xsl:template  match="/aaa">
                        <xsl:apply-templates  select="key('kkk','b')"/>
                        <xsl:apply-templates  select="key('jjj','Z')"/>

            <xsl:template  match="*">
                  <xsl:copy-of  select="."/>


            <bbb  y="a">X</bbb>
            <bbb  y="b">Y</bbb>
            <vvv  y="b">Z</vvv>

            <bbb  y="b">Y</bbb>
            <vvv  y="b">Z</vvv>
            <vvv  y="b">Z</vvv>

Previous chapter: Namespaces
Next chapter: Recursions
Previous page: Several keys elements of the same name
Next page: Sequence of several values as the second argument of key function

Kevin Carr in Stanton

Natural Skin Care and European Soaps
Kevin Carr
Mayor Dave Shawver Stanton

You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps

Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here:

Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter

and we can get surf t shirts surfing shirt and And you must check out this website swim suit swimming suit and swim trunks