Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 332 Bytes

File metadata and controls

9 lines (6 loc) · 332 Bytes

XML Using XPath

Demonstrates extracting data from an XML product catalog using XPath queries. Runs the same examples with both Python's built-in xml.etree.ElementTree and the lxml library, highlighting where the stdlib falls short (e.g., contains() and text() functions).

Usage

python xml_using_xpath.py