Skip to content

Instantly share code, notes, and snippets.

@seankearney
Created March 23, 2016 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seankearney/bbed9c18564c374f7b6b to your computer and use it in GitHub Desktop.
Save seankearney/bbed9c18564c374f7b6b to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ms="http://schemas.microsoft.com/developer/msbuild/2003">
<xsl:template match="ms:Project">
<html>
<body>
<h2>Deployment Properties</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th style="text-align:left">Item</th>
<th style="text-align:left">ItemDeployment</th>
<th style="text-align:left">Child Sync</th>
</tr>
<xsl:apply-templates/>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="ms:ItemGroup">
<xsl:for-each select="ms:SitecoreItem">
<tr>
<td>
<xsl:value-of select="@Include"/>
</td>
<td>
<xsl:value-of select="ms:ItemDeployment"/>
</td>
<td>
<xsl:value-of select="ms:ChildItemSynchronization"/>
</td>
</tr>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment