[Lxml-checkins] r43443 - lxml/trunk/doc

scoder at codespeak.net scoder at codespeak.net
Wed May 16 22:58:11 CEST 2007


Author: scoder
Date: Wed May 16 22:58:11 2007
New Revision: 43443

Modified:
   lxml/trunk/doc/tutorial.txt
Log:
another XPath text example

Modified: lxml/trunk/doc/tutorial.txt
==============================================================================
--- lxml/trunk/doc/tutorial.txt	(original)
+++ lxml/trunk/doc/tutorial.txt	Wed May 16 22:58:11 2007
@@ -275,6 +275,8 @@
 
     >>> print html.xpath("string()") # lxml.etree only!
     TEXTTAIL
+    >>> print html.xpath("//text()") # lxml.etree only!
+    ['TEXT', 'TAIL']
 
 .. _XPath: xpathxslt.txt#xpath
 


More information about the lxml-checkins mailing list