1

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
  • possible duplicate of java xslt tutorial Commented Feb 9, 2012 at 17:48

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.