Click here to Skip to main content
15,885,149 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
I am hoping someone has dealt with this issue and can get me started. I have a client that sends me an xml file with every job that they have in their system every Thursday. I have a java program that parses this file and creates a single xml file for each of the jobs. This is running between 40 and 50 each week. I am currently opening those files manually and creating a new xml file with approximately 8 jobs in it. This subset is what I need to process into my system. My question is can I programmatically do what I am doing manually which is selecting a series of files based on their job number (which is also the file name) and concatenating them together into a new xml that I can use to import. The current process is manual mostly because the job numbers will change every week. I can create a file with these job numbers in it or a table or something else if that is an necessity. I just want to move this from a completely manual process into at least a semi automated process. The hard part for me is that this is being done at midnight each week, so if I can automate the process I can get to bed faster.

I have used several snippets of code from this site in the past and have found this to be one of my favorites for solving my coding dilemmas. I have a beginner to intermediate coder who is always looking to improve. Thanks in advance for any help.
Posted
Updated 18-Feb-14 7:50am
v2
Comments
Sergey Alexandrovich Kryukov 18-Feb-14 13:50pm    
Not a question. What have you tried so far?
—SA
Zoltán Zörgő 18-Feb-14 14:41pm    
If you can do it manually, you can probably do it also automatically. Most programming platforms have extensive XML toolsets, but there are also stand-alone you might be able to use. But everything depends on how your input xml looks like and what kind of transformation you want to do on it. What you described here is not enough to give you any concrete advice.
Sergey Alexandrovich Kryukov 18-Feb-14 18:26pm    
Exactly. My 5. :-)
I would consider it as the answer, adequate to the information currently provided by OP.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900