Inserting XML nodes

Ken Ray kray at
Tue Dec 13 19:29:08 EST 2005

On 12/13/05 5:18 PM, "Sumner,Walt" <WSUMNER at> wrote:

> Does anyone know of a clean way to insert a child among a list of XML child
> nodes in a tree, rather than appending the node at the end of the parent
> node's list of children?

Sorry, the XML DLL doesn't allow you to do that. Depending on the size of
your XML structure, you might be interested in using my Transcript-based XML
Library at:

It includes the ability to add a child in the middle of other children,
among other things. The current version does not support node paths (like
the Rev DLL does), but I am just getting ready to release a new version that
does, and includes a lot of other features.

If you're interested, contact me off list and I'll tell you more...

Ken Ray
Sons of Thunder Software
Web site:
Email: kray at

More information about the Use-livecode mailing list