Re: [REX] Inserting comments?

On Fri, Feb 10, 2006 at 10:17:59AM +0100,
 Robin Berjon <robin.berjon@expway.fr> wrote 
 a message of 66 lines which said:

> XML comments are nodes like any other nodes. It's probably silly in
> the first place to want to transmit them, but if you do it just
> works. XSLT is a programming language, it has xsl:comment because it
> needs comments of its own. REX is not a programming language, just a
> message format.

One can note that the authors of XML Update apparently went "my" way:

http://xmldb-org.sourceforge.net/xupdate/

The xupdate:comment element is instantiated to create a comment node
in the result tree. The content of the xupdate:comment element is a
template for the string-value of the comment node.

For example, this
	     
 <xupdate:comment>
   This element is automatically generated. Do not edit!
 </xupdate:comment>  

would create the comment
	     	    
 <!--This element is automatically generated. Do not edit!--> 

 
	

Received on Saturday, 18 February 2006 23:01:38 UTC