In general, once you have an XML::Generator object, you then simply call methods on that object named for each XML tag you wish to generate.
WWW: http://search.cpan.org/dist/XML-Generator/
None