On 15.05.2004 17:37, Jorg Heymans wrote:

AFAIK some of the XSLT functions work in the sitemap too, probably through JXPath. *If* translate() works it will look like:
value="{translate({1}, '_', ' ')"
Maybe it needs a namespace prefix for the correct input module.



Baffled again by cocoon's flexibility, how can anyone find out about this stuff? Is this documented?

http://cocoon.apache.org/2.1/userdocs/concepts/modules.html

Some of the input modules are JXPath-enabled, so you can use XPath expressions to access values (see Input Modules sample for details). The following example demonstrates the use of XPath function with system-property module.

<map:parameter name="users-home-base"
  value="{system-property:substring-before(user.home, user.name)}"/>

--------------------------------------------------------------------

This is a hint for me that the above translate *might* work.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to