xsl-list
[Top] [All Lists]

Re: [xsl] Verifying large XSL transform output

2014-02-11 12:52:50
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--