leethomason/tinyxml2 — pull request #15 by juan-cardelino (2012-04-05 18:43:06+00:00)
Title: doxygen configuration to show examples

You were missing a couple of things. First, you need to enable the documentation of everything (i.e. static members). Second, doxygen does not extract comments if you don't document the file itself (see the \file tag).
I copied your description of example 1 to the proper place so you can see how it looks like.
Let me know if you like it.