OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Proposed code list meta data for Language and MIME types


Hi folks!

Thanks to input from Sylvia, this is how I am 
setting the code list meta data for the 
BinaryObjectMimeCode and LanguageCode code lists.

Would anyone who thinks I've misinterpreted things please let me know?  Thanks.

The answers do not impact the defaultCodeList.xsl file.

Thanks again Sylvia, for your help.

. . . . . . . . . . . Ken

BinaryObjectMimeCode-2.0.gc

<?xml version="1.0" encoding="ISO-8859-1"?>
<gc:CodeList xmlns:gc="http://genericode.org/2006/ns/CodeList/0.4/";>
    <Identification>
       <ShortName>BinaryObjectMimeCode</ShortName>
       <LongName xml:lang="en">Binary Object MIME Code</LongName>
       <Version>MIMEMediaType:2003</Version>
       <CanonicalUri>urn:un:unece:uncefact:codelist:specification:IANA_7_04</CanonicalUri>
       <CanonicalVersionUri>urn:un:unece:uncefact:codelist:specification:IANA_7_04:MIMEMediaType:2003</CanonicalVersionUri>
       <LocationUri>http://docs.oasis-open.org/ubl/os-ubl-2.0/cl/gc/cefact/BinaryObjectMimeCode-2.0.gc</LocationUri>
       <Agency>
          <LongName xml:lang="en">United Nations 
Economic Commission for Europe</LongName>
          <Identifier>6</Identifier>
       </Agency>
    </Identification>

LanguageCode-2.0.gc

<?xml version="1.0" encoding="ISO-8859-1"?>
<gc:CodeList xmlns:gc="http://genericode.org/2006/ns/CodeList/0.4/";>
    <Identification>
       <ShortName>LanguageCode</ShortName>
       <LongName xml:lang="en">Language</LongName>
       <Version>UN D.05A</Version>
       <CanonicalUri>urn:un:unece:uncefact:codelist:specification:63453</CanonicalUri>
       <CanonicalVersionUri>urn:un:unece:uncefact:codelist:specification:63453:2005</CanonicalVersionUri>
       <LocationUri>http://docs.oasis-open.org/ubl/os-ubl-2.0/cl/gc/cefact/Language-2.0.gc</LocationUri>
       <Agency>
          <LongName xml:lang="en">United Nations 
Economic Commission for Europe</LongName>
          <Identifier>6</Identifier>
       </Agency>
    </Identification>

The following is the example upon which I drew 
from the qDT-defined units of measure:

UnitOfMeasureCode-2.0.gc

<?xml version="1.0" encoding="ISO-8859-1"?>
<gc:CodeList xmlns:gc="http://genericode.org/2006/ns/CodeList/0.4/";>
    <Identification>
       <ShortName>UnitOfMeasureCode</ShortName>
       <LongName xml:lang="en">Unit Of Measure</LongName>
       <LongName Identifier="listID">UN/ECE rec 20</LongName>
       <Version>Revision 4</Version>
       <CanonicalUri>urn:un:unece:uncefact:codelist:specification:66411</CanonicalUri>
       <CanonicalVersionUri>urn:un:unece:uncefact:codelist:specification:66411:2001</CanonicalVersionUri>
       <LocationUri>http://docs.oasis-open.org/ubl/os-ubl-2.0/cl/gc/cefact/UnitOfMeasureCode-2.0.gc</LocationUri>
       <Agency>
          <LongName xml:lang="en">United Nations 
Economic Commission for Europe</LongName>
          <Identifier>6</Identifier>
       </Agency>
    </Identification>


--
UBL/XML/XSLT/XSL-FO training: Vårø, Denmark 2006-10-02/06,11-20/24
UBL International 2006  2006-11-13/17 http://www.ublconference.com
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/o/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/o/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]