Store variable in XSL

Accibinna

New Member
Iam writing a program to call php from xsl but I need to store an xsl variable so i can send it to php function php:functionString()\[code\]<xsl:template match="atom:entry"> <xsl:if test="position() <= 10"> <table border="0" width="55" cellpadding="2" cellspacing="4" style="float:left;"> <tr > <td width="55"> <a href="http://stackoverflow.com/questions/10956632/?page_id=9#anchor-{ atom:id }" > <img id="icon"><xsl:attribute name="src"><xsl:value-of select="./im:image[1]"/></xsl:attribute></img></a></td></tr> <tr> <td width="35" style="font-family:Arial; font-size:10px; color:black; font-weight:bold;"> <xsl:value-of select="atom:category/@label"/> </td></tr> <tr> <td width="35" style="font-family:Arial; font-size:10px; color:black;"> <xsl:value-of select="./im:price"/> </td> </tr> <tr> <td>Rating: <xsl:value-of select="php:functionString('PD::parseData','$id')" disable-output-escaping="yes"/></td> </tr> </table> </xsl:if> </xsl:template>\[/code\]
 
Back
Top