Concept Framework 1.0 documentation Contents | Index

standard.lib.xml.xmlAddNextSibling

Name Version Deprecated
xmlAddNextSibling version 1.0 no

Prototype:
number xmlAddNextSibling(number cur, number elem)

Parameters:
cur      the child node
elem      the new node

Description:
Add a new node elem as the next sibling of cur. If the new node was already inserted in a document it is first unlinked from its existing context. As a result of text merging elem may be 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 new node or null in case of error.

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Thu Oct 15 20:02:08 2009 GMT(c)2009 RadGs Software