<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  <xsl:template match="/">
    <HTML>
      <BODY>
        <xsl:for-each select="primary/secondary">
            <br/>
                <xsl:value-of select="@title" />
   <ul>
            <xsl:for-each select="tertiary">
             <li>
                <xsl:value-of select="@title" />
   <ul>
            <xsl:for-each select="quaternary">
             <li>
                <xsl:value-of select="@title" />
             </li>
          </xsl:for-each>
</ul>
             </li>
          </xsl:for-each>
</ul>
          </xsl:for-each>
      </BODY>
    </HTML>
  </xsl:template>
</xsl:stylesheet> 
