[xsl] doubt vs question (was Re: xsk doubt...)

Subject: [xsl] doubt vs question (was Re: xsk doubt...)
From: Mike Brown <mike@xxxxxxxxxxxxxxxx>
Date: Thu, 25 Apr 2002 09:33:29 -0600 (MDT)
william locksman wrote:
> i have a basic doubt regarding conditions..

I don't doubt that the inexplicable, pervasive usage of the word
'doubt' on xsl-list, when one means 'question', is in doubt. 

(And if I see 'lose' spelled 'loose' one more time I'll scream.)


> when do we use the [ ] and when do we use ( )??

[ ] indicates a predicate in the kindof XPath expression that evaluates to a 
node-set, or the subset of such expressions called an XSLT pattern (match 
pattern). A predicate refines the selection of nodes that have been identified
by whatever is to the left of it to only those nodes for which the test in
the predicate is true.

( ) can be either a simple grouping operator, as in arithmetic, or part of 
the syntax of an XPath or XSLT function like not() or translate().

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread