Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: need test expression for all "unhandled" text

From: "Dimitre Novatchev" <dimitren@---.---.-->
To: 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 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent