<?xml version="1.0"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
<xsl:template match="/carService">
<html>
<head>
<title>Question 1</title>
</head>
<body>
<h3>
<u> <xsl:text> Car service repository </xsl:text> </u>
</h3>
<p>
<i> <b> <xsl:text>Car Service Station: </xsl:text> </b>
<xsl:value-of select="@station" /> </i>
<br /><br />
<xsl:for-each select="car">
<b> <xsl:text> Car plate: </xsl:text> </b>
<xsl:value-of select="plate" />
<br />
<b> <xsl:text> Model: </xsl:text> </b>
<xsl:value-of select="model" />
<br />
<b> <xsl:text> Year: </xsl:text> </b>
<xsl:value-of select="year" />
<br />
<b> <xsl:text> Service Card: </xsl:text> </b>
<xsl:for-each select="serviceCard">
<ul>
<li>
<xsl:value-of select="date" />
<xsl:text>, service </xsl:text> <xsl:value-of select="service" />
</li>
</ul>
</xsl:for-each>
<br />
</xsl:for-each>
</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>