andreas-ibm opened a new pull request, #193:
URL: https://github.com/apache/xalan-java/pull/193

   When experimenting with stylesheets and bugs, I find I need to run the same 
stylesheet/xml through different engines to see what they do, with that in mind 
I've expanded the SimpleTransform sample program to take more arguments, so 
that I can e.g. run:
   ```
   $JAVA_HOME/bin/java -cp $(ls -1 ~/Development/xalan-java/build/*.jar | tr 
'\n' ':') samples.SimpleTransform.SimpleTransform ~/test6.xsl ~/test6.xml 
test6-output.xml org.apache.xalan.xsltc.trax.TransformerFactoryImpl
   ```
   to 
   - take my selected Java
   - grab all the xalan jars on classpath
   - run the simpleTransform sample
   - take `test6.xsl` as the stylesheet to run (defaults to `birds.xsl` to 
ensure backwards compatibility)
   - take `test6.xml` as the input to drive the stylessheet (defaults to 
`birds.xml` to ensure backwards compatibility)
   - output to `test6-output.xml` (defaults to `birds.out` to ensure backwards 
compatibility)
   - use the `org.apache.xalan.xsltc.trax.TransformerFactoryImpl` to process 
the stylesheet/xml pair. Defaults to `javax.xml.transform.TransformerFactory` 
but uses `forName` instead of `getInstance` now...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to