Friday, February 10, 2012

Using xsltproc style sheet in java


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 comment:

  1. I found the complete code here:

    ttp://docs.oracle.com/javaee/1.4/tutorial/examples/jaxp/xslt/samples/Stylizer.java

    this is exactly what i am looking for :)

    ReplyDelete