Subject: iso-codes: please split date_withdrawn data into subelements
Package: iso-codes
Version: 1.0a-1
Severity: wishlist

Please split the data_withdrawn info into multiple subelements. It would
be very valuable when using the data to load a database and using XSLT
to transform the file into SQL insert statements. With some of the
fields (like data_withdrawn) having internal structure, it somewhat
defeats the purpose of using a structured language like XML. I am
proposing something like the following fragment:

        <iso_3166_3_entry
                alpha_4_code="MIUM"
                alpha_3_code="MID"
                numeric_code="488"
                names="Midway Islands">
                <date_withdrawn>
                        <year>1986</year>
                </date_withdrawn>
        </iso_3166_3_entry>
        <iso_3166_3_entry
                alpha_4_code="AN"
                alpha_3_code="ANT"
                numeric_code="532"
                names="Netherlands Antilles" />
                <date_withdrawn>
                        <year>1993</year>
                        <month>7</month>
                        <day>12</day>
                </date_withdrawn>
        </iso_3166_3_entry>

Please let me know what you think of this idea.

Thanks,
wt

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to