> I want to use XML as config files. Since I have little idea on it, can
> anyone kindly tell me what else should I do?
> ... May I use exist parser or API? Or should I write the code completely
> myself to access the config file?
You might want to look at Perl's XML::Simple module. I works especially
well for this sort of thing, IMO.