sysdeftools/mergesysdef.xsl
branchHighFidelityModel
changeset 336 fad9aea73cac
parent 201 280dc2a9385b
child 390 a47fc547d2e3
equal deleted inserted replaced
335:633f3bea9521 336:fad9aea73cac
     1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exslt="http://exslt.org/common">
     1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exslt="http://exslt.org/common" exclude-result-prefixes="exslt">
     2 <!--Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 <!--Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 	All rights reserved.
     3 	All rights reserved.
     4 	This component and the accompanying materials are made available
     4 	This component and the accompanying materials are made available
     5 	under the terms of the License "Eclipse Public License v1.0"
     5 	under the terms of the License "Eclipse Public License v1.0"
     6 	which accompanies this distribution, and is available
     6 	which accompanies this distribution, and is available
    98 <xsl:template match="/*">
    98 <xsl:template match="/*">
    99 	<xsl:variable name="upmodel">
    99 	<xsl:variable name="upmodel">
   100 		<sysdef name="{$upname}"/>
   100 		<sysdef name="{$upname}"/>
   101 	</xsl:variable>
   101 	</xsl:variable>
   102 	<xsl:variable name="downmodel">
   102 	<xsl:variable name="downmodel">
   103 		<sysdef name="{$downname}"/>
   103 		<sysdef name="{$downname}" pathto="{$Downstream}"/>
   104 	</xsl:variable>
   104 	</xsl:variable>
   105 	
   105 	
   106 	<xsl:choose>
   106 	<xsl:choose>
   107 		<xsl:when test="function-available('exslt:node-set')">
   107 		<xsl:when test="function-available('exslt:node-set')">
   108 			<xsl:apply-templates mode="merge-models" select=".">
   108 			<xsl:apply-templates mode="merge-models" select=".">