Can't you use a simple query using T-SQL like so? Of course you'll have to modify which fields you want to query.
SELECT MenuItemName, DocumentName, NodeAliasPath
FROM View_CMS_Tree_Joined
INNER JOIN Content_MenuItem ON DocumentForeignKeyValue = MenuItemID
WHERE DocumentMenuItemHideInNavigation = 0 AND NodeAliasPath LIKE '/Special-Pages/%'
FOR XML Path('Page'), ROOT('Pages')