You can define attributes in XML Schema as follows: Syntax: <xs:attribute name=\"abc\" type=\"xyz\"/>
Syntax:
<xs:attribute name="abc" type="xyz"/>