I agree with you (and it's true there are many python xml parser). Actually, in order to share drafts of documents (which is my minimal purpose) I need very simple tagging, and it's convenient to use my little parser. When complexity passes my (low) manageability treshold, I will move to dom api. best -a- On 3 Nov 2005, at 08:58, Christopher Creutzig wrote:
andrea valle wrote:
3.2 translate in ConTeXt via a regular expression based python script
I've been there and done that and I won't do it again. Use a real xml parser; regular expression engines are a wonderful thing, but not really usable for parsing nested structures. I'm sure there are many, many xml parsers for python to choose from.
regards, Christopher _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino andrea.valle@unito.it