common/sysdefdowngrade/joinsysdef.xsl
author Simon Howkins <simonh@symbian.org>
Fri, 12 Feb 2010 11:54:33 +0000
changeset 895 5b76b79b6713
parent 852 41f42b520ea7
permissions -rw-r--r--
Add missing / Avoids potential problem of it not seeing an existing cache, depending on the CWD on the cache drive at the point the target is running (which could be anything really).
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>