Whatever message this page gives is out now! Go check it out!
XmlDeleteAt(xmlObject, position)| Parameter | Description |
| xmlObject | The XML object. |
| position | The position of the child node to be deleted |
<cfxml variable="xmlData">
<root>
<item id="1">Item 1</item>
<item id="2">Item 2</item>
<item id="3">Item 3</item>
</root>
</cfxml>
<cfscript>
writeDump(xmlData)
idToDelete=1
writeOutput("<br/>" & "The XML doc after deleting Item " & "#idToDelete#" & " is: ")
XmlDeleteAt(xmlData.root.item,idToDelete)
writeDump(xmlData)
</cfscript>