Re: [Twisted-Python] domish.Element.__getattr__() or xpath.XPathQuery

2010-02-08 Thread exarkun
On 11:03 am, screwt...@froup.com wrote: >On Mon, Feb 08, 2010 at 08:26:43AM +0100, Gabriel Rossetti wrote: >>Ok, thank you. Just a question, would it be interesting to anyone to >>be able to choose in between the internal XPATH implementation and an >>external lib/implementation for the XMPP stuff?

Re: [Twisted-Python] domish.Element.__getattr__() or xpath.XPathQuery

2010-02-08 Thread Tim Allen
On Mon, Feb 08, 2010 at 08:26:43AM +0100, Gabriel Rossetti wrote: > Ok, thank you. Just a question, would it be interesting to anyone to > be able to choose in between the internal XPATH implementation and an > external lib/implementation for the XMPP stuff? I have often wondered > if it would not

Re: [Twisted-Python] domish.Element.__getattr__() or xpath.XPathQuery

2010-02-07 Thread Gabriel Rossetti
exar...@twistedmatrix.com wrote: > On 4 Feb, 10:48 am, gabriel.rosse...@arimaz.com wrote: > >> Hello everyone, >> >> I was wondering what you would recommend, accessing nodes via >> domish.Element.__getattr__() >> (e.g. el.node1.node1_1, where el is /msg) or via xpath.XPathQuery() >> (e.g. xpath

Re: [Twisted-Python] domish.Element.__getattr__() or xpath.XPathQuery

2010-02-06 Thread exarkun
On 4 Feb, 10:48 am, gabriel.rosse...@arimaz.com wrote: >Hello everyone, > >I was wondering what you would recommend, accessing nodes via >domish.Element.__getattr__() >(e.g. el.node1.node1_1, where el is /msg) or via xpath.XPathQuery() >(e.g. xpath.XPathQuery("/msg/node1/node1_1").queryForNodes(el)