<xsl:element name="A"> <xsl:attribute name="href">test.html</xsl:attribute> <xsl:attribute name="target">sometarget</xsl:attribute> <xsl:value-of select="result-id"/> </xsl:element>
mvh karl oie -----Original Message----- From: rgi [mailto:[EMAIL PROTECTED]] Sent: 12. desember 2001 14:49 To: [EMAIL PROTECTED] Subject: simple href link Hello cocoon-users, I have a easy problem...! I want to make a link with parameter in the url. I read some data from a database (user with diffrent usernames). Now I want to make links to a other xsp page and the username should be in the query. e.g. http://localhost:8080/cocoon/showuser?username=testuser I have a xsp page and I list all users with a xsl file...all work fine, but with no link...how can I implement a link. I tried id to implement it in the xsl file. here I print out the username, name and firstname: the problem ist the href section! <xsl:template match="result-attr"> <tr> <td align="left"> <a href=""> <xsl:value-of select="result-id"/> </a> </td> <td align="left"> <xsl:value-of select="result-name"/> </td> <td align="left"> <xsl:value-of select="result-firstname"/> </td> </tr> </xsl:template> -- Best regards, rgi mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>