- Timestamp:
- 11/20/12 13:17:57 (12 years ago)
- Location:
- DCWoRMS/trunk/src/test/DEBBTranslator/xml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/test/DEBBTranslator/xml/DEBBComponentTranslator.xsl
r626 r635 6 6 <xsl:output method="xml" version="1.0" encoding="UTF-8" 7 7 indent="yes" /> 8 9 <!-- Information for mapping of resource classes into DCWoRMS resourceUnits classes --> 10 <xsl:param name="resourceUnitClasses" select="resourceUnitClasses"/> 11 8 12 <xsl:template match="/"> 9 13 <xsl:element name="environment"> -
DCWoRMS/trunk/src/test/DEBBTranslator/xml/PLMXMLTranslator.xsl
r634 r635 7 7 <xsl:import href="DEBBComponentTranslator.xsl" /> 8 8 9 <!-- Information for mapping of DEBB classes into DCWoRMS computingResource classes --> 10 <xsl:param name="computingResourceClasses" select="computingResourceClasses"/> 11 12 <!-- Information for mapping of resource classes into DCWoRMS resourceUnits classes --> 13 <!-- (Needed to pass to DEBB Components xslt) --> 14 <xsl:param name="resourceUnitClasses" select="resourceUnitClasses"/> 15 9 16 <!-- Specification of the output document --> 10 17 <xsl:output method="xml" version="1.0" encoding="UTF-8" … … 19 26 20 27 21 <xsl:template match="/"> 28 <xsl:template match="/"> 22 29 <xsl:element name="environment"> 23 30 <xsl:attribute name="xsi:noNamespaceSchemaLocation">DCWormsResSchema.xsd</xsl:attribute> … … 126 133 <xsl:variable name="nestedDoc" 127 134 select="document($defaultDEBBComponentsFileName)" /> 128 <xsl:apply-templates select="$nestedDoc//*[ComponentId=$debbComponentId]" /> 135 <xsl:apply-templates select="$nestedDoc//*[ComponentId=$debbComponentId]" > 136 <xsl:with-param name="resourceUnitClasses"> 137 <xsl:value-of select="$resourceUnitClasses"/> 138 </xsl:with-param> 139 </xsl:apply-templates> 129 140 </xsl:otherwise> 130 141 </xsl:choose>
Note: See TracChangeset
for help on using the changeset viewer.