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

looping in increments

Subject: looping in increments
From: Vijay Malgari <vmalgari@xxxxxxx>
Date: Mon, 11 Sep 2006 15:03:36 -0400
malgari
Hello All:

I did go through the FAQ's list and I could not
find any help or to say any lead.  Please do ignore
if my question is trivial.

I have a block of code that I want to repeat for
different integer values and I have no clue how to do
the increment while looping the same block of xsl code.

Here is the code: I want to repeat the same block
for all Feature[] values...


<xsl:if test="descendant::Feature[1]">
<fo:block-container reference-orientation="90" inline-progression-dimension.minimum="5mm" inline-progression-dimension.optimum="15mm" inline-progression-dimension.maximum="auto">
<fo:block>
<xsl:if test="descendant::Attribute">
<xsl:for-each select="descendant::Feature[1]/Attribute">
<fo:block-container reference-orientation="-90" inline-progression-dimension="35mm" width="1.5in">
<fo:block font-size="6.5pt">
<xsl:value-of select="@value"/>
</fo:block>
</fo:block-container>
</xsl:for-each>
</xsl:if>
</fo:block>
</fo:block-container>
</xsl:if>


Any help/lead  is greatly appreciated,
Thanks,
Vijay

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.