Fix issue where class extends was determined correctly.

Some @base attributes for complexType elements where missing xs:

E.g
<xs:extension base="BaseClass"/>

XSLT now takes this into account.