W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2003

Image Loop

From: Ashish Tibrewal <Ashish.Tibrewal@Netdecisions.com>
Date: Tue, 23 Sep 2003 15:33:56 +0530
Message-ID: <2F9049602A82D511819F00B0D0F0452A0440D3C8@INMUMMX00>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>
I want to loop a icon.gif (20 X 20px image) one besides the other. 
 
This is where I want to display the images
 
 
<!-- Facilities block starts here -->

<fo:block font-size="10pt" color="#333333" font-weight="bold"
space-before="15px" keep-with-next="always"> Facilities </fo:block>

<fo:block space-before="3px">

    <xsl:call-template name="facilities">

        <xsl:with-param name="node" select="."/>

    </xsl:call-template>

</fo:block>

<!-- Facilities block ends here -->

****************************************************************************
****************************************************************************
**************

<!--
****************************************************************************
**************************************************** -->

<!-- Facilities template defined starts-->

<!--
****************************************************************************
**************************************************** -->

<xsl:template name="facilities">

<xsl:param name="node"/>

<xsl:for-each select="$node/*">

<xsl:call-template name="facilitiesdetails">

<xsl:with-param name="childNode" select="."/>

</xsl:call-template>

</xsl:for-each>

</xsl:template>

<!--
****************************************************************************
**************************************************** -->

<!-- Facilities template defined ends-->

<!--
****************************************************************************
**************************************************** -->

 

<!--
****************************************************************************
**************************************************** -->

<!-- Facilities content starts here -->

<!--
****************************************************************************
**************************************************** -->

<xsl:template name="facilitiesdetails">

<xsl:param name="childNode"/>

<xsl:for-each select="$childNode/*">

<xsl:apply-templates select="FACILITIES"/>

</xsl:for-each>

</xsl:template>

<!--
****************************************************************************
**************************************************** -->

<!-- Facilities content ends here -->

<!--
****************************************************************************
**************************************************** -->




image_loop.jpg
(image/jpeg attachment: image_loop.jpg)

Received on Tuesday, 23 September 2003 06:03:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT