This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL and entities
- To: xsl-list at mulberrytech dot com
- Subject: Re: XSL and entities
- From: "Sebastian Rahtz" <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Mon, 15 May 2000 23:03:57 +0100 (BST)
- References: <21E4A97A161AD4119D6F00A0CC5EE7B6070036@exchange.hdtd.com>
- Reply-To: xsl-list at mulberrytech dot com
Bryce Ferguson writes:
> <!ENTITY fig01 SYSTEM "picture1.tif" NDATA tiff>
> <figure id="fig01">
> <caption>
> <para>Activities, Tasks and Dependencies</para>
> </caption>
> <graphic figname="fig01"/>
> </figure>
>
> <!-- XSL Fragment -->
> <xsl:template match="//figure">
> <P><SPAN style="font-size=8pt;">
isnt CSS syntax "font-size:8pt", by the way?
> <xsl:variable name="imgRef" select="$graphic/@figname" />
> <IMG>
> <xsl:attribute name="SRC">
> <xsl:value-of select="$imgRef"/>
try
<xsl:value-of select="substring-after(unparsed-entity-uri(@figname),'file:')"/>
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list