Description: While many potential uses of XML result in fragments of XML text, not complete documents, XML parsers require complete documents to do their jobs properly. I have been running an XML-based servlet to conduct online surveys. It records user responses by adding XML formatted data to a continuously growing cumulative file. I needed a way to analyze survey responses on the fly without going to the trouble of copying the file and adding the markup required to create a complete document.