cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: <wd:hint>, <wd:help> - How to include a "newline"
Date Sun, 26 Oct 2003 12:45:53 GMT
Antonio Gallardo wrote:

>I already downloaded the lastest CVS. I noted the new <wd:hint> that replaced the
<wd:help> in the stylesheets of woody samples:
>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 Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -

View raw message