Concept Framework 2.2 documentation Contents | Index

standard.lib.xml.xmlAddChild

Name Version Deprecated
xmlAddChild version 1.0 no

Prototype:
number xmlAddChild(number parent, number cur)

Parameters:
parent      the parent node
cur      the child node

Description:
Add a new node to parent, at the end of the child (or property) list merging adjacent TEXT nodes (in which case cur is freed). If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed.

Returns:
Returns the child node or null in case of error.

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Sun Jan 27 18:15:20 2013 GMT(c)2013 Devronium Applications