Subject: RE: XSL and entities From: Bryce Ferguson <Bryce.Ferguson@xxxxxxxxxxxxxxxxxxx> Date: Mon, 15 May 2000 16:25:48 -0700 |
Thanks, and now that I know what to look for, I see the documentation for this function. The problem remains in IE with the March 2000 DOM parser. Noting that it doesn't yet fully support the standards, I'll stick with a workaround (embed the name of the file in the ID of the elements and the graphic/@figname attributes) that works and should allow the better method you've mentioned to work as well. You are indeed correct about the CSS reference which I have fixed (too many different languages and syntaxes to keep track of!! ;-) -----Original Message----- From: Sebastian Rahtz [mailto:sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] Sent: Monday, May 15, 2000 3:04 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: Re: XSL and entities 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: XSL and entities, Bryce Ferguson | Thread | RE: How to specify parameters in th, Ciot, Thierry |
RE: XSL and entities, Bryce Ferguson | Date | Re: feature request, Rick Geimer |
Month |