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

Subject: RE: [xsl] best way to generate form from xml+schema?
From: Graham Seaman <graham@xxxxxxxxx>
Date: Wed, 17 Oct 2001 10:29:36 +0100 (BST)
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.
> 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,

 XSL-List info and archive:

Current Thread