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

Detect ${}-XPath hybrid expressions in labels and put them in outputs #703

Open
lognaturel opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@lognaturel
Copy link
Contributor

Users are fans of our change at #646 which makes it possible to use instance expressions in labels. Now we've received a request to also detect ${}-XPath hybrid expressions so the same can be done with value lookups in repeats. See the forum.

Expressions would look like:
${plotinfo}[position() = 1]/datagrp/plotname

This will need more sophisticated parsing but I think it's possible to do with minimal risk.

I think it would be riskier to try to detect absolute XPath paths like /data/plotinfo[position() = 1]/datagrp/plotname.

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