xsl-list
[Top] [All Lists]

RE: XSLT 2.0 - finding nodes that do not have a match rule?

2005-05-20 11:38:32

The only  way I can see of doing it is to create a template element as
follows:
<xsl:template match="not(Alpha-Next | XML | Heading-1..etc...)">


Would you be able to extract not-to-match names to a separate file or structure? Something like so:

<nomatch>
 <Alpha-Next/>
 <XML/>
...

Using this you should be able to shorten match attribute of other templates.

Regards,

--A

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>