Changed mkXMLUserList and mkXmlList

made these to functions generic to any list and list of links