I have only written XML via Java code once, and with only seven elements that always had values, it was easy. Now I need to create an XML file for one of our vendors that must have 39 elements and sub-elements, with some of he data being blank. I have the data in a tab-delimited .txt file mostly. Is there any tool that will help me turn the tabbed fields into the appropriate XML without spending more time to set it up than brute force code to read each row of 39 tabbed item and wrap them in XML? Thanks.
Well, you could use an ETL tool such as Pentaho DI (Kettle). It allows you to define the input tab-separated data as a set of columns, then define XML output for those columns using a GUI-based editor (Spoon).
It's not a particularly difficult task to write a custom program to split tabs and emit XML, but the advantage of ETL tools is that they're designed to be used by non-programmers.
Sometimes the only way things ever got fixed is because people became uncomfortable.