Subject: Re: Figure Problem using XSL-FO
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 16 Oct 2006 14:10:17 +0100
|
> I have one problem. I am creating XML to PDF. I want ignore second
> imageobject
just select the first, something like:
<fo:block line-height="1.5"
xsl:use-attribute-sets="formal.object.properties" text-align="center">
<fo:external-graphic src="@fileref">
<xsl:attribute name="src">
<xsl:apply-templates select="imagedata[@format='GIF' or
@format='JPG'][1]/@fileref"/>
^^^
^^^
^^^
</xsl:attribute>
David
|