W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2004

Using entities for graphics

From: Lee Ann Lentz <llentz@scsnet.csc.com>
Date: Fri, 9 Jan 2004 12:51:55 -0500
Message-ID: <085F43A0A8371D4985168728419EF02F3DB7A5@scsetbmail.scsnet.csc.com>
To: <www-xsl-fo@w3.org>

Is there a way to use entities for graphics similar to sgml?  How would this be coded in the .xsl file?  For example:

<!ENTITY figure1 SYSTEM "test.gif" NDATA gif>
<xsl:template match="graphic[@boardno]">
<fo:external-graphic src="{@boardno}" content-height="" content-width="">

The only way I can get this to work is to replace the entity name (figure1) with the graphic file name (test.gif).

Received on Friday, 9 January 2004 12:53:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:28 UTC