Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?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