Concept Framework 2.2 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: Sun Jan 27 18:15:20 2013 GMT(c)2013 Devronium Applications