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