RE: [xsl] Passing XML data to HTML form

Subject: RE: [xsl] Passing XML data to HTML form
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Mon, 1 Dec 2003 17:06:12 +0100
Thanks Eddie for the suggestion. Following statement shows some
potential in resolving this issue.
Lets see, what solution do we come up with for this issue.
I prefer to do with pure xslt but if not then anything will do.

Cheers,
/s

------------------------------------------------------------------------
-----------------------------------
http://www.formsplayer.com/community/samples/index.html#FunctionLibrary
Function Libraries
The function library sample shows how external functions can be called
from within XPath statements in an XForms form. This is a powerful
technique, and brings XForms closer to being an environment in which
applications can be developed. 

The function library used for illustration is a library provided with
FormsPlayer to aid debugging. The library contains functions that will
render instance data as a string of XML. 
Serialise XML 


-----Original Message-----
From: Boyd, Eddie [mailto:eddie.boyd@xxxxxxx] 
Sent: 01 December 2003 15:49
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: [xsl] 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: [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


______________________________________________________________
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