5. We have identified a XML document as shown below:
We need to create the schema definition for the above document as per the following
specifications:
a) Create emptype.xsd which gives the definition for a simple type empstring. Put the restriction
on it so that only string value can be used and it should follow a pattern so that first character
should be E and rest three characters are numbers.
b) Create employee.xsd which includes the emptype.xsd and gives the definition for the element
shown above. All the elements should be in the same sequence as shown.
c) The EMPID attribute of EMPLOYEE element should have a type which is defined in
emptype.xsd.
Answers
Answered by
1
Answer:
. We have identified a XML document as shown below:
We need to create the schema definition for the above document as per the following
specifications:
a) Create emptype.xsd which gives the definition for a simple type empstring. Put the restriction
on it so that only string value can be used and it should follow a pattern so that first character
should be E and rest three characters are numbers.
b) Create employee.xsd which includes the emptype.xsd and gives the definition for the element
shown above. All the elements should be in the same sequence as shown.
c) The EMPID attribute of EMPLOYEE element should have a type which is defined in
emptype.xsd.
Explanation:
Answered by
0
Answer:
tggtggggffvgtgdrryyvceryullkbcdstyjkbgtewrtghbbhhhhhhh
Similar questions