Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

xmlTreeNewComment

 

SYNOPSIS

    xmlNode 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:

  • the xmlNode of the new comment


DESCRIPTION
xmlTreeNewComment() creates a new comment as a child of parent.


EXAMPLE

    <$comment = (xmlTreeNewComment($parent, 'important!'))>

Will produce the following in output:

<!-- important! -->


SEE ALSO
xmlTreeNewElement, xmlTreeNewPI, xmlTreeNewText, xmlTreeNewCDATA


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.