| 1. |
What Are The Two Means To Describe The Content Of Xml Documents? |
|
Answer» DTD (Document TYPE Declarations) and XML Schemas. An XML document that conforms to its DTD is CALLED type-valid. A document can be well-formed and not be type-valid, either because it violates the STRUCTURE of its DTD or because it has no DTD. However, DTD5 have LIMITATIONS and to overcome these limits XML Schemas were created. XML Schemas are XML DOCUMENTS that are the preferred method for defining document structure. DTD (Document Type Declarations) and XML Schemas. An XML document that conforms to its DTD is called type-valid. A document can be well-formed and not be type-valid, either because it violates the structure of its DTD or because it has no DTD. However, DTD5 have limitations and to overcome these limits XML Schemas were created. XML Schemas are XML documents that are the preferred method for defining document structure. |
|