I would like to convert an xml to a text with java. Until now i have used xsltproc with a style sheet file. Now i would like to do this inside a java class, and i would be very happy if i can do this reusing the style sheet of xsltproc. Is there any way to do this?
1 Answer
I found the complete code for Stylizer.java here:
https://docs.oracle.com/javaee/1.4/tutorial/examples/jaxp/xslt/samples/Stylizer.java
this is exactly what i am looking for :)