Which of the following is used to define a complex type
-
XML Schema
-
DTD
-
PCDATA
-
XSD
A
Correct answer
Explanation
XML Schema (XSD - XML Schema Definition) is the W3C standard for defining complex types in XML. It provides much richer type definitions than DTD, including data types, inheritance, and complex element structures. Note: XSD IS XML Schema, but A is the more specific answer about the concept.