Our Environment : SDL Tridion 2013 SP1 I'm new to Tridion. We are trying to generate sitemap.xml for the site using Tridion. We wrote TBB which generated the sitemap in XML format and its being generated correctly. Now how would I call this from my .NET application and render it to the View and display the generated XML format on the page. I tried calling the hard coded file name (sitemap.xml) in controller and getting the xml data in string format correctly, now I need to pass this string from controller to View to display the data in XML format. Please suggest:
- the approach is correct to generate sitemap.xml and
- how to pass the XML of string format to View, so that it display in xml format