����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.28 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 : /proc/3357889/root/opt/dell/srvadmin/var/lib/openmanage/xslroot/hip/template/common/ |
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:strip-space elements="*"/>
<xsl:template match="/OMA">
<xsl:choose>
<xsl:when test="(SMStatus[position()=1]='0' and SMStatus[position()=2]='0')"><xsl:call-template name="success"/></xsl:when>
<xsl:otherwise><xsl:call-template name="failure"/></xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="failure">
<DataArea>
<PageTitle>
<xsl:attribute name="display"><xsl:value-of select="$strMemory"/></xsl:attribute>
</PageTitle>
<TableData>
<Header>
<Data name="">
<xsl:attribute name="display"><xsl:value-of select="$strError"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strError1"/></xsl:attribute>
</Data>
</Header>
<Row>
<Data name="" ><xsl:attribute name="display"><xsl:value-of select="$str"/></xsl:attribute>
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="not(SMStatus[position()=1]='0')">
<xsl:call-template name="smstatus">
<xsl:with-param name="status"><xsl:value-of select="/OMA/SMStatus[position()=1]"/></xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="smstatus">
<xsl:with-param name="status"><xsl:value-of select="/OMA/SMStatus[position()=2]"/></xsl:with-param>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
</Row>
</TableData>
</DataArea>
</xsl:template>
<xsl:template name="success">
<DataArea>
<PageTitle>
<xsl:attribute name="display"><xsl:value-of select="$strMemory1"/></xsl:attribute>
<xsl:attribute name="status"><xsl:value-of select="ObjStatus"/></xsl:attribute>
</PageTitle>
<CustomButton>
<Data name="Refresh">
<xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute>
<xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.MemoryArrayWebPlugin&poid=2&help=Memory</xsl:attribute>
</Data>
</CustomButton>
<xsl:if test="MemoryConfig and (OMAUserRights='7')">
<xsl:choose>
<xsl:when test="(MemoryConfig/Capabilities/SpareBank != 'false') or (MemoryConfig/Capabilities/Mirroring != 'false')or (MemoryConfig/Capabilities/Raid5 != 'false') or (MemoryConfig/Capabilities/DDDC != 'false')">
<CustomButton align="right">
<Data name="Configure">
<xsl:attribute name="display"><xsl:value-of select="$strConfigureRedundancy"/></xsl:attribute>
<xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.MemoryConfigWebPlugin&poid=2&help=Memory</xsl:attribute>
</Data>
</CustomButton>
</xsl:when>
<xsl:when test="(MemoryConfig/Capabilities/MOMOptimizer != 'false') or (MemoryConfig/Capabilities/MOMSpareBank!= 'false')or (MemoryConfig/Capabilities/MOMMirroring != 'false') or (MemoryConfig/Capabilities/MOMAdvECC != 'false')">
<CustomButton align="right">
<Data name="Configure">
<xsl:attribute name="display"><xsl:value-of select="$strConfigMemMode"/></xsl:attribute>
<xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.MemoryConfigWebPlugin&poid=2&help=Memory</xsl:attribute>
</Data>
</CustomButton>
</xsl:when>
</xsl:choose>
</xsl:if>
<xsl:if test="MemoryConfig">
<ListData type="custom" >
<SubHeader>
<xsl:choose>
<xsl:when test="(MemoryConfig/Capabilities/MOMOptimizer != 'false') or (MemoryConfig/Capabilities/MOMSpareBank!= 'false')or (MemoryConfig/Capabilities/MOMMirroring != 'false') or (MemoryConfig/Capabilities/MOMAdvECC != 'false')">
<xsl:attribute name="display"> <xsl:value-of select="$strMemOpMode"/></xsl:attribute>
</xsl:when>
<xsl:when test="(MemoryConfig/Capabilities/SpareBank != 'false') or (MemoryConfig/Capabilities/Mirroring != 'false')or (MemoryConfig/Capabilities/Raid5 != 'false') or (MemoryConfig/Capabilities/DDDC != 'false')">
<xsl:attribute name="display"><xsl:value-of select="$strMemoryRedundancy"/></xsl:attribute>
</xsl:when>
</xsl:choose>
<xsl:if test="Redundancy">
<xsl:attribute name="status"><xsl:value-of select="Redundancy/@status"/></xsl:attribute>
</xsl:if>
</SubHeader>
<xsl:apply-templates select="Redundancy"/>
<xsl:apply-templates select="MemoryConfig"/>
</ListData>
</xsl:if>
<xsl:call-template name="MemoryArray"/>
</DataArea>
</xsl:template>
<xsl:template match="Redundancy">
<Data width="40%">
<xsl:attribute name="display"><xsl:value-of select="$strRedundancyStatus"/></xsl:attribute>
<xsl:call-template name="RedStat">
<xsl:with-param name="status"><xsl:value-of select="RedunStatus"/></xsl:with-param>
</xsl:call-template>
</Data>
</xsl:template>
<xsl:template name="RedStat">
<xsl:param name="status"/>
<xsl:choose>
<xsl:when test="$status = 1">
<xsl:attribute name="value"><xsl:value-of select="$strUnknown"/></xsl:attribute>
</xsl:when>
<xsl:when test="$status = 2">
<xsl:attribute name="value"><xsl:value-of select="$strNA"/></xsl:attribute>
</xsl:when>
<xsl:when test="$status = 3">
<xsl:attribute name="value"><xsl:value-of select="$strOffline"/></xsl:attribute>
</xsl:when>
<xsl:when test="$status = 4">
<xsl:attribute name="value"><xsl:value-of select="$strFull"/></xsl:attribute>
</xsl:when>
<xsl:when test="$status = 5">
<xsl:attribute name="value"><xsl:value-of select="$strDegraded"/></xsl:attribute>
</xsl:when>
<xsl:when test="$status = 6">
<xsl:attribute name="value"><xsl:value-of select="$strLost"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="value"><xsl:value-of select="$strOther"/></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="MemoryConfig">
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strFailOverState"/></xsl:attribute>
<xsl:call-template name="FOS">
<xsl:with-param name="state"><xsl:value-of select="FailOverState"/></xsl:with-param>
</xsl:call-template>
</Data>
<xsl:choose>
<xsl:when test="/OMA/@cli='true'">
<Data>
<xsl:choose>
<xsl:when test="Capabilities/MOMOptimizer ='true' or Capabilities/MOMSpareBank ='true' or Capabilities/MOMMirroring ='true' or Capabilities/MOMAdvECC ='true'">
<xsl:attribute name="display"><xsl:value-of select="$strMemOpModeConfig"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="display"><xsl:value-of select="$strRedundancyConfiguration"/></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:attribute name="value">
<xsl:if test="State='0'"><xsl:value-of select="$strDisabled"/></xsl:if>
<xsl:if test="State='1'"><xsl:value-of select="$strSpareBank"/></xsl:if>
<xsl:if test="State='2'"><xsl:value-of select="$strMirroring"/></xsl:if>
<xsl:if test="State='3'"><xsl:value-of select="$strRaid5"/></xsl:if>
<xsl:if test="State='4'"><xsl:value-of select="$strOptimizor"/></xsl:if>
<xsl:if test="State='5'"><xsl:value-of select="$strSpareBank"/></xsl:if>
<xsl:if test="State='6'"><xsl:value-of select="$strMirroring"/></xsl:if>
<xsl:if test="State='7'"><xsl:value-of select="$strAdvECC"/></xsl:if>
<xsl:if test="State='8'"><xsl:value-of select="$strDDDC"/></xsl:if>
</xsl:attribute>
</Data>
</xsl:when>
<xsl:otherwise>
<Data>
<xsl:choose>
<xsl:when test="Capabilities/MOMOptimizer ='true' or Capabilities/MOMSpareBank ='true' or Capabilities/MOMMirroring ='true' or Capabilities/MOMAdvECC ='true'">
<xsl:attribute name="display"><xsl:value-of select="$strMemOpModeConfig"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="display"><xsl:value-of select="$strRedundancyConfiguration"/></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:attribute name="value">
<xsl:if test="State='0'"><xsl:value-of select="$strDisabled"/></xsl:if>
<xsl:if test="State='1'"><xsl:value-of select="$strSpareBank"/></xsl:if>
<xsl:if test="State='2'"><xsl:value-of select="$strMirroring"/></xsl:if>
<xsl:if test="State='3'"><xsl:value-of select="$strRaid5"/></xsl:if>
<xsl:if test="State='4'"><xsl:value-of select="$strOptimizor"/></xsl:if>
<xsl:if test="State='5'"><xsl:value-of select="$strSpareBank"/></xsl:if>
<xsl:if test="State='6'"><xsl:value-of select="$strMirroring"/></xsl:if>
<xsl:if test="State='7'"><xsl:value-of select="$strAdvECC"/></xsl:if>
<xsl:if test="State='8'"><xsl:value-of select="$strDDDC"/></xsl:if>
</xsl:attribute>
</Data>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="FOS">
<xsl:param name="state"/>
<xsl:choose>
<xsl:when test="$state = 0">
<xsl:attribute name="value"><xsl:value-of select="$strInactive"/></xsl:attribute>
</xsl:when>
<xsl:when test="$state = 1">
<xsl:attribute name="value"><xsl:value-of select="$strActive"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="value"><xsl:value-of select="$strNA1"/></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="MemoryArray">
<xsl:for-each select="MemoryArrayList/MemoryArray">
<xsl:variable name="MemDevType" select="MemPortConnList/PortGeneric/MemoryDevice/MemDevType"/>
<xsl:choose>
<xsl:when test="$MemDevType = '33' or $MemDevType = '32'"></xsl:when>
<!--Do not populate data in case of HBM whose MemDevType is 32 or 33 !-->
<xsl:otherwise>
<ListData name="genprop" type="custom">
<xsl:attribute name="display"><xsl:value-of select="$strAttributesOfMemory"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:call-template name="count"><xsl:with-param name="index"><xsl:value-of select="@index"/><xsl:text disable-output-escaping="yes"> </xsl:text></xsl:with-param></xsl:call-template></xsl:attribute>
<Header>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strAttributesOfMemory"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:call-template name="count">
<xsl:with-param name="index"><xsl:value-of select="@index"/></xsl:with-param>
</xsl:call-template></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strAttributesOfMemory"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:call-template name="count">
<xsl:with-param name="index"><xsl:value-of select="@index"/></xsl:with-param>
</xsl:call-template></xsl:attribute>
</Data>
</Header>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strLocation"/></xsl:attribute>
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="Location='1'"><xsl:value-of select="$strOther1"/></xsl:when>
<xsl:when test="Location='3'"><xsl:value-of select="$strSystemBoardOr"/></xsl:when>
<xsl:when test="Location='4'"><xsl:value-of select="$strISAAddonCard"/></xsl:when>
<xsl:when test="Location='5'"><xsl:value-of select="$strEISAAddonCard"/></xsl:when>
<xsl:when test="Location='6'"><xsl:value-of select="$strPCIAddonCard"/></xsl:when>
<xsl:when test="Location='7'"><xsl:value-of select="$strMCAAddonCard"/></xsl:when>
<xsl:when test="Location='8'"><xsl:value-of select="$strPCMCIAAddonCard"/></xsl:when>
<xsl:when test="Location='9'"><xsl:value-of select="$strProprietaryAddonCard"/></xsl:when>
<xsl:when test="Location='16'"><xsl:value-of select="$strNuBus"/></xsl:when>
<xsl:when test="Location='160'"><xsl:value-of select="$strPC98C20AddonCard"/></xsl:when>
<xsl:when test="Location='161'"><xsl:value-of select="$strPC98C24AddonCard"/></xsl:when>
<xsl:when test="Location='162'"><xsl:value-of select="$strPC98EAddonCard"/></xsl:when>
<xsl:when test="Location='163'"><xsl:value-of select="$strPC98LocalBusAddon"/></xsl:when>
<xsl:when test="Location='164'"><xsl:value-of select="$strPC98CardSlotAddon"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$strNoValue"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strUse"/></xsl:attribute>
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="Use='1'"><xsl:value-of select="$strOther2"/></xsl:when>
<xsl:when test="Use='3'"><xsl:value-of select="$strSystemMemory"/></xsl:when>
<xsl:when test="Use='4'"><xsl:value-of select="$strVideoMemory"/></xsl:when>
<xsl:when test="Use='5'"><xsl:value-of select="$strFlashMemory"/></xsl:when>
<xsl:when test="Use='6'"><xsl:value-of select="$strNonVolatileRAM"/></xsl:when>
<xsl:when test="Use='7'"><xsl:value-of select="$strCacheMemory"/></xsl:when>
</xsl:choose>
</xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strInstalledCapacity"/></xsl:attribute>
<xsl:attribute name="value">
<xsl:value-of select="InstalledSizeMBCumulative"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:choose>
<xsl:when test="InstalledSizeMBCumulative/@unit='MB'"><xsl:value-of select="$strMB"/></xsl:when>
<xsl:otherwise><xsl:value-of select="InstalledSizeMBCumulative/@unit"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strMaximumCapacity"/></xsl:attribute>
<xsl:choose>
<xsl:when test="extMaxSize!='0'">
<xsl:attribute name="value"><xsl:value-of select="extMaxSize"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:value-of select="$strMB3"/>
</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="value"><xsl:value-of select="MaxSizeMB"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:choose>
<xsl:when test="MaxSizeMB/@unit='MB'"><xsl:value-of select="$strMB3"/></xsl:when>
<xsl:otherwise><xsl:value-of select="MaxSizeMB/@unit"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strSlotsAvailable"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="NumSocketsTotal"/></xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strSlotsUsed"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="NumSocketsInUse"/></xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strErrorCorrection"/></xsl:attribute>
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="ErrCorrType='1'"><xsl:value-of select="$strOther3"/></xsl:when>
<xsl:when test="ErrCorrType='3'"><xsl:value-of select="$strNone"/></xsl:when>
<xsl:when test="ErrCorrType='4'"><xsl:value-of select="$strParity"/></xsl:when>
<xsl:when test="ErrCorrType='5'"><xsl:value-of select="$strSingleBitECC"/></xsl:when>
<xsl:when test="ErrCorrType='6'"><xsl:value-of select="$strMultibitECC"/></xsl:when>
<xsl:when test="ErrCorrType='7'"><xsl:value-of select="$strCRC"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$strNoValue2"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
</ListData>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<ListData name="totprop" type="custom">
<xsl:attribute name="display"><xsl:value-of select="$strTotalOfMemory"/></xsl:attribute>
<Header>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strTotalOfMemory"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strTotalOfMemory1"/></xsl:attribute>
</Data>
</Header>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strTotalInstalledCapacity"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="/OMA/MaxInstalledSizeMBCumulative"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:choose>
<xsl:when test="/OMA/MaxInstalledSizeMBCumulative/@unit='MB'"><xsl:value-of select="$strMB5"/></xsl:when>
<xsl:otherwise><xsl:value-of select="/OMA/MaxInstalledSizeMBCumulative/@unit"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strTotalInstalledCapacity2"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="/OMA/MemoryInfo/TotalPhysMemorySizeMB"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:choose>
<xsl:when test="/OMA/MemoryInfo/TotalPhysMemorySizeMB/@unit='MB'"><xsl:value-of select="$strMB7"/></xsl:when>
<xsl:otherwise><xsl:value-of select="/OMA/MemoryInfo/TotalPhysMemorySizeMB/@unit"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strTotalMaximumCapacity"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="/OMA/MaxSizeMBCumulative"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:choose>
<xsl:when test="/OMA/MaxSizeMBCumulative/@unit='MB'"><xsl:value-of select="$strMB9"/></xsl:when>
<xsl:otherwise><xsl:value-of select="/OMA/MaxSizeMBCumulative/@unit"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
</ListData>
<xsl:for-each select="MemoryArrayList/MemoryArray">
<xsl:variable name="MemDevType" select="MemPortConnList/PortGeneric/MemoryDevice/MemDevType"/>
<xsl:choose>
<xsl:when test="$MemDevType = '33' or $MemDevType = '32'"></xsl:when>
<!--Do not populate data in case of HBM whose MemDevType is 32 or 33 !-->
<xsl:otherwise>
<xsl:apply-templates select="MemPortConnList">
<xsl:with-param name="memindex"><xsl:value-of select="@index"/></xsl:with-param>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>
<xsl:template match="MemPortConnList">
<xsl:param name="memindex"/>
<TableData columnspacing="true">
<xsl:attribute name="name">memarr<xsl:call-template name="count"><xsl:with-param name="index"><xsl:value-of select="$memindex"/></xsl:with-param></xsl:call-template></xsl:attribute>
<xsl:attribute name="display"><xsl:value-of select="$strConnectorDetailsOfPart1"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:call-template name="count"><xsl:with-param name="index"><xsl:value-of select="$memindex"/></xsl:with-param></xsl:call-template>
<xsl:value-of select="$strConnectorDetailsOfPart3"/>
</xsl:attribute>
<PromptText><xsl:value-of select="$strClickTheConnectorPart1"/><xsl:text disable-output-escaping="yes"> </xsl:text>
<xsl:call-template name="count"><xsl:with-param name="index"><xsl:value-of select="$memindex"/></xsl:with-param></xsl:call-template>
<xsl:value-of select="$strClickTheConnectorPart3"/>
<xsl:value-of select="$strToViewIts"/>
</PromptText>
<SubHeader>
<xsl:attribute name="display"><xsl:value-of select="$strDetailsOfPart1"/>
<xsl:call-template name="count"><xsl:with-param name="index"><xsl:value-of select="$memindex"/></xsl:with-param></xsl:call-template>
<xsl:value-of select="$strDetailsOfPart3"/>
</xsl:attribute>
</SubHeader>
<Header>
<Data ignoreonweb="true">
<xsl:attribute name="display"><xsl:value-of select="$strIndex"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strIndex1"/></xsl:attribute>
</Data>
<Data align="center">
<xsl:attribute name="display"><xsl:value-of select="$strStatus"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strStatus1"/></xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strConnectorName"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strConnectorName1"/></xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strType"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strType1"/></xsl:attribute>
</Data>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strSize"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$strSize1"/></xsl:attribute>
</Data>
</Header>
<xsl:for-each select="PortGeneric">
<xsl:call-template name="portgeneric">
<xsl:with-param name="index"><xsl:value-of select="@index"/></xsl:with-param>
</xsl:call-template>
</xsl:for-each>
</TableData>
</xsl:template>
<xsl:template name="portgeneric">
<xsl:param name="index"/>
<Row>
<Data ignoreonweb="true">
<xsl:attribute name="display"><xsl:value-of select="$index"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="$index"/></xsl:attribute>
</Data>
<Data name="" type="status" align="center"><xsl:attribute name="display"><xsl:value-of select="$str1"/></xsl:attribute>
<xsl:attribute name="value"><xsl:call-template name="showstatus"><xsl:with-param name="status1"><xsl:value-of select="@status"/></xsl:with-param></xsl:call-template></xsl:attribute>
</Data>
<Data name="" type=""><xsl:attribute name="display"><xsl:value-of select="$str2"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="ExtName"/></xsl:attribute>
<xsl:call-template name="link"/>
</Data>
<Data name="" type=""><xsl:attribute name="display"><xsl:value-of select="$str3"/></xsl:attribute>
<xsl:attribute name="value"><xsl:call-template name="occupied"/></xsl:attribute>
</Data>
<Data name="" type=""><xsl:attribute name="display"><xsl:value-of select="$str4"/></xsl:attribute>
<xsl:attribute name="value"><xsl:call-template name="size"><xsl:with-param name="unit"><xsl:value-of select="MemoryDevice/SizeMB/@unit"/></xsl:with-param></xsl:call-template></xsl:attribute>
</Data>
</Row>
</xsl:template>
<xsl:template name="link">
<xsl:choose>
<xsl:when test="IsOccupied='true'">
<xsl:choose>
<xsl:when test="/OMA/MemDevObj/typeDetail/Other">
<xsl:variable name="conName" select="ExtName"/>
<xsl:choose>
<xsl:when test="contains($conName,'/')='true'">
<xsl:variable name="bankLocatorin" select='substring-before($conName,"/")'/>
<xsl:variable name="devicLocatorin" select='substring-after($conName,"/")'/>
<xsl:variable name="ONS" select="/OMA/MemDevObj[DeviceLocator=$devicLocatorin and BankLocator=$bankLocatorin]/@ons"/>
<xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.MemoryDeviceListWebPlugin&oid=<xsl:value-of select="@oid"/>&ons=<xsl:value-of select='substring-before($ONS, "/MemDevObj")'/>&help=MemoryDevice</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="ONS" select="/OMA/MemDevObj[DeviceLocator=$conName]/@ons"/>
<xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.MemoryDeviceListWebPlugin&oid=<xsl:value-of select="@oid"/>&ons=<xsl:value-of select='substring-before($ONS, "/MemDevObj")'/>&help=MemoryDevice</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="href">./DataArea?plugin=com.dell.hip.webplugins.MemoryDeviceListWebPlugin&oid=<xsl:value-of select="@oid"/>&help=MemoryDevice</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:attribute name="link">true</xsl:attribute>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="showstatus">
<xsl:param name="status1"/>
<xsl:choose>
<xsl:when test="IsOccupied='true'"><xsl:value-of select="$status1"/></xsl:when>
<xsl:otherwise>0</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="occupied">
<xsl:choose>
<xsl:when test="IsOccupied='true'">
<xsl:call-template name="Type"/>
</xsl:when>
<xsl:otherwise><xsl:value-of select="$strNotOccupied"/></xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="size">
<xsl:param name="unit"/>
<xsl:if test="IsOccupied='true'">
<xsl:choose>
<xsl:when test="MemoryDevice/extendedSize !=0">
<xsl:value-of select="MemoryDevice/extendedSize"/><xsl:text disable-output-escaping="yes"> </xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="MemoryDevice/SizeMB "/><xsl:text disable-output-escaping="yes"> </xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="$unit='MB'"><xsl:value-of select="$strMB10"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$unit"/></xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:template>
<xsl:template name="count">
<xsl:param name="index"/>
<xsl:choose>
<xsl:when test="/OMA/MemoryArrayList/@count='1'">1</xsl:when>
<xsl:otherwise>
<xsl:variable name="index1" select="$index"/>
<xsl:value-of select="number($index1)+1"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="Type">
<xsl:choose>
<xsl:when test="MemoryDevice/MemDevType= '1'"><xsl:value-of select="$strOTHER"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '2'"><xsl:value-of select="$strUNKNOWN"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '3'"><xsl:value-of select="$strDRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '4'"><xsl:value-of select="$strEDRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '5'"><xsl:value-of select="$strVRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '6'"><xsl:value-of select="$strSRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '7'"><xsl:value-of select="$strRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '8'"><xsl:value-of select="$strROM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '9'"><xsl:value-of select="$strFLASH"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '10'"><xsl:value-of select="$strEEPROM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '11'"><xsl:value-of select="$strFEPROM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '12'"><xsl:value-of select="$strEPROM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '13'"><xsl:value-of select="$strCDRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '14'"><xsl:value-of select="$str3DRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '15'"><xsl:value-of select="$strSDRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '16'"><xsl:value-of select="$strSGRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '17'"><xsl:value-of select="$strRDRAM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '18'"><xsl:value-of select="$strDDR"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '19'"><xsl:value-of select="$strDDR2"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '20'"><xsl:value-of select="$strDDR2FBDIMM"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '24'"><xsl:value-of select="$strDDR3"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '26'"><xsl:value-of select="$strDDR4"/><xsl:call-template name="TypeDetail"/></xsl:when>
<xsl:when test="MemoryDevice/MemDevType= '34'"><xsl:value-of select="$strDDR5"/><xsl:call-template name="TypeDetail"/></xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template name="TypeDetail">
<xsl:choose>
<xsl:when test="/OMA/MemDevObj/typeDetail/Other">
<xsl:call-template name="binaryTypeDetail"/>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="MemoryDevice/TypeDetail= '1'">-<xsl:value-of select="$strOTHER1"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '2'">-<xsl:value-of select="$strUNKNOWN1"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '3'">-<xsl:value-of select="$strFASTPAGED"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '4'">-<xsl:value-of select="$strSTATICCOL"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '5'">-<xsl:value-of select="$strPSEUDOSTATIC"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '6'">-<xsl:value-of select="$strRAMBUS"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '7'">-<xsl:value-of select="$strSYNCHRONOUS"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '8'">-<xsl:value-of select="$strCMOS"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '9'">-<xsl:value-of select="$strEDO"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '10'">-<xsl:value-of select="$strWINDRAM"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '11'">-<xsl:value-of select="$strCACHEDRAM"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '12'">-<xsl:value-of select="$strNONVOLATILE"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '13'">-<xsl:value-of select="$strRegistered"/></xsl:when>
<xsl:when test="MemoryDevice/TypeDetail= '14'">-<xsl:value-of select="$strUnRegistered"/></xsl:when>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="binaryTypeDetail">
<xsl:variable name="extName" select="ExtName"/>
<xsl:choose>
<xsl:when test="contains($extName,'/')='true'">
<xsl:variable name="bankLocatorintype" select='substring-before($extName,"/")'/>
<xsl:variable name="devicLocatorintype" select='substring-after($extName,"/")'/>
<xsl:text> -</xsl:text>
<xsl:if test="/OMA/MemDevOb[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/Other='true'"><xsl:text> </xsl:text>
<xsl:value-of select="$strOTHER1"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/Unknown='true'"><xsl:text> </xsl:text><xsl:value-of select="$strUNKNOWN1"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/FastPaged='true'"><xsl:text> </xsl:text><xsl:value-of select="$strFASTPAGED"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/StaticColumn='true'"><xsl:text> </xsl:text><xsl:value-of select="$strSTATICCOL"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/PseudoStatic='true'"><xsl:text> </xsl:text><xsl:value-of select="$strPSEUDOSTATIC" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/RAMBUS='true'"><xsl:text> </xsl:text><xsl:value-of select="$strRAMBUS" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/Synchronous='true'"><xsl:text> </xsl:text><xsl:value-of select= "$strSYNCHRONOUS"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/CMOS='true'"><xsl:text> </xsl:text><xsl:value-of select="$strCMOS" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/EDO='true'"><xsl:text> </xsl:text><xsl:value-of select="$strEDO" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/WindowDRAM='true'"><xsl:text> </xsl:text><xsl:value-of select="$strWINDRAM" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/CacheDRAM='true'"><xsl:text> </xsl:text><xsl:value-of select="$strCACHEDRAM" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/NonVolatile='true'"><xsl:text> </xsl:text><xsl:value-of select="$strNONVOLATILE" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/RegisteredBuffered='true'"><xsl:text> </xsl:text><xsl:value-of select="$strRegistered" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$devicLocatorintype and BankLocator=$bankLocatorintype]/typeDetail/UnbufferedUnregistered='true'"><xsl:text> </xsl:text><xsl:value-of select="$strUnRegistered" /></xsl:if>
</xsl:when>
<xsl:otherwise>
<xsl:text> -</xsl:text>
<xsl:if test="/OMA/MemDevOb[DeviceLocator=$extName]/typeDetail/Other='true'"><xsl:text> </xsl:text>
<xsl:value-of select="$strOTHER1"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/Unknown='true'"><xsl:text> </xsl:text><xsl:value-of select="$strUNKNOWN1"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/FastPaged='true'"><xsl:text> </xsl:text><xsl:value-of select="$strFASTPAGED"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/StaticColumn='true'"><xsl:text> </xsl:text><xsl:value-of select="$strSTATICCOL"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/PseudoStatic='true'"><xsl:text> </xsl:text><xsl:value-of select="$strPSEUDOSTATIC" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/RAMBUS='true'"><xsl:text> </xsl:text><xsl:value-of select="$strRAMBUS" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/Synchronous='true'"><xsl:text> </xsl:text><xsl:value-of select= "$strSYNCHRONOUS"/></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/CMOS='true'"><xsl:text> </xsl:text><xsl:value-of select="$strCMOS" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/EDO='true'"><xsl:text> </xsl:text><xsl:value-of select="$strEDO" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/WindowDRAM='true'"><xsl:text> </xsl:text><xsl:value-of select="$strWINDRAM" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/CacheDRAM='true'"><xsl:text> </xsl:text><xsl:value-of select="$strCACHEDRAM" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/NonVolatile='true'"><xsl:text> </xsl:text><xsl:value-of select="$strNONVOLATILE" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/RegisteredBuffered='true'"><xsl:text> </xsl:text><xsl:value-of select="$strRegistered" /></xsl:if>
<xsl:if test="/OMA/MemDevObj[DeviceLocator=$extName]/typeDetail/UnbufferedUnregistered='true'"><xsl:text> </xsl:text><xsl:value-of select="$strUnRegistered" /></xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="smstatus">
<xsl:param name="status"/>
<xsl:choose>
<xsl:when test="$status = '-1'"><xsl:value-of select="$strCommandUnsuccessful"/></xsl:when>
<xsl:when test="$status = '1'"><xsl:value-of select="$strCommandNotImplemented"/></xsl:when>
<xsl:when test="$status = '2'"><xsl:value-of select="$strBadCommand"/></xsl:when>
<xsl:when test="$status = '3'"><xsl:value-of select="$strCommandTimeout"/></xsl:when>
<xsl:when test="$status = '4'"><xsl:value-of select="$strCommandCancelled"/></xsl:when>
<xsl:when test="$status = '5'"><xsl:value-of select="$strCommandAborted"/></xsl:when>
<xsl:when test="$status = '6'"><xsl:value-of select="$strCommandPending"/></xsl:when>
<xsl:when test="$status = '7'"><xsl:value-of select="$strNoSuchDevice"/></xsl:when>
<xsl:when test="$status = '8'"><xsl:value-of select="$strDeviceBusy"/></xsl:when>
<xsl:when test="$status = '9'"><xsl:value-of select="$strBadDevice"/></xsl:when>
<xsl:when test="$status = '10'"><xsl:value-of select="$strSpuriousInterrupt"/></xsl:when>
<xsl:when test="$status = '11'"><xsl:value-of select="$strResourceLocked"/></xsl:when>
<xsl:when test="$status = '12'"><xsl:value-of select="$strInvalidIndex"/></xsl:when>
<xsl:when test="$status = '13'"><xsl:value-of select="$strSMBError"/></xsl:when>
<xsl:when test="$status = '14'"><xsl:value-of select="$strDataRequestedIs"/></xsl:when>
<xsl:when test="$status = '15'"><xsl:value-of select="$strDataRequestedIs1"/></xsl:when>
<xsl:when test="$status = '16'"><xsl:value-of select="$strDataRequestedIs2"/></xsl:when>
<xsl:when test="$status = '17'"><xsl:value-of select="$strDeviceNotYet"/></xsl:when>
<xsl:when test="$status = '18'"><xsl:value-of select="$strDeviceDoesNot"/></xsl:when>
<xsl:when test="$status = '19'"><xsl:value-of select="$strDeviceOutOf"/></xsl:when>
<xsl:when test="$status = '20'"><xsl:value-of select="$strDeviceAlreadyExists"/></xsl:when>
<xsl:when test="$status = '256'"><xsl:value-of select="$strMemoryObjectNot"/></xsl:when>
<xsl:when test="$status = '257'"><xsl:value-of select="$strMemoryObjectMalformed"/></xsl:when>
<xsl:when test="$status = '258'"><xsl:value-of select="$strMemoryObjectAlready"/></xsl:when>
<xsl:when test="$status = '260'"><xsl:value-of select="$strINIFileNot"/></xsl:when>
<xsl:when test="$status = '261'"><xsl:value-of select="$strINIMalformedCorrupt"/></xsl:when>
<xsl:when test="$status = '262'"><xsl:value-of select="$strINISectionDoes"/></xsl:when>
<xsl:when test="$status = '263'"><xsl:value-of select="$strINIKeyDoes"/></xsl:when>
<xsl:when test="$status = '264'"><xsl:value-of select="$strINIValueMalformed"/></xsl:when>
<xsl:when test="$status = '270'"><xsl:value-of select="$strInsufficientAccessRights"/></xsl:when>
<xsl:when test="$status = '271'"><xsl:value-of select="$strInvalidParameterName"/></xsl:when>
<xsl:when test="$status = '272'"><xsl:value-of select="$strOutOfMemory"/></xsl:when>
<xsl:when test="$status = '280'"><xsl:value-of select="$strXMLFileNot"/></xsl:when>
<xsl:when test="$status = '281'"><xsl:value-of select="$strXMLMalformedCorrupt"/></xsl:when>
<xsl:when test="$status = '282'"><xsl:value-of select="$strXMLNodeDoes"/></xsl:when>
<xsl:when test="$status = '283'"><xsl:value-of select="$strXMLValueMalformed"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$strSMStatus"/><xsl:value-of select="$status"/></xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="*"/>
</xsl:stylesheet>