Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
jlex
/
test
/
Upload File :
New :
File
Dir
//home/cluster1/data/bu01/1121861/html/jlex/test/make_fields_form.xsl
<?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="field"> <xsl:variable name="strippable"><xsl:value-of select="strippable"/></xsl:variable> <xsl:variable name="existed"><xsl:value-of select="existed"/></xsl:variable> <xsl:variable name="existed_s"><xsl:value-of select="existed_s"/></xsl:variable> <tr> <td><xsl:value-of select="name"/></td> <td> <input type="checkbox" name="not_include[]"> <xsl:attribute name="value"><xsl:value-of select="name"/></xsl:attribute> </input> <xsl:if test="$existed!='1'">*</xsl:if> </td> <xsl:if test="$strippable='0'"><td></td></xsl:if> <xsl:if test="$strippable='1'"> <td> <input type="checkbox" name="fields_not_to_strip[]"> <xsl:attribute name="value"><xsl:value-of select="name"/></xsl:attribute> </input> <xsl:if test="$existed_s!='1'">*</xsl:if> </td> </xsl:if> </tr> </xsl:template> <xsl:template match="/"> <html> <body> NOTE: * denotes the existence of that field in the previous version of your database.<BR/> <form action="../php4/add_database.php4" method="post"> <input type="hidden" name="function" value="modify"/> <input type="submit"/> <table> <tr><th>Field</th><th>Do Not Include</th><th>Do Not Strip</th></tr> <xsl:apply-templates select="//field"/> </table> <input type="submit"/> </form> </body> </html> </xsl:template> </xsl:stylesheet>