0

I have a xml file and I need to convert it into a xslt file using Java as the programming language. I know that xslt is used to convert one xml file into another xml or Xhtml or html file. Please someone let me know if it is possible to generate a xslt file from xml file using java.Thanks in advance.

3
  • Possible duplicate of How to convert XML to HTML using XSLT in Java Commented Dec 16, 2015 at 5:51
  • 1
    The XSLT file describes a transformation, for converting an XML document (data) into another form, usually reformatted data (XML) or HTML. How would code invent a transformation description (XSLT) from some XML data? What would you expect the invented transformation to do, i.e. if applied to some data (same?, other?), what would the expected output be? Or asked a different way: What are you trying to do? Commented Dec 16, 2015 at 6:07
  • An XSLT file is an XML file, and of course it is possible to convert one XML file into another using Java, if you have an algorithm that describes the conversion you want to perform. It's even easier to convert one XML file into another using XSLT. Commented Dec 16, 2015 at 10:06

0

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.