[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Figure Problem using XSL-FO
At 2006-10-16 14:10 +0100, David Carlisle wrote:
> I have one problem. I am creating XML to PDF. I want ignore second > imageobject
<fo:external-graphic src="url("{@fileref}")"/> <xsl:attribute name="src"> <xsl:apply-templates select="imagedata[@format='GIF' or @format='JPG'][1]/@fileref"/>
If you were to choose to use the instruction, then it would be along the lines of: <xsl:attribute name="src"> <xsl:text>url("</xsl:text> <xsl:apply-templates select="imagedata[@format='GIF' or @format='JPG'][1]/@fileref"/> <xsl:text>")</xsl:text> </xsl:attribute> But it would be one or the other, and not both. I hope this helps. . . . . . . . . . . Ken
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|