size

S

seb

Hi,

Is it possible to specify the max size of an xml tag in the dtd ?
For example if I want to limit the size of a <name> tag to 50 is there a
method to do it in the dtd ?

regards
 
J

Johannes Koch

seb said:
Is it possible to specify the max size of an xml tag in the dtd ?
For example if I want to limit the size of a <name> tag to 50 is there a
method to do it in the dtd ?

Do you mean the content of the name element? No, that's impossible with DTD.
 
A

Andrew Tyson

Is it possible to specify the max size of an xml tag in the dtd ?
Have a look at XML Schema. It provides the functionality that you require,
above
and beyond that offered by DTD.

AT
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top