Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: need test expression for all "unhandled" text [Thread Next] Re: need test expression for all "unhandled" textTo: NULL Date: 6/2/2005 6:15:00 AM "Martin Honnen" <mahotrash@y...> wrote in message news:429c9231$0$13461$9b4e6d93@n...... > > > 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
