[XML-SIG] An 'XMLic' binding for Python objects

2005-12-16 Thread fz . 3
Looking at Uche Ogbuji's Amara and David Mertz' Gnosis Objectify, I was impressed by their simple 'pythonic' bindings - the network of Python objects generated from an XML document reflect the document's (schema's) object model, rather than impose a fixed (meta)model on the data, the way DOM doe

Re: [XML-SIG] Bug in xml.dom.minidom.NamedNodeMap ?

2005-12-16 Thread Fredrik Lundh
Henry James wrote: > According to the documentation, xml.dom.minidom.NamedNodeMap has > "experimental methods that give this class more mapping behavior". But this > is what happens: > import xml.dom.minidom s = '>>> attr_2="2"/>' n = xml.dom.minidom.parseString(s).documentElement.f

Re: [XML-SIG] An 'XMLic' binding for Python objects

2005-12-16 Thread Stephane Bortzmeyer
On Fri, Dec 16, 2005 at 08:54:22AM +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote a message of 25 lines which said: > AFAIK there are tools that can infer the schema from an instance > document, Examplotron (http://examplotron.org). It generates RelaxNG schemas from an instance document.

[XML-SIG] An 'XMLic' binding for Python objects

2005-12-16 Thread fz . 3
Looking at Uche Ogbuji?s Amara and David Mertz? Gnosis Objectify, I was impressed by their simple 'pythonic' bindings ? the network of Python objects generated from an XML document reflect the document's (schema's) object model, rather than impose a fixed (meta)model on the data, the way DOM doe