Subject:xsl on the fly Author:Vasileios Giannakopoulos Date:20 Feb 2007 03:23 PM
Hello,
I am having checkboxes created by an XML document:
<body>
<form id="form1" name="form1" method="post" action="">
<xsl:for-each select="ROWS/ROW">
<label>
<p><input type="checkbox" name="checkbox" value="checkbox" /><xsl:value-of select="MOD_CODE"/></p>
</label>
</xsl:for-each>
</form>
<form id="form2" name="form2" method="post" action="">
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
</form>
</body>
What i want to do next, is when someone checks some boxes and press submit to generate an xhtml document with those specific only.
Can you please tell me how to do that?
Thank you for your time and your patience
Subject:xsl on the fly Author:(Deleted User) Date:26 Feb 2007 08:10 AM
Hi Vasileios,
your will have to either use a server-side script that process the checked entries and generates the new XHTML, or a JavaScript handler that manipulates the HTML of the original page; but both technologies are outside the reach of XSLT/XQuery, so we are not able to help you. Have you tried asking on a JavaScript/Web development mailing list?