php + xsl + xsm
| From: | Hristina | Date: | Thu, 19 Dec 2002 07:50:55 +0000 |
| Subject: | php + xsl + xsm | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128812@lists.php.net to get a copy of this message | ||
hello!
I have the following problem:
<table border="1">
<xsl:for-each select="manifactures/man">
<xsl:if test="(position() mod 6) = 1">
<TR>
<TD>
<xsl:value-of select="."/></TD>
<TD>
<xsl:value-of
select="following-sibling::man[position()=1]"/>
</TD>
<TD><xsl:value-of
select="following-sibling::man[position()=2]"/></TD>
<TD><xsl:value-of select="following-sibling::man[position()=3]"/></TD>
<TD><xsl:value-of select="following-sibling::man[position()=4]"/></TD>
<TD><xsl:value-of select="following-sibling::man[position()=5]"/></TD>
</TR>
</xsl:if>
</xsl:for-each>
</table>
I want to display text from nodes in xsm file, but after every text to put
picture with link.
The rows above dispay the text correctly in a table with 6 columns. But how
to put the pucture
and to display it only in cells where there is text?
Thanks a lot