[thelist] XML: Multiple attributes for an HREF

Warden, Matt mwarden at mattwarden.com
Wed Apr 17 15:29:01 CDT 2002


On Apr 17, Eric Engelmann had something to say about [thelist] XML:...

>I am trying to make an HREF tag with multiple querystring parameters using
>XML and XSL. Here's what I've got, but its not working:
>
><a><xsl:attribute name="href">addcontact.asp?ID=<xsl:value-of
>select="//Partner/@ID" />&PartnerName=<xsl:value-of select="//Partner/@Name"
>/></xsl:attribute>Add Contact</a>
>
>I'm missing something obvious, I'm sure. There's got to be an easy
>way to do this. If I remove the second xsl:value-of statement, I get the
>HREF with one parameter just fine. Adding the second hoses it.
>
>Any ideas?

I don't know if this is your problem, but & should be &amp;

hth,

--
mattwarden
mattwarden.com




More information about the thelist mailing list