Subject: Re: [xsl] XSL and XML Help From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Fri, 13 Oct 2006 15:29:00 +0200 |
I do need the for loop because my xml file has more then one set of infobject.
I GOT IT !! :-) <xsl:for-each select="//infoObject">
<tr>
<td> <xsl:value-of select="infoObjectDetail[@title ='Description']"/>
<xsl:text> </xsl:text>
</td>
</tr>
</xsl:for-each>
<xsl:template match="infoObjectDetail[@title='Description]"> <xsl:value-of select="."/> <xsl:text> </xsl:text> </xsl:template>
<xsl:template match="infoObjectDetail[@title!='Description]"> NO DESCRIPTOIN FOUND! </xsl:template>
Cheers -- Abel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSL and XML Help, Cho, Minho | Thread | RE: [xsl] XSL and XML Help, Wendell Piez |
[xsl] Xsl:if to determine if any no, David Steketee | Date | RE: [xsl] short and long empty xml , Michael Kay |
Month |