From 3859a98133551b88cd6bb958f56f0ff1d456ac0c Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Sat, 22 Aug 2009 12:18:41 -0400 Subject: [PATCH] typos --- xml.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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>]
    -
  1. Once imported, lxml provides the same API as the built-in ElementTree libary. +
  2. Once imported, lxml provides the same API as the built-in ElementTree library.
  3. parse() function: same as ElementTree.
  4. getroot() method: also the same.
  5. 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