WS Recorder
Changelog
- 0.0.4:
Added a new function for lowering text (Mathieu Leduc-Hamel).
- 0.0.3:
Defined default prefix ‘xp2f’.
- 0.0.2:
Changed default namespace.
- 0.0.1:
Added function: string-join.
Support
Environments: Python 2.6, Python 2.7, Python 3.2, Python 3.3, Python 3.4, PyPy
Description
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: http://kjw.pt/xpath2-functions or empty namespace if needed.
Usage
Example:
from lxml import etree import xpath2_functions # registering all available functions in default namespace xpath2_functions.register_functions(etree) # registering chosen functions in the empty namespace xpath2_functions.register_functions(etree, ns=None, functions=['string-join'])
Functions
string-join (arg1 as xs:string, arg2 as xs:string) - returns an 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.
lower-case (arg1 as xs:string) - returns an arg1 converted to lower-cased string.
Contributors
Kamil Kujawinski
Mathieu Leduc-Hamel (xpath functions: lower-case)
Metadata
Release files for lxml-xpath2-functions 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lxml-xpath2-functions-0.0.4.tar.gz | 5.5 kB | Without provenance | Details for lxml-xpath2-functions-0.0.4.tar.gz |
Release files / lxml-xpath2-functions-0.0.4.tar.gz
| Download URL | lxml-xpath2-functions-0.0.4.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5b5829cfc45d5291ad676ecb26120ee1f47f30aedd0ab11e6687e7b1eba4bc7
|
|
BLAKE2b-256 checksum How to use checksums |
9eee832de6adb960d83dcabfd7f3fa806d759dd01c29fd19133414606cf50a96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for lxml-xpath2-functions 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.