This function is called whenever the parser encounters a comment in the XML.
The comment data is passed to your callback as a string in the s$ parameter.
Parameters
p
parser handle
s$
the comment data
Example
Function p_Comment(p, s$)
DebugPrint(s$)
EndFunction
p = xml.CreateParser({Comment = p_Comment})
p:Parse([[
<!--I'm a comment-->
<app>Hollywood</app>
]])
p:Free()