For some reason, the first xsl:for-each is working fine, but the second one (which seems identical to me) returns nothing:
(
,
)
Sample XML:
An array of Elements to add
Adds each of the Elements in the array to the set of matched elements.
This is used to add a set of Elements to a jQuery object.
$("p").add([document.getElementById("a"), document.getElementById("b")])
[ <p>Hello</p>, <span id="a">Hello Again</span>, <span id="b">And Again</span> ]
<p>Hello</p><p><span id="a">Hello Again</span><span id="b">And Again</span></p>