Changeset 892 for DCWoRMS/trunk/src/test/DEBBTranslator/xml
- Timestamp:
- 02/27/13 13:40:40 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/test/DEBBTranslator/xml/DCWoRMSDEBBUpdater.xsl
r891 r892 168 168 <xsl:value-of select="@name"></xsl:value-of> 169 169 </xsl:element> 170 </xsl:template><!-- <xsl:template match="powerProfile" mode="addEstimationPlugin"> 171 <xsl:element name="energyEstimationPlugin"> <xsl:element name="name"> <xsl:value-of 172 select="name" /> </xsl:element> </xsl:element> </xsl:template> --> 170 </xsl:template> 171 173 172 <xsl:template match="resourceUnit | parameter | location"> 174 173 <xsl:copy-of select="." copy-namespaces="no" /> … … 221 220 </xsl:choose> 222 221 </xsl:otherwise> 223 </xsl:choose><!-- <xsl:choose> <xsl:when test="$resourceType != ''"> resource 224 class and type Add information about energy estimation plugin <xsl:apply-templates 225 select="$nestedDoc//energyEstimationPlugin[resources/class = $resourceClass 226 and resources/type = $resourceType]" /> </xsl:when> <xsl:otherwise> resource 227 class only Add information about energy estimation plugin <xsl:apply-templates 228 select="$nestedDoc//energyEstimationPlugin[resources/class = $resourceClass]" 229 /> </xsl:otherwise> </xsl:choose> --><!-- Copy all children of powerProfile --> 222 </xsl:choose> 223 <!-- Copy all children of powerProfile --> 230 224 <xsl:copy-of select="@*|node()" /> 231 225 </xsl:copy>
Note: See TracChangeset
for help on using the changeset viewer.