Help please.
This is what I had:
<xsl:template match="xhtml:[EMAIL PROTECTED]'menuitem-selected-1']">
<div class="[EMAIL PROTECTED]">
<img height="24" width="192"
src="http://myhost.mydomain:8080/graphicUtils/[EMAIL PROTECTED]&img=empty_192x24_line\
.png&x=25&y=19&size=20" alt="[EMAIL PROTECTED]"/>
</div>
</xsl:template>
here [EMAIL PROTECTED] may contain non ASCII characters..
and this is what I'm trying to do.. but it doesn't work..
<xsl:template match="xhtml:[EMAIL PROTECTED]'menuitem-selected-1']">
<div class="[EMAIL PROTECTED]">
<img height="24" width="192"
src="http://myhost.mydomain:8080/graphicUtils/TextOnImage?text=escape-uri([EMAIL PROTECTED],false())&img=empty_192x24_line\
.png&x=25&y=19&size=20" alt="[EMAIL PROTECTED]"/>
</div>
</xsl:template>
..any hints, please?
Roberto Nunnari wrote:
Roberto Nunnari wrote:
Hello.
In page2xhtml.xsl I build urls with a parameter extracted from
the value of the current menu label.
It all works fine until the label is in the domain of ASCII
but as soon as other characters come into play, things go
wierd.
Is there a way to URLEncode the above links?
I just found the function escape-uri().. Is that what I need?
I'm trying to get it work in my page, but with no luck, yet..
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]