Re: [xml] comment syntax



On Fri, Jan 05, 2007 at 03:03:28PM -0500, Mike - EMAIL IGNORED wrote:
In the comment:

   <!--Xthis is my commentY-->

in the position of X and Y, is white space mandatory?

  NO. Read the spec, it's public, free and online !
    http://www.w3.org/TR/REC-xml/#sec-comments

[15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]