This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Tool for generating an XSL sheet of a XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Tool for generating an XSL sheet of a XML" Watch "Tool for generating an XSL sheet of a XML" New topic
Author

Tool for generating an XSL sheet of a XML

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

Is there any tool that accepts XML document and generates an XSL sheet for it ??


Save India From Corruption - Anna Hazare.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
XML documents do not have an associated XSL stylesheet. That is to say, for any given XML document, any number of XSL styleshests could be used to transform it. What are you trying to do?


Ping & DNS - my free Android networking tools app
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

My requirement is that .

We have a XML document generated of our Table data in Oracle.

Now i need to write a servlet that will accept this XML document and generate an HTML document based on data in it.

so what i was trying to ask is that how to create a Template (xsl file) for an xml document
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
There's an unlimited number of ways to transform an XML document into an HTML document, and thus an unlimited number of XSL stylesheets to do so. What do you have so far?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I dont anything related to xsl . First trying to learn basics , so please guide me how can i do this.
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Ravi, first you must learn the syntax of the eXstensible Stylesheet Language and how an XSLT Engine operates. Then you need to learn how to write XSL code, e.g if statements, for loops, etc., using the XSL syntax. There are numerous books that will teach you XSL.

http://xml.coverpages.org/xsl.html

Good luck!
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

In case it isn't clear yet: XSLT is a programming language. You wouldn't post here and say "I need to write a Java program to convert this file format to that file format, but I don't know anything about Java, what should I do", would you?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

you are right . :mrgreen:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tool for generating an XSL sheet of a XML
 
Similar Threads
code generation tool
Mock exam question
Using XSL & XML within a JSP
Automatic XSL generator?
how to add property to xml log file in ant