Andrew Lonie wrote:
> Hi I noticed that the xpath functionality of elementtree has been
> upgraded in version 1.3. However I can't seem to get the [postion]
> predicate to function. All the other new functionality seems to be
> working.
ET 1.3 is only available in an early alpha yet, and the post
Hi I noticed that the xpath functionality of elementtree has been
upgraded in version 1.3. However I can't seem to get the [postion]
predicate to function. All the other new functionality seems to be
working.
Maybe I'm getting the syntax wrong?:
>>> xml = ET.XML("""texttext2""")
>>> elem = xml.f