[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Sudheshna Iyer" <sudheshnaiyer@h...>
  • To: xml-dev@l...
  • Date: Sat, 06 Jan 2007 10:47:50 -0500

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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member