[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Passing XML data to HTML form
Hi Sajjad, I think you can do what you want with XSLT, but I don't know how to do it. :) Anyway take a look at XFORMS at w3.org, and formsplayer.com. You may be able to combine it with what you are doing. Maybe. Good luck. -----Original Message----- From: SHEIKH Sajjad [mailto:Sajjad.SHEIKH@xxxxxxxxxxx] Sent: Monday, December 01, 2003 9:09 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Passing XML data to HTML form May be my question is not that clear so I am trying to explain it a bit more I have the style sheet which extracts the attribute values for name, id, description, and last modified date. I want to pass those values to a html form so it will be a prefilled form. I have no idea, if I can do that with xslt. Can anyone guide please? Thanks, /s -----Original Message----- From: SHEIKH Sajjad Sent: 01 December 2003 11:18 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Passing XML data to HTML form Hi all, I want to pass following xml data to a form. Any suggestions? Regards, ------------- form ------------ <html> <head><title>Request Form</title></head> <body> <form name="input" action="mailto:someone@xxxxxxxxxxx" method="get"> <table> <tr><td>Object Id:</td> <td><input type="text" name="id"/></td></tr> <tr><td>Name:</td> <td><input type="text" name="name"/></tr> <tr><td>Last Modified:</td> <td><input type="text" name="modified"/></td></tr> <tr><td>Description:</td> <td><input type="text" name="description"/></td></tr> <tr><td><input type="submit" value="Submit"/></td></tr> </table> </form> </body> </html> ------------ style ----------------- <xsl:when test="($doc_scope='EFSA') or ($doc_scope='No dissemination')"> <a href="#"><IMG src="Icones/broken.gif" alt="*.Restricted" border="0" align="middle"/></a> <tr><td width="5%" valign="top" align="center"></td> <td width="85%" valign="top" align="left" colspan="2"> <a href="file:///c:/1xml/request_form.html">Request this document</a> </td></tr> </xsl:when> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list ______________________________________________________________ This message has been checked for all viruses by BTnet VirusScreen. The service is delivered in partnership with MessageLabs. This service does not scan any password protected or encrypted attachments. If you are interested in finding out more about the service, please visit our website at http://www.btignite.com/internetservices/btnet/products_virusscreen.htm ============================================================== ______________________________________________________________ This message has been scanned for all viruses by BTnet VirusScreen. The service is delivered in partnership with MessageLabs. This service does not scan any password protected or encrypted attachments. If you are interested in finding out more about the service, please visit our website at http://www.btignite.com/internetservices/btnet/products_virusscreen.htm ============================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|