Dynamic XML conversion using the SAX parser and a stack
Submitted By: WEBMASTER
Rating: (Not rated)
This article describes an alternative way of converting XML to HTML using the SAX parser. For each tag you want to convert, you write a conversion function. This function is called with two arguments: contents and attributes. The return value of the function will replace the tag and its contents in the finished document.
Add Your Rating