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

Forum statistics

Threads
474,266
Messages
2,571,083
Members
48,773
Latest member
Kaybee

Latest Threads

Top