-
When I run the code
```
from elementpath.xpath3 import XPath3Parser
parser = XPath3Parser()
expression = parser.parse('(1 to 5)!map{ "name": "item " || ., "data": array { 1 to . } }')
map…
-
EDIT: I'm sorry. I'm in investigation again. Done!
EDIT: I reposted the code! Thank you!
Thank you for the great tool!
With the recent update(4.2), I noticed some regression(?) related to `etre…
-
(Requested by @JessedeDoes)
Expand TSV input type to be able to deal with the [CoNLL-U format](http://universaldependencies.org/format.html).
The format is basically a TSV with some special featur…
-
It would be nice if XSLT 3.0-style text value templates were supported within Schematron message text.
```
You have { count(element) }
{ if (count(element) eq 1) then 'element' else 'elements'}…
-
Using the Python code
```
from lxml import etree
from elementpath import select
from elementpath.xpath3 import XPath3Parser
root = etree.parse('sample1.xml')
paths = select(root, '//*/path()…
-
# User Story:
Under usnistgov/metaschema#39 we are working on constraints definition and support for constraints checking in Metaschema.
Our initial intent is to shortcut the problem of addressi…
-
Hello,
I have a question regarding the `lyd_eval_xpath` function, which calls `lyd_eval_xpath3`. Why does the output of this function is a `ly_bool` type? Would it be possible to retain the origina…
-
Dear brunato,
I am currently developing a Schematron parser which uses this `elementpath` library for all XPath expressions. I am very grateful for your work on this library as it enables me to cre…
-
I have explored the XPath 3.1 support in the new 4.0.1 release and while I think the representation of an expression that returns a sequence of e.g. maps or arrays in
```
from lxml import etree
f…
-
```console
+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts =========================================================…