a simple XML generator demo