XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Vasileios GiannakopoulosSubject: 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

Posttop
(Deleted User) 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?

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.