Mini Shell

Direktori : /opt/dell/srvadmin/var/lib/openmanage/xslroot/oma/template/common/
Upload File :
Current File : //opt/dell/srvadmin/var/lib/openmanage/xslroot/oma/template/common/Inventory.xsl

<?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" />
<xsl:strip-space elements="*"/>
<xsl:template match="/OMA">
<DataArea>

		<PageTitle>
			<xsl:attribute name="display"><xsl:value-of select="$strInventory"/></xsl:attribute>
		</PageTitle>
		<CustomButton>
			<Data>
				<xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute>
				<xsl:attribute name="href">./DataArea?plugin=com.dell.oma.webplugins.InventoryWebPlugin&amp;;help=Inventory</xsl:attribute>
			</Data>
		</CustomButton>
	<xsl:apply-templates select="SVMInventory "/>
	</DataArea>	
	</xsl:template>
		

	<xsl:template match="SVMInventory ">
		<TableData>
			<Header>
				<Data>
					<xsl:attribute name="display"><!--XLATESTART--><xsl:value-of select="$strSoftwareDesc"/><!--XLATESTOP--></xsl:attribute>
					<xsl:attribute name="value"><!--XLATESTART--><xsl:value-of select="$strSoftwareDesc"/><!--XLATESTOP--></xsl:attribute>
				</Data>
				<Data>
				<xsl:attribute name="display"><xsl:value-of select="$strSoftwareVer"/></xsl:attribute>
				<xsl:attribute name="value"><xsl:value-of select="$strSoftwareVer"/></xsl:attribute>
			</Data>
			<Data>
				<xsl:attribute name="display"><!--XLATESTART--><xsl:value-of select="$strSoftwareType"/></xsl:attribute>
				<xsl:attribute name="value"><!--XLATESTART--><xsl:value-of select="$strSoftwareType"/></xsl:attribute>
			</Data>
			</Header>
			<xsl:apply-templates select="Device/Application"/>	
		</TableData>
	</xsl:template>
	
	<xsl:template match="Device/Application">
	<Row>
		<Data>
						<xsl:attribute name="display"><xsl:value-of select="@display"/></xsl:attribute>
						<xsl:attribute name="value"><xsl:value-of select="@display"/></xsl:attribute>
		</Data>
		<Data>
						<xsl:attribute name="display"><xsl:value-of select="@version"/></xsl:attribute>
						<xsl:attribute name="value"><xsl:value-of select="@version"/></xsl:attribute>
		</Data>
				<Data>
						<xsl:attribute name="display"><xsl:value-of select="@componentType"/></xsl:attribute>
						<xsl:attribute name="value"><xsl:value-of select="@componentType"/></xsl:attribute>
		</Data>
	</Row>
	</xsl:template>
	<xsl:template match="*"/>
</xsl:stylesheet>			


Zerion Mini Shell 1.0