Hi Antonio,
I'm not sure what's going on, but this seems to be a problem with your
link. What does it look like when you print it out on the page instead
of inside the href attribute of your webpage.
Your parameter looks fine, so I guess the problem lies somewhere else.
Regards,
Jeroen Reijn
Antonio Magni wrote:
I make use of parameters generated from a sitemap
<map:parameter name="root" value="{page-envelope:context-prefix}/{2}/{3}"/>
from the .xsl file. The parameter {$root} gets subistitued without any
problems in my <a href="{$root}" ...> tag. But if I add a slash after
the parameter (as in <a href="{$root}/" ...>) the xsl drops the entire
<a> tag, and in my resulting .html page, I lose my link. Please note
that when I use the same parameter in earlier in the .xsl file, in
different tags, this behaviour does not occur.
Summarizing:
<map:parameter name="root" value="{page-envelope:context-prefix}/{2}/{3}"/>
and
<a href="{$root}">...</a>
works fine.
-------
<map:parameter name="root" value="{page-envelope:context-prefix}/{2}/{3}"/>
and
<a href="{$root}/">...</a> doesn't work.
---------
<map:parameter name="root"
value="{page-envelope:context-prefix}/{2}/{3}/"/>
( note the added slash after {3}) and
<a href="{$root}">...</a> also doesn't work.
----------
Am I going nuts? Give me my links back! I mean, before I dive into the
various details, I would like to know if this is something known... I
don't know what to search for in the email lists...
Cocoon 2.1.7
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]