Subject: Re: passing variables to a stylesheet
From: Eric Smith <Eric.Smith@xxxxxxxxxxxx>
Date: Mon, 24 Sep 2001 16:16:38 +0200
|
I want to match all tags that have an attribute called 'surpress' whose value is
not 'short'. So the following seems correct to me:
<xsl:template match="sub[@surpress != 'short']">
only problem is that it also surpresses nodes where there is no
attribute called 'supress'
How do I get all nodes to print except those with attribute
'supress' not equalt to 'short'?
I would like to us eXPAth and not xsl:if
also I would really like to make this a global condition if posisble
and not set it in each Xpath expression.
Thanx
--
Eric Smith - See mail header for processors
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: passing variables to a stylesheet, (continued)
- cutlass - Mon, 24 Sep 2001 08:49:12 -0400 (EDT)
- Robert Koberg - Mon, 24 Sep 2001 09:43:58 -0400 (EDT)
- cutlass - Mon, 24 Sep 2001 10:03:55 -0400 (EDT)
- Graham Seaman - Mon, 24 Sep 2001 14:17:50 -0400 (EDT)
- Eric Smith - Mon, 24 Sep 2001 10:29:12 -0400 (EDT) <=
- cutlass - Mon, 24 Sep 2001 10:43:15 -0400 (EDT)
- Eric Smith - Mon, 24 Sep 2001 10:47:18 -0400 (EDT)
- cutlass - Mon, 24 Sep 2001 11:28:13 -0400 (EDT)
- Michael Kay - Mon, 24 Sep 2001 14:20:20 -0400 (EDT)
|
|