cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject RE: xml -> form -> xml form to xml code
Date Mon, 10 Apr 2000 04:13:10 GMT
Oh, whoops, responded to a response that wasn't in response to me. I'll be
going to bed here in a few. :) Hopefully my additional comments were
helpful anyway.

- donald

On Sun, 9 Apr 2000, David Duddleston wrote:

> 
> What you have sounds cool, but is not exactly what I'm looking for. Here a
> simple example.
> 
> You have some xml data
> 
> <person id="1">
> 	<name>david</name>
> 	<email>david@i2a.com</email>
> </person>
> 
> some code would convert this to an html form... could be java code, XSL or
> both.
> 
> <html>
> <body>
> <form action="fromToXMLServlet" metho="post">
> 	<input type="text" name="/person/@id" value="1">
> 	<input type="text" name="/person/name" value="david">
> 	<input type="text" name="/person/email" value="david@i2a.com">
> </form>
> 
> 
> It would post to a Servlet or something that could parse the form data and
> create a new XML doc or update an existing one... probably against a Schema
> or DTD. The form elements would have to contain a formated name so that the
> form parser could match up the parameters values and place it in the right
> XML elements/attributes. Somthing like a path might work <input type="text"
> name="person/name" value="david">
> 
> OK, this is a simple explanation, but you get the idea?
> 
> -david
> 
> 
> 
> > -----Original Message-----
> > From: blur@localhost.localdomain [mailto:blur@localhost.localdomain]On
> > Behalf Of Laura Kruse
> > Sent: Sunday, April 09, 2000 7:51 PM
> > To: cocoon-users@xml.apache.org
> > Subject: Re: xml -> form -> xml form to xml code
> >
> >
> > David Duddleston wrote:
> > >
> > > I'm wondering if anyone has code that can take an XML doc with
> > or without a
> > > Schema and generate an HTML form. Then have code that will
> > handle the post
> > > and either create a new XML doc or update an existing one.
> > >
> > > If nothing exists already, would anyone be interested if I made
> > something
> > > like this?
> > >
> > > -david
> >
> > I don't know if this is what you meant exactly, but I have a xml
> > document that queries a database, makes a form to search the database
> > based on what's in the database.  Allows the user to select what the
> > want.  Send the selecting to a servlet that retuns xml to be parsed back
> > into html.
> >
> > Cheers,
> > 	Laura
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 


Mime
View raw message