<!-- Element or root node: Process children -->
<xsl:template match="* | /">
<xsl:apply-templates />
</xsl:template>
<!-- Element or root in specific mode: Process children in that mode -->
<xsl:template match="* | /" mode="m">
<xsl:apply-templates mode="m" />
</xsl:template>
<!-- Text or attribute node: Output value -->
<xsl:template match="text() | @*">
<xsl:value-of select="." />
</xsl:template>
<!-- PI or comment node: Hide from result -->
<xsl:template match="processing-instruction() | comment()" />
//This is the code that goes in the vhosts.conf file (/private/etc/httpd/users/vhosts.conf)
//Substitute domain.web for domain you will use to access the vhost on your computer.
//For example, if I was working on cnn.com, I would change domain.web to cnn.web. For the
//document root I would change domain.com to cnn.com.
<VirtualHost *:80>
ServerName domain.web
DocumentRoot /Library/WebServer/Documents/domain.com/
</VirtualHost>
//This is the command line to be used in Terminal.app to restart Apache gracefully.
sudo apachectl -k graceful