Using the employees.xml file below, create a DTD file “employee.dtd� based on “employees.xml�.

Create a schema files “employee.xsd� based on “employees.xml�.

Create a html page “employees.html� and “employees.xsl� file, show the firstname, lastname.

/////////////////employees.xml//////////////
<?xml version="1.0" encoding="UTF-8"?>
<employees>

<employee>
<first_name>Linda </first_name>
<middle_name>P.</middle_name>
<last_name>Jone</last_name>
<home_phone>386-333-2321</home_phone>
</employee>

<employee>
<first_name>Tom </first_name>
<last_name>Smith</last_name>
</employee>

<employee>
<first_name>Hilda </first_name>
<last_name>Parham</last_name>
<home_phone>386-455-5675</home_phone>
</employee>

</employees>

Create a DTD files “employee.dtd� based on “employees.xml�.

Create a schema files “employee.xsd� based on “employees.xml�.

Create a html page “employees.html� (15 points) and “employees.xsl� file, show the firstname, lastname.

To create the DTD file "employee.dtd" based on the "employees.xml" file, you can follow these steps:

1. Open a text editor.
2. Copy and paste the following code into the text editor:

```
<!ELEMENT employees (employee+)>
<!ELEMENT employee (first_name, middle_name?, last_name, home_phone?)>
<!ELEMENT first_name (#PCDATA)>
<!ELEMENT middle_name (#PCDATA)>
<!ELEMENT last_name (#PCDATA)>
<!ELEMENT home_phone (#PCDATA)>
```
3. Save the file with the name "employee.dtd".
This DTD file defines the structure and data types for the elements in the "employees.xml" file.

To create the schema file "employee.xsd" based on the "employees.xml" file, you can follow these steps:

1. Open a text editor.
2. Copy and paste the following code into the text editor:

```
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="employees">
<xs:complexType>
<xs:sequence>
<xs:element name="employee" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="first_name" type="xs:string"/>
<xs:element name="middle_name" type="xs:string" minOccurs="0"/>
<xs:element name="last_name" type="xs:string"/>
<xs:element name="home_phone" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
```
3. Save the file with the name "employee.xsd".
This schema file defines the structure and data types for the elements in the "employees.xml" file using XML Schema.

To create the HTML page "employees.html" and "employees.xsl" file to show the firstname and lastname, you can follow these steps:

1. Create the "employees.html" file:

```html
<!DOCTYPE html>
<html>
<head>
<title>Employees</title>
<link rel="stylesheet" type="text/css" href="employees.xsl">
</head>
<body>
<h1>Employees</h1>
<table>
<tr>
<th>First Name</th>
<th>Last Name</th>
</tr>
<xsl:for-each select="employees/employee">
<tr>
<td><xsl:value-of select="first_name"/></td>
<td><xsl:value-of select="last_name"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
```

2. Create the "employees.xsl" file:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>Employees</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>First Name</th>
<th>Last Name</th>
</tr>
<xsl:for-each select="employees/employee">
<tr>
<td><xsl:value-of select="first_name"/></td>
<td><xsl:value-of select="last_name"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
```

3. Save the "employees.html" and "employees.xsl" files in the same directory as the "employees.xml" file.

Now, you can open the "employees.html" file in a web browser to see the firstname and lastname displayed in a table. The XSL file is used to transform the XML data into HTML format for display.