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

Serialising XML Schema to HTML form and getting it back as XML instance

  • From: Lech Rzedzicki <xchaotic@gmail.com>
  • To: xml-dev@lists.xml.org
  • Date: Fri, 8 Oct 2010 15:58:06 +0200

Serialising XML Schema to HTML form and getting it back as XML instance
Hi all.

We have a XML schema that we would like to use to:
1. generate HTML form/XForm/ whatever works bests.
2. User fills in the form fields in a browser, with as much validation possible client side (probably some JS library).
3. The form is sent back to the server, ideally as XML instance straight away or converted server side so that it can be validated against the schema and stored.

What's the current state of the art in this?
It's a greenfield project so we're free to use whatever we want, but it looks like XForms are still not natively supported in the browsers so I think not much has changes in recent years and we'll have to generate HTML Forms from the schema.
It looks equally backwards when sending/POSTing the data - it looks like the data will be sent using the usual HTTP headers and then we have to worry how we convert it back into XML for validation, right?

Any thoughts on how to do it as automatically and pain free as possible, would be very welcome.

Lech


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.