saxon-b

XSLT and XQuery processor for XML transformation

brewmacoslinux
Try with needOr install directly
Source

About

XSLT and XQuery processor

Commands

saxon

Examples

transform XML file using XSLT stylesheet$ saxon -s:input.xml -xsl:transform.xsl -o:output.xml
run XQuery against XML file$ saxon -s:data.xml -qs:"//element[@attr='value']"
apply XSLT with parameters to XML$ saxon -s:input.xml -xsl:style.xsl -o:output.xml param1=value1 param2=value2
validate XML against schema during transformation$ saxon -s:input.xml -xsl:transform.xsl -o:output.xml -val:strict
pretty print and format XML output$ saxon -s:messy.xml -xsl:identity.xsl -o:formatted.xml indent=yes