Re: XSL and entities

Subject: Re: XSL and entities
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 May 2000 23:03:57 +0100 (BST)
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


Current Thread