Subject: Re: [xsl] URL query as table data From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 20 Feb 2002 17:51:13 -0500 |
Harry J. Foxwell wrote: > <xsl:template match="Term"> > <td> > <A HREF="http://lookuphost.com/bin/lookup.cgi?term= > <xsl:apply-templates/>"> > <xsl:apply-templates/></A> > </td>
This is what you're trying to do:
<A> <xsl:attribute name="HREF"> <xsl:text>http://lookuphost.com/bin/lookup.cgi?term=</xsl:text> <xsl:apply-templates/> </xsl:attribute> <xsl:apply-templates/> </A>
<xsl:variable name="term"> <xsl:apply-templates/> </xsl:variable> <a href="http://lookuphost.com/bin/lookup.cgi?term={$term}"> <xsl:apply-templates/> <!-- or just <xsl:copy-of select="$term"/> --> </a>
Cheers, Wendell
- Mike ____________________________________________________________________________ mike j. brown, fourthought.com | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re[2]: xsl:attribute, Antonio Bueno | Thread | [xsl] Evaluation of a string contai, Carsten Klein |
RE: [xsl] Grouping (yet again), Steven Noels | Date | Re: [xsl] XML to FrameMaker MIF via, Wendell Piez |
Month |