Subject: RE: Why aren't rules matched with "*"?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 17 Jul 2000 15:24:39 +0100
|
> I have the following rule in my xsl stylesheet.
> <xsl:apply-templates
> select="Menu|Table|WindowID|Illustration|Prompt|ErrMsg|text()"/>
> and it successfully matches and applies rules for each of the
> templates specified in the "select" expression.
>
> However, if I change the rule to:
> <xsl:apply-templates select="*"/>
> then no templates are matched.
>
I can't see any reason for this. Check that other XSLT processors give the
same behaviour. If not, it's a bug. If they do, post a full XML document and
stylesheet that exhibit the problem, and I'm sure the reason will be found.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|