Defining Size Restrictions for character elements

webmasterbeta

New Member
What is the best way to define the maximum size an XML element can be in aDTD? The method I am thinking about at the moment is to define a constantattribute for the element and in the parser, checking the string size againstthe value of the attribute. Any other ideas?Your input is appreciated.
 
Back
Top