[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL and entities

Subject: RE: XSL and entities
From: Bryce Ferguson <Bryce.Ferguson@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 May 2000 16:25:48 -0700
RE: XSL and entities
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.