Subject: Re: [xsl] Negation of <xsl:when test="$args = '{$value}'"> From: himanshu padmanabhi <himanshu.padmanabhi@xxxxxxxxx> Date: Tue, 10 Mar 2009 17:32:14 +0530 |
Thank you very much.I gone through net for XSL:if examples.But didn't find one with non-equality conditions.There are examples of comparison operators and agreed I am having almost no/very little knowledge of XSL at this moment.I am very thankful to XSL list for helping a lot. On Tue, Mar 10, 2009 at 5:20 PM, David Carlisle <davidc@xxxxxxxxx> wrote: > > It will really you help you (and us) If you read some of the basic > syntax turorials first rather than bombarding the list with so many > questions. > > "not($args = '{$value}')" > > The ' makes that a string literal with fixed value '{$value}' > in fact inside string literals is the ony place you can have { } in > xpath which only uses () and [] brackets. > > Presumably you intended > > not($args = $value) > > David > > > > ________________________________________________________________________ > The Numerical Algorithms Group Ltd is a company registered in England > and Wales with company number 1249803. The registered office is: > Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. > > This e-mail has been scanned for all viruses by Star. The service is > powered by MessageLabs. > ________________________________________________________________________ > > -- Regards, Himanshu Padmanabhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Negation of <xsl:when tes, David Carlisle | Thread | [xsl] Simple newbie Q: literal as r, Dick Penny |
Re: [xsl] Negation of <xsl:when tes, David Carlisle | Date | RE: [xsl] Basics of XSLT, Scott, Christopher |
Month |