[xsl] Get all childs with xsl:for-each

Subject: [xsl] Get all childs with xsl:for-each
From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
Date: Tue, 8 Feb 2005 13:03:11 +0100
Why can't I get all <a> or <img> tags inside a relation when I use the
above template?

<my-relation name="relatedImages" type="image" multi="yes">
              <td width="75%">
                  <br />


In my template where I match all <my-????> tags I have:

				<xsl:when test="name(.) =
						<foo url="{@url}"/>

						<bar src="{@src}"/>


And althoug there are <a> and <img> in my input XML I don't get any
<foo> and <bar> in the output. What am I doing wrong?


Current Thread