This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl:value-of
- From: Cenk Uysal <cenk_uysal at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 1 Jul 2002 05:44:44 -0700 (PDT)
- Subject: [xsl] xsl:value-of
- Reply-to: xsl-list at lists dot mulberrytech dot com
hi,
I try to print same named tags one after another. my XML is just like
this:
<a>
<b at=""></b>
<b at=""></b>
<b at=""></b>
</a>
I also have to control attributes of them. If they are valid, I will
print them on screen.
Here is the part of XSL:
<xsl:for-each select="b[@at=$something]">
<xsl:value-of select="../b"/>
</xsl:for-each>
But this time XSL prints first element all the time repeatedly. What
can be the solution?
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list