XMLComment - Maple Help

XMLTools

 XMLComment
 XML comment constructor

 Calling Sequence XMLComment(s)

Parameters

 s - string; text of the comment

Description

 • The XMLComment(s) command accepts a string s and returns it as an an XML comment in the form of a Maple XML tree.
 By using this function, you can include an XML comment in any Maple representation of an XML document.

Examples

 > $\mathrm{with}\left(\mathrm{XMLTools}\right):$
 > $\mathrm{XMLComment}\left("This is a comment\nwith two lines of text."\right)$
 ${\mathrm{_XML_Comment}}{}\left({"This is a comment with two lines of text."}\right)$ (1)