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

RE: best way to generate form from xml+schema?

Subject: RE: best way to generate form from xml+schema?
From: Graham Seaman <graham@xxxxxxxxx>
Date: Wed, 17 Oct 2001 10:29:36 +0100 (BST)
RE:  best way to generate form from xml+schema?
On Tue, 16 Oct 2001, Chris Bayes wrote:


> Wow! I would suggest a liberal use of <div elements in your form that
> reflect your xml. Then instead of submitting the form as is you have an
> onsubmit function that wanders over your form constructing an xml string
> which you then post back to the server. Something like.
<SNIP>
> function post(obj){
> 	var postString = wander(obj);
> 	var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

Hi Chris,

Thanks for the very detailed solution... I should have made it clearer
that I need to do everything server-side, though. This is for a free
software project, so I can't do anything tied to Msxml. Not only that,
but an abnormal proportion of the users of the current (non-xsl based)
site run with javascript turned off. And other constraints mean I also
can't use java on the server end.... so with all that, I know I'm partly
stuck with reinventing the wheel and doing things in inefficient
ways.. I'm getting there, just very slowly :-)

Thanks again,
Graham



 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.