Find files without Namespace URI

Apache 2.0

Find XML root elements that do not have a specific Namespace URI, optionally restricting the search by an XPath expression.

org.openrewrite.xml.search.DoesNotUseNamespaceUri

Required

The Namespace URI to check.

mod run . --recipe=org.openrewrite.xml.search.DoesNotUseNamespaceUri \ -P namespaceUri=http://www.w3.org/2001/XMLSchema-instance

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