# Monday, 18 June 2007

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?

Note that you can Post As GUEST as well.
blog comments powered by Disqus
Monday, 18 June 2007 09:50:09 (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [2]  |  Related posts:
Elaborating on the FLAT XML Post.

Monday, 18 June 2007 14:37:46 (Malay Peninsula Standard Time, UTC+08:00)
What do you think then of Microsoft Office Open XML schema?

Does it look like real XML, or do you feel its like the binary format streamed out as a flat non hierarchical XML file?

Monday, 18 June 2007 15:04:02 (Malay Peninsula Standard Time, UTC+08:00)
wah.. you asked me wheter the comments work to post something like this arr? ahahahha.

OK.. anyway, OpenXML is an XML file because it uses the tags to markup the document.. ie. this is bold. this is italic, etc. etc. It's in a binary (zipped) container to hold the rest of the payload like images, etc. etc. (cause putting them as BASE64 encoded items IN the file itself would be a bit large I guess)

Anyway.. you got the wrong idea when I talked about it being FLAT.. I made this post in anger once I saw what the client gave me.. let me post what he sent me then you'll see what I mean by FLAT. ;)
Comments are closed.