Find XML namespace prefixes

Apache 2.0

Find XML namespace prefixes, optionally restricting the search by a XPath expression.

org.openrewrite.xml.search.FindNamespacePrefix

Required

The Namespace Prefix to find.

Optional

An XPath expression used to find namespace URIs.

mod run . --recipe=org.openrewrite.xml.search.FindNamespacePrefix \ -P namespacePrefix=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.