How to parse huge XML file (up to 8GB!) in Qt?
It can't be DOM approach, because it takes too much memory, so is there any efficient and quick parser to deal with it?

My XML file looks like this:
Qt Code:
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <prog name="MST">
  3. <kaffe/>
  4. <c n="java/lang/Object" s="" r="0" />
  5. <c n="java/lang/Object" s="" r="0" />
  6. <n a="8184954" y="java/lang/String$ICComp" s="5" t="0" />
  7. <n a="8184824" y="java/lang/RuntimePermission" s="15" t="14" />
  8. <d a="8184954" t="14" />
  9. <c n="java/lang/Object" s="" r="0" />
  10. <n a="8184954" y="[C" s="25" d="1" m="15" t="2c" />
  11. <d a="8184824" t="37" />
  12. <d a="8184954" t="37" />
  13. </prog>
To copy to clipboard, switch view to plain text mode 

Elements I need are "n" and "d", and attributes "a", "s" and "t".