Writing out XML (Re: [XML-SIG] Grabbing and parsing text from a textarea(html form ) )

Uche Ogbuji uche.ogbuji@fourthought.com
Thu, 13 Mar 2003 08:21:18 -0700


> > 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.

This article is now out:

http://www.xml.com/pub/a/2003/03/12/py-xml.html


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Universal Business Language (UBL) - http://www-106.ibm.com/developerworks/xml/l
ibrary/x-think16.html
EXSLT by example - http://www-106.ibm.com/developerworks/library/x-exslt.html
The worry about program wizards - http://www.adtmag.com/article.asp?id=7238
Use rdf:about and rdf:ID effectively in RDF/XML - http://www-106.ibm.com/develo
perworks/xml/library/x-tiprdfai.html
Keep context straight in XSLT - http://www-106.ibm.com/developerworks/xml/libra
ry/x-tipcurrent.html
Python Generators + DOM - http://www.xml.com/pub/a/2003/01/08/py-xml.html
Simple XML Processing With elementtree - http://www.xml.com/pub/a/2003/02/12/py
-xml.html