This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

URL query as table data



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]