Am 08.08.2019 um 08:46 schrieb Marc:
I use very often the comment() with XSLT, and I confuse it with the "comment" literal of XQuery !
But even in XSLT the use of "comment()" is only for selecting/matching comment nodes (or for declaring a type), not for creating/constructing them. In XSLT you use the xsl:comment instruction to construct a comment node.