In article <11**********************@l22g2000prc.googlegroups .com>,
Mithil <mi**********@gmail.comwrote:
>Could anyone plz tell me whether max and min values can be specified
in DTD for an attirbute ? if not is there any way around it ?
No, it can't be done. DTDs don't provide any way to specify numeric
ranges. (Unless your range is something small like 1-5, in which case
you could possibly list all the legal values.)
The workaround is to use a different schema language, or check the
value in your application.
-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.