Hi,

if you use lenya (looks like) then try use html serializer instead of xhtml in your publication-sitemap

thomas

Antonio Magni schrieb:
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]

Reply via email to