• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Problem with XML to CSV transformation using JDOM api

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.....
reply
    Bookmark Topic Watch Topic
  • New Topic