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="">
</fo:external-graphic>

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

Thanks
Received on Friday, 9 January 2004 12:53:32 GMT

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