Re: Spaces allowed in XML element names

Raymond Gerber writes: 

>> Does anyone know where I can get a statement 
>> regarding the use of spaces in
>> XML element Names.

Not surprisingly, that would be in the XML 1.0 Recommendation. 
Specifically [1] is the production covering element names.  It is: 

Name    ::=    (Letter | '_' | ':') (NameChar)* 
NameChar    ::=    Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar 
| Extender 

and when you follow through all the references you'll find that spaces are 
not allowed in XML element or attribute names.

[1] http://www.w3.org/TR/REC-xml#NT-Name



------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------

Received on Friday, 9 November 2001 15:08:21 UTC