Hello,
I would like to URL encode in the sitemap, and I figured the JXPathMetamodule would be useful.
However, I cant figure out how to configure it.
The docs mention a "function" element that can be used to define java classes to be used with jxpath:
<function name="java.net.URLDecoder" prefix="urlencode"/>
But where do I put this statement?
Wherever the module is declared or used and may have a nested configuration. If you are going to use it from sitemap, you need to add this to the declaration.
Then I would like to use the new input module like this:
<match select="test/*"> <generate src="http://www.test.com/{urlencode:encode({1})}"
Nested substitution is not supported. But there is an action for this: InputModuleAction. Please see the javadocs.
Chris.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
