<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%" BORDER="0" style="table-layout:fixed;"> <TR> <xsl:for-each select="files/file"> <xsl:element name="TD"> <xsl:attribute name="style">width:55px;</xsl:attribute> <xsl:value-of select="text"/> phperz.com </xsl:element> </xsl:for-each> <TD> </TD> </TR> <xsl:for-each select="files/file"> <TR> <xsl:element name="TD"> <xsl:attribute name="colspan"> www.phperz.com <xsl:value-of select="fn:getElementCount(., 'file')"/> </xsl:attribute> <xsl:for-each select="fields/field"> phperz.com
<xsl:element name="INPUT"> <xsl:attribute name="type">text</xsl:attribute> <xsl:attribute name="maxlength"> <xsl:value-of select="data/length"/> </xsl:attribute> www.phperz.com
<xsl:attribute name="value"> <xsl:value-of select="data/value"/> </xsl:attribute> </xsl:element><BR/> </xsl:for-each> </xsl:element> www.phperz.com </TR> </xsl:for-each> </TABLE> </xsl:element> </TR> </xsl:for-each> </TABLE> </xsl:template> </xsl:stylesheet> phperz.com
|