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

"fo:external-graphic" with "xsl:value-of select="image_url" on windows and Unix

From: Guo, Gordon <gguo@cdocs.com>
Date: Thu, 26 Sep 2002 09:10:05 -0400 (EDT)
Message-ID: <947CE2C569B03345B9D3F713BC3AE6540994D7@postal.cds-master.cdocs.com>
To: <www-xsl-fo@w3.org>
Cc: "Rao, Sneha" <Sneha@cdocs.com>




Hello All Friends,

    Our XSL is to generate dynamic PDF using XML data.  In PDF we also insert a logo image using "fo:external-graphic" with "xsl:value-of select="image_url".  The segment of code is as following:

                             <xsl:element name="fo:external-graphic">
                               <xsl:attribute name="src">
                                 <xsl:value-of select="imgurl"/>/zenith.gif
                                </xsl:attribute>
                                <xsl:attribute name="content-width">250px</xsl:attribute>
                                <xsl:attribute name="content-height">80px</xsl:attribute>
                                <xsl:attribute name="width">250px</xsl:attribute>
                                <xsl:attribute name="height">80px</xsl:attribute>
                             </xsl:element>

It works fine on win2k and NT.  However, it doest not work on Unix.  The process does not give any message, just ignore the ="fo:external-graphic" and generate the PDF without the logo image.
    It is highly appreciated if any body has any suggestion and / or advice.

Gordon
Received on Friday, 27 September 2002 03:26:30 GMT

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