[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: including an jpg-file
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|