File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XSLT newbie problem 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 "XSLT newbie problem" Watch "XSLT newbie problem" New topic

XSLT newbie problem

Shantanu Puranik
Ranch Hand

Joined: Jun 10, 2004
Posts: 67

I have an assignment to transform one XML file to another one.
I have both, input XML file and output XML file.
I'm supposed to write an XSL file.
I obtained some guidence through searching on net.
now I can try out coding for XSLT, but being a newbie at XSLT,
still can not figure out what set-up I need to generate the output XML.
Is there any tool or IDE available which does this task?

--- Shantanu
Lukas Benberg
Ranch Hand

Joined: Jan 03, 2007
Posts: 45
(not sure if i get you right) you need an xslt processor/parser to parse an xml file with xslt. if you are searching for an ide to develop xslt you could check out altova xml spy (free 30days trial) . or any other xml-editor with xslt parser. if you search for a parser that you can implement into your own application just google for "xml parser" and you will find free parsers. i once used SAXON ( )
is this what you meant?
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
You also can use apache ant xslt task.
Shantanu Puranik
Ranch Hand

Joined: Jun 10, 2004
Posts: 67
Thanks Lukas and Roseanne

I need to write only XSL file for a project which uses parser programatically,but has to be tested before it is used.

From your reply, it's clear to me that I need an editor like XML spy.
I agree. Here's the link:
subject: XSLT newbie problem
It's not a secret anymore!