Moving to XML
|
More about Schemas [i]: benefits
-
The schema language is itself an XML laguage, so schemas
can be parsed with standard XML tools
-
You can specify rules for the content of elements and
attributes with much finer granularity than with DTDs
- You can specify that an attribute must be a
number
- You can specify minimum and maximum values for an
attribute
- You can specify
regular expression patterns the attribute must
match