that did the trick, thanx! i had the output encoding set to text, because i was generating a java script file.
regards daniel s. haischt -- > -----Ursprungliche Nachricht----- > Von: Dave Pawson [mailto:[EMAIL PROTECTED]] > Gesendet: Samstag, 5. Oktober 2002 09:15 > An: Daniel S. Haischt; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Betreff: Re: AW: DOCBOOK-APPS: [QUESTION] translating whitespaces into > > > > At 23:17 04/10/2002, Daniel S. Haischt wrote: > >but if i am using ... > > > > translate('This is a foobar sentence.', ' ', ' ') > > > >... with saxon i am getting the following result ... > > > > ThisA isA aA foobarA sentence. > > You need to set the output encoding to html. > > HTH DaveP > > > >