[Lxml-checkins] r45842 - in lxml/trunk: . doc
scoder at codespeak.net
scoder at codespeak.net
Sat Aug 18 12:28:59 CEST 2007
Author: scoder
Date: Sat Aug 18 12:28:57 2007
New Revision: 45842
Modified:
lxml/trunk/CHANGES.txt
lxml/trunk/doc/mkhtml.py
lxml/trunk/setup.py
Log:
integrated lxml.html
Modified: lxml/trunk/CHANGES.txt
==============================================================================
--- lxml/trunk/CHANGES.txt (original)
+++ lxml/trunk/CHANGES.txt Sat Aug 18 12:28:57 2007
@@ -8,14 +8,22 @@
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.
+* HTML tag soup parser based on BeautifulSoup in ``lxml.html.ElementSoup``
+
+* New module ``lxml.doctestcompare`` by Ian Bicking for writing simplified
+ doctests based on XML/HTML output. Use by importing ``lxml.usedoctest`` or
+ ``lxml.html.usedoctest`` from within a doctest.
+
+* New module ``lxml.cssselect`` by Ian Bicking for selecting Elements with CSS
+ selectors.
+
+* New package ``lxml.html`` written by Ian Bicking for sophisticated HTML
+ handling.
* Namespace class setup is now local to the ``ElementNamespaceClassLookup``
instance and no longer global.
-* Schematron validation
+* Schematron validation (incomplete in libxml2)
* Extended type support for ``objectify.E`` based on registered PyTypes.
Supports an additional argument to ``PyType()`` that takes a conversion
@@ -71,6 +79,10 @@
1.3.4 (???)
==================
+* 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.
+
* Serialising an ElementTree now includes any internal DTD subsets that are
part of the document, as well as comments and PIs that are siblings of the
root node.
Modified: lxml/trunk/doc/mkhtml.py
==============================================================================
--- lxml/trunk/doc/mkhtml.py (original)
+++ lxml/trunk/doc/mkhtml.py Sat Aug 18 12:28:57 2007
@@ -6,7 +6,8 @@
'performance.txt', 'build.txt')),
('Developing with lxml', ('tutorial.txt', 'api.txt', 'parsing.txt',
'validation.txt', 'xpathxslt.txt',
- 'objectify.txt')),
+ 'objectify.txt', 'lxmlhtml.txt',
+ 'cssselect.txt', 'elementsoup.txt')),
('Extending lxml', ('resolvers.txt', 'extensions.txt',
'element_classes.txt', 'sax.txt', 'capi.txt')),
]
Modified: lxml/trunk/setup.py
==============================================================================
--- lxml/trunk/setup.py (original)
+++ lxml/trunk/setup.py Sat Aug 18 12:28:57 2007
@@ -85,7 +85,7 @@
],
package_dir = {'': 'src'},
- packages = ['lxml'],
+ packages = ['lxml', 'lxml.html'],
zip_safe = False,
ext_modules = setupinfo.ext_modules(
STATIC_INCLUDE_DIRS, STATIC_LIBRARY_DIRS, STATIC_CFLAGS),
More information about the lxml-checkins
mailing list