1 <!--
   2 Copyright © 2003-2015 Unicode, Inc. and others. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
   3 
   4 Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that (a) the above copyright notice(s) and this permission notice appear with all copies of the Data Files or Software, (b) both the above copyright notice(s) and this permission notice appear in associated documentation, and (c) there is clear notice in each modified Data File or in the Software as well as in the documentation associated with the Data File(s) or Software that the data or software has been modified.
   5 
   6 THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
   7 
   8 Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder.
   9 $Revision: 12433 $
  10 -->
  11 
  12 <!ELEMENT ldmlBCP47 ( version, generation?, cldrVersion?, keyword*, attribute* ) >
  13 
  14 <!ELEMENT version EMPTY >
  15     <!--@METADATA-->
  16 <!ATTLIST version number CDATA #REQUIRED >
  17     <!--@METADATA-->
  18 <!ATTLIST version cldrVersion CDATA #FIXED "29" >
  19     <!--@VALUE-->
  20 
  21 <!ELEMENT generation EMPTY >
  22     <!--@METADATA-->
  23     <!--@DEPRECATED-->
  24 <!ATTLIST generation date CDATA #REQUIRED >
  25     <!--@METADATA-->
  26     <!--@DEPRECATED-->
  27 
  28 <!ELEMENT cldrVersion EMPTY >
  29     <!--@DEPRECATED-->
  30 <!ATTLIST cldrVersion version CDATA #REQUIRED >
  31     <!--@METADATA-->
  32     <!--@DEPRECATED-->
  33 
  34 <!ELEMENT keyword ( key* ) >
  35 
  36 <!ELEMENT key ( type* ) >
  37 <!ATTLIST key extension NMTOKEN #IMPLIED >
  38 <!ATTLIST key name NMTOKEN #REQUIRED >
  39 <!ATTLIST key description CDATA #IMPLIED >
  40     <!--@VALUE-->
  41 <!ATTLIST key deprecated (true | false) "false" >
  42     <!--@METADATA-->
  43 <!ATTLIST key preferred NMTOKEN #IMPLIED >
  44     <!--@VALUE-->
  45 <!ATTLIST key alias NMTOKEN #IMPLIED >
  46     <!--@VALUE-->
  47 <!ATTLIST key valueType (single | multiple | incremental | any) #IMPLIED >
  48     <!--@VALUE-->
  49 <!ATTLIST key since CDATA #IMPLIED >
  50     <!--@METADATA-->
  51 
  52 <!ELEMENT type EMPTY >
  53 <!ATTLIST type name NMTOKEN #REQUIRED >
  54 <!ATTLIST type description CDATA #IMPLIED >
  55     <!--@VALUE-->
  56 <!ATTLIST type deprecated (true | false) "false" >
  57     <!--@METADATA-->
  58 <!ATTLIST type preferred NMTOKEN #IMPLIED >
  59     <!--@VALUE-->
  60 <!ATTLIST type alias CDATA #IMPLIED >
  61     <!--@VALUE-->
  62 <!ATTLIST type since CDATA #IMPLIED >
  63     <!--@METADATA-->
  64 
  65 <!ELEMENT attribute EMPTY >
  66 <!ATTLIST attribute name NMTOKEN #REQUIRED >
  67 <!ATTLIST attribute description CDATA #IMPLIED >
  68     <!--@VALUE-->
  69 <!ATTLIST attribute deprecated (true | false) "false" >
  70     <!--@METADATA-->
  71 <!ATTLIST attribute preferred NMTOKEN #IMPLIED >
  72     <!--@VALUE-->
  73 <!ATTLIST attribute since CDATA #IMPLIED >
  74     <!--@METADATA-->