Ignore:
Timestamp:
02/19/13 13:38:40 (12 years ago)
Author:
gosiaw
Message:

timeEstimationPlugin and energyEstimationPlugin templates added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWoRMSDEBBUpdater.xsl

    r847 r876  
    3737                <xsl:copy> 
    3838                        <xsl:copy-of select="@*" /> 
     39                        <xsl:apply-templates select="$nestedDoc//timeEstimationPlugin" /> 
    3940                        <xsl:apply-templates select="resources" /> 
    4041                </xsl:copy> 
     
    5152                </xsl:copy> 
    5253        </xsl:template> 
     54         
     55        <xsl:template match="timeEstimationPlugin"> 
     56                <xsl:element name="timeEstimationPlugin"> 
     57                        <xsl:element name="name"> 
     58                                <xsl:value-of select="name" /> 
     59                        </xsl:element> 
     60                </xsl:element> 
     61        </xsl:template> 
     62         
    5363 
    5464        <xsl:template match="schedulingPlugin"> 
     
    7484                        <xsl:variable name="xpath">$rootDoc//computingResource[@class=<xsl:value-of select="$resourceClass"/> and @type=<xsl:value-of select="$resourceType"/>]</xsl:variable> 
    7585<!--                    <xsl:value-of select="$xpath"></xsl:value-of>--> 
     86 
     87                        <!-- TODO: Names are ignored now, for simplicity. Should be changed! --> 
    7688                        <xsl:choose> 
    7789                                <xsl:when test="$resourceClass != '' and $resourceType != ''"> 
     
    91103        </xsl:template> 
    92104 
     105        <xsl:template match="energyEstimationPlugin"> 
     106        </xsl:template> 
     107         
    93108        <xsl:template match="computingResource"> 
    94109                <xsl:copy copy-namespaces="no"> 
Note: See TracChangeset for help on using the changeset viewer.