Skip to content Skip to sidebar Skip to footer

Python Xpath / Libxml2 Namespace Query

I have been trying to parse the London Underground Linestatus XML 'feed' - with little success. I would have expected this to ne 'easy' using XPath, but I am getting empty nodes.

Solution 1:

You need to add a forward slash at the end of the namespace URI. The correct URI is http://webservices.lul.co.uk/.


Post a Comment for "Python Xpath / Libxml2 Namespace Query"