|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:value-of inside an html tag
[Matt MacDougall]
> I'm trying to build a dynamic link by having the href
> attribute set to <xsl:value-of
> select="/page/results/prevnext/@prevresult"/> ... so I would
> have something like <a href="<xsl:value-of
> select="/page/results/prevnext/@prevresult"/>">Previous</a>
> ... obviously that's not going to work though.
> ...
Is there another way to do this that actually resolves the
> href rather than printing it out?
>
This is a FAQ and just came up again earlier. Use attribute value
templates -
<a href='{/page/results/prevnext/@prevresult}'>.....</a>
Cheers,
Tom P
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
|

Cart








