There are some cases when you need to combine transformed HTML output with other content and web controls. You can resolve these issues by using Xml control which displays the result of an XLS transformation in a discrete portion of a page. You can find from the articles: How to use XSL to transform XML content, and How to use XslCompiledTransform class to transform XML file in C# or How to use XslCompiledTransform class to transform XML file in VB.NET more details about XML transformations, but you can use XML control to make same transformations. Using the Xml control, all you need is a single tag that sets the DocumentSource and TransformSource properties, as shown here:
DocumentSource=” BooksList.xml” TransformSource=”BooksList.xsl” />
The best part of this example is that all you need to do is set the XML input and the XSL transform file. You don’t need to manually initiate the conversion.