The Aggregation Server XML DTD adds four elements to the THREDDS DTD: an aggregation element, and the fileAccess, variable, and fileScan elements it depends on.
These two lines appear at the top of the Aggregation Server DTD to include the THREDDS DTD.
<!ENTITY % catalogDTD SYSTEM "InvCatalog.0.6.dtd"> %catalogDTD;
This is what makes the Aggregation Server a specialization of the THREDDS catalog server.