Martin v. Löwis wrote:
> [EMAIL PROTECTED] schrieb:
>> Does anyone know if there's an actual free implementation of this?
> 
> For the dom module in it, xml.dom.minidom should work. Depending on
> your processing needs, that might be sufficient.

I don't think it quite fits what the OP is asking for. SVG defines some non-XML
structure for some of its contents. For example:

  <polyline points="100,200 100,100" />

The OP is asking for a module that would parse the "points" attribute into a 
list:

  [(100.0, 200.0), (100.0, 100.0)]

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

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

Reply via email to