cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo L <tleso...@cc.hut.fi>
Subject SOLUTION: Custom DOM-based transformer: How to ignore whitespace?
Date Tue, 27 Sep 2005 18:26:03 GMT
Thanks, this works. :)

-Tuomo

On Tue, 27 Sep 2005, Upayavira wrote:

> Tuomo L wrote:
>> Hi,
>> 
>> I'm writing a custom DOM-based transformer (extends 
>> AbstractDOMTransformer), but I cannot figure out, how to produce output 
>> with no whitespace. It's propably very simple thing...
>> 
>> Anyone?
>
> Whitespace will come in using the characters() method, IIUC. You'd need to 
> extend that in order to strip space.
>
> Upayavira
>

Mime
View raw message