You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by David Lindquist <dl...@softroots.com> on 2001/09/12 20:40:21 UTC

form field data "bound" to XML nodes?

Hello,

Is there an easy way for form field data sent from a web page to populate
nodes in an XML file? I am trying to deal with the problem of
non-hierarchical data (name/value pairs sent from the form) having to find
its way into a hierarchical data structure (the XML file) on the server
side. To my knowledge, web browsers can only send form data via HTTP as
name/value pairs.

My only thoughts so far have been to devise a (ridiculously) complex naming
scheme for the form element names that would somehow correspond to an XPath
expression, or to build a JavaScript object representing the data structure
that could be serialized into XML and sent as the sole name/value pair.
These seem to me to be very kludgey.

There must be an easier way. Any ideas?

Dave


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org