Q1. Given is the content to put to the XML document:
a) The root element is "Employee_Info"
b) As the content for "Employee_Info," "Employee" takes place 0 or more times
c) As content of "Employee", "Name", "Department", "Telephone", and "Email" elements take place once in the respective order
d) "Name", "Department", "Telephone", and "Email" content are text strings
e) "Employee" has an attribute named "Employee_Number"
f) "Employee_Number" content should be int type
Construct XML Schema to give a schema definition for the content given above (employee.xs). As well make a valid XML document (employee.xml) for the XML Schema (employee.xs).
As well make the tree structure for information given above.
Q2. prepare down a function in java script which validates if the content has the general syntax of the email.