This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Template problem.Unnecessary text displayed
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 20 Dec 2001 10:38:34 -0000
- Subject: RE: [xsl] Template problem.Unnecessary text displayed
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:for-each select="Values">
> <td>Value of </td>
> <td><xsl:value-of select="Values"/></td>
> </xsl:for-each>
You are asking it to display the <Values> child of a <Values> element.
Change this to:
> <xsl:for-each select="Values">
> <td>Value of </td>
> <td><xsl:value-of select="."/></td>
> </xsl:for-each>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list