No value in parameter {@ID}

D

Daniel

In a WSS Site I want to open a new window with a parameter.
The parameter is empty, I can't get the value.
Here's the part of code:

<xsl:variable name="ProtocollID"><xsl:value-of
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
select="/dsQueryResponse/Rows/Row/@ID"/></xsl:variable>

<td width="100%"><a href="protocoll.aspx?ID={@ProtocollID}"
target="_blank"><img border="0" src="images/Protocoll.gif" width="30"
height="27" align="left"/></a></td>

I also tried with the {@ID} parameter which is available from the data view.
 
D

Daniel

As nobody is helping me, I will do it myself step-by-step.

Now the hyperlink itself is working, but always without the parameter:
<a>
<xsl:attribute name="href">protocoll.aspx</xsl:attribute>
<xsl:attribute name="parameter"><xsl:value-of
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="translate(@type,
'.', '-')"/>, id=<xsl:value-of
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
select="/dsQueryResponse/Rows/Row/@ID"/></xsl:attribute>
<xsl:value-of select="."/>
<img src="images/Protocoll.gif" alt="Go to hyperlink" border="0"/>
</a>

Thank's for every advice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top