4

Convert XML file to CSV file

view full story
linux-howto

http://www.unix.com – Hi Guys, I am new to Shell scripting and need to convert an XML files to a CSV file. My actual problem is that XML file loading is taking hours and I have decided to convert the XML structure to row based data in a CSV file. My XML file: Message846 can repeat within main loop and StoredItems can repeat within Message846 <?xml version="1.0"?> <Message846_batch> <Message846> <GeneralInformation> <MessageType>Inventory Report</MessageType> <MessageSeqNumber>21476</MessageSeqNumber> <MessageDate> (HowTos)