validation fiddling

This commit is contained in:
Mark Pilgrim
2009-05-16 01:15:20 -04:00
parent 72b47375da
commit d997fff87b
+2 -2
View File
@@ -136,11 +136,11 @@ mark{display:inline}
>>> root.attrib
{'{http://www.w3.org/XML/1998/namespace}lang': 'en'}
>>> root[4]
<Element {http://www.w3.org/2005/Atom}link at e181b0>
&lt;Element {http://www.w3.org/2005/Atom}link at e181b0>
>>> root[4].attrib
{'href': 'http://diveintomark.org/', 'type': 'text/html', 'rel': 'alternate'}
>>> root[3]
<Element {http://www.w3.org/2005/Atom}updated at e2b4e0>
&lt;Element {http://www.w3.org/2005/Atom}updated at e2b4e0>
>>> root[3].attrib
{}
</pre>