This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL and entities
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: XSL and entities
- From: Bryce Ferguson <Bryce dot Ferguson at herrickdouglass dot com>
- Date: Mon, 15 May 2000 16:25:48 -0700
- Reply-To: xsl-list at mulberrytech dot com
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@computing-services.oxford.ac.uk]
Sent: Monday, May 15, 2000 3:04 PM
To: xsl-list@mulberrytech.com
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