Subject: RE: [xsl] xsk doubt [ ] vs ( ) From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Thu, 25 Apr 2002 11:56:14 +0100 |
> i have a basic doubt regarding conditions.. > what is the difference between saying > <xsl:if test = "not[. = mytag/mytext]"> > > and saying > > <xsl:if test = "not(. = mytag/mytext)"> > > > when do we use the [ ] and when do we use ( )?? > regards [] represents a filter or predicate that you apply to a node-set () represents the arguments to a function call "not" is a function, not a node-set, so you need (). Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsk doubt [ ] vs ( ), David Carlisle | Thread | RE: [xsl] xsk doubt [ ] vs ( ), Wendell Piez |
Re: FW: [xsl] XML transformation us, David Carlisle | Date | RE: [xsl] standard method of docume, DPawson |
Month |