[EMAIL PROTECTED] wrote:
<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())&#38;img=empty_192x24_line\
.png&#38;x=25&#38;y=19&#38;size=20" alt="[EMAIL PROTECTED]"/>
  </div>
</xsl:template>
..any hints, please?


The escape-uri would need to be within the braces to be treated as a
function rather than text.  That should have been obvious from looking
at the HTML results.  Try:
text={escape-uri(@label, false())}

[Disclaimer: I have not tries that function in Lenya's XSLT.]

Yes.. you're right.. in fact that doesn't work as xalan-2.6.1
implements XPath 1.0 and that function is part of XPath 2.0

Thank you anyway.
Roberto



solprovider

---------------------------------------------------------------------
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]

Reply via email to