Subject: Re: AW: [xsl] Passing XML in parameter for HREF in <xsl:attribute> From: Francis Norton <francis@xxxxxxxxxxx> Date: Thu, 29 Mar 2001 12:26:55 +0100 |
Marcus Klinge wrote: > > You might want to try the following: > > <a> > <xsl:attribute name="href"> > myservlet?request=<xsl:value-of select="REQUEST/@id"/> > <xsl:value-of select="REQUEST/COMMAND/@id"/> > </xsl:attribute> > LINKTEXT > </a> > Indeed. And once you're comfortable with this you might want to try the same thing using Attribute Value Templates (or AVTs) [1] for shorter, "sweeter" syntax: <a href="myservlet?request={REQUEST/@id}&command={REQUEST/COMMAND/@id}">LINKTEXT</a> > Oh..and hello to everyoneone on the list, I am new here. > and welcome - you won't be new for long! Francis. [1] http://www.w3.org/TR/xslt.html#attribute-value-templates XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] Passing XML in parameter , Marcus Klinge | Thread | Re: [xsl] Passing XML in parameter , David Carlisle |
[xsl] Sorting and resorting possibl, Marcus Klinge | Date | Re: [xsl] indenting text with <dl> , Peter Flynn |
Month |