| 
 
Subject: Re: [xsl] select immediately following siblings with  constraints?  From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 23 Feb 2006 18:13:13 -0500  | 
Thank you very much for the reply. I actually hadn't been aware of the << and >> operators, I shall have to read up on them.
I did think about using a for loop, I just wasn't sure how I could write one which would be efficent, which wouldn't end up taking a lot more time than necessary to run down the remaining following-sibling elements.
((for $b in following-sibling::b[1]
    return following-sibling::a[. << $b]),
 (following-sibling::a[not(current()/following-sibling::b)]))((for $b in following-sibling::b[1]
    return following-sibling::a[. << $b]),
 (for $s in .
    return following-sibling::a[not($s/following-sibling::b)]))Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] select immediately follow, James A. Robinson | Thread | Re: [xsl] select immediately follow, James A. Robinson | 
| [xsl] An all-in-one XML data set (u, Graves, Jim \(CONTR\ | Date | RE: [xsl] Problems with mixed conte, Michael Kay | 
| Month |