[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Data length validations using DTD
- From: "Sudheshna Iyer" <sudheshnaiyer@hotmail.com>
- To: xml-dev@lists.xml.org
- 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]