Assume I have the following xslt:\[code\]<xsl:stylesheet version="1.0" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:cmswrt="http://schemas.microsoft.com/WebParts/v3/Publishing/runtime" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <xsl:template name="Sites" match="*" mode="itemstyle"> <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a> </xsl:template></xsl:stylesheet>\[/code\]How do I surround the arbitary amount of \[code\]<a>\[/code\] elements with a div?What I'd like to do is the following but I appreciate it's not permitted to have a div as a root element:\[code\]<div class="deeMacsClass"> <xsl:template name="Sites" match="*" mode="itemstyle"> <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a> </xsl:template></div>\[/code\]Does this need to be in a different template? (i.e. a header and a "footer" template)?What it currently renders:\[code\] <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a> <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a> <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a>\[/code\]What I want it to render:\[code\]<div class="deeMacsClass"> <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a> <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a> <a href="http://stackoverflow.com/questions/14565309/www.mysite.com">Hello</a></div>\[/code\](Assuming 3 items available)