The Basics Of XML-SAX
June 14, 2016 Jon Paris
Note: The code accompanying this article is available for download here. In XML-INTO And Optional Elements, I showed a reader how he could use XML-INTO to parse an XML document that effectively contained one of two completely different payloads. As I noted in that article, for this type of “does the document contain X” processing, XML-SAX can be a better choice than XML-INTO. That is the task that I’m going to demonstrate in this tip. In his email, the reader mentioned that his original intent had been to simply identify the type of payload (Report or Event) and |