cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Control the formatting of seriazlied xhtml?
Date Sat, 24 Jan 2004 22:14:23 GMT
Steve Krulewitz wrote:

> Hey folks --
>
> I have a webapp with pretty typical pipelines:
>
> xsp -> xslt transform -> i18n transform -> xml serialize (with xhtml 
> doctype)
>
> I would also like the formatting of the xhtml to look reasonable, so I 
> have indent=yes on the serializer definition.  Now the output looks OK 
> (not really indented, but at least it is legible), but the problem is 
> under certain situations, the end of an xhtml anchor tag will appear 
> on the next line as the start tag, something like:
>
> <a href="blah.com">This is a hyperlink
> </a>
>
> And, when rendered in a browser, the underlining of the hyperlink will 
> extend a little past the end of the linked text.  This is not a 
> problem if the xhtml looks like:
>
> <a href="blah.com">This is a hyperlink</a>
>
> What can I do to fix this?

What is the XSL that generates this? You need to be careful with your 
carriage returns in the stylesheet that comes before the serializer.

Could that be it?

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message