On 25 Aug, 14:56, KLEIN Stéphane <[EMAIL PROTECTED]> wrote:
>

[DOM implementations, identifiers and validation]

> Thanks ! It work.

I've since updated libxml2dom to support validation and provide a more
reliable getElementById method. Unfortunately, I can't seem to make
the example document validate against any of the official SVG DTDs,
and yet it seems necessary to ask libxml2 to perform validation in
order to make getElementById return desirable results (in the presence
of mere references to the DTDs rather than inlining the huge DTDs
themselves).

Interestingly, the example from the Wikipedia page on SVG, with some
id attributes added, appears to work just fine:

http://en.wikipedia.org/wiki/Scalable_Vector_Graphics

Anyway, if this is interesting, please refer to the repository I
mentioned earlier - a release will eventually be made incorporating
these improvements.

Paul
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to