Convert documentation comments to XML