• 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

Spring Batch + XSL Transformation post writer

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Spring Batch to export XML content in a Database table to a single XML file,

The Spring Batch has a reader to read the data from the database and a FlatFileWriter to write xml database field content data to a xml file,

But at the top of the exported XML file needs to be the number of items in the XML file,
I am thinking of using XSLT and xPath for this but is there any good way for doing this within Spring Batch?

Thanks,

Niall
 
reply
    Bookmark Topic Watch Topic
  • New Topic