Re: ID

MZ writes: Simple question - are spaces allowed in 'id'?

The short answer is No.

The long answer is:
[36] id value = name
[55] name = name start character, name character*
[53] name start character = LC Letter | UCLetter | LCNMSTRT | UCNMSTRT
[52] name character = name start character | Digit | LCNMCHAR | UCNMCHAR

LC Letter = a-z   97 - 122
UC Letter = A-Z   65 - 90
LCNMSTRT =        (none)
UCNMSTRT =        (none)
LCNMCHAR = -.     45 46
UCNMCHAR = -.     45 46

The best source for information like this is Charles Goldfarb's SGML
Handbook.

Roger
_____________________________________________________________________
Roger Price                    Dept of Computer Science, Umass Lowell
rprice@cs.uml.edu           Centre d'Etudes et Recherches, IBM-France

Received on Wednesday, 24 September 1997 08:23:25 UTC