b0VIM 6.3      N n  mccre004                                node20.csvd.census.gov                  /mt/apps/gpms/MIF2ISO/03_gmd:characterSet.xsl                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      U3210    #"! U                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 tp           u                            3       v                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ad  =   -     u                 }  C      p  o  k  j  i  h  g  G          d  c  b  a  *  )            z  
  
  
  
  
  K
  
  	  	  	  	  	  	  	  	  4	  '	  &	  	          g  [  Z  5                h  4  (  '            ^  R  Q  '            |  {  Q                {  G  ;  :            q  e  d  9                a  -          <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<xsl:attribute name="codeSpace">018</xsl:attribute> <xsl:when test ="$CharSet = '8859part13'">  </xsl:when> <xsl:attribute name="codeSpace">016</xsl:attribute> <xsl:when test ="$CharSet = '8859part11'">  </xsl:when> <xsl:attribute name="codeSpace">015</xsl:attribute> <xsl:when test ="$CharSet = '8859part10'">  </xsl:when> <xsl:attribute name="codeSpace">014</xsl:attribute> <xsl:when test ="$CharSet = '8859part9'">  </xsl:when> <xsl:attribute name="codeSpace">013</xsl:attribute> <xsl:when test ="$CharSet = '8859part8'">  </xsl:when> <xsl:attribute name="codeSpace">012</xsl:attribute> <xsl:when test ="$CharSet = '8859part7'">  </xsl:when> <xsl:attribute name="codeSpace">011</xsl:attribute> <xsl:when test ="$CharSet = '8859part6'">  </xsl:when> <xsl:attribute name="codeSpace">010</xsl:attribute> <xsl:when test ="$CharSet = '8859part5'">  </xsl:when> <xsl:attribute name="codeSpace">009</xsl:attribute> <xsl:when test ="$CharSet = '8859part4'">  </xsl:when> <xsl:attribute name="codeSpace">008</xsl:attribute> <xsl:when test ="$CharSet = '8859part3'">  </xsl:when> <xsl:attribute name="codeSpace">007</xsl:attribute> <xsl:when test ="$CharSet = '8859part2'">  </xsl:when> <xsl:attribute name="codeSpace">006</xsl:attribute> <xsl:when test ="$CharSet = '8859part1'">  </xsl:when> <xsl:attribute name="codeSpace">005</xsl:attribute> <xsl:when test ="$CharSet = 'utf16'">  </xsl:when> <xsl:attribute name="codeSpace">004</xsl:attribute> <xsl:when test ="$CharSet = 'utf8'">  </xsl:when> <xsl:attribute name="codeSpace">003</xsl:attribute> <xsl:when test ="$CharSet = 'utf7'">  </xsl:when> <xsl:attribute name="codeSpace">002</xsl:attribute> <xsl:when test ="$CharSet = 'ucs4'">  </xsl:when> <xsl:attribute name="codeSpace">001</xsl:attribute> <xsl:when test ="$CharSet = 'ucs2'">  <xsl:choose> <xsl:variable name="CharSet" select="/metadata/metainfo/Metadata_Character_Set"/> <xsl:template name="Metadata_Character_Set_CodeSpace">  </xsl:template>  </xsl:if> </xsl:if> </xsl:element> </xsl:element> <xsl:apply-templates select="/metadata/metainfo/Metadata_Character_Set"/> <xsl:call-template name="/MIF/Metadata_Character_Set"/> </xsl:attribute> <xsl:apply-templates select="/MIF/Metadata_Character_Set"/>  <xsl:attribute name="codeListValue"> <xsl:attribute name="codeList">http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode</xsl:attribute> <xsl:element name="gmd:MD_CharacterSetCode">  <xsl:element name="gmd:characterSet">   <xsl:if test="/MIF/Metadata_Character_Set"> <xsl:if test="/MIF/Metadata_Character_Set" >  <xsl:template name="Metadata_Character_Set" match="/">    <xsl:output method="xml" version="1.0" encoding="ISO-8859-1" indent="yes"/> >    xmlns:gco="http://www.isotc211.org/2005/gco"     xmlns:gmd="http://www.isotc211.org/2005/gmd"    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet version = "1.0"     -->        Initial   Date      Change Request ID   Description    Modification History: gmd:MD_CharacterSetCode elements while the Metadata_Character_Set_CodeSpace template inserts the correct codeSpace attribute.      Description:  XSLT stylesheet that transforms the Metadata_Character_Set element from a MIF file into the gmd:characterSet ISO element. This stylesheet consists of two templates: Metadata_Character_Set and Metadata_Character_Set_CodeSpace. The Metadata_Character_Set template creates the  gmd:characterSet and     Date:  20111005    Author:  Matthew J. McCready    Name:  03_gmd:characterset.xsl <!--  <?xml version="1.0" encoding="UTF-8" ?> ad  Y
  A     3                   \  (                W  K  J  !            z  y  Q                  N  B  A              t  s  r  d  T  S  A  @                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           </xsl:stylesheet>  </xsl:template> </xsl:choose>   </xsl:when> <xsl:attribute name="codeSpace">029</xsl:attribute> <xsl:when test ="$CharSet = 'GB2312'">  </xsl:when> <xsl:attribute name="codeSpace">028</xsl:attribute> <xsl:when test ="$CharSet = 'big5'">  </xsl:when> <xsl:attribute name="codeSpace">027</xsl:attribute> <xsl:when test ="$CharSet = 'eucKR'">  </xsl:when> <xsl:attribute name="codeSpace">026</xsl:attribute> <xsl:when test ="$CharSet = 'ebcdic'">  </xsl:when> <xsl:attribute name="codeSpace">025</xsl:attribute> <xsl:when test ="$CharSet = 'usAscii'">  </xsl:when> <xsl:attribute name="codeSpace">024</xsl:attribute> <xsl:when test ="$CharSet = 'eucJP'">  </xsl:when> <xsl:attribute name="codeSpace">023</xsl:attribute> <xsl:when test ="$CharSet = 'shiftJIS'">  </xsl:when> <xsl:attribute name="codeSpace">022</xsl:attribute> <xsl:when test ="$CharSet = 'jis'">  </xsl:when> <xsl:attribute name="codeSpace">021</xsl:attribute> <xsl:when test ="$CharSet = '8859part16'">  </xsl:when> <xsl:attribute name="codeSpace">020</xsl:attribute> <xsl:when test ="$CharSet = '8859part15'">  </xsl:when> <xsl:attribute name="codeSpace">019</xsl:attribute> <xsl:when test ="$CharSet = '8859part14'">  </xsl:when> 