Updating xml document
This parameter must be the parameter in the method, and the element name must be the third parameter.Cold Fusion then associates the namespace prefix with the URI, and you can omit the URI parameter in further xml Elem New functions.In several cases you can use either an array function or a structure function for a purpose, such as for deleting all of an element's attributes or children.Sets a range of entries in an Xml Children array to equal the contents of a specified element structure.The following example adds two to the supplies document root two elements in the Prod namespace.
The following user-defined function determines the number of child elements with a specific name in an element: The Xml Child Pos function determines the location in the Xml Children array of a specific element with a common name.
Later sections describe these methods for changing document content in detail.
The following table lists the Cold Fusion array and structure functions that you can use to manage XML document objects and their functions, and describes their common uses.
Deletes a selected attribute from an element's XMLAttributes structure. For example, the example document used in many XML examples has multiple name elements in the employee elements.
Deletes all children with a specific element name from an element's Xml Children array. In many cases, you can treat the child elements with identical names as an array.