ups! I feel an idiot. The problem was trying to do these manipulations with XMLWriter class instead of the DOM itself.

2013/2/27 stephane ducasse <stephane.ducasse@free.fr>
+1

Mariano I'm about to migrate the XMLParser to SmalltalkHub and I know that you have a DOMTree and a saxAPI
So with the DOMTree I do not see why we could not manipulate the tree.

Stef


>
> On 27 Feb 2013, at 21:18, "Esteban A. Maringolo" <emaringolo@gmail.com> wrote:
>
>> To do what he wants he should have an XML DOM and manipulate the DOM
>> nodes directly. I don't know if we have such thing in Pharo.
>
> I would be very surprised if that were not possible: create a DOM tree, either manually or by parsing some XML, then add some nodes and finally render it again.
>
> I never did this, but I'll have a look if I have some time.
>
> Sven
>
>
> --
> Sven Van Caekenberghe
> http://stfx.eu
> Smalltalk is the Red Pill
>
>