[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Representing Code Lists

  • To: xml-dev@l...
  • Subject: Representing Code Lists
  • From: Paul Spencer <ps@b...>
  • Date: Thu, 21 Nov 2002 21:45:29 +0000

iso5218
In government work, it is frequently necessary to use standard codes.
When displaying a document using such codes, it would be useful to
have a standard format for representing any such list. For example:

<?xml version="1.0" encoding="UTF-8"?>
<ISO5218-1977 xmlns="http://example.com/namespace">
	<Value Code="1">male</Value>
	<Value Code="2">female</Value>
	<Value Code="9">not specified</Value>
</ISO5218-1977>

or perhaps:

<?xml version="1.0" encoding="UTF-8"?>
<List Codelist="ISO5218-1977" xmlns="http://example.com/namespace">
	<Value Code="1">male</Value>
	<Value Code="2">female</Value>
	<Value Code="9">not specified</Value>
</List>

I see such lists being made publicly available (subject to any IPR
issues). I don't know of any attempts to standardise such a format. Is
there any activity in this direction? If not, I shall try to start one
through the OASIS e-Government TC. In which case, which format is
preferred? Or another one?

Regards

Paul Spencer

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.