I get this error when trying to create a child node from an existing xml array.
The xml doc already has the first set of nodes. for(x=1;x lte arraylen(treeXML);x++){ for(i=1;i lte qry.recordcount;i++){ if(treeXML[x].xmlText eq qry.ID[i]){ arrayappend(treeXML[x].XmlChildren,XmlElemNew(treeXML,"NODE")); } } } All of the sudden I'm having to use array functions? Still confused about array vs xml structures ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327002 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4