|
Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT SERVER-PC 10.0 build 26200 (Windows 11) AMD64 User : ServerPC ( 0) PHP Version : 8.2.12 Disable Function : NONE Directory : C:/Windows/System32/wbem/en-US/ |
Upload File : |
<?xml version="1.0"?>
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
<!-- Generic stylesheet for viewing XML -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
<!-- This template will always be executed, even if this stylesheet is not run on the document root -->
<xsl:template match="/">
<DIV STYLE="font-family:Courier; font-size:10pt; margin-bottom:2em">
<!-- Scoped templates are used so they don't interfere with the "kick-off" template. -->
<xsl:apply-templates/>
</DIV>
</xsl:template>
<xsl:template match="*">
<DIV STYLE="margin-left:1em; color:gray">
<<xsl:value-of select="local-name()"/>><xsl:apply-templates select="@*"/>/>
</DIV>
</xsl:template>
<xsl:template match="*[node()]">
<DIV STYLE="margin-left:1em">
<SPAN STYLE="color:gray"><<xsl:value-of select="local-name()"/><xsl:apply-templates select="@*"/>></SPAN><xsl:apply-templates select="node()"/><SPAN STYLE="color:gray"></<xsl:value-of select="local-name()"/>></SPAN>
</DIV>
</xsl:template>
<xsl:template match="@*">
<SPAN STYLE="color:navy"> <xsl:value-of select="local-name()"/>="<SPAN STYLE="color:black"><xsl:value-of select="."/></SPAN>"</SPAN>
</xsl:template>
<xsl:template match="processing-instruction()">
<DIV STYLE="margin-left:1em; color:maroon"><?<xsl:value-of select="local-name()"/><xsl:apply-templates select="@*"/>?></DIV>
</xsl:template>
<xsl:template match="node()[nodeTypeString=cdatasection]"><pre><![CDATA[<xsl:value-of select="."/>]]></pre></xsl:template>
<xsl:template match="text()"><xsl:value-of select="."/></xsl:template>
</xsl:stylesheet>