<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  version="1.0">
 
  
  <xsl:output method="xml" indent="yes" 
  cdata-section-elements="for_CDATA"/> 
  <xsl:strip-space elements="*"/>
  
  <xsl:template match="program">
        <program>
        <xsl:apply-templates/>
        </program>
  </xsl:template>
  
  <xsl:template match="//fndef">
        <function-definition>
        <xsl:apply-templates/>
        </function-definition>
  </xsl:template>
  
  <xsl:template match="//TOKEN">
     <token attrib="{@attrib}" type="{@type}">
     </token>
  </xsl:template>
  
  <xsl:template match="//function_body">
     <function_body>
     <xsl:apply-templates/>
     </function_body>
  </xsl:template>
  
  <xsl:template match="//stmts">
     <stmts>
     <xsl:apply-templates/>
     </stmts>
  </xsl:template>
  
  <xsl:template match="//stmt">
     <stmt>
     <xsl:apply-templates/>
     </stmt>
  </xsl:template>
  
  <xsl:template match="//expr">
     <expr>
     <xsl:apply-templates/>
     </expr>
  </xsl:template>
  
  <xsl:template match="//unary_expr">
     <unary_expr>
     <xsl:apply-templates/>
     </unary_expr>
  </xsl:template>
  
  <xsl:template match="//declarator">
     <declarator>
     <xsl:apply-templates/>
     </declarator>
  </xsl:template>
  
  <xsl:template match="//typespec">
     <typespec>
     <xsl:apply-templates/>
     </typespec>
  </xsl:template>
  
        
        
  
</xsl:stylesheet>
