[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

URL query as table data

Subject: URL query as table data
From: "Harry J. Foxwell" <hfoxwell@xxxxxxxxxx>
Date: Sat, 16 Feb 2002 22:34:12 -0500 (EST)
url in a table
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.