[RESOLVED] XML Link with Querystring
How do I make a link with a querystring in XML?
If I do:
Code:
<a href="filename.asp?KeyToPass=<xsl:value-of select="*[local-name()='key']" disable-output-escaping="yes"/>">
I get told it's invalid XML. I've seen XLink, but not completely sure how to use it. Can anybody help?
Thanks.
Re: XML Link with Querystring
:eek2:
It might have helped if I wasn't being so dim and trying to do XML in XSL!
Off to bang my head against a wall! It has been a long day!
Code:
<a>
<xsl:attribute name="href">
filename.asp?KeyToPass=<xsl:value-of select="teamkey" />
</xsl:attribute>
<xsl:attribute name="target">new</xsl:attribute>
<xsl:value-of select="*[local-name()='key']" disable-output-escaping="yes"/>
</a>
Re: [RESOLVED] XML Link with Querystring
Ah, but how ugly compared to this:
Code:
<a href="filename.asp?KeyToPass={*[local-name()='key']}">
Edit: removed the dollar, it's incorrect.