This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Why aren't rules matched with "*"?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Why aren't rules matched with "*"?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 17 Jul 2000 15:24:39 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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