95. Araxis Merge File Comparison Report

Produced by Araxis Merge on Fri Nov 21 17:21:57 2008 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

95.1 Files compared

# Location File Last Modified
1 C:\Documents and Settings\allums\Desktop\2008.1.20396.b\Formats\XML+XSL\Files\xsl document.xsl Mon Feb 11 20:40:00 2008 UTC
2 C:\Documents and Settings\allums\Desktop\2008.2.20597.p2\Formats\XML+XSL\Files\xsl document.xsl Wed Aug 20 22:50:36 2008 UTC

95.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 10 1768
Changed 7 28
Inserted 1 1
Removed 1 3

95.3 Comparison options

Whitespace Differences in whitespace are significant
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

95.4 Active regular expressions

Expression Description
\$(Author|Date|Header|Id|Locker|Name|RCSfile|Revision|Source|State):[^$]*\$ CVS comments

95.5 Comparison detail

1   <?xml vers ion="1.0"? >   1   <?xml vers ion="1.0"? >
2   <xsl:style sheet xmln s:xsl="htt p://www.w3 .org/1999/ XSL/Transf orm"   2   <xsl:style sheet xmln s:xsl="htt p://www.w3 .org/1999/ XSL/Transf orm"
3                    xmln s:wp="urn: WebWorks-X MLXSL-Cont ainer-Sche ma"   3                    xmln s:wp="urn: WebWorks-X MLXSL-Cont ainer-Sche ma"
4                    xmln s:html="ht tp://www.w 3.org/1999 /xhtml"   4                    xmln s:html="ht tp://www.w 3.org/1999 /xhtml"
5                    xmln s:wwtext=" urn:WebWor ks-Text-Ou tput-Schem a"   5                    xmln s:wwtext=" urn:WebWor ks-Text-Ou tput-Schem a"
6                    vers ion="1.0">   6                    vers ion="1.0">
7    <!-- Note s -->   7    <!-- Note s -->
8    <!--   8    <!--
9         Name space Decl arations a nd Prefixe s   9         Name space Decl arations a nd Prefixe s
10     10  
11         The  default na mespace is  not set t o xhtml an d the pref ix should   11         The  default na mespace is  not set t o xhtml an d the pref ix should
12         not  be used wh en adding  new elemen ts. This i s the most  compatibl e   12         not  be used wh en adding  new elemen ts. This i s the most  compatibl e
13         acro ss browser s.   13         acro ss browser s.
14    -->   14    -->
15     15  
16   <!-- Page  Rules -->   16   <!-- Page  Rules -->
17     <xsl:out put method ="html" ve rsion="4.0 " indent=" yes" encod ing="utf-8 " />   17     <xsl:out put method ="html" ve rsion="4.0 " indent=" yes" encod ing="utf-8 " />
18     <xsl:str ip-space e lements="* " />   18     <xsl:str ip-space e lements="* " />
19     19  
20     <xsl:tem plate matc h="/">   20     <xsl:tem plate matc h="/">
21     21  
22       <html>   22       <html>
23         <hea d>   23         <hea d>
24           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'pag e-title']"  />   24           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'pag e-title']"  />
25     25  
26           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'cat alog-css'] " />   26           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'cat alog-css'] " />
27           <l ink rel="S tyleSheet"  href="css /webworks. css" type= "text/css"  media="al l" />   27           <l ink rel="S tyleSheet"  href="css /webworks. css" type= "text/css"  media="al l" />
28     28  
29           <! -- Load sc ripts -->   29           <! -- Load sc ripts -->
30           <! --               -->   30           <! --               -->
31           <x sl:variabl e name="Va rRelativeS criptDir"  select="// wp:wp[@wp: type = 'sc ript-dir'] /@wp:href"  />   31           <x sl:variabl e name="Va rRelativeS criptDir"  select="// wp:wp[@wp: type = 'sc ript-dir'] /@wp:href"  />
32           <x sl:variabl e name="Va rRelativeR oot" selec t="//wp:wp [@wp:type  = 'relativ e-root']/@ wp:href" / >   32           <x sl:variabl e name="Va rRelativeR oot" selec t="//wp:wp [@wp:type  = 'relativ e-root']/@ wp:href" / >
33     33  
34           <s cript type ="text/jav ascript" l anguage="J avaScript1 .2" src="{ concat($Va rRelativeS criptDir,  '/expand.j s')}"> </s cript>   34           <s cript type ="text/jav ascript" l anguage="J avaScript1 .2" src="{ concat($Va rRelativeS criptDir,  '/expand.j s')}"> </s cript>
35     35  
36           <s cript type ="text/jav ascript" l anguage="J avaScript1 .2" src="{ concat($Va rRelativeS criptDir,  '/seealso. js')}"> </ script>   36           <s cript type ="text/jav ascript" l anguage="J avaScript1 .2" src="{ concat($Va rRelativeS criptDir,  '/seealso. js')}"> </ script>
37     37  
38           <s cript type ="text/jav ascript" l anguage="J avaScript1 .2">   38           <s cript type ="text/jav ascript" l anguage="J avaScript1 .2">
39              var WebWor ksRootPath  = "<xsl:v alue-of se lect="$Var RelativeRo ot" />";   39              var WebWor ksRootPath  = "<xsl:v alue-of se lect="$Var RelativeRo ot" />";
40           </ script>   40           </ script>
41         </he ad>   41         </he ad>
42     42  
43         <bod y>   43         <bod y>
44           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'ski p-navigati on-link']"  />   44           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'ski p-navigati on-link']"  />
45           <x sl:if test ="string-l ength(//wp :wp[@wp:ty pe = 'body -style']/@ wp:value)  &gt; 0">   45           <x sl:if test ="string-l ength(//wp :wp[@wp:ty pe = 'body -style']/@ wp:value)  &gt; 0">
46              <xsl:attri bute name= "style">   46              <xsl:attri bute name= "style">
47                <xsl:val ue-of sele ct="//wp:w p[@wp:type  = 'body-s tyle'][1]/ @wp:value"  />   47                <xsl:val ue-of sele ct="//wp:w p[@wp:type  = 'body-s tyle'][1]/ @wp:value"  />
48              </xsl:attr ibute>   48              </xsl:attr ibute>
49           </ xsl:if>   49           </ xsl:if>
50     50  
51           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'na vbar') and  (@wp:top  = 'true')] ">   51           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'na vbar') and  (@wp:top  = 'true')] ">
52              <xsl:with- param name ="ParamCon text" sele ct="'top'"  />   52              <xsl:with- param name ="ParamCon text" sele ct="'top'"  />
53           </ xsl:apply- templates>   53           </ xsl:apply- templates>
54     54  
55           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'co mpany-info ') and (@w p:top = 't rue')]">   55           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'co mpany-info ') and (@w p:top = 't rue')]">
56              <xsl:with- param name ="ParamCon text" sele ct="'top'"  />   56              <xsl:with- param name ="ParamCon text" sele ct="'top'"  />
57           </ xsl:apply- templates>   57           </ xsl:apply- templates>
58     58  
59           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'log o']" />   59           <x sl:apply-t emplates s elect="//w p:wp[@wp:t ype = 'log o']" />
60           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'br eadcrumbs' ) and (@wp :top = 'tr ue')]">   60           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'br eadcrumbs' ) and (@wp :top = 'tr ue')]">
61              <xsl:with- param name ="ParamPos ition" sel ect="'top' " />   61              <xsl:with- param name ="ParamPos ition" sel ect="'top' " />
62           </ xsl:apply- templates>   62           </ xsl:apply- templates>
63     63  
64           <x sl:if test ="/wp:Docu ment/wp:wp /wp:wp[@wp :type = 'n avbar']/@w p:top = 't rue'">   64           <x sl:if test ="/wp:Docu ment/wp:wp /wp:wp[@wp :type = 'n avbar']/@w p:top = 't rue'">
65            < hr align=" left" />   65            < hr align=" left" />
66           </ xsl:if>   66           </ xsl:if>
67     67  
68           <x sl:apply-t emplates s elect="/wp :Document/ wp:InlineT itle" />   68           <x sl:apply-t emplates s elect="/wp :Document/ wp:InlineT itle" />
69     69  
70           <x sl:apply-t emplates s elect="/wp :Document/ wp:Letters " />   70           <x sl:apply-t emplates s elect="/wp :Document/ wp:Letters " />
71     71  
72           <b lockquote>   72           <b lockquote>
73              <xsl:apply -templates  select="/ wp:Documen t/wp:Conte nt" />   73              <xsl:apply -templates  select="/ wp:Documen t/wp:Conte nt" />
74           </ blockquote >   74           </ blockquote >
75     75  
76           <x sl:if test ="/wp:Docu ment/wp:wp /wp:wp[@wp :type = 'n avbar']/@w p:bottom =  'true'">   76           <x sl:if test ="/wp:Docu ment/wp:wp /wp:wp[@wp :type = 'n avbar']/@w p:bottom =  'true'">
77            < hr align=" left" />   77            < hr align=" left" />
78           </ xsl:if>   78           </ xsl:if>
79     79  
80           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'br eadcrumbs' ) and (@wp :bottom =  'true')]">   80           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'br eadcrumbs' ) and (@wp :bottom =  'true')]">
81              <xsl:with- param name ="ParamPos ition" sel ect="'bott om'" />   81              <xsl:with- param name ="ParamPos ition" sel ect="'bott om'" />
82           </ xsl:apply- templates>   82           </ xsl:apply- templates>
83     83  
84            < xsl:apply- templates  select="// wp:wp[(@wp :type = 'c ompany-inf o') and (@ wp:bottom  = 'true')] ">   84            < xsl:apply- templates  select="// wp:wp[(@wp :type = 'c ompany-inf o') and (@ wp:bottom  = 'true')] ">
85               <xsl:with -param nam e="ParamCo ntext" sel ect="'bott om'" />   85               <xsl:with -param nam e="ParamCo ntext" sel ect="'bott om'" />
86            < /xsl:apply -templates >   86            < /xsl:apply -templates >
87     87  
88           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'na vbar') and  (@wp:bott om = 'true ')]">   88           <x sl:apply-t emplates s elect="//w p:wp[(@wp: type = 'na vbar') and  (@wp:bott om = 'true ')]">
89              <xsl:with- param name ="ParamCon text" sele ct="'botto m'" />   89              <xsl:with- param name ="ParamCon text" sele ct="'botto m'" />
90           </ xsl:apply- templates>   90           </ xsl:apply- templates>
91         </bo dy>   91         </bo dy>
92       </html >   92       </html >
93     </xsl:te mplate>   93     </xsl:te mplate>
94     94  
95   <!-- XML t o HTML Rul es -->   95   <!-- XML t o HTML Rul es -->
96     <!-- Def ault Eleme nt Rule -- >   96     <!-- Def ault Eleme nt Rule -- >
97     <xsl:tem plate matc h="*">   97     <xsl:tem plate matc h="*">
98       <xsl:a pply-templ ates />   98       <xsl:a pply-templ ates />
99     </xsl:te mplate>   99     </xsl:te mplate>
100     100  
101     <!-- Rub i Rules -- >   101     <!-- Rub i Rules -- >
102     <xsl:tem plate matc h="RubiGro up">   102     <xsl:tem plate matc h="RubiGro up">
103       <ruby>   103       <ruby>
104         <xsl :apply-tem plates />   104         <xsl :apply-tem plates />
105       </ruby >   105       </ruby >
106     </xsl:te mplate>   106     </xsl:te mplate>
107     107  
108     <xsl:tem plate matc h="Rubi">   108     <xsl:tem plate matc h="Rubi">
109       <rt>   109       <rt>
110         <xsl :apply-tem plates />   110         <xsl :apply-tem plates />
111       </rt>   111       </rt>
112     </xsl:te mplate>   112     </xsl:te mplate>
113     113  
114     <!-- Foo tnote Elem ent Rule - ->   114     <!-- Foo tnote Elem ent Rule - ->
115     <xsl:tem plate matc h="*[@wp:t ype='footn ote_embedd ed']">   115     <xsl:tem plate matc h="*[@wp:t ype='footn ote_embedd ed']">
116     </xsl:te mplate>   116     </xsl:te mplate>
117     117  
118     <!-- Ele ment Rule  -->   118     <!-- Ele ment Rule  -->
119     <xsl:tem plate matc h="*[@wp:t ype='conta iner']">   119     <xsl:tem plate matc h="*[@wp:t ype='conta iner']">
120       <span>   120       <span>
121         <xsl :if test=" @wp:class" >   121         <xsl :if test=" @wp:class" >
122           <x sl:attribu te name="c lass">   122           <x sl:attribu te name="c lass">
123              <xsl:value -of select ="@wp:clas s" />   123              <xsl:value -of select ="@wp:clas s" />
124           </ xsl:attrib ute>   124           </ xsl:attrib ute>
125         </xs l:if>   125         </xs l:if>
126     126  
127         <xsl :if test=" @wp:style" >   127         <xsl :if test=" @wp:style" >
128           <x sl:attribu te name="s tyle">   128           <x sl:attribu te name="s tyle">
129              <xsl:value -of select ="@wp:styl e" />   129              <xsl:value -of select ="@wp:styl e" />
130           </ xsl:attrib ute>   130           </ xsl:attrib ute>
131         </xs l:if>   131         </xs l:if>
132         <xsl :apply-tem plates />   132         <xsl :apply-tem plates />
133       </span >   133       </span >
134     </xsl:te mplate>   134     </xsl:te mplate>
135     135  
136     <xsl:tem plate matc h="*[@wp:t ype='prefo rmatted']" >   136     <xsl:tem plate matc h="*[@wp:t ype='prefo rmatted']" >
137       <pre>< xsl:if tes t="@wp:cla ss">   137       <pre>< xsl:if tes t="@wp:cla ss">
138           <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>   138           <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>
139         </xs l:if>   139         </xs l:if>
140     140  
141         <xsl :choose>   141         <xsl :choose>
142           <x sl:when te st="@wp:bu llet">   142           <x sl:when te st="@wp:bu llet">
143              <div style ="margin-l eft: 1.5em ">   143              <div style ="margin-l eft: 1.5em ">
144                <li /> < xsl:apply- templates  />   144                <li /> < xsl:apply- templates  />
145              </div>   145              </div>
146           </ xsl:when>   146           </ xsl:when>
147     147  
148           <x sl:when te st="@wp:au tonum">   148           <x sl:when te st="@wp:au tonum">
149              <table sum mary="">   149              <table sum mary="">
150                <tr styl e="vertica l-align: b aseline;">   150                <tr styl e="vertica l-align: b aseline;">
151                  <td no wrap="1" s tyle="padd ing-right:  0.2em">   151                  <td no wrap="1" s tyle="padd ing-right:  0.2em">
152                    <spa n>   152                    <spa n>
153                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>   153                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>
154                      <x sl:if test ="@wp:styl e">   154                      <x sl:if test ="@wp:styl e">
155                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>   155                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>
156                      </ xsl:if>   156                      </ xsl:if>
157                      <x sl:value-o f select=" @wp:autonu m"/>   157                      <x sl:value-o f select=" @wp:autonu m"/>
158                    </sp an>   158                    </sp an>
159                  </td>   159                  </td>
160                  <td>   160                  <td>
161                    <spa n>   161                    <spa n>
162                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>   162                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>
163                      <x sl:if test ="@wp:styl e">   163                      <x sl:if test ="@wp:styl e">
164                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>   164                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>
165                      </ xsl:if>   165                      </ xsl:if>
166                      <x sl:apply-t emplates / >   166                      <x sl:apply-t emplates / >
167                    </sp an>   167                    </sp an>
168                  </td>   168                  </td>
169                </tr>   169                </tr>
170              </table>   170              </table>
171           </ xsl:when>   171           </ xsl:when>
172     172  
173           <x sl:otherwi se>   173           <x sl:otherwi se>
174              <xsl:if te st="@wp:st yle">   174              <xsl:if te st="@wp:st yle">
175                <xsl:att ribute nam e="style"> <xsl:value -of select ="@wp:styl e"/></xsl: attribute>   175                <xsl:att ribute nam e="style"> <xsl:value -of select ="@wp:styl e"/></xsl: attribute>
176              </xsl:if>   176              </xsl:if>
177              <xsl:apply -templates  />   177              <xsl:apply -templates  />
178           </ xsl:otherw ise>   178           </ xsl:otherw ise>
179     179  
180         </xs l:choose>   180         </xs l:choose>
181       </pre> <a><xsl:at tribute na me="name"> <xsl:value -of select ="@wp:id"/ ></xsl:att ribute></a >   181       </pre> <a><xsl:at tribute na me="name"> <xsl:value -of select ="@wp:id"/ ></xsl:att ribute></a >
182     </xsl:te mplate>   182     </xsl:te mplate>
183     183  
184     <xsl:tem plate matc h="*[@wp:t ype='para' ] | *[@wp: type='tabl e cell_headi ng'] | *[@ wp:type='t ablecell_b ody'] | *[ @wp:type=' tablecell_ footing']  | *[@wp:ty pe='table title'] |  *[@wp:type ='footnote ']">   184     <xsl:tem plate matc h="*[@wp:t ype='para' ] | *[@wp: type='tabl e
title'] |  *[@wp:type ='footnote ']">
185     185  
186       <div>   186       <div>
187         <xsl :if test=" @wp:id">   187         <xsl :if test=" @wp:id">
188           <x sl:attribu te name="i d">   188           <x sl:attribu te name="i d">
189              <xsl:value -of select ="@wp:id"  />   189              <xsl:value -of select ="@wp:id"  />
190           </ xsl:attrib ute>   190           </ xsl:attrib ute>
191         </xs l:if>   191         </xs l:if>
192     192  
193         <xsl :if test=" @wp:class" >   193         <xsl :if test=" @wp:class" >
194           <x sl:attribu te name="c lass">   194           <x sl:attribu te name="c lass">
195              <xsl:value -of select ="@wp:clas s" />   195              <xsl:value -of select ="@wp:clas s" />
196           </ xsl:attrib ute>   196           </ xsl:attrib ute>
197         </xs l:if>   197         </xs l:if>
198     198  
199         <xsl :if test=" @wp:align" >   199         <xsl :if test=" @wp:align" >
200           <x sl:attribu te name="a lign">   200           <x sl:attribu te name="a lign">
201              <xsl:value -of select ="@wp:alig n" />   201              <xsl:value -of select ="@wp:alig n" />
202           </ xsl:attrib ute>   202           </ xsl:attrib ute>
203         </xs l:if>   203         </xs l:if>
204     204  
205         <xsl :if test=" @wp:onclic k">   205         <xsl :if test=" @wp:onclic k">
206           <x sl:attribu te name="o nclick">   206           <x sl:attribu te name="o nclick">
207              <xsl:value -of select ="@wp:oncl ick"/>   207              <xsl:value -of select ="@wp:oncl ick"/>
208           </ xsl:attrib ute>   208           </ xsl:attrib ute>
209         </xs l:if>   209         </xs l:if>
210     210  
211         <xsl :choose>   211         <xsl :choose>
212           <x sl:when te st="@wp:bu llet">   212           <x sl:when te st="@wp:bu llet">
213              <div style ="margin-l eft: 1.5em ">   213              <div style ="margin-l eft: 1.5em ">
214                <li /> < xsl:apply- templates  />   214                <li /> < xsl:apply- templates  />
215              </div>   215              </div>
216           </ xsl:when>   216           </ xsl:when>
217     217  
218           <x sl:when te st="@wp:au tonum">   218           <x sl:when te st="@wp:au tonum">
219              <table sum mary="">   219              <table sum mary="">
220                <tr styl e="vertica l-align: b aseline;">   220                <tr styl e="vertica l-align: b aseline;">
221                  <td no wrap="1" s tyle="padd ing-right:  0.2em">   221                  <td no wrap="1" s tyle="padd ing-right:  0.2em">
222                    <spa n>   222                    <spa n>
223                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>   223                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>
224                      <x sl:if test ="@wp:styl e">   224                      <x sl:if test ="@wp:styl e">
225                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>   225                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>
226                      </ xsl:if>   226                      </ xsl:if>
227                      <x sl:value-o f select=" @wp:autonu m"/>   227                      <x sl:value-o f select=" @wp:autonu m"/>
228                    </sp an>   228                    </sp an>
229                  </td>   229                  </td>
230                  <td>   230                  <td>
231                    <spa n>   231                    <spa n>
232                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>   232                      <x sl:attribu te name="c lass"><xsl :value-of  select="@w p:class"/> </xsl:attr ibute>
233                      <x sl:if test ="@wp:styl e">   233                      <x sl:if test ="@wp:styl e">
234                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>   234                         <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute>
235                      </ xsl:if>   235                      </ xsl:if>
236                      <x sl:apply-t emplates / >   236                      <x sl:apply-t emplates / >
237                    </sp an>   237                    </sp an>
238                  </td>   238                  </td>
239                </tr>   239                </tr>
240              </table>   240              </table>
241           </ xsl:when>   241           </ xsl:when>
242     242  
243           <x sl:otherwi se>   243           <x sl:otherwi se>
244              <xsl:if te st="@wp:st yle">   244              <xsl:if te st="@wp:st yle">
245                <xsl:att ribute nam e="style"> <xsl:value -of select ="@wp:styl e"/></xsl: attribute>   245                <xsl:att ribute nam e="style"> <xsl:value -of select ="@wp:styl e"/></xsl: attribute>
246              </xsl:if>   246              </xsl:if>
247              <xsl:apply -templates  />   247              <xsl:apply -templates  />
248           </ xsl:otherw ise>   248           </ xsl:otherw ise>
249     249  
250         </xs l:choose>   250         </xs l:choose>
251       </div>   251       </div>
252     </xsl:te mplate>   252     </xsl:te mplate>
253     253  
254   <!-- Misc.  Rules -->   254   <!-- Misc.  Rules -->
255     <!-- Tit le Rule -- >   255     <!-- Tit le Rule -- >
256     <xsl:tem plate matc h="*[@wp:t ype = 'pag e-title']" >   256     <xsl:tem plate matc h="*[@wp:t ype = 'pag e-title']" >
257       <xsl:v ariable na me="VarNod e" select= "." />   257       <xsl:v ariable na me="VarNod e" select= "." />
258       <title >   258       <title >
259         <xsl :value-of  select="$V arNode/@wp :value" />   259         <xsl :value-of  select="$V arNode/@wp :value" />
260       </titl e>   260       </titl e>
261     </xsl:te mplate>   261     </xsl:te mplate>
262     262  
263     <xsl:tem plate matc h="*[@wp:t ype = 'cat alog-css'] ">   263     <xsl:tem plate matc h="*[@wp:t ype = 'cat alog-css'] ">
264       <xsl:v ariable na me="VarNod e" select= "." />   264       <xsl:v ariable na me="VarNod e" select= "." />
265       <link  rel="style sheet" hre f="{$VarNo de/@wp:hre f}" type=" text/css"  media="all " />   265       <link  rel="style sheet" hre f="{$VarNo de/@wp:hre f}" type=" text/css"  media="all " />
266     </xsl:te mplate>   266     </xsl:te mplate>
267     267  
268     <!-- Log o Rule -->   268     <!-- Log o Rule -->
269     <xsl:tem plate matc h="*[@wp:t ype = 'log o']">   269     <xsl:tem plate matc h="*[@wp:t ype = 'log o']">
270       <xsl:v ariable na me="VarNod e" select= "." />   270       <xsl:v ariable na me="VarNod e" select= "." />
271     271  
272       <xsl:c hoose>   272       <xsl:c hoose>
273         <xsl :when test ="name($Va rNode/.) =  'wp:GotoL ink'">   273         <xsl :when test ="name($Va rNode/.) =  'wp:GotoL ink'">
274           <a  href="{$V arNode/wp: GotoLink/@ wp:href}">   274           <a  href="{$V arNode/wp: GotoLink/@ wp:href}">
275              <img src=" {$VarNode/ wp:GotoLin k/wp:wp/@w p:src}" />   275              <img src=" {$VarNode/ wp:GotoLin k/wp:wp/@w p:src}" />
276           </ a>   276           </ a>
277         </xs l:when>   277         </xs l:when>
278         <xsl :otherwise >   278         <xsl :otherwise >
279           <i mg src="{$ VarNode/*/ @wp:src}"  border="0"  alt="logo " />   279           <i mg src="{$ VarNode/*/ @wp:src}"  border="0"  alt="logo " />
280         </xs l:otherwis e>   280         </xs l:otherwis e>
281       </xsl: choose>   281       </xsl: choose>
282     282  
283     </xsl:te mplate>   283     </xsl:te mplate>
284     284  
285     <!-- Inl ine Title  Rule -->   285     <!-- Inl ine Title  Rule -->
286     <xsl:tem plate matc h="/wp:Doc ument/wp:I nlineTitle ">   286     <xsl:tem plate matc h="/wp:Doc ument/wp:I nlineTitle ">
287       <xsl:a pply-templ ates />   287       <xsl:a pply-templ ates />
288     </xsl:te mplate>   288     </xsl:te mplate>
289     289  
290     <!-- Ski p Navigati on Rule -- >   290     <!-- Ski p Navigati on Rule -- >
291     <!--                        -- >   291     <!--                        -- >
292     <xsl:tem plate matc h="*[@wp:t ype = 'ski p-navigati on-link']" >   292     <xsl:tem plate matc h="*[@wp:t ype = 'ski p-navigati on-link']" >
293       <div s tyle="floa t: left; h eight: 1px ">   293       <div s tyle="floa t: left; h eight: 1px ">
294         <xsl :apply-tem plates />   294         <xsl :apply-tem plates />
295       </div>   295       </div>
296     </xsl:te mplate>   296     </xsl:te mplate>
297     297  
298     <!-- Nav igation Ba r Rule -->   298     <!-- Nav igation Ba r Rule -->
299     <!--                       -->   299     <!--                       -->
300     <xsl:tem plate matc h="*[@wp:t ype = 'nav bar']">   300     <xsl:tem plate matc h="*[@wp:t ype = 'nav bar']">
301       <xsl:p aram name= "ParamCont ext" />   301       <xsl:p aram name= "ParamCont ext" />
302     302  
303       <xsl:v ariable na me="VarNod e" select= "." />   303       <xsl:v ariable na me="VarNod e" select= "." />
304       <xsl:v ariable na me="VarAli gn">   304       <xsl:v ariable na me="VarAli gn">
305         <xsl :choose>   305         <xsl :choose>
306           <x sl:when te st="$Param Context =  'top'">   306           <x sl:when te st="$Param Context =  'top'">
307              <xsl:value -of select ="$VarNode /@wp:top-a lign" />   307              <xsl:value -of select ="$VarNode /@wp:top-a lign" />
308           </ xsl:when>   308           </ xsl:when>
309           <x sl:otherwi se>   309           <x sl:otherwi se>
310              <xsl:value -of select ="$VarNode /@wp:botto m-align" / >   310              <xsl:value -of select ="$VarNode /@wp:botto m-align" / >
311           </ xsl:otherw ise>   311           </ xsl:otherw ise>
312         </xs l:choose>   312         </xs l:choose>
313       </xsl: variable>   313       </xsl: variable>
314     314  
315       <xsl:i f test="$P aramContex t = 'botto m'">   315       <xsl:i f test="$P aramContex t = 'botto m'">
316         <br  />   316         <br  />
317       </xsl: if>   317       </xsl: if>
318     318  
319       <!-- T he apply-t emplates h ere end up  only matc hing on Go toLinks an d display  a link -->   319       <!-- T he apply-t emplates h ere end up  only matc hing on Go toLinks an d display  a link -->
320       <!-- T here aren' t specific  match tem plates for  /wp:wp[@w p:type = ' navbar-*']        -->   320       <!-- T here aren' t specific  match tem plates for  /wp:wp[@w p:type = ' navbar-*']        -->
321       <!--                                                                                       -->   321       <!--                                                                                       -->
322       <div s tyle="text -align: {$ VarAlign}; ">   322       <div s tyle="text -align: {$ VarAlign}; ">
323         <tab le cellspa cing="0" s ummary="">   323         <tab le cellspa cing="0" s ummary="">
324           <t r style="v ertical-al ign: basel ine;">   324           <t r style="v ertical-al ign: basel ine;">
325              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-to c']" /> </ td>   325              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-to c']" /> </ td>
326              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-pr ev']" /> < /td>   326              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-pr ev']" /> < /td>
327              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-ne xt']" /> < /td>   327              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-ne xt']" /> < /td>
328              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-in dex']" />  </td>   328              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-in dex']" />  </td>
329              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-pd f']" /> </ td>   329              <td> <xsl: apply-temp lates sele ct="$VarNo de/wp:wp[@ wp:type =  'navbar-pd f']" /> </ td>
330           </ tr>   330           </ tr>
331         </ta ble>   331         </ta ble>
332       </div>   332       </div>
333     333  
334       <xsl:i f test="$P aramContex t = 'top'" >   334       <xsl:i f test="$P aramContex t = 'top'" >
335         <br  />   335         <br  />
336       </xsl: if>   336       </xsl: if>
337     </xsl:te mplate>   337     </xsl:te mplate>
338     338  
339     <!-- Ind ex Letter  Navigation  Rule -->   339     <!-- Ind ex Letter  Navigation  Rule -->
340     <xsl:tem plate matc h="/wp:Doc ument/wp:L etters">   340     <xsl:tem plate matc h="/wp:Doc ument/wp:L etters">
341       <block quote>   341       <block quote>
342         <spa n style="c olor: #999 999; font- size: 8pt;  font-weig ht: heavy" >   342         <spa n style="c olor: #999 999; font- size: 8pt;  font-weig ht: heavy" >
343           <x sl:apply-t emplates s elect="wp: Letter" />   343           <x sl:apply-t emplates s elect="wp: Letter" />
344         </sp an>   344         </sp an>
345       </bloc kquote>   345       </bloc kquote>
346     </xsl:te mplate>   346     </xsl:te mplate>
347     347  
348     <!-- Ind ex Single  Letter Rul e -->   348     <!-- Ind ex Single  Letter Rul e -->
349     <xsl:tem plate matc h="/wp:Doc ument/wp:L etters/wp: Letter">   349     <xsl:tem plate matc h="/wp:Doc ument/wp:L etters/wp: Letter">
350       <xsl:c hoose>   350       <xsl:c hoose>
351         <xsl :when test ="@wp:firs t">   351         <xsl :when test ="@wp:firs t">
352         </xs l:when>   352         </xs l:when>
353         <xsl :otherwise >   353         <xsl :otherwise >
354           -   354           -
355         </xs l:otherwis e>   355         </xs l:otherwis e>
356       </xsl: choose>   356       </xsl: choose>
357       <a>   357       <a>
358         <xsl :attribute  name="hre f">#<xsl:v alue-of se lect="@wp: href"/></x sl:attribu te>   358         <xsl :attribute  name="hre f">#<xsl:v alue-of se lect="@wp: href"/></x sl:attribu te>
        359         <xsl :attribute  name="tit le"><xsl:v alue-of se lect="@wp: title"/></ xsl:attrib ute>
