Subject: Re: [xsl] XPath Question (correction to subject) From: "cutlass" <cutlass@xxxxxxxxxxx> Date: Mon, 24 Sep 2001 16:12:52 +0100 |
dmitri's response/syntax is obviousely correct, ignore mine, my fingers are in javascript mode ! yuk ! cant believe it, i feel so unclean. cheers, jim fuller ----- Original Message ----- From: "Eric Smith" <Eric.Smith@xxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, September 24, 2001 3:34 PM Subject: [xsl] XPath Question (correction to subject) > According to Eric Smith on Mon, Sep 24, 2001 at 04:16:38PM +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 > > -- > Eric Smith > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPath Question (correction to, Eric Smith | Thread | RE: [xsl] passing variables to a st, Michael Kay |
RE: [xsl] XSLT courses, Mitchell, Edmund | Date | [xsl] sort parameter problem, Guillaume Rousse |
Month |