Concept Framework 2.0 documentation Contents | Index

standard.lib.xml.xmlDocGetRootElement

Name Version Deprecated
xmlDocGetRootElement version 1.0 no

Prototype:
number xmlDocGetRootElement(number doc)

Parameters:
doc      the XML document tree handle as returned by xmlParseMemory or { xmlParseFile}

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

Returns:
Returns an XML Node handle for the root or null if failed.

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