Comment #4 on issue 1623 by Marcin.Koperski: XML: Extend Remove Elements
that will allow using of position range
http://code.google.com/p/robotframework/issues/detail?id=1623
I have check lxml and its support more complex methods, it work for me.
root = etree.XML("<root><a>TEXT</a><a>TEXT2</a></root>")
find_text = etree.XPath("//a[position() >1 and not(position() >
200)]/text()")
print(find_text(root)[0])
TEXT2
I no longer work for NSN.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.