Hi,
We need to URL encode an item in our xsl style sheet used with the Texis search appliance. I have heard that
"If your XSLT processor is Java based, it probably has a namespace reserved for invoking static methods in arbitrary classes in your classpath, and this would
work:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:url="http://whatever/java/java.net.URLEncoder"
exclude-result-prefixes="url">"
Is there a namespace I can use in our custom XSL in order to call the java.net.URLEncoder from the XSLT? I tried a few things, such as
xmlns:java="java"
.
.
.
<xsl:value-of select="java:net.URLEncoder.encode(.)"/>
but to no avail.
Any help would be greatly appreciated.
Thank you,
Gabriel Weinstock
We need to URL encode an item in our xsl style sheet used with the Texis search appliance. I have heard that
"If your XSLT processor is Java based, it probably has a namespace reserved for invoking static methods in arbitrary classes in your classpath, and this would
work:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:url="http://whatever/java/java.net.URLEncoder"
exclude-result-prefixes="url">"
Is there a namespace I can use in our custom XSL in order to call the java.net.URLEncoder from the XSLT? I tried a few things, such as
xmlns:java="java"
.
.
.
<xsl:value-of select="java:net.URLEncoder.encode(.)"/>
but to no avail.
Any help would be greatly appreciated.
Thank you,
Gabriel Weinstock