[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Verifying large XSL transform output


Subject: Re: [xsl] Verifying large XSL transform output
From: Graydon <graydon@xxxxxxxxx>
Date: Tue, 11 Feb 2014 13:52:33 -0500

On Tue, Feb 11, 2014 at 11:31:15AM -0500, Matthew Stoeffler scripsit:
> On Feb 11, 2014, at 11:15 AM, Graydon wrote:
>> Are you trying to tell if the transformation worked to the
>> specification (as distinct from producing valid output!), or if you
>> didn't lose any text content?
> 
> The issue here is being certain I have all the source content, or at
> least all the source content I require.

I'd suggest an entirely separate pass that walks through the source
content, notes the subtrees in it that you require, and then tries to
find the appropriate equivalent in the output.

This should be entirely separate from the main transform, so it doesn't
pick up any errors; this is the sort of thing where, ideally, someone
else should implement it.

-- Graydon


Current Thread