← Prev in month ← Prev in thread

Data length validations using DTD

From
Sudheshna Iyer <>
To
Date
2007-01-06T15:47:50Z
ID
<>
Thread
Data length validations using DTD
How do I do the data length validations in DTD?

I want to restrict an element length using DTD. I was given only the DTD and 
not the schema by our client and
they provided the doc with length restrictions.

DTD contains elements like the following:

<!ELEMENT myelement (#PCDATA)>

<!ELEMENT ShipTo (myelement)>

But "myelement" length should be restricted to 100 char. How can I achieve 
this?

Thank you.

Sudheshna

_________________________________________________________________
Fixing up the home? Live Search can help 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG
← Prev in month ← Prev in thread