[Lxml-checkins] r46155 - in lxml/trunk: . doc
scoder at codespeak.net
scoder at codespeak.net
Wed Aug 29 14:27:36 CEST 2007
Author: scoder
Date: Wed Aug 29 14:27:34 2007
New Revision: 46155
Modified:
lxml/trunk/CHANGES.txt
lxml/trunk/doc/cssselect.txt
lxml/trunk/doc/lxmlhtml.txt
Log:
doc updates
Modified: lxml/trunk/CHANGES.txt
==============================================================================
--- lxml/trunk/CHANGES.txt (original)
+++ lxml/trunk/CHANGES.txt Wed Aug 29 14:27:34 2007
@@ -84,6 +84,9 @@
1.3.4 (???)
==================
+Features added
+--------------
+
* The ``docinfo`` on ElementTree objects has new properties ``internalDTD``
and ``externalDTD`` that return a DTD object for the internal or external
subset of the document respectively.
@@ -92,9 +95,6 @@
part of the document, as well as comments and PIs that are siblings of the
root node.
-Features added
---------------
-
Bugs fixed
----------
Modified: lxml/trunk/doc/cssselect.txt
==============================================================================
--- lxml/trunk/doc/cssselect.txt (original)
+++ lxml/trunk/doc/cssselect.txt Wed Aug 29 14:27:34 2007
@@ -5,11 +5,12 @@
lxml supports a number of interesting languages for tree traversal and element
selection. The most important is obviously XPath_, but there is also
ObjectPath_ in the `lxml.objectify`_ module. The newest child of this family
-is CSS selection, which is implemented in the new ``lxml.cssselect`` module.
+is `CSS selection`_, which is implemented in the new ``lxml.cssselect`` module.
.. _XPath: xpathxslt.html#xpath
.. _ObjectPath: objectify.html#objectpath
.. _`lxml.objectify`: objectify.html
+.. _`CSS selection`: http://www.w3.org/TR/CSS21/selector.html
.. contents::
..
Modified: lxml/trunk/doc/lxmlhtml.txt
==============================================================================
--- lxml/trunk/doc/lxmlhtml.txt (original)
+++ lxml/trunk/doc/lxmlhtml.txt Wed Aug 29 14:27:34 2007
@@ -88,7 +88,7 @@
readable diff in the output when a test fails. The HTML comparison is
most easily used by importing the ``usedoctest`` module in a doctest::
- >>> from lxml.html import usedoctest
+ >>> import lxml.html.usedoctest
Now, if you have a HTML document and want to compare it to an expected result
document in a doctest, you can do the following::
More information about the lxml-checkins
mailing list