[Lxml-checkins] r50934 - in lxml/trunk: . doc

scoder at codespeak.net scoder at codespeak.net
Wed Jan 23 17:10:17 CET 2008


Author: scoder
Date: Wed Jan 23 17:10:16 2008
New Revision: 50934

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/doc/validation.txt
Log:
 r3296 at delle:  sbehnel | 2008-01-23 17:09:34 +0100
 doc cleanup


Modified: lxml/trunk/doc/validation.txt
==============================================================================
--- lxml/trunk/doc/validation.txt	(original)
+++ lxml/trunk/doc/validation.txt	Wed Jan 23 17:10:16 2008
@@ -109,8 +109,8 @@
 As an alternative to parsing from a file, you can use the
 ``external_id`` keyword argument to parse from a catalog::
 
-  >>> docbook_doctype = "-//OASIS//DTD DocBook XML V4.2//EN"
-  >>> dtd = etree.DTD(external_id = docbook_doctype) # requires catalog support
+  >>> docbook = "-//OASIS//DTD DocBook XML V4.2//EN"
+  >>> dtd = etree.DTD(external_id = docbook) # requires catalog support
 
   >>> root = etree.XML("<article></article>")
   >>> dtd.assertValid(root) # doctest: +ELLIPSIS


More information about the lxml-checkins mailing list