Fix XML templates #289
Unit tests for XML templates
Set version to 1.0.2.dev
Merge pull request #291 from shermdog/289

Fix XML templates #289
taking latest change