Page 1 of 1 in the XML category
# Monday, 18 June 2007
OK, let me post the XML that was given to me so people have a better idea of the problem with the XML file which I was talking about in the previous post and why it is wrong. I posted the original post 5 mins after getting the file from them so I was in the middle of work and couldn't post the chunk.. so.. here is what he sent me.

XML
Monday, 18 June 2007 15:44:38 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [1]  | 

XML can be used to represent a structured, hierarchical, relational data. Please do NOT use it as if it's something like a CSV file. If you're using XML to represent a product availability for the various branches your shopping chain has I should be able to discern which branch has what products based on the position of the item nodes.

But instead what did I get from you? A file where all the XML nodes are pretty much on the SAME DAMN LEVEL! And you're expecting me to parse it like some flat file to get the information I need?

If you wanted me to parse it in the first place why the heck did you bother generating an XML compliant structure? You like angle brackets is it?


XML
Monday, 18 June 2007 09:50:09 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [2]  | 
Page 1 of 1 in the XML category