We are using DBUnit to prime our lookup tables in our database. We have an XML file that has lines like this:

<Countries country_id='5' description='Angola'/>

(yeah, we probably should switch to using the standard country code)

So all you'd have to do is parse that HTML into XML - JTidy would facilitate this nicely.

Erik


tek1 wrote:
sorry for the off-topic post, but do any ant or other scripts exist for automatically populating "Country" and "Language" tables in the database that hold the ISO country/language code and their respective names?

for example, a script that will automatically insert the codes and names of the countries listed on:

http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

into a specified table (i.e. "country")?

thank you.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to