• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

creating XML Files in Batch

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

does anybody have idea for creating XML files in BATCH like 100 files or 200 files for testing purpose.

Thanks
CR
 
author & internet detective
Posts: 42151
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chintan,
The first step is to identify the format. For example, is it always the same format with certain values varying?
 
chintan ramavat
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Jeanne

Yes the format is gonna be the same the only thing which will be changed is the tag value that's all, which is pretty much obvious since it's for testing purpose. i would appreciate if you suggest anything in this regard.

thanks jeanne
CR
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by chintan ramavat:
Yes the format is gonna be the same the only thing which will be changed is the tag value that's all, which is pretty much obvious since it's for testing purpose. i would appreciate if you suggest anything in this regard.


So could you just write a utility class that generates those 100 XML files to a specified location when you invoke a method like "generateTestDataInto(File dir)"?
reply
    Bookmark Topic Watch Topic
  • New Topic