Changeset 951 for DCWoRMS/branches/coolemall/src/test
- Timestamp:
- 03/13/13 11:15:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/test/DEBBTranslator/xml/PLMXMLTranslator.xsl
r950 r951 18 18 19 19 <!-- Information from which level the translator should start moving information to templates --> 20 <xsl:variable name="templateStartLevel" select="' '" />20 <xsl:variable name="templateStartLevel" select="'NodeGroup'" /> 21 21 22 22 <!-- Specification of the output document --> … … 212 212 <xsl:template match="plm:ProductRevisionView" mode="createTemplates"> 213 213 214 <!-- instanceRefs contain space separated ids of nested DEBBs --> 215 <xsl:variable name="tokenizedText" select="tokenize(@instanceRefs, ' ')" /> 216 214 217 <xsl:variable name="debbLevel" 215 218 select="plm:UserData/plm:UserValue[@title='DEBBLevel']/@value" /> … … 273 276 274 277 </xsl:otherwise> 275 </xsl:choose> 278 </xsl:choose> 279 280 <!-- Iterate children and ask them to translate themselves --> 281 <xsl:for-each select="1 to count($tokenizedText)"> 282 <xsl:variable name="index" select="." /> 283 <xsl:apply-templates 284 select="$rootDoc//plm:ProductInstance[@id=$tokenizedText[$index]]" mode="createHierarchy"/> 285 </xsl:for-each> 286 276 287 </xsl:element> 277 288 </xsl:if>
Note: See TracChangeset
for help on using the changeset viewer.