common/sysdefdowngrade/joinsysdef.xsl
author Maciej Seroka <maciejs@symbian.org>
Tue, 18 May 2010 15:35:21 +0100
changeset 1039 8e2498eaef25
parent 852 41f42b520ea7
permissions -rw-r--r--
Added template for manual smoketest results
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
852
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     1
<?xml version="1.0"?>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     2
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     3
 	<xsl:output method="xml" indent="yes"/>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     4
<!-- create a stand-alone sysdef from a linked set of fragments -->
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     5
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     6
<xsl:param name="path">/os/deviceplatformrelease/foundation_system/system_model/system_definition.xml</xsl:param>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     7
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     8
<xsl:template match="/*">
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
     9
	<xsl:apply-templates select="." mode="join"/>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    10
</xsl:template>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    11
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    12
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    13
<xsl:template match="/SystemDefinition[systemModel]">
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    14
<xsl:apply-templates select="." mode="join">
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    15
	<xsl:with-param name="filename" select="$path"/>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    16
</xsl:apply-templates>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    17
</xsl:template>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    18
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    19
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    20
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    21
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    22
<xsl:include href="joinsysdef-module.xsl"/>
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    23
41f42b520ea7 add xsl for merging / downgrading system model
andy simpson <andrews@symbian.org>
parents:
diff changeset
    24
</xsl:stylesheet>