Subject: [xsl] Escape Special Characters From: Jen Jiang <zhenjiang14221@xxxxxxxxx> Date: Sun, 24 Oct 2004 16:15:54 -0700 (PDT) |
I'm baffled by this use of &. I have to use it twice for each & sign in the URL to get the variables passed correctly. Does someone have explanation for this? <xsl:element name='img'> <xsl:attribute name='src'> <xsl:text>./php/chart_age.php? age1=</xsl:text> <xsl:value-of select="AGE1"/>& <xsl:text>&age2=</xsl:text> <xsl:value-of select="AGE2"/>& <xsl:text>&age3=</xsl:text> <xsl:value-of select="AGE3"/>& <xsl:text>&age4=</xsl:text> <xsl:value-of select="AGE4"/>& <xsl:text>&age5=</xsl:text> <xsl:value-of select="AGE5"/>& <xsl:text>&age6=</xsl:text> <xsl:value-of select="AGE6"/>& <xsl:text>&age7=</xsl:text> <xsl:value-of select="AGE7"/>& <xsl:text>&age8=</xsl:text> <xsl:value-of select="AGE8"/> </xsl:attribute> </xsl:element> Thanks. _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Pass variables through UR, Werner, Wolfgang | Thread | Re: [xsl] Escape Special Characters, David Carlisle |
Re: [xsl] integrating xslt and xque, David Carlisle | Date | Re: [xsl] Escape Special Characters, David Carlisle |
Month |