Subject: RE: [xsl] No-output identity template? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 23 Jan 2003 15:02:33 -0500 |
G. Ken Holman wrote: > <xsl:template match="menu/item" mode="sub-menu" priority="-1"/> > > This will not conflict with match="item[item]" because the inferred > priority of that rule is ".5".
Is there a reason not just use 'match="item[not(item)]"' instead?
This seems to me to express the desired behavior more precisely,
and it does not require the priority setting to work correctly in the general case.
-- Upcoming hands-on in-depth Europe: February 17-21, 2003 XSLT/XPath and/or XSL-FO North America: June 16-20, 2003
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] No-output identity templa, David Carlisle | Thread | Re: [xsl] No-output identity templa, David Carlisle |
RE: [xsl] Can I substitute a predef, Conal Tuohy | Date | [xsl] XSL variable out of scope, Nischal Muthana |
Month |