[Lxml-checkins] r54112 - in lxml/trunk: . doc
scoder at codespeak.net
scoder at codespeak.net
Thu Apr 24 22:04:54 CEST 2008
Author: scoder
Date: Thu Apr 24 22:04:53 2008
New Revision: 54112
Modified:
lxml/trunk/ (props changed)
lxml/trunk/doc/extensions.txt
Log:
r4063 at delle: sbehnel | 2008-04-24 18:23:21 +0200
doc fixes
Modified: lxml/trunk/doc/extensions.txt
==============================================================================
--- lxml/trunk/doc/extensions.txt (original)
+++ lxml/trunk/doc/extensions.txt Thu Apr 24 22:04:53 2008
@@ -1,6 +1,6 @@
-======================================
-Extension functions for XPath and XSLT
-======================================
+====================================
+Python extensions for XPath and XSLT
+====================================
This document describes how to use Python extension functions in XPath
and XSLT like this:
@@ -9,7 +9,7 @@
<xsl:value-of select="f:myPythonFunction(.//sometag)" />
-as well as extension elements in XSLT as in the following example:
+and extension elements in XSLT as in the following example:
.. sourcecode:: xml
@@ -39,9 +39,9 @@
=========================
Here is how an extension function looks like. As the first argument,
-it always receives an opaque context object (see below). The other
-arguments are provided by the respective call in the XPath expression,
-one in the following examples. Any number of arguments is allowed:
+it always receives a context object (see below). The other arguments
+are provided by the respective call in the XPath expression, one in
+the following examples. Any number of arguments is allowed:
.. sourcecode:: pycon
More information about the lxml-checkins
mailing list