<?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: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></xd:p>
        </xd:desc>
    </xd:doc>
    
    <xsl:template name="aiannh">
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AIANNHCE:Current American Indian/Alaska Native/Native Hawaiian Area census 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">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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ALAND:Current land area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AWATER:Current water area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">CLASSFP:Current Federal Information Processing Series (FIPS) 55 class 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">COMPTYP: Current American Indian/Alaska Native/Native Hawaiian area 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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">FUNCSTAT: Current functional status</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLAT: Current latitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLON: Current longitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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">MTFCC:MAF/TIGER feature class 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">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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AIANNHCE:Current American Indian/Alaska Native/Native Hawaiian Area census 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">ALAND:Current land area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AWATER:Current water area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">CLASSFP:Current Federal Information Processing Series (FIPS) 55 class 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">FUNCSTAT: Current functional status</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLAT: Current latitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLON: Current longitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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">MTFCC:MAF/TIGER feature class 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">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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">TRSUBCE:Current American Indian tribal subdivision census 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">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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ALAND:Current land area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AWATER:Current water area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">CBSAFP: Current metropolitan statistical area/micropolitan statistical area 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">CSAFP: Current combined statistical area code, if applicable</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLAT: Current latitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLON: Current longitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">MTFCC:MAF/TIGER feature class 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">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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ALAND:Current land area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AWATER:Current water area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">CD112FP: 112th congressional district Federal Information Processing Series (FIPS) 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">FUNCSTAT: Current functional status</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLAT: Current latitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLON: Current longitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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">MTFCC:MAF/TIGER feature class 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 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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">STATEFP:Current state Federal Information Processing Series (FIPS) code</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
    </xsl:template>
    
    <xsl:template name="cnecta">
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ALAND:Current land area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">AWATER:Current water area (square meters)</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">CNECTAFP:Current combined New England city and town area 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">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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLAT: Current latitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">INTPTLON: Current longitude of the internal point</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>
        
        <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:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">MTFCC:MAF/TIGER feature class 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">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:stylesheet>