<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html"/>
  
  <xsl:template match="/newslist">
    <!--<table width="100%">-->
      <xsl:apply-templates select="news"></xsl:apply-templates>
      <xsl:apply-templates select="Category"></xsl:apply-templates>
    <!--</table>-->
  </xsl:template>
  <xsl:template match="Category">
    <div class="list-group-item" align="right">
      <a>
        <xsl:attribute name="href">
          <xsl:value-of select="CategoryUrl"/>
        </xsl:attribute>
        Xem tất cả <i class="fa fa-arrow-circle-right fa-lg"></i>
      </a>
    </div>
  </xsl:template>
  
  <xsl:template match="news">   
        <div class="list-group-item">
          
          <a>
            <xsl:attribute name="href">
              <xsl:value-of select="link"/>
            </xsl:attribute>
            <xsl:value-of select="Headline"/>
          </a>
       </div>    
  </xsl:template>
</xsl:stylesheet> 

