This is the mail archive of the xsl-list@mulberrytech.com


>
Index Nav: [Date Index] [Subject Index] [Author Index] [ad Index]
Message Nav: [Date v] [Date Next] [Thread Prev] HREF="msg00566.html">Thread Next]
-X-Subject-Header-Begin-->

RE: including an jpg-file


What parser are you using? If it is MS, then you can't uhe {} shorthand
in attributes...I think you can use the following, though:

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



> -----Original Message-----
> From: ergun.turker@no.abb.com [mailto:ergun.turker@no.abb.com]
> Sent: 17 February 2000 09:51
> To: xsl-list@murytech.com
> Subject: including an jpg-file
> 
> 
> 
> 
> 
> the xml part looks like:
>      <pic_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" />
> 
> 
> instead I'm getting: <img src="\imagebase\{href}" />
> 
> 
> Any ideas about what I'm doing wrong ?
> 
>A, Ergun
> 
> 
> 
> 
>  XSL-List info and archive:  http:w.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  

-X-Follow-Ups-End--> <th align="left">Index Nav:
[Date Index] [Subject Index] [Author Index] [Th Index]
Message Nav: [Date P/A>] [Date Next] [Thread Prev] [<EF="msg00566.html">Thread Next]