[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: passing variables to a stylesheet

Subject: Re: passing variables to a stylesheet
From: Eric Smith <Eric.Smith@xxxxxxxxxxxx>
Date: Mon, 24 Sep 2001 16:16:38 +0200
xpath no attribute called
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.