buildframework/helium/sf/java/sysdef/demo/data/sf/os/buildtools/bldsystemtools/sysdeftools/joinsysdef.xsl
changeset 628 7c4a911dc066
parent 587 85df38eb4012
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     2  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     3 <!--Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 <!--Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4 	All rights reserved.
     4 	All rights reserved.
     5 	This component and the accompanying materials are made available
     5 	This component and the accompanying materials are made available
     6 	under the terms of "Eclipse Public License v1.0"
     6 	under the terms of the License "Eclipse Public License v1.0"
     7 	which accompanies this distribution, and is available
     7 	which accompanies this distribution, and is available
     8 	at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 	at the URL "http://www.eclipse.org/legal/epl-v10.html".
     9 
     9 
    10 	Initial Contributors:
    10 	Initial Contributors:
    11 	Nokia Corporation - initial contribution.
    11 	Nokia Corporation - initial contribution.
    12 	Contributors:
    12 	Contributors:
    13 	Description:
    13 	Description:
    14 	Create a stand-alone sysdef from a linked set of fragments
    14 	Create a stand-alone sysdef from a linked set of fragments
    15 -->
    15 -->
    16  	<xsl:output method="xml" indent="yes"/>
    16  	<xsl:output method="xml" indent="yes"/>
       
    17 <!--Description:This creates a stand-alone sysdef from a linked set of fragments.
       
    18 All API metadata will be removed
       
    19 -->
       
    20 <!--Input:<sysdef> - (required) The 3.0 formatsystem definition XML file to
       
    21 		process. This can be a fragment or stand-alone. 
       
    22 		If there are no linked fragments, this will just convert all
       
    23 		relative unit paths into absolute paths and embed any linked
       
    24 		metadata-->
    17 
    25 
    18 <xsl:param name="path">/os/deviceplatformrelease/foundation_system/system_model/system_definition.xml</xsl:param>
    26 <xsl:param name="path">/os/deviceplatformrelease/foundation_system/system_model/system_definition.xml</xsl:param>
       
    27 <!-- <path> - The full system model path for this file. Use forward slashes.-->
    19 
    28 
    20 <xsl:template match="/*">
    29 <xsl:template match="/*">
    21 	<xsl:apply-templates select="." mode="join"/>
    30 	<xsl:apply-templates select="." mode="join"/>
    22 </xsl:template>
    31 </xsl:template>
    23 
    32 
    27 	<xsl:with-param name="filename" select="$path"/>
    36 	<xsl:with-param name="filename" select="$path"/>
    28 </xsl:apply-templates>
    37 </xsl:apply-templates>
    29 </xsl:template>
    38 </xsl:template>
    30 
    39 
    31 
    40 
       
    41 <xsl:template match="meta[@rel='Api']" priority="2" mode="meta"/> <!-- ignore these, not needed in system build -->
    32 
    42 
    33 
    43 
    34 <xsl:include href="joinsysdef-module.xsl"/>
    44 <xsl:include href="lib/joinsysdef-module.xsl"/>
    35 
    45 
    36 </xsl:stylesheet>
    46 </xsl:stylesheet>