if you want to create it programmatically, there is elementtree, dom, minidom and sax in the standard library. I always seen (and used) lxml as the best package to work with xml, both for parsing and creation. Web2py and its templates can handle xml generation pretty well too.
How to create an interface to let your "dumb" (as in programming skill) users fill that structure is entirely up to you. On Sunday, December 2, 2012 6:37:02 PM UTC+1, software.ted wrote: > > I hv large documents produced daily using word by 10 or more staff, how > can I the staff make these documents be maked-up using XML so that they r > searchable using python specifically web2py...my headache is how can the 10 > staff with no idea of XML markup such a document like this one below: > > <doc date="12/2/12"> > <speaker id="4" sequence="2" type="question">May I find out out > why....</speaker> > <speaker id="2" sequence="3" type="question">Thank you for that > question, my answer....</speaker> > .... > .... > </doc> > > I am sure python can easily process such a document, but how do I > efficiently create such a document...r there tool out there? > --