File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes XSL \ XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSL \ XSLT" Watch "XSL \ XSLT" New topic
Author

XSL \ XSLT

Sabyasachi Chowdhury
Greenhorn

Joined: Jul 22, 2004
Posts: 7
Hi All,

I know that XSLT is the most important part of the XSL Standards. It is the part of XSL that is used to transform an XML document into another XML document, or another type of document that is recognized by a browser, like HTML and XHTML.

BUT CAN I CONVERT XML TO JAVA CLASSES USING XSL or XSLT ?

Ragards
Sabyasachi Chowdhury
Dmitry Melnik
Ranch Hand

Joined: Dec 18, 2003
Posts: 328
CAN I CONVERT XML TO JAVA CLASSES USING XSL or XSLT ?

Yes and No. The answer depends on the kind of XML you have, and the kind of Java classes you need it to be converted to.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
There should be no technical obstacles for doing what you're describing. People are often using XSL stylesheets to transform XML into plain text files -- Java source files shouldn't be any different...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSL \ XSLT