You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agsoftware.dnsalias.com> on 2003/10/25 08:13:48 UTC

, - How to include a "newline"

Hi:

I already downloaded the lastest CVS. I noted the new <wd:hint> that
replaced the <wd:help> in the stylesheets of woody samples:

Question:

How I can add a new Line there? It would be important. Example:

Supose you need a hint for a field that the user need optionally fill for
a search criteria. You need to write something like:

<wd:hint>Add an optional search criteria. <br/>Example: ....</wd:hint>

I already tried: <br/> or "\n" and this does not work.

The same apply for the <wd:help>

Best Regards,

Antonio Gallardo.



Re: , - How to include a "newline"

Posted by Sylvain Wallez <sy...@apache.org>.
Antonio Gallardo wrote:

>Hi:
>
>I already downloaded the lastest CVS. I noted the new <wd:hint> that replaced the <wd:help> in the stylesheets of woody samples:
>
>Question:
>
>How I can add a new Line there? It would be important. Example:
>
>Supose you need a hint for a field that the user need optionally fill for
>a search criteria. You need to write something like:
>
><wd:hint>Add an optional search criteria. <br/>Example: ....</wd:hint>
>
>I already tried: <br/> or "\n" and this does not work.
>  
>

The stylesheet renders <wd:hint> as a "title" attribute. And newlines in 
this attribute don't display on Mozilla although they do in IE. And 
since it's an attribute, it can even less display markup such as <br/>...

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com