Bueno,
se ha reemplzado por el código de comillas.
debería ser
Código:
<a>
<xsl:attribute name="href">#.asp</xsl:attribute>
<xsl:attribute name="onclick">
<xsl:value-of select="concat('abrirVentana(& # 3 4 ;ventana.asp?id=',@idAyuda,'& # 3 4 ; ,20,30)')"/>
</xsl:attribute>
Ayuda
</a>
El código & # 3 4 ; debe ser sin espacios.