Computer Science, asked by chilakaanusha99, 1 day ago

. 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 proshantobiswas701
0

Answer:

Create an XML schema file to model your XML format data.

...

Procedure

Click File > New > Other. A window opens in which you can select a wizard.

Expand XML, select XML Schema File, click Next. The Create XML Schema wizard opens.

Select a parent folder and enter a file name for your XML schema file.

Click Finish.

Similar questions