DTD :
- DTD support only two data type called PCDATA and CDATA.
- DTD does not alow to describe custom datatype.
- DTD does not support XML namingspace.
- DTD document may not be an XML document.
- DTD's may be internal or external.
- You can include one DTD in xml document.
- SCHEMA support built in data type as int, long, float, doubble, String, Date etc.
- SCHEMA allow you to describe custom datatype.
- SCHEMA must support XML namingspace.
- SCHEMA document must be an XML document.
- SCHEMA must be external always.
- You can include multiple XSD's in xml document.
No comments:
Post a Comment