• http://xml.apache.org/xalan-j/overview.html
  • foo.xml
  • foo.xsl
  • Run saxon

    bash-2.05$ /usr/local/bin/saxon foo.xml foo.xsl
    Hellobash-2.05$ 
    
    bash-2.05$ /usr/local/bin/saxon -help
    Unknown option -help
    SAXON 6.5 from Michael Kay
    Usage: saxon [options] source-doc style-doc {param=value}...
    Options: 
      -a              Use xml-stylesheet PI, not style-doc argument 
      -ds             Use standard tree data structure 
      -dt             Use tinytree data structure (default)
      -o filename     Send output to named file or directory 
      -m classname    Use specified Emitter class for xsl:message output 
      -r classname    Use specified URIResolver class 
      -t              Display version and timing information 
      -T              Set standard TraceListener
      -TL classname   Set a specific TraceListener
      -u              Names are URLs not filenames 
      -w0             Recover silently from recoverable errors 
      -w1             Report recoverable errors and continue (default)
      -w2             Treat recoverable errors as fatal
      -x classname    Use specified SAX parser for source file 
      -y classname    Use specified SAX parser for stylesheet 
      -?              Display this message 
    bash-2.05$