Second, remember to keep your tools in mind: when you have a choice pick whichever of elements or attributes will make it easiest to write document-munging programs with whichever API -- DOM, SAX, XSL, regexps, whatever -- that you use.


This is the sort of discussion I'm looking for. What are the advantages between the two methods when taking the tool into consideration? We're already using or are contemplating using most of these that you mentioned: SAX, DOM, and XSL.