diff --git a/xml.html b/xml.html index 2c554c8..30ab969 100755 --- a/xml.html +++ b/xml.html @@ -420,6 +420,7 @@ mark{display:inline}
entry has a single link child element, and because of the double slash at the beginning of the query, this query finds all of them.
+
Overall, ElementTree’s findall() method is a very powerful feature, but the query language can be a bit surprising. It is officially described as “limited support for XPath expressions.” XPath is a W3C standard for querying XML documents. ElementTree’s query language is similar enough to XPath to do basic searching, but dissimilar enough that it may annoy you if you already know XPath. Now let’s look at a third-party XML library that extends the ElementTree API with full XPath support.