-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
XML: Unable to reference Attribute instead of Value. #2825
Comments
Thanks for opening this pull request, Updatecli is currently using the library github.com/beevik/etree and it appears that there is a limitation on the attribute syntax |
Thanks for a swift reply, @olblak! |
We could use another golang library if you know one, that's something we did for the yaml plugin. |
Is there an existing issue for this?
Current Behavior
I am trying to read or write an XML Attribute using updatecli.
But not finding the value. According to XPath it's a valid query.
Error:
See further for example files.
Expected Behavior
Source: reads 1 from XML
Target: writes 1 into MyVal of /a/c
Steps To Reproduce
test.xml
updatecli.yaml
run
updatecli diff
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: