CodeNoob
CodeNoob

Reputation: 365

The type attribute ID in DTD

Is there any way to specify the length of the attribute ID. I can do :

<!ATTLIST Film ip ID #REQUIRED>

But i not specify length ID or do somehow equivalent.

Good luck.

Upvotes: 1

Views: 97

Answers (1)

Kirill Polishchuk
Kirill Polishchuk

Reputation: 56162

It is impossible in DTD. Consider XSD.

Upvotes: 1

Related Questions