Subject: RE: Making dynamic href's in XSL From: "Scott Mcdermott" <smcdermott@xxxxxxxxxxxxx> Date: Wed, 31 May 2000 18:52:28 -0400 |
Oops.. I forgot to close my <xsl:attribute> element correctly. For your case, It should actually read: <a> <xsl:attribute name="href"> show_tasks.jsp?pcode=<xsl:value-of select="site_code"/>project_number=<xsl:value-of select="number" /> </xsl:attribute> <xsl:value-of select="number" /> </a> Now, that should work... -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Brian Burridge Sent: Wednesday, May 31, 2000 5:19 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: Making dynamic href's in XSL I'm trying to build a dynamic href like this: <xsl:if test="num_active_tasks>0"><a href="show_tasks.jsp?pcode=<xsl:value-of select="site_code" />project_number=<xsl:value-of select="number" />"><xsl:value-of select="number" /></a> but I get the error "The value of attribute "href" must not contain the '<' character. ". I understand what the error means, but I'm not sure how to get around it. Is there a better way of building a dynamic href? -- Brian N. Burridge Internet Architect Ext 3515 The Internet Group - ITSS Cox Target Media "Until a person can say deeply and honestly, "I am what I am today because of the choices I made yesterday," that person cannot say, "I choose otherwise." XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Making dynamic href's in XSL, Scott Mcdermott | Thread | Re: Making dynamic href's in XSL, Mike Brown |
RE: Making dynamic href's in XSL, Scott Mcdermott | Date | Re: Making dynamic href's in XSL, Mike Brown |
Month |