[xsl] URL query as table data

Subject: [xsl] URL query as table data
From: "Harry J. Foxwell" <hfoxwell@xxxxxxxxxx>
Date: Sat, 16 Feb 2002 22:34:12 -0500 (EST)
I need the table data in a table cell to be
a link to a url query containing the table
data string:

<xsl:template match="Term">
<td>
<A HREF="http://lookuphost.com/bin/lookup.cgi?term=
<xsl:apply-templates/>">
<xsl:apply-templates/></A>
</td>

note that I want the Term node contents returned twice...once
for the query link, and once for the text to appear in the
table cell.

Anyway, the above does not work...complains about the "<"
in the first apply-templates:

	SAXParseException: The value of attribute "HREF"
	must not contain the '<' character.

Escaping the leading "<" with "&lt;" doesn't seem to
do the job either...any suggestions?

Thanks!

-- 



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread