Fclass
<h3 class="heading-h6"><a name="THDLToolboxhomegtPlacesampGeographygtTHDLGazetteergtGazetteerDTDDecodedForDummiesgtFclassElement" class="anchorpoint"></a><a href="/tools/wiki/home.html">THDL Toolbox</a> > <a href="/tools/wiki/Places%20%26%20Geography.html">Places & Geography</a> > <a href="/tools/wiki/THDL%20Gazetteer.html">THDL Gazetteer</a> > <a href="/tools/wiki/Gazetteer%20DTD%20Decoded%20For%20Dummies.html">Gazetteer DTD Decoded For Dummies</a> > Fclass Element</h3><p class="paragraph">
</p><h3 class="heading-h1"><a name="DetailsfortheelementfclassfromtheTHDLGazetteerDTDDecodedForDummies" class="anchorpoint"></a>Details for the element "fclass" <em class="italic">from the THDL Gazetteer DTD Decoded For Dummies</em></h3><p class="paragraph">
</p><h3 class="heading-h2"><a name="DefinitionoftheElement" class="anchorpoint"></a>Definition of the Element</h3><div class="code"><pre><!ELEMENT fclass (authority?)>
<!ATTLIST fclass type CDATA #REQUIRED
term CDATA #REQUIRED></pre></div><p class="paragraph">
</p><h3 class="heading-h2"><a name="DescriptionoftheElement" class="anchorpoint"></a>Description of the Element</h3><p class="paragraph">This must have the name of a thesaurus and a term
from that thesaurus, e.g., <fclass term="autonomous region" type="administrative"/>
In this example, the thesaurus is administrativeThesaurus.xml (which starts with
<root id="administrative">, it's that root id you're matching on) and the term is
"autonomous region", which in the thesaurus looks like this:</p><div class="code"><pre><term id=<span class="java-quote">"autonomous region"</span>>
<text lang=<span class="java-quote">"eng"</span>>Autonomous Region</text>
<text lang=<span class="java-quote">"chi"</span> type=<span class="java-quote">"chi-simplified"</span> resp=<span class="java-quote">"CHGIS"</span> authority=<span class="java-quote">"THDL"</span>>自治區</text>
<text lang=<span class="java-quote">"chi"</span> type=<span class="java-quote">"pinyin"</span> resp=<span class="java-quote">"CHGIS"</span> authority=<span class="java-quote">"THDL"</span>>zizhiqu</text>
<text type=<span class="java-quote">"NIMA"</span> resp=<span class="java-quote">"THDL"</span>>ADM2</text>
<definition>Def of Autonomous Region</definition>
<bTerm>country</bTerm>
</term></pre></div><p class="paragraph">
</p><h3 class="heading-h2"><a name="AttributesoftheElement" class="anchorpoint"></a>Attributes of the Element</h3><p class="paragraph">The attribute "type" is for declaring the type of feature the individuals belong to, such as "administrative".</p><p class="paragraph">The attribute "term" is for declaring "county", "township", "autonomous region", etc for Administrative types of classes, or "river", "mountain", "plain" for Geophysical types, etc.
</p><h3 class="heading-h2"><a name="XMLMarkupExamples" class="anchorpoint"></a>XML Markup Examples</h3><p class="paragraph">TBA.
</p><h3 class="heading-h6"><a name="ProvidedforunrestrictedusebythespanclassnobrimgsrcsakairwikitoolimagesicklearrowgifaltexternallinktitleexternallinkahrefhttpwwwthdlorgtargetrwikiexternalTibetanandHimalayanDigitalLibraryaspan" class="anchorpoint"></a><em class="italic">Provided for unrestricted use by the <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.thdl.org" target="rwikiexternal">Tibetan and Himalayan Digital Library</a></span></em></h3>