# Wednesday, April 02, 2008

Please read and write XML using the proper XML read/write functions. Every major language should now already have proper classes or utilities to read and write XML. Therefore an XML chunk of.

<root>
      <branch>some node</branch>
</root>

should be no different to

<root><branch>some node</branch></root>

since they're exactly the same XML, but if you weren't using a proper XML reader function to read it, but instead waited for a new line, then obviously you wouldn't get the value you wanted in the 2nd chunk.

so please, use the proper functions when you're dealing with XML!

Wednesday, April 02, 2008 4:54:57 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  |  Related posts:
JQuery is neat!
Better Late Than Never!
The Whole Point Of An XML Schema File
The Power Of Linq!
Ask For Help Properly!
An Interesting Mobile Web Problem