ncellier at ifrance.com
Fri May 12 19:07:25 UTC 2006
Le Vendredi 12 Mai 2006 09:17, stéphane ducasse a écrit :
> I did not checked but this should be a stream so tab and cr and
> friends should work.
> aStream tab :)
> aStream cr
> Try Transcript show: 'helloo' ; cr; tab; tab; 'show: 'world'
> On 12 mai 06, at 09:05, Hatice wrote:
> > Hello,
> > I would like to know if there is any way to automatically indent a
> > XML stream in Squeak ?
> > Thanks by advance for your responses,
> > Hatice Oktay
There is also:
aStream crtab: n.
Short cut for:
aStream cr. n timesRepeat: [aStream tab].
But what do you mean automatically indent ?
Parse any xml input and produce indented output ?
Then you have to figure where to insert the crtab: and how to handle
More information about the Squeak-dev