diff --git a/xml.html b/xml.html index c5b13500..dc41e32b 100755 --- a/xml.html +++ b/xml.html @@ -298,7 +298,7 @@
You may have guessed this already, but I want to point it out explicitly: the list of child elements only includes direct children. Each of the entry
elements contain their own children, but those are not included in the list. They would be included in the list of each entry
’s children, but they are not included in the list of the feed
’s children. There are ways to find elements no matter how deeply nested they are; we’ll look at two such ways later in this chapter.
-
XML isn’t just a collection of elements; each element can also have its own set of attributes. Once you have a reference to a specific element, you can easily get its attributes as a Python dictionary.