Hi Frnds,
I tried a DTD with ID. In this I'm not able to store the numeric value.Its showing error that the ID value should obey the naming convention.
The XML file is :
----------------------------------------------
<!DOCTYPE CONTACTS
[ <!ELEMENT CONTACTS ANY>
<!ELEMENT CONTACT ANY>
<!ATTLIST CONTACT CONTACT_NUM ID #REQUIRED>
]>
<CONTACTS>
<CONTACT CONTACT_NUM = "11"/>
</CONTACTS>
----------------------------------------------
If I give like
<CONTACT CONTACT_NUM = "num"/>
Its not giving error..
Is it mean that i can't store the numbers in ID ???
- Thanks,
Senthil.