I'm trying to use conditional xpath in combination with the XML File Input Module (XMLFileModule) to set parameters in my sitemap:
<map:transform src="{defaults:xsl-path}{request-param:gateway}_displaystory.xsl">
<map:parameter name="gatewayname" value="{myxml:/gateways/[EMAIL PROTECTED]:gateway]/name}"/>
</map:transform>
It doesn't seem to recognise the value of request-param:gateway but it works when I hard code the value:
<map:transform src="{defaults:xsl-path}{request-param:gateway}_displaystory.xsl">
<map:parameter name="gatewayname" value="{myxml:/gateways/[EMAIL PROTECTED]'3']/name}"/>
</map:transform>
Any ideas or workarounds?
Jim Emerson
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
