[xsl] Schema aware transformations

Subject: [xsl] Schema aware transformations
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 14:09:32 +0100
Is it feasible for a schema aware processor to detect unreachable

I've just been editing a stylesheet after a DTD has been updated and on
a few occasions I've really had to study the DTD to check whether a
template match still applies, eg:

template match="a/b"

Element b still exists, but no longer as a child of a.  It's tempting to
just leave the template in 'just-in-case', but it would be really useful
if the xslt processor would highlight this (of couse, as schema's
replace the DTDs).

Equally, any typo's in the match would also be highlighted.

I asked a similar question in November '04
but here I'm interested only in template match patterns, rather than
'void' xpaths.

Ultimately I really want to start using SA processing but I can't find
the justification just yet...


Current Thread