I tried the to use the html serializer instead, but the problem persists.

OK, so here are the details of the mistery:

1) The problem only appears for [EMAIL PROTECTED] tags;

2) The symptom is that the <a> tag (and all paramters) are dropped,
but the content of it is held intact.

3) Some examples:

Say root="/lenya/default/authoring"

<a href="{$root}">Hello!</a>

produces

<a href="/lenya/default/authoring">Hello!</a>

But!!:

<a href="{$root}/">Hello!</a>

produces

Hello!

while running the same example in the same position, but just
substituting href with id (or <a> with <p>), produces normal output.

CRAAAYYYZZZEEEEE!!

There has to be some funky substitution going on somwhere...


On 1/26/07, Thomas Markus <[EMAIL PROTECTED]> wrote:
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]




--
Antonio Magni

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

Reply via email to