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

RE: including an jpg-file

Subject: RE: including an jpg-file
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Thu, 17 Feb 2000 10:34:59 -0000
xsl jpg
What parser are you using? If it is MS, then you can't use the {} shorthand
in attributes...I think you can use the following, though:

<xsl:attribute name="src">\imagebase\<xsl:value-of
select="href"/></xsl:attribute>



> -----Original Message-----
> From: ergun.turker@xxxxxxxxxx [mailto:ergun.turker@xxxxxxxxxx]
> Sent: 17 February 2000 09:51
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: including an jpg-file
> 
> 
> 
> 
> 
> the xml part looks like:
>      <picture_rec>
>           <href>light.jpg</href>
>      </picture_rec>
> 
> 
> the xsl part:
>      <xsl:template match="picture_rec">
>           <img src="\imagebase\{href}"/>
>      </xsl:template>
> 
> I want the resulting html file to look like:
>      <img src="\imagebase\light.jpg" />
> 
> 
> But instead I'm getting: <img src="\imagebase\{href}" />
> 
> 
> Any ideas about what I'm doing wrong ?
> 
> TIA, Ergun
> 
> 
> 
> 
>  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.