[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: current() - referring to top in nested predicates

Subject: Re: current() - referring to top in nested predicates
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Wed, 06 Aug 2008 14:29:01 +0200
Re:  current() - referring to top in nested predicates
David Carlisle schrieb:
No, I wanted: "If the count of <B>s for the interval is zero, the
interval is empty and I'm not interested;

what's the difference between "the count of B in the interval is zero" and "the next element is a T not a B" it appears to be the same as far as I can see, except the latter is easier to express in xpath.

Maybe a lack of precision, or too much verbosity, in my original post. An interval is *not* defined in terms document position, but in terms of the numbers in the text nodes attached to the <T> elements. I wrote:

    <Urmel>
      <T>0</T>
      <T>6</T>
      <T>12</T>
      <T>18</T>
      <T>24</T>
    [...]

    A <T> indicates a point in time. <T>s are ordered numerically.
    Direct siblings define an interval starting at the earlier <T> and
    ending before the later <T>.

Should have be more explicit here and state that the first interval goes
from 0 to 6, the second one from 6 to 12, and so on.

Sorry for confusing you!

Michael

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.