Re: [xsl] looping in increments

Subject: Re: [xsl] looping in increments
From: Vijay Malgari <vmalgari@xxxxxxx>
Date: Tue, 12 Sep 2006 08:54:56 -0400
cknell@xxxxxxxxxx wrote:

The process that works on this list is:

1) Describe the problem - Done
2) Provide a sample of the input - Waiting for this (a description is not the same as a sample)
3) Provide a sample of the output - Waiting for this
4) Show us what you have so far - Done


Give us steps 2 and 3.




My sincere apologies for that I was not aware of the protocol.
Anyhow, after doing some testing out the following code
represents the changes that I made to get what I wanted.

The issue, I think, was more of cross-related between
xsl and formatting objects for the way I wanted it to appear.
I would be more than happy to explain (my ignorance)
what I was doing if anyone is interested.

Best,
Vijay

<xsl:for-each select="descendant::Feature">
<fo:block-container reference-orientation="90" inline-progression-dimension.minimum="5mm" inline-progression-dimension.optimum="5mm" inline-progression-dimension.maximum="auto">
<fo:block>
<xsl:if test="Attribute">
<xsl:for-each select="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:for-each>
</xsl:for-each>
</xsl:template>


Current Thread