[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XQuery 1.0 and XPath 2.0 Functions and Operators V
"Monotonically increasing" has a very precise mathematical definition that is consistent here, though I would agree with Christ that being able to set the iterator would be useful. -- Kurt Cagle ----- Original Message ----- From: "Chris Bayes" <chris@xxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, September 07, 2001 10:47 PM Subject: RE: XQuery 1.0 and XPath 2.0 Functions and Operators Version 1.0 > Mike, > What will <xsl:value-of select="1 TO 10" /> give you? > What will <xsl:copy-of select="1 TO 10" /> give you? > Will the "," be used as in xf:item-at(($seq1, $seq2), 5) and > xf:item-at((1 TO 3, 4 TO 6), 5)? > Will you be able to do <xsl:for-each select="(1 TO 3, 4 TO 6)"> > Why is TO only monotonically increasing? > > Ciao Chris > P.s. Does the word monotonically (11.2.1.3) need to be there? It isn't > in the online Cambridge dictionary and a quick search of google came up > with 2 equally scary pages http://atlas-conferences.com/c/a/e/u/38.htm > http://www.dgp.toronto.edu/people/mooncake/thesis/node87.html ;-) > > XML/XSL Portal > http://www.bayes.co.uk/xml > > > > -----Original Message----- > > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > > Michael Kay > > Sent: 07 September 2001 23:08 > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: RE: XQuery 1.0 and XPath 2.0 Functions and > > Operators Version 1.0 > > > > > > > > The idea is that a variable which in XPath 1.0 holds a node-set, > > > > should in XPath 2.0 hold a sequence of nodes, the > > sequence being in > > > > document order with no duplicates. > > > > > > If a sequence can't contain duplicates what do you get from... > > > > A sequence can contain duplicates. But the idea is that (as a first > > approximation) expressions that in XPath 1.0 return a > > node-set, will in XPath 2.0 return a sequence in document > > order without duplicates. New expressions and operators may > > produce sequences that do contain duplicates. > > > > Mike Kay > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|