You may also want to consider using an XML aware template language:
<http://lesscode.org/projects/kid/>
Ryan
On Feb 16, 2005, at 1:55 PM, Uche Ogbuji wrote:
On Wed, 2005-02-09 at 12:46 -0700, John W. Shipman wrote:I've been all through python.org site and carefully read ``Python & XML'' by Jones and Drake, but I can't find any body of practice about the generation of XML files from scratch. All the existing practice seems to be about reading or modifying existing XML documents. I want to capture data from a GUI or other source and store it as an XML document.
http://www.xml.com/pub/a/2002/11/13/py-xml.html http://www.xml.com/pub/a/2003/03/12/py-xml.html http://www.xml.com/pub/a/2003/10/15/py-xml.html http://software.translucentcode.org/pygenx/
etc.
DOM can be a pretty awkward way to generate XML.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Use CSS to display XML - http://www.ibm.com/developerworks/edu/x-dw-x-xmlcss-i.html
Introducing the Amara XML Toolkit - http://www.xml.com/pub/a/2005/01/19/amara.html
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
Querying WordNet as XML - http://www.ibm.com/developerworks/xml/library/x-think29.html
Manage XML collections with XAPI - http://www-106.ibm.com/developerworks/xml/library/x-xapi.html
Default and error handling in XSLT lookup tables - http://www.ibm.com/developerworks/xml/library/x-tiplook.html
Packaging XSLT lookup tables as EXSLT functions - http://www.ibm.com/developerworks/xml/library/x-tiplook2.html
_______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig
_______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig