|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: ANNOUNCE: New release of X-Tract
I thought about this a little more last night, and there are some advantages to using XML on the client side. If you want to use a form to collect multiple pieces of disparate data and send them to the server simultaneously, you can do it by successively adding to an XML document in a hidden form element. (Perhaps you have different subforms on different DIVs or LAYERs...) Using XML is certainly superior to a delimited format for debugging, readability, and reusability (although not for total size!), and XML is also superior to storing the forms, e.g., in an array, and document.write-ing a new form to a separate document or DIV and then submitting it. - Paul > -----Original Message----- > From: owner-xml-dev@x... [mailto:owner-xml-dev@x...]On Behalf Of > THOMAS PASSIN > Sent: Tuesday, February 29, 2000 11:32 PM > To: xml-dev@x... > Subject: Re: ANNOUNCE: New release of X-Tract > > > ashutosh dandavate wrote > > Hi, > > I am looking out for a xml doc generator, at the > > client browser after client enters data in fields, > > that data i want to send to web server as xml doc > > can xml script be used for that purpose? or any > > other method you know of? > > Thanks > > Ashutosh > > > > > > I favor about doing it with Javascript in the client browser. You could > store the generated XML in a hidden field in another form and > POST the form > to send the xml to the server. With Javascript, you could even create > classes for every data field, if you wanted, that generate the xml. Some > people say they don't like Javascript because some browsers don't have it, > but some browsers don't do forms either. And "efficiency" won't be > important because a human-usable form to collect data won't be > that long or > complicated. > > Tom Passin > > > > ****************************************************************** > ********* > This is xml-dev, the mailing list for XML developers. > To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev > List archives are available at > http://xml.org/archives/xml-dev/threads.html > ****************************************************************** > ********* > *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/threads.html ***************************************************************************
|
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
|
|||||||||

Cart








