diff --git a/xml.html b/xml.html index 1f91785..3ebc915 100755 --- a/xml.html +++ b/xml.html @@ -459,13 +459,13 @@ StopIteration <Element {http://www.w3.org/2005/Atom}entry at e2b510>, <Element {http://www.w3.org/2005/Atom}entry at e2b540>]
lxml provides the same API as the built-in ElementTree libary.
+lxml provides the same API as the built-in ElementTree library.
parse() function: same as ElementTree.
getroot() method: also the same.
findall() method: exactly the same.
For large XML documents, lxml is significantly faster than the built-in ElementTree libary. If you’re only using the ElementTree API and want to use the fastest available implementation, you can try to import lxml and fall back to the built-in ElementTree.
+
For large XML documents, lxml is significantly faster than the built-in ElementTree library. If you’re only using the ElementTree API and want to use the fastest available implementation, you can try to import lxml and fall back to the built-in ElementTree.
try:
from lxml import etree