"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:42***********************@newsread2.arcor-online.net...
KJ wrote:
My xslt has xsl:templates that match a large majority of the xml in our
xml files.
What I would like to do is create a test expression that matches any of
the tags or text that these templates have missed.
This is so I can flag the missed items and display them with a visually
loud sytle, so they stand out until I create templates that match them
all.
You can use
<xsl:template match="node()">
to match any kind of node.
Then add other templates with a higher priority.
Warning: Be aware that if you import other stylesheets module in the
stylesheet that contains the node() - matching template, *any* templates in
the imported stylesheets will never be selected for processing, as the
node() - matching template has a higher import precedence.
Cheers,
Dimitre Novatchev