MSS Where Used: generate nested XML