If I understand correctly what you want to do... Take a look at the sample SAXPrint. It's parsing a file and then "reconstructing" the document. The location of your input is different, but that should only affect the way you call the parser and not how the data is processed. --Bill