Subject: Re: [xsl] Passing XML data to HTML form From: andrew.curry@xxxxxxxxxxxx Date: Mon, 1 Dec 2003 14:14:10 -0000 |
You can create the form using xslt and fill the fields there. ----- Original Message ----- From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, December 01, 2003 2:09 PM Subject: RE: [xsl] 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: [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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Passing XML data to HTML , SHEIKH Sajjad | Thread | Re: [xsl] Passing XML data to HTML , David Carlisle |
RE: [xsl] Passing XML data to HTML , SHEIKH Sajjad | Date | [xsl] how do java xsl processors ha, Robert Koberg |
Month |