Thursday, May 05, 2005

Busy week!

It has been a busy week with a race to learn as well as perform at work. I have learnt a lot of XML stuff in the past week or so. So much so that I can claim that XSLT is one of the most powerful tools available in the XML world. Allows you to transform data to XML, HTML, Text, PDF , you name the document format amd it does it.

For those who are newbies to XML. You will find lots of tutorials on XML and Parsing it. Things most tutorials lack is- Completeness of Description. I found http://www.PerfectXML.com and http://www.topxml.com/ very helpful in terms the learning phase and how to do stuff. I used the Microsoft MSXML parser. It is a great parser, very fast and efficient in XML processing but has its limitations. As most XML buffs know,there are 2 different parsing types-DOM( Tree based)parsing and SAX(event based)parsing. One thing I realised was Microsoft MSXML parser is strongly DOM oriented. It doesnt mean,you can't do SAX parsing, but you cannot use SAX to do XSLT transformations. By this I mean the MSXML XSLT processor cannot take the SAX model as input as it requires the DOM structure of the document to transform the document. Thanks to Stuart Celarier ( http://www.ferncrk.com), I realized this fact :).

If you want to do basic XML parsing without need to remember whatever happened as you traversed the nodes, use the SAX parser else use the DOM parser. More on SAX and DOM in the next blog.

Now for my sports blog:
Topic of the Day? Steve Nash voted MVP! Isnt this the hardest choice voters have to decide? What were Shaq's numbers vs his average yearly performance? What are Nash's numbers versus his numbers in Dallas? What about AI? How about Lebron James? How about KG or Nowitski? I love AI and what he has done and i know that NBA is too partial on winning teams but isnt that the case in most sports. Both Shaq and Nash improved in points per Game. Nash had an increase in his Assist numbers from 2003-04 season. So what? wasnt he expected to? especially with the rotation of big men and shooters he has around Phoenix, it was obvious that his numbers would be up. Now what i cant really understand is how voting is done on this? Is the NBA MVP Award a marketing gimmick? Let us defend the point guard who cant defend?Take the MVP winners in the last 10 years: Shaq/Duncan/KG/Malone/Jordan/AI. Is there any player among this list whom you would replace as a coach if the opponent has the last possession? Steve Nash is always replaced on the Suns' last defensive stand. If there was a pickup game and you had the entire NBA to pick from who would you pick first? I would pick Shaq first and then think of Kobe/T-Mac. The voters always honor somebody who brings a huge change or somebody who would be a fresh story in the media. Consider this-Shaq left the Lakers and the Lakers didnt even make the playoffs; Nash left Mavericks and their record improved to 58 games. Consider this: Replace Steve Nash with Jason Kidd on Phoenix and do you think Kidd wouldnt take Suns to a similar record? You remove Wade and Miami still has a chance to enter the Finals.I know Dwayne Wade has done an amazing job for Miami, but Shaq has made them a championship team. You remove Shaq and Miami is not a championship team! On the filpside, Nash is a great player, great distributor, controller of the game but his defensive liability tips Shaq for my vote.

No comments: