The answer is in a mail posted less than 48 hours ago... (4 Feb, 23:27)
The action (map:act) is a level (it can contain its own parameters) so
you have to use {../searchParams} instead of {searchParam} when you're
in your <map:act>
Please, search in the mailing your problem before sending an email...
Loic
Brent L Johnson wrote:
Im attempting to pass some parameters through to
the src of the HTML generator and I'm getting an
IOException. Here is my sitemap snippet:
<map:match pattern="test.xml">
<map:act type="request">
<map:parameter name="parameters" value="true"/>
<map:generate type="html"
src="" class="moz-txt-link-rfc2396E" href="http://www.somewebsite.com/someSearchUrl.cgi?param={searchParams}">"http://www.somewebsite.com/someSearchUrl.cgi?param={searchParams}"/
<map:transform src=""/>
<map:serialize type="xml"/>
</map:act>
</map:match>
I try to access this by going to
http://localhost/test.xml?searchParams=my%20param
I get an error that says "Could not get resource
http://www.somewebsite.com/someSearchUrl.cgi?param=my param"
It looks like it decodes the %20 and turns it back into a normal space
but the generator does NOT like that. Does anyone have any suggestions
as to how I can get around this problem? If I just hardcode my%20param
for the generator it works just fine.
Thanks,
- Brent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|