skip to navigation
skip to content

Not Logged In

lxml-xpath2-functions 0.0.2

Set of Xpath 2.0 functions which you can register in lxml

Latest Version: 0.0.4

Last changes

0.0.1: * added function: string-join


Set of Xpath2 functions which you can register in lxml. User register all or chosen functions and use them in own xpaths. Xpaths are accessible under default namespace: or empty namespace if needed.



from lxml import etree
import xpath2_functions

# registering all available functions in default namespace

# registering chosen functions in the empty namespace
xpath2_functions.register_functions(etree, ns=None, functions=['string-join'])


  • string-join(arg1 as xs:string, arg2 as xs:string) - returns a arg1 created by concatenating the members of the

    $arg1 sequence using $arg2 as a separator. If the value of $arg2 is the zero-length string, then the members of $arg1 are concatenated without a separator.

File Type Py Version Uploaded on Size
lxml-xpath2-functions-0.0.2.tar.gz (md5) Source 2014-03-20 4KB
  • Downloads (All Versions):
  • 8 downloads in the last day
  • 98 downloads in the last week
  • 425 downloads in the last month