You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requests_xml seems to return XML with namespaces without issue. However, unless I've missed something, it doesn't appear there is a way to pass a XML NSMAP variable through requests_xml so that you can easily access XML with namespaces using XPATH.
For the instances where I'm forced to use XML namespaces, I've had to revert back to using lxml/etree. Would be be possible to add the NSMAP functionality to the top level requests_xml functions so that the XML namespace mapping is properly passed down to the lxml functions used under-the-hood?
The text was updated successfully, but these errors were encountered:
That's awesome! I'll be able to solely use requests_xml in my code once you
add support for that. You might want to check function definition, I
believe there might be other arguments other than NSMAP that might be worth
adding support for.
Also, I just wanted to say, thanks so much for putting this library
together. It's made working with a XML REST API server incredibly simple!
requests_xml seems to return XML with namespaces without issue. However, unless I've missed something, it doesn't appear there is a way to pass a XML NSMAP variable through requests_xml so that you can easily access XML with namespaces using XPATH.
For the instances where I'm forced to use XML namespaces, I've had to revert back to using lxml/etree. Would be be possible to add the NSMAP functionality to the top level requests_xml functions so that the XML namespace mapping is properly passed down to the lxml functions used under-the-hood?
The text was updated successfully, but these errors were encountered: