Java GUI app used to apply XSLT to XML's
I am trying to write a Java GUI app that does the following:
1. GUI Browse for the XSLT to be used (done)
2. GUI Browse for the XML to be transformed (done)
3. Apply the XSLT onto the XML in this java program
4. Output the results, in this case, should be html to a file.
I have done the first two, and currently trying to research for the third step and was wondering if anybody has any suggested readings or examples that may help me on this quest. I have an idea how to do 4, but that would require number 3 to be completed.
Any suggestions would be appreciated.