Question: How you set Default and fixed values for attributes?
Answer: Mean of default and fixed value interms of attributes. Default values are those values that are directly assign to attribute when this atribute 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 assign 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"
Question:
How you set Default and fixed values for attributes? Answer:
Mean of default and fixed value interms of attributes. Default values are those values that are directly assign to attribute when this atribute 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 assign 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" Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.