����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.16.48.163 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/cim/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:output method="text"/> <xsl:variable name="combinedkeyinput"> <xsl:for-each select="/OMACIM/Keys/Key"> <xsl:value-of select="@value"/> </xsl:for-each> </xsl:variable> <xsl:variable name="lowercombinedkeyinput" select="translate($combinedkeyinput,'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/> <xsl:template match="SVMInventory"> <xsl:apply-templates /> </xsl:template> <xsl:template match="Device"> <xsl:choose> <xsl:when test="not(/OMACIM/Keys)"> instance of <xsl:value-of select="/OMACIM/@creation-class-name" /> { componentID = "<xsl:value-of select="@componentID" />"; name = "<xsl:value-of select="@display" />"; vendorID = "<xsl:value-of select="@vendorID" />"; deviceID = "<xsl:value-of select="@deviceID" />"; subDeviceID = "<xsl:value-of select="@subDeviceID" />"; subVendorID = "<xsl:value-of select="@subVendorID" />"; bus = "<xsl:value-of select="@bus" />"; device="<xsl:value-of select="@device" />"; function="<xsl:value-of select="@function" />"; }; </xsl:when> <xsl:otherwise> <xsl:variable name="combinedDeviceTag"><xsl:value-of select="@bus" /><xsl:value-of select="@componentID" /><xsl:value-of select="@device" /><xsl:value-of select="@deviceID" /><xsl:value-of select="@function" /><xsl:value-of select="@display" /><xsl:value-of select="@subDeviceID" /><xsl:value-of select="@subVendorID" /><xsl:value-of select="@vendorID" /></xsl:variable> <xsl:variable name="lowercombinedDeviceTag" select="translate($combinedDeviceTag,'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/> <xsl:if test="($lowercombinedDeviceTag = $lowercombinedkeyinput) "> instance of <xsl:value-of select="/OMACIM/@creation-class-name" /> { componentID = "<xsl:value-of select="@componentID" />"; name = "<xsl:value-of select="@display" />"; vendorID = "<xsl:value-of select="@vendorID" />"; deviceID = "<xsl:value-of select="@deviceID" />"; subDeviceID = "<xsl:value-of select="@subDeviceID" />"; subVendorID = "<xsl:value-of select="@subVendorID" />"; bus = "<xsl:value-of select="@bus" />"; device="<xsl:value-of select="@device" />"; function="<xsl:value-of select="@function" />"; }; </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>