in reply to Custom HTML Tags

A couple of ways leveraging XML technologies come to mind. The first is a SAX machine using the technique Kip Hampton describes here in his XML.com article.

The second way is to use AxKit and custom tag libraries.