Microsoft Cloud Authors: Kevin Benedict, Pat Romanski, Liz McMillan, Lori MacVittie, Elizabeth White

RSS Feed Item

Re: 3 approaches to structure lists, plus an analysis of each

At 2009-02-14 17:40 -0500, Costello, Roger L. wrote:
>What are the different approaches to structure lists?

A.k.a. "controlled vocabularies"

>What are the pros and cons of each approach? Is there a way to 
>structure lists to maximize their utility and minimize their overhead?


>The purpose of this message is to document and analyze several 
>approaches to structure lists. I use "country list" to illustrate 
>the different approaches.

There are three aspects of controlled vocabularies of interest to XML 

  - list-level meta data - identifies the list as an entity
  - value-level meta data - augments values with "meaning" by adding 
  - instance-level meta data - used in XML documents to associate 
specified controlled vocabulary values with the particular list-level 
meta data from which the value is obtained, thus disambiguating 
values for applications when ambiguous in an element whose values are 
from the union of two lists with overlapping values

Here is an excerpt of OASIS genericode 1.0 file for ISO country codes:


<?xml version="1.0" encoding="UTF-8"?>
<gc:CodeList xmlns:gc="http://docs.oasis-open.org/codelist/ns/genericode/1.0/">
       <LongName xml:lang="en">Country</LongName>
       <LongName Identifier="listID">ISO3166-1</LongName>
          <LongName xml:lang="en">United Nations Economic Commission 
for Europe</LongName>
       <Column Id="code" Use="required">
          <Data Type="normalizedString"/>
       <Column Id="name" Use="optional">
          <Data Type="string"/>
       <Column Id="numericcode" Use="optional">
          <Data Type="string"/>
       <Key Id="codeKey">
          <ColumnRef Ref="code"/>
          <Value ColumnRef="code">
          <Value ColumnRef="name">
          <Value ColumnRef="numericcode">
          <Value ColumnRef="code">
          <Value ColumnRef="name">
          <Value ColumnRef="numericcode">
          <Value ColumnRef="code">
          <Value ColumnRef="name">
          <Value ColumnRef="numericcode">

An OASIS context/value association file (CVA file) is used to 
describe which document contexts are associated with which genericode 
files of controlled vocabularies.  A diagram is here:


An excerpt of a UBL CVA file associated the country identifier with 
the country code list is:

<?xml version="1.0" encoding="utf-8"?>
       <ValueList xml:id="AccountingCostCode" 
       <ValueList xml:id="CountryIdentificationCode" 
       <ValueList xml:id="UNDGCode" uri="../../cl/gc/default/UNDGCode-2.0.gc"/>
       <Context item="cbc:AccountingCostCode" values="AccountingCostCode"/>
       <Context item="cbc:IdentificationCode" 
       <Context item="cbc:UNDGCode" values="UNDGCode"/>

>Lists should be structured in a way that they can be used for 
>multiple purposes. For example, a country list may be:
>     - used as values in an XForms pick list.
>     - transformed into a document that contains, for each country,
>       sales figures (or death rates, births, political leadership,
>       religions, etc).
>     - used to validate an element's content, e.g. The value of the
>       <country-visited> element must be a country.
>Those are only a few of the myriad uses of a country list. A 
>well-designed country list should support all of them.

Specifications and implementations to do this are found here:

   genericode 1.0 - lists of codes with list-level and code-level meta data


   context/value association using genericode 0.5 draft 1
                  - contextual code list usage and instance-level meta data


   There is a Schematron-based implementation of validation using CVA files
   available from Crane's web site and being donated to the Schematron


As cited by Mike, the code list committee is here:


I hope this helps.

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

Upcoming hands-on XSLT, UBL & code list hands-on training classes:
Brussels, BE 2009-03;  Prague, CZ 2009-03, http://www.xmlprague.cz
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:[email protected]
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/x/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/x/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Read the original blog entry...

IoT & Smart Cities Stories
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
In this Women in Technology Power Panel at 15th Cloud Expo, moderated by Anne Plese, Senior Consultant, Cloud Product Marketing at Verizon Enterprise, Esmeralda Swartz, CMO at MetraTech; Evelyn de Souza, Data Privacy and Compliance Strategy Leader at Cisco Systems; Seema Jethani, Director of Product Management at Basho Technologies; Victoria Livschitz, CEO of Qubell Inc.; Anne Hungate, Senior Director of Software Quality at DIRECTV, discussed what path they took to find their spot within the tec...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Disruption, Innovation, Artificial Intelligence and Machine Learning, Leadership and Management hear these words all day every day... lofty goals but how do we make it real? Add to that, that simply put, people don't like change. But what if we could implement and utilize these enterprise tools in a fast and "Non-Disruptive" way, enabling us to glean insights about our business, identify and reduce exposure, risk and liability, and secure business continuity?
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
DXWorldEXPO LLC announced today that Telecom Reseller has been named "Media Sponsor" of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
The current age of digital transformation means that IT organizations must adapt their toolset to cover all digital experiences, beyond just the end users’. Today’s businesses can no longer focus solely on the digital interactions they manage with employees or customers; they must now contend with non-traditional factors. Whether it's the power of brand to make or break a company, the need to monitor across all locations 24/7, or the ability to proactively resolve issues, companies must adapt to...