cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Reijn <j.re...@hippo.nl>
Subject Re: A slash after a parameter in a <a> tag causes the tag to be dropped.
Date Fri, 26 Jan 2007 13:58:38 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message