<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gfc="http://www.isotc211.org/2005/gfc"
    xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx"
    xmlns:gsr="http://www.isotc211.org/2005/gsr" xmlns:gss="http://www.isotc211.org/2005/gss"
    xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gml="http://www.opengis.net/gml/3.2"
    xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema"  xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"
    xmlns:fn="http://www.w3.org/2005/xpath-functions"
    xmlns:grp="http://www.altova.com/Mapforce/grouping" exclude-result-prefixes="fn grp xs xsi xsl xd"
    xmlns="http://www.isotc211.org/2005/gfc">
    
    <xsl:import href="../FGDC2ISO/IndividualElements.xsl"/>
    
    <xsl:output method="xml" version="1.0" encoding="ISO-8859-1" indent="yes"/>
    <xd:doc scope="stylesheet">
        <xd:desc>
            <xd:p><xd:b>Created on:</xd:b> May 17, 2013</xd:p>
            <xd:p><xd:b>Author:</xd:b> mccre004</xd:p>
            <xd:p>This stylesheet contains all the templates for all the nation based themes.</xd:p>
        </xd:desc>
    </xd:doc>
    
    <xsl:template name="aiannh">       
              
        <xsl:call-template name="AIANNHCE"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AIANNHNS:Current American Indian/Alaska Native/Native Hawaiian Area ANSI code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AIANNHR:Current American Indian/Alaska Native/Native Hawaiian area federal/state recognition flag</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
                       
        <xsl:call-template name="ALAND"/>           
        <xsl:call-template name="AWATER"/>             
        <xsl:call-template name="CLASSFP"/>       
        <xsl:call-template name="COMPTYP"/>
        <xsl:call-template name="FUNCSTAT"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Current American Indian/Alaska Native/ Native Hawaiian area identifier; a concatenation of Current American Indian/Alaska Native/Native Hawaiian area census code and reservation/statistical area or off-reservation trust land Hawaiian home land indicator</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>               
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME:Current American Indian/Alaska Native/Native Hawaiian area name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="aits">      
       
        <xsl:call-template name="AIANNHCE"/>
        <xsl:call-template name="ALAND"/>               
        <xsl:call-template name="AWATER"/>         
        <xsl:call-template name="CLASSFP"/>               
        <xsl:call-template name="FUNCSTAT"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Current American Indian/Alaska Native/ Native Hawaiian area identifier; a concatenation of Current American Indian/Alaska Native/Native Hawaiian area census code and reservation/statistical area or off-reservation trust land Hawaiian home land indicator</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>             
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>      
               
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME:Current American Indian/Alaska Native/Native Hawaiian area name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="TRSUBCE"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">TRSUBNS:Current American Indian tribal subdivision ANSI code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>        
        
    </xsl:template>
    
    <xsl:template name="cbsa">
               
        <xsl:call-template name="ALAND"/>                        
        <xsl:call-template name="AWATER"/>   
        <xsl:call-template name="CBSAFP"/>
        <xsl:call-template name="CSAFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Current American Indian/Alaska Native/ Native Hawaiian area identifier; a concatenation of Current American Indian/Alaska Native/Native Hawaiian area census code and reservation/statistical area or off-reservation trust land Hawaiian home land indicator</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>      
               
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">MEMI: Current metropolitan/micropolitan status indicator</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>               
        
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME:Current American Indian/Alaska Native/Native Hawaiian area name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="cd">
                        
        <xsl:call-template name="ALAND"/>      
        <xsl:call-template name="AWATER"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">CDSESSN: 112th congressional session code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>                            
        
        <xsl:call-template name="CD112FP"/>
        <xsl:call-template name="FUNCSTAT"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Current American Indian/Alaska Native/ Native Hawaiian area identifier; a concatenation of Current American Indian/Alaska Native/Native Hawaiian area census code and reservation/statistical area or off-reservation trust land Hawaiian home land indicator</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>              
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>               
        
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>        
                
        <xsl:call-template name="STATEFP"/>
        
    </xsl:template>
    
    <xsl:template name="cnecta">
              
        <xsl:call-template name="ALAND"/>        
        <xsl:call-template name="AWATER"/>
        <xsl:call-template name="CNECTAFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Combined New England city and town area identifier, combined New England city and town area code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
                     
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current legal/statistical area description code for combined New England city and town area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>       
              
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME: Current combined New England city and town area name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description for combined New England city and town area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="nationalCounty">
               
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="AWATER"/>     
        <xsl:call-template name="CBSAFP"/>
        <xsl:call-template name="CLASSFP"/>        
        <xsl:call-template name="CSAFP"/>
        <xsl:call-template name="COUNTYFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">COUNTYNS:Current county ANSI code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>      
             
        <xsl:call-template name="FUNCSTAT"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: County identifier; a concatenation of Current state FIPS code and county FIPS code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>               
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current legal/statistical area description code for American Indian/Alaska Native/Native Hawaiian area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>                
       
         <xsl:call-template name="METDIVFP"/>
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME:Current county name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD: Current name and the translated legal/statistical area description for county</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>        
        
        <xsl:call-template name="STATEFP"/>
    </xsl:template>
    
    <xsl:template name="csa">
        
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="AWATER"/>
        <xsl:call-template name="CSAFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Combined statistical area identifier, combined statistical area code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element> 
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current legal/statistical area description code for combined statistical area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
       <xsl:call-template name="MTFCC"/>
       
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME:Current combined statistical area name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description for combined statistical area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
    </xsl:template>
    
    <xsl:template name="metdiv">
        <xsl:call-template name="ALAND"/>           
        <xsl:call-template name="AWATER"/> 
        <xsl:call-template name="CBSAFP"/>
        <xsl:call-template name="CSAFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Metropolitan division identifier; a concatenation of metropolitan statistical area/micropolitan statistical area code and metropolitan division code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>  
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD: Current name and the translated legal/statistical area description for metropolitan division</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="METDIVFP"/>
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME: Current metropolitan division name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD: Current name and the translated legal/statistical area description for metropolitan division</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="mil">
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="ANSICODE"/>
        <xsl:call-template name="AREAID"/>
        <xsl:call-template name="AWATER"/>
        <xsl:call-template name="FULLNAME"/>
        <xsl:call-template name="INTLatLong"/>
        <xsl:call-template name="MTFCC"/>
    </xsl:template>
    
    <xsl:template name="necta">
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="AWATER"/>
        <xsl:call-template name="CNECTAFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: New England city and town area identifier, New England city and town area code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>  
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD:Current name and the translated legal/statistical area description for New England city and town area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME:Current New England city and town area name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
               
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description for New England city and town area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="NECTAFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NMEMI: Current New England city; town area metropolitan/micropolitan status indicator</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="nectadiv">
        
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="AWATER"/>
        <xsl:call-template name="CNECTAFP"/>
        
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: New England city and town area division identifier; a concatenation of New England city and town area code and New England city and town area division code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>     
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD: Current legal/statistical area description code for New England city and town area division</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="MTFCC"/>
        
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME:Current New England city and town area division name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD:Current name and the translated legal/statistical area description for New England city and town area division</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="NCTADVFP"/>
        <xsl:call-template name="NECTAFP"/>
    </xsl:template>
    
   <xsl:template name="primaryroads">
       <xsl:call-template name="FULLNAME"/>
       <xsl:call-template name="LINEARID"/>
       <xsl:call-template name="MTFCC"/>
       <xsl:call-template name="RTTYP"/>
       
   </xsl:template>
    
    <xsl:template name="rails">
        <xsl:call-template name="FULLNAME"/>
        <xsl:call-template name="LINEARID"/>
        <xsl:call-template name="MTFCC"/>
        
    </xsl:template>
    
    <xsl:template name="state">
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="AWATER"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">DIVISION: Current Census division code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="FUNCSTAT"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: State identifier; state FIPS code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>     
        
        <xsl:call-template name="INTLatLong"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD: Current legal/statistical area description code for state</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME: Current state name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">REGION: Current Census region code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="STATEFP"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">STATENS: Current state ANSI code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">STUSPS: Current United States Postal Service state abbreviation</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="tad10">
        <xsl:call-template name="ALAND10"/>
        <xsl:call-template name="AWATER10"/>
        <xsl:call-template name="FUNCSTAT10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: 2010 Census traffic analysis zone identifier; a concatenation of 2010 Census metropolitan planning organization code and traffic analysis district code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>    
        
        <xsl:call-template name="INTLatLong10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">MPOCE10: 2010 Census metropolitan planning organization code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>  
        
        <xsl:call-template name="MTFCC10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">TADCE10: 2010 Census traffic analysis district code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>  
        
    </xsl:template>
    
    <xsl:template name="tbg">
        <xsl:call-template name="AIANNHCE"/>
        <xsl:call-template name="TTRACTCE"/>
        <xsl:call-template name="TBLKGPCE"/>
        
          <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Tribal block group identifier; a concatenation of Current American Indian/Alaska Native/Native Hawaiian area census code, tribal census tract code, and tribal block group letter</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>    
        
         <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD: Current translated legal/statistical area description and the tribal block group letter</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="MTFCC"/>
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="AWATER"/>
        <xsl:call-template name="INTLatLong"/>
    </xsl:template>
    
    <xsl:template name="ttract">
        <xsl:call-template name="AIANNHCE"/>
        <xsl:call-template name="ALAND"/>
        <xsl:call-template name="AWATER"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID: Tribal census tract identifier; a concatenation of American Indian Area/Alaska Native/Native Hawaiian area census code and tribal census tract code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>  
        
        <xsl:call-template name="INTLatLong"/>
        <xsl:call-template name="MTFCC"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME: Current tribal census tract name, consisting of the first four characters of the tribal census tract code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD: Current translated legal/statistical area description and the tribal census tract name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="TTRACTCE"/>
        
    </xsl:template>
    
    <xsl:template name="uac10">
        <xsl:call-template name="ALAND10"/>
        <xsl:call-template name="AWATER10"/>
        <xsl:call-template name="FUNCSTAT10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID10: Urban area identifier, a concatenation of Current state Federal Information Processing Series (FIPS) code and urban area code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
      <xsl:call-template name="INTLatLong10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LSAD10: 2010 Census legal/statistical area description code for urban area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="MTFCC10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAME10: 2010 Census urban area name</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">NAMELSAD10: 2010 Census name and the translated legal/statistical area description for urban area</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="UACE10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">UATYP10: 2010 Census urban area type</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="zcta510">
        <xsl:call-template name="ALAND10"/>
        <xsl:call-template name="AWATER10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">CLASSFP10: 2010 Census Federal Information Processing Series (FIPS) 55 class code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="FUNCSTAT10"/>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">GEOID10: 2010 Census 5-digit ZIP Code Tabulation Area identifier, 2010 Census 5-digit ZIP Code Tabulation Area code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:call-template name="INTLatLong10"/>
        <xsl:call-template name="MTFCC10"/>
        <xsl:call-template name="ZCTA5CE10"/>
    </xsl:template>
    
    
</xsl:stylesheet>