problem outputting &

hi all

i am having problems outputting & in url string. If i use & or &, i get & in the source code. The application which will be using the published file needs & and not &.

I have tried just using & in my code but rhythmyx complains - The reference to entity “msg” must end with the ‘;’ delimiter.

my code is below

does anybody have any clues how to resolve this please.

thanks
michelle

	<xsl:variable name="barcodeNum"><xsl:value-of select="//Barcode" /></xsl:variable>
	<xsl:variable name="barcode">
		<xsl:text>http://$barcodeLocation/barcode4j/genbc?type=ean-8&msg=</xsl:text>
		<xsl:value-of select="$barcodeNum" />
		<xsl:text>&height=12&mw=0.37&hrp=bottom&fmt=jpeg&hrsize=12pt&res=68</xsl:text>
	</xsl:variable>

	<img border="0"> 
		<xsl:attribute name="src"><xsl:value-of select="$barcode" /></xsl:attribute>
	</img> 

Hi Michelle

Here’s something that worked for me

<xsl:variable name="queryLinkCat">
	<xsl:value-of select="concat('http://127.0.0.1:9992/Rhythmyx/online_services_cas/get_online_services.xml?sys_authtype=',$authtype,'&sys_context=',$context,'&sys_siteid=',$siteid,'&section=',$location)"/>
</xsl:variable>

Cheers
James

Thanks James

but this gives me the same problem in that it outputs &. I need the url to simply contain & not &

thanks
michelle