My friends Don and Sam

I’ve spent all my time lately immersed in Open XML. Makes your skin itchy after a while, all those tags and attributes.

Anyway, there’s these two guys: Don and Sam.

Don, he likes order in the universe. He thinks in terms of the big picture: where is everything, who is everyone, go there and do this to that, you know the type. Controlling. In charge.

Sam, on the other hand, he’s a free spirit. “Just tell me what to watch for, and what to do if I see it.” Then he wanders freely around.

Funny thing is, for some tasks Don has the best approach, and for other tasks Sam does. And it’s sometimes surprisingly hard to predict whether Don or Sam will do the best with a givent task. Sometimes you just have to try each of them and see who does a better job.

Don is the DOM API for programming with XML documents, of course. And Sam’s the SAX API.

Seriously. That’s how they compare and contrast.

OK, enough levity, back to Open XML …

This entry was posted on Thursday, November 16th, 2006 at 9:04 pm. You can subscribe to comments on this post through its RSS feed.

No comments have been posted

Be the first to comment on this entry.

Have your say

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
URIs must be fully qualified (eg: http://www.domainname.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.