OK, I'll bite. Which characteristics make DOM un-pythonic?
Quick reply, with some items off the top of my head.
XML says that the order of attributes and namespace nodes doesn't
matter, just the name and value. This maps naturally to Python
dictionary. On the other hand, the order of an elemen
On Wed, Feb 09, 2005 at 03:22:09PM -0500, Rich Salz wrote:
> >What makes one want to avoid the DOM interface? Do you know any docs/links
> >which discuss this further? How tied to Python is your opinion on DOM?
>
> I think that last question is the key point.
>
> DOM is very much un-python.
OK,
On Wednesday 09 February 2005 20:22, Rich Salz wrote:
> > What makes one want to avoid the DOM interface? Do you know any
> > docs/links which discuss this further? How tied to Python is your opinion
> > on DOM?
>
> I think that last question is the key point.
>
> DOM is very much un-python.
I wou
What makes one want to avoid the DOM interface? Do you know any docs/links
which discuss this further? How tied to Python is your opinion on DOM?
I think that last question is the key point.
DOM is very much un-python.
If you are "just" generating XML, then you will probably go faster if
you use
On Wednesday 09 February 2005 19:59, Fredrik Lundh wrote:
> rule 1: don't use DOM, if you can avoid it.
What's wrong with DOM?
What makes one want to avoid the DOM interface? Do you know any docs/links
which discuss this further? How tied to Python is your opinion on DOM?
Chee