Juan Ignacio Jim�nez de Luis wrote:

Greetings,


I'm trying to simulate a hashmap with the XMLFileModule input module.. I have an XML File with this structure

<servers>
<server url="www.unmardedatos.com">
<site>unmarde</site> <skin>basic</skin>
</server>
<server url="www.otherdomain.com">
<site>unmarde</site> <skin>shiny</skin>
</server>
</servers>



I planned to reference that in the sitemap as {xmlhashmap:/servers/[EMAIL PROTECTED]'{request:serverName}']/site} to emulate a NamedVirtualServer behaviour.


Unluckily, it seems that you can't nest variables in the sitemap.. Does anyone now any workarround to this limitation? Am I doing something wrong?

No. This is not possible. But there is an InputModuleAction to your recue. Use that to access the xmlhashmap module and pass the request:serverName value to it.


Chris.


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



Reply via email to