|
Subject: [xsl] "form.submit" not working From: himanshu padmanabhi <himanshu.padmanabhi@xxxxxxxxx> Date: Tue, 24 Feb 2009 17:00:30 +0530 |
This is "abc.xsl".one.cgi not getting called here.what can be the problem?
XML file is proper.other than submit,all else works well in xsl file.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="tracks">
<table border="1">
<tr>
<td> Parameter </td>
<td> Description </td>
<td> Value </td>
</tr>
<xsl:apply-templates/>
</table>
</xsl:template>
<xsl:template match="one">
<form name="form1" method="POST" action="one.cgi">
<tr>
<td>
<xsl:value-of select="label"/>
</td>
<td>
<xsl:value-of select="desc"/>
</td>
<td>
<xsl:if test="label = 'Name'">
<input type="text" name="Name" value="">
</input>
</xsl:if>
</td>
</tr>
</form>
<script>
document.form1.submit();
</script>
</xsl:template>
</xsl:stylesheet>
----------------------------
Regards,
Himanshu Padmanabhi
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Re: encoding error when u, Michael Kay | Thread | Re: [xsl] "form.submit" not working, Martin Honnen |
| RE: [xsl] Re: encoding error when u, Michael Kay | Date | Re: [xsl] variable ending with ^@, himanshu padmanabhi |
| Month |