[Lxml-checkins] r44773 - lxml/branch/html/doc
scoder at codespeak.net
scoder at codespeak.net
Fri Jul 6 13:31:06 CEST 2007
Author: scoder
Date: Fri Jul 6 13:31:04 2007
New Revision: 44773
Modified:
lxml/branch/html/doc/FAQ.txt
lxml/branch/html/doc/cssselect.txt
Log:
doc cleanup
Modified: lxml/branch/html/doc/FAQ.txt
==============================================================================
--- lxml/branch/html/doc/FAQ.txt (original)
+++ lxml/branch/html/doc/FAQ.txt Fri Jul 6 13:31:04 2007
@@ -59,12 +59,14 @@
There is also a `tutorial for ElementTree`_ which works for ``lxml.etree``.
The `API documentation`_ also contains many examples for ``lxml.etree``. To
-learn using ``lxml.objectify``, read the `objectify documentation`_.
+learn using ``lxml.objectify``, read the `objectify documentation`_. To learn
+using ``lxml.html``, read the `lxml.html documentation`_.
.. _`lxml.etree Tutorial`: tutorial.html
.. _`tutorial for ElementTree`: http://effbot.org/zone/element.htm
.. _`API documentation`: api.html
.. _`objectify documentation`: objectify.html
+.. _`lxml.html documentation`: lxmlhtml.html
Where can I find more documentation about lxml?
Modified: lxml/branch/html/doc/cssselect.txt
==============================================================================
--- lxml/branch/html/doc/cssselect.txt (original)
+++ lxml/branch/html/doc/cssselect.txt Fri Jul 6 13:31:04 2007
@@ -5,7 +5,7 @@
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 ``cssselect`` module.
+is CSS selection, which is implemented in the new ``lxml.cssselect`` module.
.. _XPath: xpathxslt.html#xpath
.. _ObjectPath: objectify.html#objectpath
@@ -13,7 +13,11 @@
.. contents::
..
- 1 Finding nodes
+ 1 The CSSSelector class
+ 2 CSS Selectors
+ 2.1 Namespaces
+ 3 Limitations
+
The CSSSelector class
=====================
@@ -43,6 +47,7 @@
>>> [e.get('id') for e in sel(h)]
['inner']
+
CSS Selectors
=============
@@ -63,6 +68,7 @@
returns elements and psuedo-elements select portions of text, like
``::first-line``.
+
Namespaces
----------
@@ -71,6 +77,7 @@
one-to-one, and the same rules are used to map namespace prefixes to
namespace URIs.
+
Limitations
===========
More information about the lxml-checkins
mailing list