I've not used Augeas previously, I've gotten it to modify a parameter based on position, but there exists the possibility of the source file changing.
For this example snippet:
false false false TEST true
I have a need to replace the #text contained in the tag for "application.environmentInfo", but this file has 50+ xProperties and I can't guarantee that it's always #4 in this example.
How can I target the "application.environmentInfo" tag specifically?
↧