XSLT transformation

Apache 2.0

Apply the specified XSLT transformation on matching files. Note that there are no format matching guarantees when running this recipe.

org.openrewrite.xml.XsltTransformation

Required

A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon ;. If multiple patterns are supplied any of the patterns matching will be interpreted as a match.

Optional

The transformation to be applied.

Recipe transformation provided as a classpath resource.

mod run . --recipe=org.openrewrite.xml.XsltTransformation \ -P filePattern='**/*.xml'

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