Not sure what you want to know. If you need a code snippet to transform xml, here is something: ByteArrayOutputStream output = new ByteArrayOutputStream(); XSLTResultTarget resultTarget = new XSLTResultTarget( output ); XSLTProcessor processor = XSLTProcessorFactory.getProcessor(); StylesheetRoot parsedStylesheet = processor.processStylesheet( new XSLTInputSource( styleSheet ) ); processor.setStylesheet( parsedStylesheet ); processor.process( new XSLTInputSource( inputSource ), null, new XSLTResultTarget( output ) );
You got a command line compiler, checked with it? before you move further. java org.apache.xalan.xslt.Processor -in filename -xsl filename if it works fine, then yours should,(are you processing them within servlets right?) i feel better to set path to xalanxxx_xxl.jar(class jar pack.) & not to the source path. You didn't mention the servlet engine etc., be bit more clear if needed more..
This should help you, Regards KrisVs
SCJP2, IBM XMLC, SCWCD
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
how do I do my own kindle-like thing - without amazon