What's the best way to turn

this:

myXMLNode =
<my_xml>
< row id="a" />
< row id="b" />
< row id="c" />
</my_xml>;

into:

<my_xml>
< row id="a">
< row id="b" />
< row id="c" />
</row>
</my_xml>

Using some E4X?

It's not so much a case of adding b and c as children of a, but of removing them so I don't end up with:

<my_xml>
< row id="a">
< row id="b" />
< row id="c" />
</row>
< row id="b" />
< row id="c" />
</my_xml>

Paul



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to