Subject: Re: Best approach for writing an XML log whilst processing/writing other XML documents?
From: "Sam Byland" <shbyland@xxxxxxxxxxx>
Date: Fri, 13 Aug 2010 10:07:28 -0400
|
> The only way I can think of doing is in a 2-pass algorithm, first
> doing all the copying (more=replace), then going through it all
> again
> and produce the report (mode=report), but I hope there is another
> way
> (particularly one that avoids having to go through all dependency
> files twice)
> Could anyone give me a clue on this?
I had a similar need years ago, and tried to make xsl:message deal
with it. Eventually I needed xsl:message for other things (like
throwing out "errors" and such), and just had to bite the bullet and
go with two passes.
|