xsl-list
[Top] [All Lists]

RE: [xsl] Genreating a HTML file with anchor link

2008-02-12 02:32:19
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(_dot_)bernard(_at_)gmail(_dot_)com] 
Sent: 2008 February 09 11:41
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>