XmlComment type for encapsulating XML comments in code. Helper methods to examine attributes in generator script.