Re: Creating referenceable objects from XML

2005-12-12 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > ElementTree ( http://www.xml.com/pub/a/2003/02/12/py-xml.html ) is a > Python InfoSet rather than a Python data binding. You access nodes > using generic names related to the node type rather than the node name. > Whether data bindings or Infosets are your preference is

Re: Creating referenceable objects from XML

2005-12-11 Thread Alan Kennedy
[Michael Williams] > I need it to somehow convert my XML to intuitively referenceable > object. Any ideas? I could even do it myself if I knew the mechanism > by which python classes do this (create variables on the fly). You seem to already have a fair idea what kind of model you need, and

Re: Creating referenceable objects from XML

2005-12-11 Thread uche . ogbuji
Michael Williams wrote: > Hi All, > I'm looking for a quality Python XML implementation. All of the DOM > and SAX implementations I've come across so far are rather > convoluted. Are there any quality implementations that will (after > parsing the XML) return an object that is accessible by name

Re: Creating referenceable objects from XML

2005-12-05 Thread Laurent Pointal
Michael Williams wrote: > Hi All, > > I'm looking for a quality Python XML implementation. All of the DOM > and SAX implementations I've come across so far are rather convoluted. > Are there any quality implementations that will (after parsing the XML) > return an object that is accessible by

Re: Creating referenceable objects from XML

2005-12-05 Thread Gerard Flanagan
Michael Williams wrote: > Hi All, > > I'm looking for a quality Python XML implementation. All of the DOM > and SAX implementations I've come across so far are rather > convoluted. Are there any quality implementations that will (after > parsing the XML) return an object that is accessible by na

Re: Creating referenceable objects from XML

2005-12-05 Thread Diez B. Roggisch
Michael Williams wrote: > I'm looking for a quality Python XML implementation. All of the DOM > and SAX implementations I've come across so far are rather > convoluted. Welcome to the wonderful world of XML. > I need it to somehow convert my XML to intuitively referenceable > object. Any ideas?

Re: Creating referenceable objects from XML

2005-12-04 Thread rurpy
Michael Williams wrote: > Hi All, > > I'm looking for a quality Python XML implementation. All of the DOM > and SAX implementations I've come across so far are rather > convoluted. Are there any quality implementations that will (after > parsing the XML) return an object that is accessible by na

Creating referenceable objects from XML

2005-12-04 Thread Michael Williams
Hi All, I'm looking for a quality Python XML implementation. All of the DOM and SAX implementations I've come across so far are rather convoluted. Are there any quality implementations that will (after parsing the XML) return an object that is accessible by name? Such as the following: