Concept Framework 2.0 documentation Contents | Index

standard.lib.xml.xmlNewDocNode

Name Version Deprecated
xmlNewDocNode version 1.0 no

Prototype:
number xmlNewDocNode(number doc, number ns, string name, string content)

Parameters:
doc      the XML document
ns      the namespace handle (if any)
content      the XML content (if any)

Description:
Creation of a new node element within a document. @ns and @content are optional (NULL).

NOTE: content is supposed to be a piece of XML CDATA, so it allows entities references, but XML special chars need to be escaped first. Use xmlNewDocRawNode if you don't need entities support.

Returns:
Returns a handle to the new node 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