Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 24th, 2006, 05:35 AM
SutterCreek
Guest
 
Posts: n/a
Default Why the name of a element can not start with a digital letters?

I know the w3c recommendation has the defination about that.
But, I am just curious, where does this restriction come from? What is
the purpose?

Thanks in advance.

  #2  
Old December 24th, 2006, 02:35 PM
Peter Flynn
Guest
 
Posts: n/a
Default Re: Why the name of a element can not start with a digital letters?

SutterCreek wrote:
Quote:
I know the w3c recommendation has the defination about that.
But, I am just curious, where does this restriction come from? What is
the purpose?
It's inherited from SGML, where it was the default.
In SGML, however, it would be possible to redefine your SGML Declaration
to allow digits as name start characters. In XML, the Declaration is
fixed and invariable, so you can't.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles