Remove empty XML Tag

Apache 2.0

Removes XML tags that do not have attributes or children, including self closing tags.

org.openrewrite.xml.RemoveEmptyXmlTags
mod run . --recipe=org.openrewrite.xml.RemoveEmptyXmlTags

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.