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: passing variables to a stylesheet


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


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