359         <xsl :attribute  name="tar get"><xsl: value-of s elect="@wp :target"/> </xsl:attr ibute>   360         <xsl :attribute  name="tar get"><xsl: value-of s elect="@wp :target"/> </xsl:attr ibute>
360         <xsl :value-of  select="."  />   361         <xsl :value-of  select="."  />
361       </a>   362       </a>
362     </xsl:te mplate>   363     </xsl:te mplate>
363     364  
364     <!-- Con tact Infor mation Rul e -->   365     <!-- Con tact Infor mation Rul e -->
365     <!--                             -->   366     <!--                             -->
366     <xsl:tem plate matc h="*[@wp:t ype = 'com pany-info' ]">   367     <xsl:tem plate matc h="*[@wp:t ype = 'com pany-info' ]">
367       <xsl:p aram name= "ParamCont ext" />   368       <xsl:p aram name= "ParamCont ext" />
368     369  
369       <xsl:v ariable na me="VarNod e" select= "." />   370       <xsl:v ariable na me="VarNod e" select= "." />
370       <xsl:v ariable na me="VarAli gn">   371       <xsl:v ariable na me="VarAli gn">
371         <xsl :choose>   372         <xsl :choose>
372           <x sl:when te st="$Param Context =  'top'">   373           <x sl:when te st="$Param Context =  'top'">
373              <xsl:value -of select ="$VarNode /@wp:top-a lign" />   374              <xsl:value -of select ="$VarNode /@wp:top-a lign" />
374           </ xsl:when>   375           </ xsl:when>
375           <x sl:otherwi se>   376           <x sl:otherwi se>
376              <xsl:value -of select ="$VarNode /@wp:botto m-align" / >   377              <xsl:value -of select ="$VarNode /@wp:botto m-align" / >
377           </ xsl:otherw ise>   378           </ xsl:otherw ise>
378         </xs l:choose>   379         </xs l:choose>
379       </xsl: variable>   380       </xsl: variable>
380     381  
381       <table  align="{$ VarAlign}"  border="0 " cellpadd ing="3" ce llspacing= "0" summar y="">   382       <table  align="{$ VarAlign}"  border="0 " cellpadd ing="3" ce llspacing= "0" summar y="">
382       <xsl:f or-each se lect="$Var Node/wp:wp [@wp:type  = 'company -info-item ']">   383       <xsl:f or-each se lect="$Var Node/wp:wp [@wp:type  = 'company -info-item ']">
383         <tr  style="ver tical-alig n: baselin e;">   384         <tr  style="ver tical-alig n: baselin e;">
384           <t d>   385           <t d>
385                    <xsl :apply-tem plates />   386                    <xsl :apply-tem plates />
386           </ td>   387           </ td>
387         </tr >   388         </tr >
388       </xsl: for-each>   389       </xsl: for-each>
389       </tabl e>   390       </tabl e>
390     </xsl:te mplate>   391     </xsl:te mplate>
391     392  
392     <!-- Bre adcrumbs R ule -->   393     <!-- Bre adcrumbs R ule -->
393     <!--                    -->   394     <!--                    -->
394     <xsl:tem plate matc h="*[@wp:t ype = 'bre adcrumbs'] ">   395     <xsl:tem plate matc h="*[@wp:t ype = 'bre adcrumbs'] ">
395       <xsl:p aram name= "ParamCont ext" selec t="." />   396       <xsl:p aram name= "ParamCont ext" selec t="." />
396       <xsl:p aram name= "ParamPosi tion" />   397       <xsl:p aram name= "ParamPosi tion" />
397     398  
398       <xsl:v ariable na me="VarAli gn">   399       <xsl:v ariable na me="VarAli gn">
399         <xsl :choose>   400         <xsl :choose>
400           <x sl:when te st="$Param Position =  'top'">   401           <x sl:when te st="$Param Position =  'top'">
401              <xsl:value -of select ="$ParamCo ntext/@wp: top-align"  />   402              <xsl:value -of select ="$ParamCo ntext/@wp: top-align"  />
402           </ xsl:when>   403           </ xsl:when>
403           <x sl:otherwi se>   404           <x sl:otherwi se>
404              <xsl:value -of select ="$ParamCo ntext/@wp: bottom-ali gn" />   405              <xsl:value -of select ="$ParamCo ntext/@wp: bottom-ali gn" />
405           </ xsl:otherw ise>   406           </ xsl:otherw ise>
406         </xs l:choose>   407         </xs l:choose>
407       </xsl: variable>   408       </xsl: variable>
408     409  
409       <div c lass="WebW orks_Bread crumbs" st yle="text- align: {$V arAlign};" >   410       <div c lass="WebW orks_Bread crumbs" st yle="text- align: {$V arAlign};" >
410         <xsl :for-each  select="$P aramContex t/wp:GotoL ink | $Par amContext/ text()">   411         <xsl :for-each  select="$P aramContex t/wp:GotoL ink | $Par amContext/ text()">
411           <x sl:choose>   412           <x sl:choose>
412              <xsl:when  test="loca l-name(.)  = 'GotoLin k'">   413              <xsl:when  test="loca l-name(.)  = 'GotoLin k'">
413                <a class ="WebWorks _Breadcrum b_Link" hr ef="{@wp:h ref}"> <xs l:value-of  select=". /text()" / > </a>   414                <a class ="WebWorks _Breadcrum b_Link" hr ef="{@wp:h ref}"> <xs l:value-of  select=". /text()" / > </a>
414              </xsl:when >   415              </xsl:when >
415                416             
416              <xsl:other wise>   417              <xsl:other wise>
417                <xsl:val ue-of sele ct="." />   418                <xsl:val ue-of sele ct="." />
418              </xsl:othe rwise>   419              </xsl:othe rwise>
419           </ xsl:choose >   420           </ xsl:choose >
420         </xs l:for-each >   421         </xs l:for-each >
421       </div>   422       </div>
422     </xsl:te mplate>   423     </xsl:te mplate>
423     424  
424     <!-- XRe f and Hype rtext Rule  -->   425     <!-- XRe f and Hype rtext Rule  -->
425     <xsl:tem plate matc h="wp:Goto Link">   426     <xsl:tem plate matc h="wp:Goto Link">
426       <xsl:v ariable na me="VarNod e" select= "." />   427       <xsl:v ariable na me="VarNod e" select= "." />
427     428  
428       <a>   429       <a>
429         <xsl :if test=" string-len gth($VarNo de/@wp:nam e) &gt; 0" >   430         <xsl :if test=" string-len gth($VarNo de/@wp:nam e) &gt; 0" >
430           <x sl:attribu te name="n ame">   431           <x sl:attribu te name="n ame">
431              <xsl:value -of select ="$VarNode /@wp:name"  />   432              <xsl:value -of select ="$VarNode /@wp:name"  />
432           </ xsl:attrib ute>   433           </ xsl:attrib ute>
433         </xs l:if>   434         </xs l:if>
434     435  
435         <xsl :if test=" string-len gth($VarNo de/@wp:hre f) &gt; 0" >   436         <xsl :if test=" string-len gth($VarNo de/@wp:hre f) &gt; 0" >
436           <x sl:attribu te name="h ref">   437           <x sl:attribu te name="h ref">
437              <xsl:value -of select ="$VarNode /@wp:href"  />   438              <xsl:value -of select ="$VarNode /@wp:href"  />
438           </ xsl:attrib ute>   439           </ xsl:attrib ute>
439         </xs l:if>   440         </xs l:if>
440     441  
441         <xsl :if test=" string-len gth($VarNo de/@wp:tar get) &gt;  0">   442         <xsl :if test=" string-len gth($VarNo de/@wp:tar get) &gt;  0">
442           <x sl:attribu te name="t arget">   443           <x sl:attribu te name="t arget">
443              <xsl:value -of select ="@wp:targ et" />   444              <xsl:value -of select ="@wp:targ et" />
444           </ xsl:attrib ute>   445           </ xsl:attrib ute>
445         </xs l:if>   446         </xs l:if>
446     447  
447         <xsl :apply-tem plates />   448         <xsl :apply-tem plates />
448       </a>   449       </a>
449     </xsl:te mplate>   450     </xsl:te mplate>
450     451  
451     <!-- Ima ge Handlin g Rules -- >   452     <!-- Ima ge Handlin g Rules -- >
452     <xsl:tem plate matc h="wp:Imag e | *[@wp: type='imag e']">   453     <xsl:tem plate matc h="wp:Imag e | *[@wp: type='imag e']">
453       <xsl:v ariable na me="VarNod e" select= "." />   454       <xsl:v ariable na me="VarNod e" select= "." />
454       <xsl:i f test="$V arNode/@wp :display">   455       <xsl:i f test="$V arNode/@wp :display">
455         <br>   456         <br>
456           <x sl:attribu te name="c lear">all< /xsl:attri bute>   457           <x sl:attribu te name="c lear">all< /xsl:attri bute>
457         </br >   458         </br >
458       </xsl: if>   459       </xsl: if>
459     460  
460       <xsl:c hoose>   461       <xsl:c hoose>
461         <xsl :when test ="(string- length($Va rNode/@wp: width) &gt ; 0) and ( string-len gth(@wp:he ight) &gt;  0)">   462         <xsl :when test ="(string- length($Va rNode/@wp: width) &gt ; 0) and ( string-len gth(@wp:he ight) &gt;  0)">
462           <i mg id="{$V arNode/@wp :id}" src= "{$VarNode /@wp:src}"  style="{$ VarNode/@w p:style}"  class="{$V arNode/@wp :class}" u semap="{$V arNode/@wp :usemap}"  height="{$ VarNode/@w p:height}"  width="{$ VarNode/@w p:width}"  alt="{$Var Node/@wp:a lt}" borde r="{$VarNo de/@wp:bor der}"/>   463           <i mg id="{$V arNode/@wp :id}" src= "{$VarNode /@wp:src}"  style="{$ VarNode/@w p:style}"  class="{$V arNode/@wp :class}" u semap="{$V arNode/@wp :usemap}"  height="{$ VarNode/@w p:height}"  width="{$ VarNode/@w p:width}"  alt="{$Var Node/@wp:a lt}" borde r="{$VarNo de/@wp:bor der}"/>
463         </xs l:when>   464         </xs l:when>
464         <xsl :otherwise >   465         <xsl :otherwise >
465           <i mg src="{$ VarNode/@w p:src}" st yle="{$Var Node/@wp:s tyle}" cla ss="{$VarN ode/@wp:cl ass}" usem ap="{$VarN ode/@usema p}" alt="{ $VarNode/@ wp:alt}" b order="{$V arNode/@wp :border}"/ >   466           <i mg src="{$ VarNode/@w p:src}" st yle="{$Var Node/@wp:s tyle}" cla ss="{$VarN ode/@wp:cl ass}" usem ap="{$VarN ode/@usema p}" alt="{ $VarNode/@ wp:alt}" b order="{$V arNode/@wp :border}"/ >
466         </xs l:otherwis e>   467         </xs l:otherwis e>
467       </xsl: choose>   468       </xsl: choose>
468     469  
469       <xsl:i f test="@w p:display" >   470       <xsl:i f test="@w p:display" >
470         <br>   471         <br>
471           <x sl:attribu te name="c lear">all< /xsl:attri bute>   472           <x sl:attribu te name="c lear">all< /xsl:attri bute>
472         </br >   473         </br >
473       </xsl: if>   474       </xsl: if>
474         <xsl :apply-tem plates />   475         <xsl :apply-tem plates />
475     </xsl:te mplate>   476     </xsl:te mplate>
476     477  
477     <xsl:tem plate matc h="*[@wp:t ype='
svg
']">
  478     <xsl:tem plate matc h="*[@wp:t ype=' image/ svg +xml ']">
