symbianosbld/cedarutils/schedule12.xsl
changeset 0 6d65d5acee06
equal deleted inserted replaced
-1:000000000000 0:6d65d5acee06
       
     1 <?xml version="1.0"?>
       
     2 <xsl:stylesheet version = "1.0"
       
     3 	xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">
       
     4 <xsl:output method="html"/>
       
     5 
       
     6 <xsl:variable name="version" select="Schedule12/@OS_version"/>
       
     7 <xsl:variable name="reltype" select="Schedule12/@Release_type"/>
       
     8 <xsl:variable name="docversion" select="Schedule12/@DocVersion"/>
       
     9 <xsl:variable name="status" select="Schedule12/@Status"/>
       
    10 <xsl:template match = "Schedule12">
       
    11 	<html>
       
    12 	<head>
       
    13 	<title>
       
    14 		Schedule 12 for Symbian OS v<xsl:value-of select="$version"/>
       
    15 	</title>
       
    16 	<link href="schedule12.css" type="text/css" rel="stylesheet"/>
       
    17 	</head>
       
    18 	<body>
       
    19 	<I>DocVersion - <xsl:value-of select="$docversion"/></I>
       
    20 	<p/>
       
    21 	
       
    22 	<H1>
       
    23 	SCHEDULE 12: Symbian OS Component Categorisation
       
    24 	(i.e. for <xsl:value-of select="$reltype"/> Release <xsl:value-of select="$version"/>)
       
    25 	<xsl:if test="@Status!='ISSUED'">
       
    26 	   - Draft for discussion
       
    27 	</xsl:if>
       
    28 	</H1>
       
    29 	
       
    30 	The table below sometimes refers to alternative component names taken from 
       
    31 	the Symbian System Model. For your convenience, a diagram of the 
       
    32 	System Model is included in the release notes to this 
       
    33 	<xsl:value-of select="$reltype"/> Release. 
       
    34 	Please note that Schedule 12 forms part of your CKL/NRA/as applicable 
       
    35 	and the System Model diagram and nomenclature are provided 
       
    36 	for reference only. 
       
    37 	In cases of a difference in description between the two, 
       
    38 	Schedule 12 shall prevail.
       
    39 	
       
    40 	<H1>
       
    41 		Common Symbian Components
       
    42 	</H1>
       
    43 	The Common Symbian components for Symbian OS 
       
    44 	(i.e. Symbian OS v<xsl:value-of select="$version"/>) are:
       
    45 	
       
    46 	<table border="1" width="100%">
       
    47 	<tr>
       
    48 	<th align="left" width="30%">Components</th>
       
    49 	<th align="left">Description</th>
       
    50 	</tr>
       
    51 	<xsl:apply-templates select="CS"/>
       
    52 	</table>
       
    53 
       
    54 	<H1>
       
    55 		Common Replaceable Components
       
    56 	</H1>
       
    57 	The Common Replaceable components for Symbian OS 
       
    58 	(i.e. Symbian OS v<xsl:value-of select="$version"/>) are:
       
    59 
       
    60 	<table border="1" width="100%">
       
    61 	<tr>
       
    62 	<th align="left" width="30%">Components</th>
       
    63 	<th align="left">Description</th>
       
    64 	</tr>
       
    65 	<xsl:apply-templates select="CR"/>
       
    66 	</table>
       
    67 
       
    68 	<H1>
       
    69 		Optional Symbian Components
       
    70 	</H1>
       
    71 	The Optional Symbian components for Symbian OS 
       
    72 	(i.e. Symbian OS v<xsl:value-of select="$version"/>) are:
       
    73 	
       
    74 	<table border="1" width="100%">
       
    75 	<tr>
       
    76 	<th align="left" width="30%">Components</th>
       
    77 	<th align="left">Description</th>
       
    78 	</tr>
       
    79 	<xsl:apply-templates select="OS"/>
       
    80 	</table>
       
    81 
       
    82 	<H1>
       
    83 		Optional Replaceable Components
       
    84 	</H1>
       
    85 	The Optional Replaceable components for Symbian OS 
       
    86 	(i.e. Symbian OS v<xsl:value-of select="$version"/>) are:
       
    87 	
       
    88 	<table border="1" width="100%">
       
    89 	<tr>
       
    90 	<th align="left" width="30%">Components</th>
       
    91 	<th align="left">Description</th>
       
    92 	</tr>
       
    93 	<xsl:apply-templates select="OR"/>
       
    94 	</table>
       
    95 
       
    96 	<H1>
       
    97 		Reference/Test Components
       
    98 	</H1>
       
    99 	The Reference/Test components for Symbian OS 
       
   100 	(i.e. Symbian OS v<xsl:value-of select="$version"/>)
       
   101 	have been split into the following two sections:
       
   102 
       
   103 	<p/>
       
   104 	<p/>
       
   105 	<B>Reference</B> - Code which is not intended to be included in Licensee Software 
       
   106 	and Products.  
       
   107 	If Licensee does include Reference code in Licensee Software or Products then the 
       
   108 	terms and conditions of Clause 20.2 (Warranty) and Clause 21 (Product Liability) 
       
   109 	regarding Reference/Test shall apply.
       
   110 	
       
   111 	<p/>
       
   112 	<p/>
       
   113 	Reference Code for Symbian OS v<xsl:value-of select="$version"/> is as follows:	
       
   114 	<UL>
       
   115 	<xsl:apply-templates select="REF"/>
       
   116 	</UL>
       
   117 
       
   118 	<p/>
       
   119 	<p/>
       
   120 	<B>Test/Tools</B> - Code which cannot be included in Licensee Software and Products.  
       
   121 	In order to ensure that Licensee can easily identify Test/Tools code, this code has 
       
   122 	been given the Classification Type T.  
       
   123 
       
   124 	<p/>
       
   125 	<p/>
       
   126 	Test/Tools Code for Symbian OS v<xsl:value-of select="$version"/> is as follows:
       
   127 	<UL>
       
   128 	<xsl:apply-templates select="TEST"/>
       
   129 	</UL>
       
   130 	
       
   131 	<p>
       
   132 	The components listed above under Common Symbian, Common Replaceable, Optional Symbian 
       
   133 	and Optional Replaceable may also contain code marked Reference/Test which is intended 
       
   134 	for reference or test purposes only (as appropriate) and Licensee shall ensure that 
       
   135 	all code marked Reference/Test is handled as set out in this Paragraph 5
       
   136 	</p>
       
   137 	
       
   138 	<xsl:apply-templates select="footnote"/>
       
   139 
       
   140 	</body>
       
   141 	</html>
       
   142 </xsl:template>
       
   143 
       
   144 <!-- Display the name and the text as a row in a table -->
       
   145 <xsl:template match="CS|CR|OS|OR">
       
   146 	<tr>
       
   147 	<td valign="top">
       
   148 	<xsl:value-of select="@name"/>
       
   149 	<xsl:if test="count(system_model)=0">
       
   150 	   <i> (empty)</i>
       
   151 	</xsl:if>
       
   152 	</td>
       
   153 	<xsl:choose>
       
   154 		<xsl:when test="@draft='Y'">
       
   155 		  <td bgcolor="Red">
       
   156 		  <b>DRAFT DESCRIPTION: </b>
       
   157 		  <xsl:copy-of select="node()"/>
       
   158 		  </td>
       
   159 		</xsl:when>
       
   160 		<xsl:otherwise>
       
   161 		  <td>
       
   162 		  <xsl:copy-of select="node()"/>
       
   163 		  </td>
       
   164 		</xsl:otherwise>
       
   165 	</xsl:choose>
       
   166 	</tr>
       
   167 </xsl:template>
       
   168 
       
   169 <!-- Display just the name as a item in a list -->
       
   170 <xsl:template match="REF">
       
   171 	<LI>
       
   172 	<xsl:value-of select="@name"/> <xsl:value-of select="@more"/>
       
   173 	<xsl:if test="count(system_model)=0">
       
   174 	   <i> (empty)</i>
       
   175 	</xsl:if>
       
   176 	</LI>
       
   177 </xsl:template>
       
   178 <xsl:template match="TEST">
       
   179 	<LI>
       
   180 	<xsl:value-of select="@name"/> <xsl:value-of select="@more"/>
       
   181 	<xsl:if test="count(system_model)=0">
       
   182 	   <i> (empty)</i>
       
   183 	</xsl:if>
       
   184 	</LI>
       
   185 </xsl:template>
       
   186 
       
   187 <xsl:template match="footnote">
       
   188 	<HR/>
       
   189 	<xsl:copy-of select="node()"/>
       
   190 	<br/>
       
   191 </xsl:template>
       
   192 
       
   193 </xsl:stylesheet>
       
   194