����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 18.118.31.32 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/dell/srvadmin/var/lib/openmanage/xslroot/oma/cli/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent="no"/> <xsl:strip-space elements="*"/> <xsl:template match="OMA"> <xsl:if test=" /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test=" /OMA/InventoryCollector/SMStatus='0'"><xsl:call-template name="success"/></xsl:when> <xsl:when test=" /OMA/InventoryCollector/SMStatus='-1'"><xsl:call-template name="failure"/></xsl:when> <xsl:otherwise><xsl:text>Error occured!</xsl:text></xsl:otherwise> </xsl:choose> </xsl:if> </xsl:template> <xsl:template name="success"> <DataArea> <ListData name="Inventory Status"> <Data name="Name"> <xsl:attribute name="display"><!--XLATESTART-->Inventory Collector<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test=" /OMA/InventoryCollector/ICstat='1' ">Enabled</xsl:when> <xsl:when test=" /OMA/InventoryCollector/ICstat='0' ">Disabled</xsl:when> <xsl:when test=" /OMA/InventoryCollector/ICstat='2' ">Unknown</xsl:when> <xsl:otherwise><xsl:text>Error occured!</xsl:text></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </ListData> </DataArea> </xsl:template> <xsl:template name="failure"> <DataArea> <ListData name="Inventory Status"> <Data name="Name"> <xsl:attribute name="display"><!--XLATESTART-->Inventory Collector<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="/OMA/InventoryCollector/ICstat='3'">Unavailable</xsl:when> <xsl:otherwise><xsl:text>Error occured!</xsl:text></xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </ListData> </DataArea> </xsl:template> </xsl:stylesheet>