478       <xsl:i f test="@w p:display" >   479       <xsl:i f test="@w p:display" >
479         <br>   480         <br>
480           <x sl:attribu te name="c lear">all< /xsl:attri bute>   481           <x sl:attribu te name="c lear">all< /xsl:attri bute>
481         </br >   482         </br >
482       </xsl: if>   483       </xsl: if>
483         < em b
e d >
  484         < o b j e ct >
484           <x sl:attribu te name=" src "><xsl:val ue-of sele ct="@wp: href "/></xsl:a ttribute>   485           <x sl:attribu te name=" data "><xsl:val ue-of sele ct="@wp: data "/></xsl:a ttribute>
485           <x sl:attribu te name="t ype">image /svg+xml</ xsl:attrib ute>   486           <x sl:attribu te name=" ty p
e"> <xsl : v a lu e - o s
e l e c t ="@wp:type " / > </xsl:attr ibute>
486           <x sl:attribu te name="
p luginspag e"> http : //www. a dob e .c o m/ s vg/vi e w e r/ins t all /
</xsl:attr ibute>
       
487     487  
488           <x sl:if test ="@wp:usem ap">        
489              <xsl:attri bute name= "usemap">< xsl:value- of select= "@wp:usema p"/></xsl: attribute>        
490           </ xsl:if>        
491           <x sl:if test ="@wp:widt h">   488           <x sl:if test ="@wp:widt h">
492              <xsl:attri bute name= "width"><x sl:value-o f select=" @wp:width" /></xsl:at tribute>   489              <xsl:attri bute name= "width"><x sl:value-o f select=" @wp:width" /></xsl:at tribute>
493           </ xsl:if>   490           </ xsl:if>
494           <x sl:if test ="@wp:heig ht">   491           <x sl:if test ="@wp:heig ht">
495              <xsl:attri bute name= "height">< xsl:value- of select= "@wp:heigh t"/></xsl: attribute>   492              <xsl:attri bute name= "height">< xsl:value- of select= "@wp:heigh t"/></xsl: attribute>
496           </ xsl:if>   493           </ xsl:if>
497           <x sl:if test ="@wp: al t
">
  494           <x sl:if test ="@wp:
