<?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:fn="http://www.w3.org/2005/xpath-functions"
    xmlns:grp="http://www.altova.com/Mapforce/grouping" exclude-result-prefixes="fn grp xs xsi xsl"
    xmlns="http://www.isotc211.org/2005/gfc">
    <xsl:output method="xml" version="1.0" encoding="ISO-8859-1" indent="yes"/>
    
  <!--  <xd:doc >
        <xd:desc>
            <xd:p><xd:b>Created on:</xd:b> May 10, 2013</xd:p>
            <xd:p><xd:b>Author:</xd:b> mccre004</xd:p>
            <xd:p/>
        </xd:desc>
    </xd:doc> -->

    <xsl:template name="EntityAttributeAddressRangeFeature" match="/">
        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ARIDL:Left side Address range
                identifier</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ARIDR:Right side Address range
                identifier</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">EDGE_MTFCC:MAF/TIGER feature class code of related
                edge record</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">FULLNAME:Concatenation of expanded text for prefix
                qualifier, prefix direction, prefix type, base name, suffix type, suffix direction,
                and suffix qualifier (as available) with a space between each expanded text field </xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LFROMHN:From house number associated with the address
                range on the left side of the edge; SIDE=L </xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LINEARID:Linear feature identifier</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">LTOHN:To house number associated with the address
                range on the left side of the edge; SIDE=L</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">OFFSETL:Left offset 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">OFFSETR:Right offset 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">PARITYL:Left side Address Range Parity </xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">PARITYR:Right side Address Range Parity </xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">PLUS4L:Left side ZIP + 4 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">PLUS4R:Right side ZIP + 4 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">RFROMHN:From house number associated with the address
                range on the right side of the edge; SIDE=R</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title"> RFROMTYP:Right side From address range end type </xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">TFIDL:Permanent face ID on the left of the edge </xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">TFIDR:Permanent face ID on the right of the
                edge</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">TLID:Permanent edge ID</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ZIPL:ZIP code associated with the left address
                range</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
        </xsl:element>

        <xsl:element name="gfc:carrierOfCharacteristics">
            <xsl:attribute name="xlink:title">ZIPR:ZIP code associated with the right address range</xsl:attribute>
            <xsl:attribute name="xlink:href">insert UUID here</xsl:attribute>
            </xsl:element>




    </xsl:template>
</xsl:stylesheet>
