> Currently, we use the following approach to use CVS information in XML files: > ... > <!-- > - $Log$ > -->
Comments also don't work well because the "--" (hyphen-hyphen) sequence is illegal in XML comments. In fact, even with elements you probably need to use CDATA escapes. I would definitely place a $Log$ inside an element body, as in <cvs:log><![CDATA[ $Log$ ]]></cvs:log> Other tags could probably either be inside attributes or elements, depending upon how structured the value is. I do agree that XML namespaces should be used. One big problem with automatically inserting text into a document is that of character sets. What if the XML document uses UTF-16 rather than UTF-8 or even ISO-8859-15? But I don't know if that is easily solved. Of course XML basically dictates that UTF-8 is the default unless its either explicitly specified or it can be automatically detected to be something else. -- Deron Meranda _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs