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>