Subject: RE: [xsl] newbie question: nested tags From: Jeff Beadle <Jbeadle@xxxxxxxx> Date: Mon, 11 Feb 2002 14:25:44 -0500 |
I'm guessing the "url" is an element within scope that has the desired url string within it's text node(s)? If so, then... <a> <xsl:attribute name="href"><xsl:value-of select="url"/></xsl:attribute> link </a> -Jeff -----Original Message----- From: Joe Cheng [mailto:jcheng@xxxxxxxxxxxx] Sent: Monday, February 11, 2002 2:15 PM To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: [xsl] newbie question: nested tags I'm trying to use the value-of as an attribute for an HTML tag. Example: <a href="<xsl:value-of select="url"/>">link</a> There must be a way to do this, but I'm not seeing it... short of using a CDATA section for the markup surrounding the select, but that seems like a terrible hack. Can anyone help me? Thanks... -jmc 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] newbie question: nested t, Morten | Thread | Re: [xsl] newbie question: nested t, Trevor Nash |
RE: [xsl] Displaying column headers, Brian Burridge | Date | Re: [xsl] newbie question: nested t, Morten |
Month |