Subject: RE: [xsl] Passing XML data to HTML form From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx> Date: Mon, 1 Dec 2003 15:09:08 +0100 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Passing XML data to HTML form, SHEIKH Sajjad | Thread | Re: [xsl] Passing XML data to HTML , andrew . curry |
Re: [xsl] Problem with position( ) , David Carlisle | Date | Re: [xsl] Passing XML data to HTML , andrew . curry |
Month |