[XML-SIG] Grabbing and parsing text from a textarea(html form
)
Gisbert Amm
gia@webde-ag.de
Wed, 12 Mar 2003 10:25:03 +0100
> could someone tell me what modules I need to grab user texta
> from a HTML Textarea form and parse to XML or stuctured text?
Basically you need the cgi module (see
http://python.org/doc/current/lib/node297.html).
You get a dictionary from which you easily can generate XML.
How to generate XML was asked a few days before. Uche Ogbuji postet the
following links:
http://www.xml.com/pub/a/2002/09/25/py.html
http://www.xml.com/pub/a/2002/10/16/py-xml.html
http://www.xml.com/pub/a/2002/11/13/py-xml.html
http://www.xml.com/pub/a/2002/12/11/py-xml.html
And the upcoming (next week) article in that series which covers using
xml.sax.saxutils.XMLGenerator for output.
Regards
Gisbert Amm