t itle ">
498              <xsl:attri bute name= " al t
"><xsl:val ue-of sele ct="@wp: al t
"/></xsl:a ttribute>
  495              <xsl:attri bute name= "
t itle "><xsl:val ue-of sele ct="@wp:
t itle "/></xsl:a ttribute>
499           </ xsl:if>   496           </ xsl:if>
500           <x sl:if test ="@wp: a l ign ">   497           <x sl:if test ="@wp: sty l e ">
501              <xsl:attri bute name= " a l ign "><xsl:val ue-of sele ct="@wp: a l ign "/></xsl:a ttribute>   498              <xsl:attri bute name= " sty l e "><xsl:val ue-of sele ct="@wp: sty l e "/></xsl:a ttribute>
502           </ xsl:if>   499           </ xsl:if>
503           <x sl:attribu te name="b order"><xs l:value-of  select="@ wp:border" /></xsl:at tribute>   500  
504           <x sl:attribu te name="h space"><xs l:value-of  select="@ wp:hspace" /></xsl:at tribute>   501           < p a
r am  name="
s r c
"   value
=" { @wp: data}"  v
a lu e type= " d at a t yp e " / >
505           < xsl: a tt r ibute  name=" v s pa c e " ><xsl: value -of select ="
@wp:
v sp a c e
" /></xsl: at
t ribut e
>
  502         </ o b j e ct >
