0byt3m1n1
Path:
C:
/
Windows
/
System32
/
srm
/
xslt
/
[
Home
]
File: FileScreenAudit_CSV.xsl
<?xml version="1.0"?> <!-- Copyright (C) 2004, Microsoft Corporation --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:global="urn:srm-extension-obj" > <!-- Common definitions --> <xsl:include href="Common_CSV.xsl"/> <xsl:include href="functions.xsl"/> <!-- Main entry point --> <xsl:template match="StorageReport"> <xsl:apply-templates select="ReportHeader"/> <xsl:value-of select="$NewLine" /> <xsl:apply-templates select="ReportData"/> <xsl:value-of select="$NewLine" /> </xsl:template> <xsl:template match="ReportData"> <xsl:value-of select="$SrmStringRes_Path"/> <xsl:text>,</xsl:text> <xsl:value-of select="$SrmStringRes_FileName"/> <xsl:text>,</xsl:text> <xsl:value-of select="$SrmStringRes_FileGroup"/> <xsl:text>,</xsl:text> <xsl:value-of select="$SrmStringRes_Status"/> <xsl:text>,</xsl:text> <xsl:value-of select="$SrmStringRes_Time"/> <xsl:text>,</xsl:text> <xsl:value-of select="$SrmStringRes_User"/> <xsl:text>,</xsl:text> <xsl:value-of select="$SrmStringRes_Process"/> <xsl:text>,</xsl:text> <xsl:value-of select="$SrmStringRes_FileScreenPath"/> <xsl:value-of select="$NewLine" /> <xsl:apply-templates select="Item"/> </xsl:template> <xsl:template match="Item"> <xsl:value-of select="global:CsvCell(string(FilePath))"/> <xsl:text>,</xsl:text> <xsl:value-of select="global:CsvCell(string(FileName))"/> <xsl:text>,</xsl:text> <xsl:value-of select="global:CsvCell(string(FileGroup))"/> <xsl:text>,</xsl:text> <xsl:value-of select="global:CsvCell(string(Status))"/> <xsl:text>,</xsl:text> <xsl:value-of select="global:CsvCell(string(Time))"/> <xsl:text>,</xsl:text> <xsl:value-of select="global:CsvCell(string(User))"/> <xsl:text>,</xsl:text> <xsl:value-of select="global:CsvCell(string(Process))"/> <xsl:text>,</xsl:text> <xsl:value-of select="global:CsvCell(string(FileScreenPath))"/> <xsl:value-of select="$NewLine" /> </xsl:template> </xsl:stylesheet>