InterviewSolution
| 1. |
How You Define Attributes In Xml Schema? |
|
Answer» You have to note this in XML SCHEMA all attributes are only declare as simple types element not as complex types. Because yes, Simple Elements has no attributes and attributes are only HAPPEN with Complex Elements. But key point is that in XML Schema ALWAYS attribute declare as simple type itself. Syntax: <xs: attribute name="abc" type="xyz"/> You have to note this in XML Schema all attributes are only declare as simple types element not as complex types. Because yes, Simple Elements has no attributes and attributes are only happen with Complex Elements. But key point is that in XML Schema always attribute declare as simple type itself. Syntax: <xs: attribute name="abc" type="xyz"/> |
|