E.2.4

From DGIWG
Jump to: navigation, search

According to ISO 19139, the principle of the codelist is to put the code of the value in codeListValue attribute and to put a user meaningful value in the text of the XML element. This user value can then be translated to any language. The language can be specifiedin the codespace attribute.

<gmd:CI_RoleCode codeList="location#CI_RoleCode" codespace="tur" codeListValue="pointOfContact">irtibatNoktası </gmd:CI_RoleCode>

However, most software just reads the element text (irtibatNoktası), not the codeListValue. It is therefore recommended to avoid codelist translations for interoperability purposes.