506         </ em b
e d >
       
507       <xsl:i f test="@w p:display" >   503       <xsl:i f test="@w p:display" >
508         <br>   504         <br>
509           <x sl:attribu te name="c lear">all< /xsl:attri bute>   505           <x sl:attribu te name="c lear">all< /xsl:attri bute>
510         </br >   506         </br >
511       </xsl: if>   507       </xsl: if>
512         <xsl :apply-tem plates />   508         <xsl :apply-tem plates />
513     </xsl:te mplate>   509     </xsl:te mplate>
514     510  
515     <xsl:tem plate matc h="wp:Map" >   511     <xsl:tem plate matc h="wp:Map" >
516       <xsl:v ariable na me="VarNod e" select= "." />   512       <xsl:v ariable na me="VarNod e" select= "." />
517       <map>   513       <map>
518         <xsl :attribute  name="nam e">   514         <xsl :attribute  name="nam e">
519           <x sl:value-o f select=" $VarNode/@ wp:name"/>   515           <x sl:value-o f select=" $VarNode/@ wp:name"/>
520         </xs l:attribut e>   516         </xs l:attribut e>
521         <xsl :apply-tem plates sel ect="$VarN ode/wp:Are a" />   517         <xsl :apply-tem plates sel ect="$VarN ode/wp:Are a" />
522       </map>   518       </map>
523     </xsl:te mplate>   519     </xsl:te mplate>
524     520  
525     <xsl:tem plate matc h="wp:Area ">   521     <xsl:tem plate matc h="wp:Area ">
526       <area>   522       <area>
527         <xsl :attribute  name="hre f"><xsl:va lue-of sel ect="@wp:h ref"/></xs l:attribut e>   523         <xsl :attribute  name="hre f"><xsl:va lue-of sel ect="@wp:h ref"/></xs l:attribut e>
528         <xsl :attribute  name="sha pe"><xsl:v alue-of se lect="@wp: shape"/></ xsl:attrib ute>   524         <xsl :attribute  name="sha pe"><xsl:v alue-of se lect="@wp: shape"/></ xsl:attrib ute>
529         <xsl :attribute  name="coo rds"><xsl: value-of s elect="@wp :coords"/> </xsl:attr ibute>   525         <xsl :attribute  name="coo rds"><xsl: value-of s elect="@wp :coords"/> </xsl:attr ibute>
530         <xsl :attribute  name="alt "><xsl:val ue-of sele ct="@wp:al t"/></xsl: attribute>   526         <xsl :attribute  name="alt "><xsl:val ue-of sele ct="@wp:al t"/></xsl: attribute>
531         <xsl :attribute  name="tar get"><xsl: value-of s elect="@wp :target"/> </xsl:attr ibute>   527         <xsl :attribute  name="tar get"><xsl: value-of s elect="@wp :target"/> </xsl:attr ibute>
532       </area >   528       </area >
533     </xsl:te mplate>   529     </xsl:te mplate>
534     530  
535     <xsl:tem plate matc h="wp:br">   531     <xsl:tem plate matc h="wp:br">
536       <br />   532       <br />
537     </xsl:te mplate>   533     </xsl:te mplate>
538     534  
539     <xsl:tem plate matc h="wp:sup" >   535     <xsl:tem plate matc h="wp:sup" >
540       <sup s tyle="{@wp :style}">   536       <sup s tyle="{@wp :style}">
541        <xsl: apply-temp lates />   537        <xsl: apply-temp lates />
542       </sup>   538       </sup>
543     </xsl:te mplate>   539     </xsl:te mplate>
544     540  
545     <xsl:tem plate matc h="wp:tabl e">   541     <xsl:tem plate matc h="wp:tabl e">
546       <table >   542       <table >
547         <xsl :copy-of s elect="@*"  />   543         <xsl :copy-of s elect="@*"  />
548         <xsl :apply-tem plates />   544         <xsl :apply-tem plates />
549       </tabl e>   545       </tabl e>
550     </xsl:te mplate>   546     </xsl:te mplate>
551     547  
552     <xsl:tem plate matc h="wp:tr">   548     <xsl:tem plate matc h="wp:tr">
553       <tr>   549       <tr>
554         <xsl :copy-of s elect="@*"  />   550         <xsl :copy-of s elect="@*"  />
555         <xsl :apply-tem plates />   551         <xsl :apply-tem plates />
556       </tr>   552       </tr>
557     </xsl:te mplate>   553     </xsl:te mplate>
558     554  
559     <xsl:tem plate matc h="wp:td">   555     <xsl:tem plate matc h="wp:td">
560       <td>   556       <td>
561         <xsl :copy-of s elect="@*"  />   557         <xsl :copy-of s elect="@*"  />
562         <xsl :apply-tem plates />   558         <xsl :apply-tem plates />
563       </td>   559       </td>
564     </xsl:te mplate>   560     </xsl:te mplate>
565     561  
566     <!-- Def ault Text  Rule -->   562     <!-- Def ault Text  Rule -->
567     <xsl:tem plate matc h="text()" >   563     <xsl:tem plate matc h="text()" >
568        <xsl: value-of s elect="."  />   564        <xsl: value-of s elect="."  />
569     </xsl:te mplate>   565     </xsl:te mplate>
570     566  
571   <!-- Table  Rules -->   567   <!-- Table  Rules -->
572     568  
573     <!-- Sin gle Table  -->   569     <!-- Sin gle Table  -->
574     <xsl:tem plate matc h="*[@wp:t ype='table ']">   570     <xsl:tem plate matc h="*[@wp:t ype='table ']">
575       <xsl:v ariable na me="VarNod e" select= "." />   571       <xsl:v ariable na me="VarNod e" select= "." />
576     572  
577       <table  id="{$Var Node/@id}" >   573       <table  id="{$Var Node/@id}" >
578         <xsl :if test=" string-len gth($VarNo de/@wp:bor der) &gt;  0">   574         <xsl :if test=" string-len gth($VarNo de/@wp:bor der) &gt;  0">
579           <x sl:attribu te name="b order">   575           <x sl:attribu te name="b order">
580              <xsl:value -of select ="$VarNode /@wp:borde r" />   576              <xsl:value -of select ="$VarNode /@wp:borde r" />
581           </ xsl:attrib ute>   577           </ xsl:attrib ute>
582         </xs l:if>   578         </xs l:if>
583     579  
584         <xsl :if test=" string-len gth($VarNo de/@wp:cel lpadding)  &gt; 0">   580         <xsl :if test=" string-len gth($VarNo de/@wp:cel lpadding)  &gt; 0">
585           <x sl:attribu te name="c ellpadding ">   581           <x sl:attribu te name="c ellpadding ">
586              <xsl:value -of select ="$VarNode /@wp:cellp adding" />   582              <xsl:value -of select ="$VarNode /@wp:cellp adding" />
587           </ xsl:attrib ute>   583           </ xsl:attrib ute>
588         </xs l:if>   584         </xs l:if>
589     585  
590         <xsl :if test=" string-len gth($VarNo de/@wp:cel lspacing)  &gt; 0">   586         <xsl :if test=" string-len gth($VarNo de/@wp:cel lspacing)  &gt; 0">
591           <x sl:attribu te name="c ellspacing ">   587           <x sl:attribu te name="c ellspacing ">
592              <xsl:value -of select ="$VarNode /@wp:cells pacing" />   588              <xsl:value -of select ="$VarNode /@wp:cells pacing" />
593           </ xsl:attrib ute>   589           </ xsl:attrib ute>
594         </xs l:if>   590         </xs l:if>
595     591  
596         <xsl :if test=" string-len gth($VarNo de/@wp:cla ss) &gt; 0 ">   592         <xsl :if test=" string-len gth($VarNo de/@wp:cla ss) &gt; 0 ">
597           <x sl:attribu te name="c lass">   593           <x sl:attribu te name="c lass">
598              <xsl:value -of select ="$VarNode /@wp:class " />   594              <xsl:value -of select ="$VarNode /@wp:class " />
599           </ xsl:attrib ute>   595           </ xsl:attrib ute>
600         </xs l:if>   596         </xs l:if>
601     597  
602         <xsl :if test=" string-len gth($VarNo de/@wp:sty le) &gt; 0 ">   598         <xsl :if test=" string-len gth($VarNo de/@wp:sty le) &gt; 0 ">
603           <x sl:attribu te name="s tyle">   599           <x sl:attribu te name="s tyle">
604              <xsl:value -of select ="$VarNode /@wp:style " />   600              <xsl:value -of select ="$VarNode /@wp:style " />
605           </ xsl:attrib ute>   601           </ xsl:attrib ute>
606         </xs l:if>   602         </xs l:if>
607     603  
608         <cap tion>   604         <cap tion>
609           <x sl:apply-t emplates s elect="*[@ wp:type='t abletitle' ]" />   605           <x sl:apply-t emplates s elect="*[@ wp:type='t abletitle' ]" />
610         </ca ption>   606         </ca ption>
611     607  
612         <xsl :apply-tem plates sel ect="*[@wp :type='tab leheading' ]" />   608         <xsl :apply-tem plates sel ect="*[@wp :type='tab leheading' ]" />
613         <xsl :apply-tem plates sel ect="*[@wp :type='tab lebody']"  />   609         <xsl :apply-tem plates sel ect="*[@wp :type='tab lebody']"  />
614         <xsl :apply-tem plates sel ect="*[@wp :type='tab lefooting' ]" />   610         <xsl :apply-tem plates sel ect="*[@wp :type='tab lefooting' ]" />
615       </tabl e>   611       </tabl e>
616       <table  summary=" ">   612       <table  summary=" ">
617         <tr> <td>   613         <tr> <td>
618           <x sl:apply-t emplates s elect="Tab leNotes//* [@wp:type= 'footnote' ]" />   614           <x sl:apply-t emplates s elect="Tab leNotes//* [@wp:type= 'footnote' ]" />
619         </td ></tr>   615         </td ></tr>
620       </tabl e>   616       </tabl e>
621     </xsl:te mplate>   617     </xsl:te mplate>
622     618  
623     <!-- Tab le Heading  Rows -->   619     <!-- Tab le Heading  Rows -->
624     <xsl:tem plate matc h="*[@wp:t ype='table row_headin g']">   620     <xsl:tem plate matc h="*[@wp:t ype='table row_headin g']">
625       <xsl:v ariable na me="VarNod e" select= "." />   621       <xsl:v ariable na me="VarNod e" select= "." />
626     622  
627       <tr>   623       <tr>
628         <xsl :if test=" @wp:style" >   624         <xsl :if test=" @wp:style" >
629           <x sl:attribu te name="s tyle">   625           <x sl:attribu te name="s tyle">
630              <xsl:value -of select ="@wp:styl e" />   626              <xsl:value -of select ="@wp:styl e" />
631           </ xsl:attrib ute>   627           </ xsl:attrib ute>
632         </xs l:if>   628         </xs l:if>
633     629  
634         <xsl :apply-tem plates sel ect="$VarN ode/*" />   630         <xsl :apply-tem plates sel ect="$VarN ode/*" />
635       </tr>   631       </tr>
636     </xsl:te mplate>   632     </xsl:te mplate>
637     633  
638     <!-- Tab le Body an d Footing  Rows -->   634     <!-- Tab le Body an d Footing  Rows -->
639     <xsl:tem plate matc h="*[@wp:t ype='table row_body']  | *[@wp:t ype='table row_footin g']">   635     <xsl:tem plate matc h="*[@wp:t ype='table row_body']  | *[@wp:t ype='table row_footin g']">
640       <xsl:v ariable na me="VarNod e" select= "." />   636       <xsl:v ariable na me="VarNod e" select= "." />
641     637  
642       <tr>   638       <tr>
643         <xsl :if test=" @wp:style" >   639         <xsl :if test=" @wp:style" >
644           <x sl:attribu te name="s tyle">   640           <x sl:attribu te name="s tyle">
645              <xsl:value -of select ="@wp:styl e" />   641              <xsl:value -of select ="@wp:styl e" />
646           </ xsl:attrib ute>   642           </ xsl:attrib ute>
647         </xs l:if>   643         </xs l:if>
648     644  
649         <xsl :apply-tem plates sel ect="$VarN ode/*" />   645         <xsl :apply-tem plates sel ect="$VarN ode/*" />
650       </tr>   646       </tr>
651     </xsl:te mplate>   647     </xsl:te mplate>
652     648  
653     <!-- Tab le Body an d Footing  Cells -->   649     <!-- Tab le Body an d Footing  Cells -->
654     <xsl:tem plate matc h="*[@wp:t ype='table cell_body' ] | *[@wp: type='tabl ecell_foot ing']">   650     <xsl:tem plate matc h="*[@wp:t ype='table cell_body' ] | *[@wp: type='tabl ecell_foot ing']">
655       <xsl:v ariable na me="VarNod e" select= "." />   651       <xsl:v ariable na me="VarNod e" select= "." />
656     652  
657       <xsl:c hoose>   653       <xsl:c hoose>
658         <xsl :when test ="
string-len gth($VarNo de/ . ) = 0
">
  654         <xsl :when test =" ( string-len gth($VarNo de/ descendant ::text() ) = 0 ) and (cou nt($VarNod e/descenda nt::wp:Ima ge[1]) = 0 ) ">
