Change XML attribute key
Apache 2.0Change an attributes key on XML elements using an XPath expression.
org. openrewrite. xml. ChangeTagAttributeKeyRequired
XPath expression to match the attribute.
The new name for the attribute.
mod run . --recipe= org. openrewrite. xml. ChangeTagAttributeKey \
-P xPath= / / a4j: ajax/ @reRender \
-P newAttributeName= renderInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.