Index: addon/doxmlparser/src/mainhandler.cpp
===================================================================
--- addon/doxmlparser/src/mainhandler.cpp	(revision 824)
+++ addon/doxmlparser/src/mainhandler.cpp	(working copy)
@@ -113,10 +113,21 @@
 
 void MainHandler::startCompound(const QXmlAttributes& attrib)
 {
-  m_curCompound = new CompoundEntry(257);
-  m_curCompound->id = attrib.value("refid");
-  m_compounds.append(m_curCompound);
-  m_compoundDict.insert(m_curCompound->id.utf8(),m_curCompound);
+  if(( attrib.value("kind") == "class" ||
+       attrib.value("kind") == "struct" ||
+       attrib.value("kind") == "union" ||
+       attrib.value("kind") == "exception" ||
+       attrib.value("kind") == "interface" ||
+       attrib.value("kind") == "namespace" ||
+       attrib.value("kind") == "file" ||
+       attrib.value("kind") == "group" ||
+       attrib.value("kind") == "page" ))
+    {
+      m_curCompound = new CompoundEntry(257);
+      m_curCompound->id = attrib.value("refid");
+      m_compounds.append(m_curCompound);
+      m_compoundDict.insert(m_curCompound->id.utf8(),m_curCompound);
+    }
 }
 
 void MainHandler::startName(const QXmlAttributes& /*attrib*/)