659           <t d>   655           <t d>
660              <xsl:attri bute name= "id">   656              <xsl:attri bute name= "id">
661                <xsl:val ue-of sele ct="@wp:id "/>   657                <xsl:val ue-of sele ct="@wp:id "/>
662              </xsl:attr ibute>   658              </xsl:attr ibute>
663              <xsl:if te st="@wp:co lspan">   659              <xsl:if te st="@wp:co lspan">
664                <xsl:att ribute nam e="colspan ">   660                <xsl:att ribute nam e="colspan ">
665                  <xsl:v alue-of se lect="@wp: colspan" / >   661                  <xsl:v alue-of se lect="@wp: colspan" / >
666                </xsl:at tribute>   662                </xsl:at tribute>
667              </xsl:if>   663              </xsl:if>
668              <xsl:if te st="@wp:ro wspan">   664              <xsl:if te st="@wp:ro wspan">
669                <xsl:att ribute nam e="rowspan ">   665                <xsl:att ribute nam e="rowspan ">
670                  <xsl:v alue-of se lect="@wp: rowspan"/>   666                  <xsl:v alue-of se lect="@wp: rowspan"/>
671                </xsl:at tribute>   667                </xsl:at tribute>
672              </xsl:if>   668              </xsl:if>
673              <xsl:if te st="@wp:cl ass">   669              <xsl:if te st="@wp:cl ass">
674                <xsl:att ribute nam e="class">   670                <xsl:att ribute nam e="class">
675                  <xsl:v alue-of se lect="@wp: class" />   671                  <xsl:v alue-of se lect="@wp: class" />
676                </xsl:at tribute>   672                </xsl:at tribute>
677              </xsl:if>   673              </xsl:if>
678              <xsl:if te st="@wp:st yle">   674              <xsl:if te st="@wp:st yle">
679                <xsl:att ribute nam e="style">   675                <xsl:att ribute nam e="style">
680                  <xsl:v alue-of se lect="@wp: style" />   676                  <xsl:v alue-of se lect="@wp: style" />
681                </xsl:at tribute>   677                </xsl:at tribute>
682              </xsl:if>   678              </xsl:if>
683              <xsl:value -of select ="'&#160;' " />   679              <xsl:value -of select ="'&#160;' " />
684           </ td>   680           </ td>
685         </xs l:when>   681         </xs l:when>
686         <xsl :otherwise >   682         <xsl :otherwise >
687           <t d>   683           <t d>
688              <xsl:attri bute name= "id">   684              <xsl:attri bute name= "id">
689                <xsl:val ue-of sele ct="@wp:id "/>   685                <xsl:val ue-of sele ct="@wp:id "/>
690              </xsl:attr ibute>   686              </xsl:attr ibute>
691              <xsl:if te st="@wp:co lspan">   687              <xsl:if te st="@wp:co lspan">
692                <xsl:att ribute nam e="colspan ">   688                <xsl:att ribute nam e="colspan ">
693                  <xsl:v alue-of se lect="@wp: colspan" / >   689                  <xsl:v alue-of se lect="@wp: colspan" / >
694                </xsl:at tribute>   690                </xsl:at tribute>
695              </xsl:if>   691              </xsl:if>
696              <xsl:if te st="@wp:ro wspan">   692              <xsl:if te st="@wp:ro wspan">
697                <xsl:att ribute nam e="rowspan ">   693                <xsl:att ribute nam e="rowspan ">
698                  <xsl:v alue-of se lect="@wp: rowspan"/>   694                  <xsl:v alue-of se lect="@wp: rowspan"/>
699                </xsl:at tribute>   695                </xsl:at tribute>
700              </xsl:if>   696              </xsl:if>
701              <xsl:if te st="@wp:cl ass">   697              <xsl:if te st="@wp:cl ass">
702                <xsl:att ribute nam e="class">   698                <xsl:att ribute nam e="class">
703                  <xsl:v alue-of se lect="@wp: class" />   699                  <xsl:v alue-of se lect="@wp: class" />
704                </xsl:at tribute>   700                </xsl:at tribute>
705              </xsl:if>   701              </xsl:if>
706              <xsl:if te st="@wp:st yle">   702              <xsl:if te st="@wp:st yle">
707                <xsl:att ribute nam e="style">   703                <xsl:att ribute nam e="style">
708                  <xsl:v alue-of se lect="@wp: style" />   704                  <xsl:v alue-of se lect="@wp: style" />
709                </xsl:at tribute>   705                </xsl:at tribute>
710              </xsl:if>   706              </xsl:if>
711              <xsl:apply -templates  select="$ VarNode/*"  />   707              <xsl:apply -templates  select="$ VarNode/*"  />
712           </ td>   708           </ td>
713         </xs l:otherwis e>   709         </xs l:otherwis e>
714       </xsl: choose>   710       </xsl: choose>
715     711  
716     </xsl:te mplate>   712     </xsl:te mplate>
717     713  
718     <!-- Tab le Heading  Cells -->   714     <!-- Tab le Heading  Cells -->
719     <xsl:tem plate matc h="*[@wp:t ype='table cell_headi ng']">   715     <xsl:tem plate matc h="*[@wp:t ype='table cell_headi ng']">
720       <xsl:v ariable na me="VarNod e" select= "." />   716       <xsl:v ariable na me="VarNod e" select= "." />
721     717  
722       <xsl:c hoose>   718       <xsl:c hoose>
723         <xsl :when test ="string-l ength($Var Node/.) =  0">   719         <xsl :when test ="string-l ength($Var Node/.) =  0">
724           <t h>   720           <t h>
725              <xsl:attri bute name= "id">   721              <xsl:attri bute name= "id">
726                <xsl:val ue-of sele ct="@wp:id "/>   722                <xsl:val ue-of sele ct="@wp:id "/>
727              </xsl:attr ibute>   723              </xsl:attr ibute>
728              <xsl:if te st="@wp:co lspan">   724              <xsl:if te st="@wp:co lspan">
729                <xsl:att ribute nam e="colspan ">   725                <xsl:att ribute nam e="colspan ">
730                  <xsl:v alue-of se lect="@wp: colspan" / >   726                  <xsl:v alue-of se lect="@wp: colspan" / >
731                </xsl:at tribute>   727                </xsl:at tribute>
732              </xsl:if>   728              </xsl:if>
733              <xsl:if te st="@wp:ro wspan">   729              <xsl:if te st="@wp:ro wspan">
734                <xsl:att ribute nam e="rowspan ">   730                <xsl:att ribute nam e="rowspan ">
735                  <xsl:v alue-of se lect="@wp: rowspan"/>   731                  <xsl:v alue-of se lect="@wp: rowspan"/>
736                </xsl:at tribute>   732                </xsl:at tribute>
737              </xsl:if>   733              </xsl:if>
738              <xsl:if te st="@wp:cl ass">   734              <xsl:if te st="@wp:cl ass">
739                <xsl:att ribute nam e="class">   735                <xsl:att ribute nam e="class">
740                  <xsl:v alue-of se lect="@wp: class" />   736                  <xsl:v alue-of se lect="@wp: class" />
741                </xsl:at tribute>   737                </xsl:at tribute>
742              </xsl:if>   738              </xsl:if>
743              <xsl:if te st="@wp:st yle">   739              <xsl:if te st="@wp:st yle">
744                <xsl:att ribute nam e="style">   740                <xsl:att ribute nam e="style">
745                  <xsl:v alue-of se lect="@wp: style" />   741                  <xsl:v alue-of se lect="@wp: style" />
746                </xsl:at tribute>   742                </xsl:at tribute>
747              </xsl:if>   743              </xsl:if>
748              <xsl:value -of select ="'&#160;' " />   744              <xsl:value -of select ="'&#160;' " />
749           </ th>   745           </ th>
750         </xs l:when>   746         </xs l:when>
751         <xsl :otherwise >   747         <xsl :otherwise >
752           <t h>   748           <t h>
753              <xsl:attri bute name= "id">   749              <xsl:attri bute name= "id">
754                <xsl:val ue-of sele ct="@wp:id "/>   750                <xsl:val ue-of sele ct="@wp:id "/>
755              </xsl:attr ibute>   751              </xsl:attr ibute>
756              <xsl:if te st="@wp:co lspan">   752              <xsl:if te st="@wp:co lspan">
757                <xsl:att ribute nam e="colspan ">   753                <xsl:att ribute nam e="colspan ">
758                  <xsl:v alue-of se lect="@wp: colspan" / >   754                  <xsl:v alue-of se lect="@wp: colspan" / >
759                </xsl:at tribute>   755                </xsl:at tribute>
760              </xsl:if>   756              </xsl:if>
761              <xsl:if te st="@wp:ro wspan">   757              <xsl:if te st="@wp:ro wspan">
762                <xsl:att ribute nam e="rowspan ">   758                <xsl:att ribute nam e="rowspan ">
763                  <xsl:v alue-of se lect="@wp: rowspan"/>   759                  <xsl:v alue-of se lect="@wp: rowspan"/>
764                </xsl:at tribute>   760                </xsl:at tribute>
765              </xsl:if>   761              </xsl:if>
766              <xsl:if te st="@wp:cl ass">   762              <xsl:if te st="@wp:cl ass">
767                <xsl:att ribute nam e="class">   763                <xsl:att ribute nam e="class">
768                  <xsl:v alue-of se lect="@wp: class" />   764                  <xsl:v alue-of se lect="@wp: class" />
769                </xsl:at tribute>   765                </xsl:at tribute>
770              </xsl:if>   766              </xsl:if>
771              <xsl:if te st="@wp:st yle">   767              <xsl:if te st="@wp:st yle">
772                <xsl:att ribute nam e="style">   768                <xsl:att ribute nam e="style">
773                  <xsl:v alue-of se lect="@wp: style" />   769                  <xsl:v alue-of se lect="@wp: style" />
774                </xsl:at tribute>   770                </xsl:at tribute>
775              </xsl:if>   771              </xsl:if>
776              <xsl:apply -templates  select="$ VarNode/*"  />   772              <xsl:apply -templates  select="$ VarNode/*"  />
777           </ th>   773           </ th>
778         </xs l:otherwis e>   774         </xs l:otherwis e>
779       </xsl: choose>   775       </xsl: choose>
780     </xsl:te mplate>   776     </xsl:te mplate>
781     777  
782     <xsl:tem plate matc h="*[@wp:t ype = 'toc -title']">   778     <xsl:tem plate matc h="*[@wp:t ype = 'toc -title']">
783       <xsl:p aram name= "ParamCont ext" selec t="." />   779       <xsl:p aram name= "ParamCont ext" selec t="." />
784     780  
785       <h2 cl ass="WebWo rks_TOC_Ti tle"> <xsl :value-of  select="./ text()" />  </h2>   781       <h2 cl ass="WebWo rks_TOC_Ti tle"> <xsl :value-of  select="./ text()" />  </h2>
786     </xsl:te mplate>   782     </xsl:te mplate>
787     783  
788     <xsl:tem plate matc h="*[@wp:t ype = 'toc -para']">   784     <xsl:tem plate matc h="*[@wp:t ype = 'toc -para']">
789       <xsl:p aram name= "ParamCont ext" selec t="." />   785       <xsl:p aram name= "ParamCont ext" selec t="." />
790     786  
791       <div c lass="WebW orks_TOC_L evel{@wp:l evel}">   787       <div c lass="WebW orks_TOC_L evel{@wp:l evel}">
792         <a c lass="WebW orks_TOC_L ink" href= "{$ParamCo ntext/wp:G otoLink/@w p:href}">  <xsl:value -of select ="$ParamCo ntext/wp:G otoLink/te xt()" /> < /a>   788         <a c lass="WebW orks_TOC_L ink" href= "{$ParamCo ntext/wp:G otoLink/@w p:href}">  <xsl:value -of select ="$ParamCo ntext/wp:G otoLink/te xt()" /> < /a>
793       </div>   789       </div>
794     </xsl:te mplate>   790     </xsl:te mplate>
795     791  
796     <xsl:tem plate matc h="*[@wp:t ype = 'min itoc-conta iner']">   792     <xsl:tem plate matc h="*[@wp:t ype = 'min itoc-conta iner']">
797       <xsl:p aram name= "ParamCont ext" selec t="." />   793       <xsl:p aram name= "ParamCont ext" selec t="." />
798     794  
799       <div c lass="WebW orks_MiniT OC">   795       <div c lass="WebW orks_MiniT OC">
800        <xsl: apply-temp lates sele ct="$Param Context/*[ @wp:type =  'minitoc- para']" />   796        <xsl: apply-temp lates sele ct="$Param Context/*[ @wp:type =  'minitoc- para']" />
801       </div>   797       </div>
802     </xsl:te mplate>   798     </xsl:te mplate>
803     799  
804     <xsl:tem plate matc h="*[@wp:t ype = 'min itoc-para' ]">   800     <xsl:tem plate matc h="*[@wp:t ype = 'min itoc-para' ]">
805       <xsl:p aram name= "ParamCont ext" selec t="." />   801       <xsl:p aram name= "ParamCont ext" selec t="." />
806     802  
807       <div c lass="WebW orks_MiniT OC_Level{@ wp:level}" >   803       <div c lass="WebW orks_MiniT OC_Level{@ wp:level}" >
808         <a c lass="WebW orks_MiniT OC_Link" h ref="{$Par amContext/ wp:GotoLin k/@wp:href }"> <xsl:v alue-of se lect="./wp :GotoLink/ text()" />  </a>   804         <a c lass="WebW orks_MiniT OC_Link" h ref="{$Par amContext/ wp:GotoLin k/@wp:href }"> <xsl:v alue-of se lect="./wp :GotoLink/ text()" />  </a>
809       </div>   805       </div>
810     </xsl:te mplate>   806     </xsl:te mplate>
811     807  
812     <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-title'] ">   808     <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-title'] ">
813       <xsl:p aram name= "ParamCont ext" selec t="." />   809       <xsl:p aram name= "ParamCont ext" selec t="." />
814     810  
815       <h2 cl ass="WebWo rks_Index_ Title"> <x sl:value-o f select=" ./text()"  /> </h2>   811       <h2 cl ass="WebWo rks_Index_ Title"> <x sl:value-o f select=" ./text()"  /> </h2>
816     </xsl:te mplate>   812     </xsl:te mplate>
817     813  
818     <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-group'] ">   814     <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-group'] ">
819       <xsl:p aram name= "ParamCont ext" selec t="." />   815       <xsl:p aram name= "ParamCont ext" selec t="." />
820     816  
821       <div c lass="WebW orks_Index _Group"> < xsl:value- of select= "./text()"  /> </div>   817       <div c lass="WebW orks_Index _Group"> < xsl:value- of select= "./text()"  /> </div>
822     </xsl:te mplate>   818     </xsl:te mplate>
823     819  
824     <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-para']" >   820     <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-para']" >
825       <xsl:p aram name= "ParamCont ext" selec t="." />   821       <xsl:p aram name= "ParamCont ext" selec t="." />
826     822  
827       <div c lass="WebW orks_Index _Level{@wp :level}">   823       <div c lass="WebW orks_Index _Level{@wp :level}">
828         <xsl :variable  name="VarF irstChild"  select="$ ParamConte xt/node()[ 1] | $Para mContext/t ext()[1]"  />   824         <xsl :variable  name="VarF irstChild"  select="$ ParamConte xt/node()[ 1] | $Para mContext/t ext()[1]"  />
829     825  
830         <xsl :if test=" local-name ($VarFirst Child[1])  != 'GotoLi nk'">   826         <xsl :if test=" local-name ($VarFirst Child[1])  != 'GotoLi nk'">
831           <x sl:value-o f select=" $VarFirstC hild[1]" / >   827           <x sl:value-o f select=" $VarFirstC hild[1]" / >
832         </xs l:if>   828         </xs l:if>
833     829  
834         <xsl :for-each  select="$P aramContex t/wp:GotoL ink">   830         <xsl :for-each  select="$P aramContex t/wp:GotoL ink">
835           <a >   831           <a >
836              <xsl:if te st="string -length(./ @wp:href)  &gt; 0">   832              <xsl:if te st="string -length(./ @wp:href)  &gt; 0">
837                <xsl:att ribute nam e="class">   833                <xsl:att ribute nam e="class">
838                  <xsl:t ext>WebWor ks_Index_L ink</xsl:t ext>   834                  <xsl:t ext>WebWor ks_Index_L ink</xsl:t ext>
839                </xsl:at tribute>   835                </xsl:at tribute>
840                <xsl:att ribute nam e="href">   836                <xsl:att ribute nam e="href">
841                  <xsl:v alue-of se lect="./@w p:href" />   837                  <xsl:v alue-of se lect="./@w p:href" />
842                </xsl:at tribute>   838                </xsl:at tribute>
843              </xsl:if>   839              </xsl:if>
844     840  
845              <xsl:if te st="string -length(./ @wp:name)  &gt; 0">   841              <xsl:if te st="string -length(./ @wp:name)  &gt; 0">
846                <xsl:att ribute nam e="name">   842                <xsl:att ribute nam e="name">
847                  <xsl:v alue-of se lect="./@w p:name" />   843                  <xsl:v alue-of se lect="./@w p:name" />
848                </xsl:at tribute>   844                </xsl:at tribute>
849              </xsl:if>   845              </xsl:if>
850     846  
851            < xsl:value- of select= "./text()"  />   847            < xsl:value- of select= "./text()"  />
852           </ a>   848           </ a>
853              849           
854           <x sl:if test ="position () != last ()">   850           <x sl:if test ="position () != last ()">
855              <xsl:text> , </xsl:te xt>   851              <xsl:text> , </xsl:te xt>
856           </ xsl:if>   852           </ xsl:if>
857         </xs l:for-each >   853         </xs l:for-each >
858       </div>   854       </div>
859     </xsl:te mplate>   855     </xsl:te mplate>
860     856  
861     <xsl:tem plate matc h="*[@wp:t ype = 'scr ipt']">   857     <xsl:tem plate matc h="*[@wp:t ype = 'scr ipt']">
862       <xsl:v ariable na me="VarNod e" select= "." />   858       <xsl:v ariable na me="VarNod e" select= "." />
863     859  
864       <xsl:e lement nam e="script" >   860       <xsl:e lement nam e="script" >
865         <xsl :attribute  name="typ e">   861         <xsl :attribute  name="typ e">
866           <x sl:value-o f select=" $VarNode/@ wp:script- type" />   862           <x sl:value-o f select=" $VarNode/@ wp:script- type" />
867         </xs l:attribut e>   863         </xs l:attribut e>
868         <xsl :attribute  name="lan guage">   864         <xsl :attribute  name="lan guage">
869           <x sl:value-o f select=" $VarNode/@ wp:languag e" />   865           <x sl:value-o f select=" $VarNode/@ wp:languag e" />
870         </xs l:attribut e>   866         </xs l:attribut e>
871         <xsl :text>   867         <xsl :text>
872         </xs l:text>   868         </xs l:text>
873         <xsl :apply-tem plates />   869         <xsl :apply-tem plates />
874         <xsl :text>   870         <xsl :text>
875         </xs l:text>   871         </xs l:text>
876       </xsl: element>   872       </xsl: element>
877     </xsl:te mplate>   873     </xsl:te mplate>
878     874  
879     <xsl:tem plate matc h="/wp:Doc ument/wp:N avbar[@wp: top = 'tru e'] | /wp: Document/w p:Navbar[@ wp:bottom  = 'true']" >   875     <xsl:tem plate matc h="/wp:Doc ument/wp:N avbar[@wp: top = 'tru e'] | /wp: Document/w p:Navbar[@ wp:bottom  = 'true']" >
880       <xsl:p aram name= "ParamCont ext" />   876       <xsl:p aram name= "ParamCont ext" />
881     877  
882       <xsl:v ariable na me="VarNod e" select= "." />   878       <xsl:v ariable na me="VarNod e" select= "." />
883     879  
884       <xsl:v ariable na me="VarAli gnment">   880       <xsl:v ariable na me="VarAli gnment">
885         <xsl :choose>   881         <xsl :choose>
886           <x sl:when te st="$Param Context =  'top'">   882           <x sl:when te st="$Param Context =  'top'">
887              <xsl:value -of select ="$VarNode /@wp:top-a lign" />   883              <xsl:value -of select ="$VarNode /@wp:top-a lign" />
888           </ xsl:when>   884           </ xsl:when>
889           <x sl:otherwi se>   885           <x sl:otherwi se>
890              <xsl:value -of select ="$VarNode /@wp:botto m-align" / >   886              <xsl:value -of select ="$VarNode /@wp:botto m-align" / >
891           </ xsl:otherw ise>   887           </ xsl:otherw ise>
892         </xs l:choose>   888         </xs l:choose>
893       </xsl: variable>   889       </xsl: variable>
894     890  
895       <table  align="{$ VarAlignme nt}" cellp adding="0"  cellspaci ng="0" bor der="0" su mmary="">   891       <table  align="{$ VarAlignme nt}" cellp adding="0"  cellspaci ng="0" bor der="0" su mmary="">
896         <xsl :apply-tem plates sel ect="$VarN ode/*" />   892         <xsl :apply-tem plates sel ect="$VarN ode/*" />
897       </tabl e>   893       </tabl e>
898       <br />   894       <br />
899     </xsl:te mplate>   895     </xsl:te mplate>
900     896  
901     897  
902   </xsl:styl esheet>   898   </xsl:styl esheet>