-
multiple values in query string
Hi all,
I have a problem passing multiple values in query string in XSL.
When I pass single value it works.
<TR>
<TD CLASS="Row" ALIGN="center" VALIGN="TOP">
<xsl:element name="a">
<xsl:attribute class="Row" name="href">Redirect.asp?id=<xsl:value-of
select="id"/></xsl:attribute>
</xsl:element>
<xsl:value-of select="Patient_ID"/></TD>
But I need to pass more then one value in query string. In HTML it would
look like this: <a href="/actions/redirect.asp?id=1&somecode=CODE"></a>
But when I try to insert "&" in XSL it breaks. Please advise.
Igor
-
Re: multiple values in query string
Use & instead.
<xsl:element name="a">
<xsl:attribute class="Row" name="href">Redirect.asp?id=<xsl:value-of
select="id"/>&somecode=CODE</xsl:attribute>
</xsl:element>
"Igor" <irodionov@hotmail.com> wrote:
>
>Hi all,
>I have a problem passing multiple values in query string in XSL.
>When I pass single value it works.
> <TR>
> <TD CLASS="Row" ALIGN="center" VALIGN="TOP">
> <xsl:element name="a">
> <xsl:attribute class="Row" name="href">Redirect.asp?id=<xsl:value-of
>select="id"/></xsl:attribute>
> </xsl:element>
> <xsl:value-of select="Patient_ID"/></TD>
>
>But I need to pass more then one value in query string. In HTML it would
>look like this: <a href="/actions/redirect.asp?id=1&somecode=CODE"></a>
>But when I try to insert "&" in XSL it breaks. Please advise.
>Igor
-
Re: multiple values in query string
Try using & in place of &
"Igor" <irodionov@hotmail.com> wrote:
>
>Hi all,
>I have a problem passing multiple values in query string in XSL.
>When I pass single value it works.
> <TR>
> <TD CLASS="Row" ALIGN="center" VALIGN="TOP">
> <xsl:element name="a">
> <xsl:attribute class="Row" name="href">Redirect.asp?id=<xsl:value-of
>select="id"/></xsl:attribute>
> </xsl:element>
> <xsl:value-of select="Patient_ID"/></TD>
>
>But I need to pass more then one value in query string. In HTML it would
>look like this: <a href="/actions/redirect.asp?id=1&somecode=CODE"></a>
>But when I try to insert "&" in XSL it breaks. Please advise.
>Igor
-
Re: multiple values in query string
"JohnH" <johnhkc@earthlink.net> wrote:
>
>Try using & in place of &
>
>
>"Igor" <irodionov@hotmail.com> wrote:
>>
>>Hi all,
>>I have a problem passing multiple values in query string in XSL.
>>When I pass single value it works.
>> <TR>
>> <TD CLASS="Row" ALIGN="center" VALIGN="TOP">
>> <xsl:element name="a">
>> <xsl:attribute class="Row" name="href">Redirect.asp?id=<xsl:value-of
>>select="id"/></xsl:attribute>
>> </xsl:element>
>> <xsl:value-of select="Patient_ID"/></TD>
>>
>>But I need to pass more then one value in query string. In HTML it would
>>look like this: <a href="/actions/redirect.asp?id=1&somecode=CODE"></a>
>>But when I try to insert "&" in XSL it breaks. Please advise.
>>Igor
>
This link is useful for other characters that cannot be transformed. Ex.
nbsp =  
http://msdn.microsoft.com/library/de...s/charset1.asp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|