• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Generate many XML files

anthony

Still gathering requirements...
Joined
Jul 19, 2014
Messages
74
Likes received
4
Thanks received
4
Location
Earth?
Hi guys,

Wondering if any one out their has a solution to my query... I need to generate many (100+) variations of an XML file and was wondering if their is any tool (freeware) out there that you can use - was thinking of doing it in VBA(?)
 
Depends what your starting point is.

If you've got access to SQL Server you could write a cursor with a stored procedure call.
 
Have you already got the schema and data, or are you supposed to be mocking up an output?
 
Sounds like the sort of thing a python script should handle.
 
If it's Windows then I'm pretty sure you can do it with VBScript with Windows Scripting Host.
 
Pretty vague request.

What is the source data?

When you say variations, do you mean variations of the data or variations of the structure?
 
You can do this with almost any programming language or scripting language.

in a simple case you could even do it with text in excel.
 
Perl was designed specifically for this kind of thing.
 

Advertisers

Back
Top