Concept Framework 2.0 documentation Contents | Index

standard.lib.xml.xmlDocSetRootElement

Name Version Deprecated
xmlDocSetRootElement version 1.0 no

Prototype:
number xmlDocSetRootElement(number doc, number root)

Parameters:
doc      the XML document tree
root      the new document root element, if root is null no action is taken

Description:
Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc).

Returns:
Returns the old root node (if any) or null.

Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Fri Jan 21 18:06:23 2011 GMT(c)2011 RadGs Software