[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Passing XML data to HTML form

Subject: Re: Passing XML data to HTML form
From: andrew.curry@xxxxxxxxxxxx
Date: Mon, 1 Dec 2003 14:14:10 -0000
html form list
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:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.