aspose file tools*
The moose likes XML and Related Technologies and the fly likes Problem with XML to CSV transformation using JDOM api 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 "Problem with XML to CSV transformation using JDOM api" Watch "Problem with XML to CSV transformation using JDOM api" New topic
Author

Problem with XML to CSV transformation using JDOM api

Vineet Venkatesh
Greenhorn

Joined: Oct 08, 2002
Posts: 4
Hi Guys!
I am facing a problem wherein i am trying to transform an XML using an XSL to a csv format data using the JDOM api, which is currently returning an empty string as the output. Listed below is the code snippet for the transformation which results in an empty string.
Could someone please suggest a way to resolve this particular issue.
Transformation Code

Sample XML

Sample XSL

Please help !
[ March 11, 2004: Message edited by: Lasse Koskela ]
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
ummmmm.......not familiar with JDOM (yet), but Xalan
gave me the expected output. So your style sheet is ok.
This is probably trivial to you, but anyways.....


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
Don't get me started about those stupid light bulbs.
 
subject: Problem with XML to CSV transformation using JDOM api