|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to give Dynamic Hyperlinks...
David Carlisle, thank you for your advise,i am able to get my job done. sincerely, Krishna Kishore -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Monday, June 09, 2003 4:50 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: How to give Dynamic Hyperlinks... <A HREF="home"> that would just produce an attribute with value home (as you presumably found out) You want to evaluate the home variable, so you want $home not home and then you want to put it in {} so it is evaluated not taken as a string so: <A HREF="{$home}"> Note it would be better to be <a href="{$home}"> At some point you are going to want to switch from html to xhtml and in xhtml element and attribute names are lower case. You don't actually need a variable at all: <xsl:variable name="home"> <xsl:value-of select="concat(test_name,'.xml')"/> </xsl:variable> <a href="{$home}"> could more easily be written <a href="{test_name}.xml"> David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ 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
|

Cart








