What I'm doing is that I have some automation pieces set up that take a flat .txt file, applies an xsd to this to turn it into a flat XML file, and I then apply an XSLT to this flat XML file to turn it into an XML document that adheres to our internal standards. So, my question is
this: Is there any way that while in the XSLT I can get a "snapshot" of the currently transformed document? I want to be able to look at it after I'm done processing and run some statistics to see if any records from the original flat XML file were left out, etc. I have some conditionals inside of my XSLT, so I know that there will be instances where not all records from the original document will be translated, and I'd like to figure out which ones.
Thanks!