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

Terminate <xsl:for-each>

Subject: Terminate <xsl:for-each>
From: aaron apigo <aaronjose_apigo2001@xxxxxxxxx>
Date: Fri, 2 Sep 2005 12:30:44 -0700 (PDT)
xsl terminate
Hi All,

   I have this sample XML,

       <text:bookmark-start text:name="bib1"/>
       <text:bookmark-end text:name="bib1"/>
       <text:bookmark-start text:name="bib2"/>
       <text:bookmark-end text:name="bib2"/>
       <text:bookmark-start text:name="bib3"/>
       <text:bookmark-end text:name="bib3"/>

and I have this XSL

<xsl:template match ="text:bookmark-start">

  <xsl:for-each select="//text:p/text:user-field-get">

   do something here.........




what I want is this.


  Using my logic in my sytlesheets, all the 
<text:user-field-get> are captured, is there a
possibility that when <for-each> select
<text:bookmark-end text:name="___"/>, <for-each> will
automatically be terminated, and the next
<text:bookmark-start text:name="___"/> will be the one
to process.


Start your day with Yahoo! - make it your home page 

Current Thread


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.
First Name
Last Name
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.