Concept Framework 2.2 documentation | Contents | Index |
Name | Version | Deprecated |
xmlNewChild | version 1.0 | no |
number xmlNewChild(node parent, number ns, string name, string content) |
parent | the parent node |
namespace | a namespace handle (if any) |
name | the name of the child |
content | the XML content of the child, if any |
Creation of a new child element, added at the end of parent children list. ns and content parameters are optional (if made null, respectively an empty string). If ns is null, the newly created element inherits the namespace of parent. If content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created.
NOTE: content is supposed to be a piece of XML CDATA, so it allows entity references. XML special chars must be escaped first by using xmlNewTextChild should be used. |
Documented by Eduard Suica by adapting from http://xmlsoft.org/, generation time: Sun Jan 27 18:15:20 2013 GMT | (c)2013 Devronium Applications |