Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT newbie problem

 
Shantanu Puranik
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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?
 
Lukas Benberg
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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) http://www.altova.com/products/xmlspy/xml_editor.html . 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 ( http://saxon.sourceforge.net/ )
is this what you meant?
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You also can use apache ant xslt task.
 
Shantanu Puranik
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic