[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?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|