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

XQUF: Multiple target nodes #2297

Closed
ChristianGruen opened this issue May 18, 2024 · 1 comment
Closed

XQUF: Multiple target nodes #2297

ChristianGruen opened this issue May 18, 2024 · 1 comment

Comments

@ChristianGruen
Copy link
Member

ChristianGruen commented May 18, 2024

Various expressions of XQUF require targets to be single nodes. For example, the following queries are invalid:

replace node //multiple-results with <b/>
insert node <a/> into //multiple-results
rename node //multiple-results as 'b'

This restriction should be lifted to make FLWOR/simple map expressions superfluous:

for $a in //a return replace node $a with <b/>
//a ! (replace node . with <b/>)

→ replace node //a with <b/>
@ChristianGruen
Copy link
Member Author

Documentation updated.

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

No branches or pull requests

1 participant