This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Why aren't rules matched with "*"?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]