This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
URL query as table data
- From: "Harry J. Foxwell" <hfoxwell at cs dot gmu dot edu>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sat, 16 Feb 2002 22:34:12 -0500 (EST)
- Subject: [xsl] URL query as table data
- Reply-to: xsl-list at lists dot mulberrytech dot com
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 "<" doesn't seem to
do the job either...any suggestions?
Thanks!
--
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list