Again looks like there are lots of duplication with XHTMLXWikiGeneratorListener

As a general rule we should not have any duplication since that makes the code a lot harder to maintain.