Subject: RE: [xsl] Genreating a HTML file with anchor link From: "W Charlton" <XSLList@xxxxxxxxxx> Date: Tue, 12 Feb 2008 09:31:39 -0000 |
Eugene, You can use <td><a href="{item}"><xsl:value-of select="item"/></a></td> Although without seeing your XML and XSL it is difficult to say. I noticed you have " o:\test.pdf" and "item" as your path. Which contains the url? William Charlton The yMonda team yMonda Limited w: www.ymonda.net -----Original Message----- From: Eugene Bernard [mailto:eugene.bernard@xxxxxxxxx] Sent: 2008 February 09 11:41 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Genreating a HTML file with anchor link Hi all, I am using the below xsl to retrive the item info from a xml source. <td> <xsl:value-of select="item"/> </td> while doing so, how can code it in xsl to generate a html file witn a link as below if item node has a value of "test" <td><a href="o:\test.pdf"><xsl:value-of select="item"/></a></td> Appreciate for the help. Regards Eugene
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Genreating a HTML file wi, Martin Honnen | Thread | [xsl] Escaping data in XML attribut, Robert La Ferla |
Re: [xsl] Count occurances of two' , Mukul Gandhi | Date | [xsl] [ANN] xmlroff 0.5.4, Tony Graham |
Month |