InterviewSolution
| 1. |
How You Set Default And Fixed Values For Attributes? |
|
Answer» Mean of DEFAULT and fixed value in TERMS of attributes. Default values are those values that are directly assigned to attribute when this attribute doesn't CONTAIN any other defined value. Example: <xs: attribute name="LANG" type="xs: string" default="EN"> In the above example default value of Lang is "EN". Fixed values are those values that are directly assigned to attribute but it doesn't contain any other defined value for this attribute. Example: <xs: attribute name="lang" type="xs: string" fixed="EN"/> In the above example fixed value of Lang is "EN". Mean of default and fixed value in terms of attributes. Default values are those values that are directly assigned to attribute when this attribute doesn't contain any other defined value. Example: <xs: attribute name="lang" type="xs: string" default="EN"> In the above example default value of Lang is "EN". Fixed values are those values that are directly assigned to attribute but it doesn't contain any other defined value for this attribute. Example: <xs: attribute name="lang" type="xs: string" fixed="EN"/> In the above example fixed value of Lang is "EN". |
|