SYNOPSISxmlNode xmlTreeNewComment(xmlNode parent, string content)
Parameters:
parent - the parent of the new comment node (can specify
none with '')content - the content of the new comment
Returns:
xmlNode of the new comment
DESCRIPTIONxmlTreeNewComment() creates a new comment as a child of parent.
EXAMPLE<$comment = (xmlTreeNewComment($parent, 'important!'))>
Will produce the following in output:
<!-- important! -->
SEE ALSOxmlTreeNewElement,
xmlTreeNewPI,
xmlTreeNewText,
xmlTreeNewCDATA