The non-breaking space (in XML: & # 160;) is a non whitespace character and 
should not be removed.

Regards,

Joerg


Dr. Hans M. Rupp wrote:
> Hallo!
> 
> Sometimes we need the behavior, that the i18n transformer replaces
> something with nothing. Somehow this does not seem to work.
> E.g: pre i18n:
> <td align="right" class="Text">NO <i18n:text
> i18n:key="Unit.NO_UNIT">NO_UNIT</i18n:text> (08:00 h)</td>
> catalogue entry:
> <message key="Unit.NO_UNIT"></message>
> output:
> NO NO_UNIT
> When I replace the zero length string in the catalogue with bla the
> output
> is
> NO bla
> so the catalogue entry can be found.
> A single space or more spaces as the element contents also seem to be
> ignored.
> 
> Any ideas for a work-around or solution?
> 
> 
> Many thanks,
> Hans

-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to