Inserting XML nodes

Ken Ray kray at sonsothunder.com
Tue Dec 13 18:29:08 CST 2005


On 12/13/05 5:18 PM, "Sumner,Walt" <WSUMNER at im.wustl.edu> 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:

  http://www.sonsothunder.com/products/metacard/xmllib.htm

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: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list