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

New separators (apply-templates, for-each) vs attribute, value-of, serialization's item-separator #85

Closed
maxtoroq opened this issue Aug 8, 2021 · 1 comment
Labels
XSLT An issue related to XSLT

Comments

@maxtoroq
Copy link

maxtoroq commented Aug 8, 2021

Don't know if the new separator attributes for apply-templates and for-each are designed to work differently than the existing separator functionality in XSLT 3. According to one of the examples, if the instruction produces sibling text nodes then separators are included between the text nodes. In XSLT 3, sibling text nodes are always merged and separators ignored. Perhaps this inconsistency should be reconsidered, or at least a note added for clarification.

@maxtoroq
Copy link
Author

maxtoroq commented Aug 8, 2021

After closer inspection, the wording makes it clear that the separators are used between the items in the input, regardless of the output the instruction produces.

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

No branches or pull requests

2 participants