<?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">

<html>
<head>
<link rel="stylesheet" type="text/css" href="resume_xhtml.css" />
<title>My Resume</title>
</head>
<body>
<xsl:apply-templates select="Resume/PersonalInformation"/>
<xsl:apply-templates select="Resume/Education"/>
<xsl:apply-templates select="Resume/Employment"/>
<xsl:apply-templates select="Resume/Skills"/>
</body>
</html>

</xsl:template>

<xsl:template match="Resume/PersonalInformation">
  <span class="title"><xsl:value-of select="Name"/></span>
  <br><xsl:value-of select="City"/>, <xsl:value-of select="State"/> <xsl:value-of select="ZipCode"/></br>
  <br><xsl:value-of select="Phone"/></br>
  <br><xsl:value-of select="Email"/></br>
</xsl:template>

<xsl:template match="Resume/Education">
  <p><span class="title">Education</span></p>
  <div class="inner">
  <xsl:for-each select="Institutions/Institution">
  <xsl:value-of select="SchoolName"/><span class="indent"><xsl:value-of select="SchoolLocation"/></span>
  <br><xsl:value-of select="Degree"/></br>
  <br><span class="bold">Graduated: </span><xsl:value-of select="GraduationDate"/></br>
  <xsl:if test="count(GPA) &gt; 0">
    <br><span class="bold">GPA: </span><xsl:value-of select="GPA"/></br>
  </xsl:if>
  <p></p>
  </xsl:for-each>
  </div>
</xsl:template>

<xsl:template match="Resume/Employment">
  <p><span class="title">Professional Experience</span></p>
  <div class="inner">
  <xsl:for-each select="Companies/Company">
  <br><span class="companyname"><xsl:value-of select="CompanyName"/></span> (<xsl:value-of select="CompanyLocation"/>)</br>
  <br><span class="jobtitle"><xsl:value-of select="JobTitle"/></span> (<xsl:value-of select="DateRange"/>)</br>
  <ul>
  <xsl:for-each select="Duties/Duty">
  <li><xsl:value-of select="."/></li>
  </xsl:for-each>
  </ul>
  </xsl:for-each>
  </div>

</xsl:template>

<xsl:template match="Resume/Skills">
  <p><span class="title">Technical Skills</span></p>
  <div class="inner">
  <xsl:if test="count(OperatingSystems/Systems/System) &gt; 0">
    <p><span class="subtitle">Operating Systems</span>
    <br>
    <ul>
    <xsl:for-each select="OperatingSystems/Systems/System">
    <xsl:sort select="."/>
    <li><xsl:value-of select="."/></li>
    </xsl:for-each>
    </ul>
    </br></p>
  </xsl:if>
  <xsl:if test="count(ProgrammingLanguages/Languages/Language) &gt; 0">
    <p><span class="subtitle">Programming Languages</span>
    <br>
    <ul>
    <xsl:for-each select="ProgrammingLanguages/Languages/Language">
    <xsl:sort select="."/>
    <li><xsl:value-of select="."/></li>
    </xsl:for-each>
    </ul>
    </br></p>
  </xsl:if>
  <xsl:if test="count(ProgrammingConcepts/Concepts/Concept) &gt; 0">
    <p><span class="subtitle">Programming Concepts</span>
    <br>
    <ul>
    <xsl:for-each select="ProgrammingConcepts/Concepts/Concept">
    <xsl:sort select="."/>
    <li><xsl:value-of select="."/></li>
    </xsl:for-each>
    </ul>
    </br></p>
  </xsl:if>
  <xsl:if test="count(Software/Products/Product) &gt; 0">
    <p><span class="subtitle">Familiar Software</span>
    <br>
    <ul>
    <xsl:for-each select="Software/Products/Product">
    <xsl:sort select="."/>
    <li><xsl:value-of select="."/></li>
    </xsl:for-each>
    </ul>
    </br></p>
  </xsl:if>
  </div>
</xsl:template>

</xsl:stylesheet>
