Fixed Links To Out Types

This fixes the generation of a bad doc ids for `out` or `ref` types in `GetXmlDocPathRecursive`.  Fixes #10.