Hi Zahidul ...

I've adapted your xsl code snip with a few surrounding necessary tags to
reproduce it and behold there are the images in both cases !!!

I don't know exactly what's missing in your stylesheet, but it works without
fixed image sizes (as a said yesterday)
I swear ;)

Find the working template attached

cu Torsten

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">
	<xsl:template match="images">
		<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
			<fo:layout-master-set>
				<fo:simple-page-master page-width="600pt" page-height="800pt" margin-bottom="15pt" margin-top="15pt" margin-left="15pt" margin-right="15pt">
					<fo:region-body/>
				</fo:simple-page-master>
			</fo:layout-master-set>
			<fo:page-sequence>
				<fo:flow>
					<fo:table table-layout="fixed" inline-progression-dimension.optimum="100%">
						<fo:table-column column-width="105px"/>
						<fo:table-column column-width="105px"/>
						<fo:table-column column-width="105px"/>
						<fo:table-column column-width="105px"/>
						<fo:table-column column-width="105px"/>
						<fo:table-body>
							<fo:table-row>
								<xsl:for-each select="child::image">
									<fo:table-cell>
										<fo:table>
											<fo:table-column/>
											<fo:table-body>
												<fo:table-row>
													<fo:table-cell height="100px" width="100px" border-style="solid" border-width="0px" keep-together.within-column="always" hyphenate="true">
														<fo:external-graphic src="{child::url}"/>
														<!-- But here if i include <fo:external-graphic src="{child::url}" content-height="100px" content-width="100px" height="100px" width="100px"/> then it works fine . But i dont want to fix the size of images-->
													</fo:table-cell>
												</fo:table-row>
												<fo:table-row>
													<fo:table-cell keep-together.within-column="always" hyphenate="true" border-width="0px">
														<fo:block padding-top="2pt" text-align="center" font-size="8pt">
															<xsl:value-of select="child::imagename"/>
														</fo:block>
													</fo:table-cell>
												</fo:table-row>
											</fo:table-body>
										</fo:table>
									</fo:table-cell>
								</xsl:for-each>
							</fo:table-row>
						</fo:table-body>
					</fo:table>
				</fo:flow>
			</fo:page-sequence>
		</fo:root>
	</xsl:template>
</xsl:stylesheet>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to