Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transformFunctionQuery and its first usage xpath 2.0's reverse() #46

Merged
merged 1 commit into from
Apr 8, 2020

Conversation

jinfengnarvar
Copy link
Contributor

XPath 2.0 introduces a number of functions that returns a node-set for a given input node-set. That's different from XPath 1.0 functions. Introduce transformFunctionQuery which performs a mapping/transform on a given node-set input (NodeNavigator) and returns a new node-set. And coming with it is the first application reverse(). Plus unit test coverage.

For more details, check out the discussion in #45.

XPath 2.0 introduces a number of functions that returns a node-set for a given input
node-set. That's different from XPath 1.0 functions. Introduce `transformFunctionQuery`
which performs a mapping/transform on a given node-set input (NodeNavigator) and returns
a new node-set. And coming with it is the first application `reverse()`. Plus unit test
coverage.

For more details, check out the discussion in antchfx#45.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.9%) to 75.923% when pulling a098872 on jinfengnarvar:jin/issue45/reverse into 4966611 on antchfx:master.

@zhengchun zhengchun merged commit 87ed242 into antchfx:master Apr 8, 2020
@zhengchun
Copy link
Contributor

Merged, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants