Produced by Araxis Merge on Thu Oct 16 22:30:10 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.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\Documents and Settings\lauren\Desktop\ww-version-snapshots\ww-version-snapshots\2008.2\WebWorks\ePublisher Pro\Formats\XML+XSL\Files\xsl | document.xsl | Wed Jul 2 16:38:34 2008 UTC |
2 | C:\Documents and Settings\lauren\Desktop\ww-version-snapshots\ww-version-snapshots\2008.3\WebWorks\ePublisher Pro\Formats\XML+XSL\Files\xsl | document.xsl | Mon Oct 13 05:52:00 2008 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 1792 |
Changed | 2 | 4 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | All differences in whitespace within lines are ignored |
---|---|
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 |
No regular expressions were active.
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) > 0"> | 45 | <x sl:if test ="string-l ength(//wp :wp[@wp:ty pe = 'body -style']/@ wp:value) > 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:templ ate match="*[@ wp:type='p ara'] | *[@wp:type ='table cell_headi ng'] | *[@wp:type ='tablecel l_body'] | *[@wp:type ='tablecel l_footing' ] | *[@wp:type ='table title'] | *[@wp:type ='footnote ']"> | 184 |
<xsl:templ
ate
match="*[@
wp:type='p
ara']
|
*[@wp:type
='table
|
|||
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="tit le"><xsl:v alue-of se lect="@wp: title"/></ xsl:attrib ute> | |||
360 | <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> | |||
361 | <xsl :value-of select="." /> | 361 | <xsl :value-of select="." /> | |||
362 | </a> | 362 | </a> | |||
363 | </xsl:te mplate> | 363 | </xsl:te mplate> | |||
364 | 364 | |||||
365 | <!-- Con tact Infor mation Rul e --> | 365 | <!-- Con tact Infor mation Rul e --> | |||
366 | <!-- --> | 366 | <!-- --> | |||
367 | <xsl:tem plate matc h="*[@wp:t ype = 'com pany-info' ]"> | 367 | <xsl:tem plate matc h="*[@wp:t ype = 'com pany-info' ]"> | |||
368 | <xsl:p aram name= "ParamCont ext" /> | 368 | <xsl:p aram name= "ParamCont ext" /> | |||
369 | 369 | |||||
370 | <xsl:v ariable na me="VarNod e" select= "." /> | 370 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
371 | <xsl:v ariable na me="VarAli gn"> | 371 | <xsl:v ariable na me="VarAli gn"> | |||
372 | <xsl :choose> | 372 | <xsl :choose> | |||
373 | <x sl:when te st="$Param Context = 'top'"> | 373 | <x sl:when te st="$Param Context = 'top'"> | |||
374 | <xsl:value -of select ="$VarNode /@wp:top-a lign" /> | 374 | <xsl:value -of select ="$VarNode /@wp:top-a lign" /> | |||
375 | </ xsl:when> | 375 | </ xsl:when> | |||
376 | <x sl:otherwi se> | 376 | <x sl:otherwi se> | |||
377 | <xsl:value -of select ="$VarNode /@wp:botto m-align" / > | 377 | <xsl:value -of select ="$VarNode /@wp:botto m-align" / > | |||
378 | </ xsl:otherw ise> | 378 | </ xsl:otherw ise> | |||
379 | </xs l:choose> | 379 | </xs l:choose> | |||
380 | </xsl: variable> | 380 | </xsl: variable> | |||
381 | 381 | |||||
382 | <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=""> | |||
383 | <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 ']"> | |||
384 | <tr style="ver tical-alig n: baselin e;"> | 384 | <tr style="ver tical-alig n: baselin e;"> | |||
385 | <t d> | 385 | <t d> | |||
386 | <xsl :apply-tem plates /> | 386 | <xsl :apply-tem plates /> | |||
387 | </ td> | 387 | </ td> | |||
388 | </tr > | 388 | </tr > | |||
389 | </xsl: for-each> | 389 | </xsl: for-each> | |||
390 | </tabl e> | 390 | </tabl e> | |||
391 | </xsl:te mplate> | 391 | </xsl:te mplate> | |||
392 | 392 | |||||
393 | <!-- Bre adcrumbs R ule --> | 393 | <!-- Bre adcrumbs R ule --> | |||
394 | <!-- --> | 394 | <!-- --> | |||
395 | <xsl:tem plate matc h="*[@wp:t ype = 'bre adcrumbs'] "> | 395 | <xsl:tem plate matc h="*[@wp:t ype = 'bre adcrumbs'] "> | |||
396 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 396 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
397 | <xsl:p aram name= "ParamPosi tion" /> | 397 | <xsl:p aram name= "ParamPosi tion" /> | |||
398 | 398 | |||||
399 | <xsl:v ariable na me="VarAli gn"> | 399 | <xsl:v ariable na me="VarAli gn"> | |||
400 | <xsl :choose> | 400 | <xsl :choose> | |||
401 | <x sl:when te st="$Param Position = 'top'"> | 401 | <x sl:when te st="$Param Position = 'top'"> | |||
402 | <xsl:value -of select ="$ParamCo ntext/@wp: top-align" /> | 402 | <xsl:value -of select ="$ParamCo ntext/@wp: top-align" /> | |||
403 | </ xsl:when> | 403 | </ xsl:when> | |||
404 | <x sl:otherwi se> | 404 | <x sl:otherwi se> | |||
405 | <xsl:value -of select ="$ParamCo ntext/@wp: bottom-ali gn" /> | 405 | <xsl:value -of select ="$ParamCo ntext/@wp: bottom-ali gn" /> | |||
406 | </ xsl:otherw ise> | 406 | </ xsl:otherw ise> | |||
407 | </xs l:choose> | 407 | </xs l:choose> | |||
408 | </xsl: variable> | 408 | </xsl: variable> | |||
409 | 409 | |||||
410 | <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};" > | |||
411 | <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()"> | |||
412 | <x sl:choose> | 412 | <x sl:choose> | |||
413 | <xsl:when test="loca l-name(.) = 'GotoLin k'"> | 413 | <xsl:when test="loca l-name(.) = 'GotoLin k'"> | |||
414 | <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> | |||
415 | </xsl:when > | 415 | </xsl:when > | |||
416 | 416 | |||||
417 | <xsl:other wise> | 417 | <xsl:other wise> | |||
418 | <xsl:val ue-of sele ct="." /> | 418 | <xsl:val ue-of sele ct="." /> | |||
419 | </xsl:othe rwise> | 419 | </xsl:othe rwise> | |||
420 | </ xsl:choose > | 420 | </ xsl:choose > | |||
421 | </xs l:for-each > | 421 | </xs l:for-each > | |||
422 | </div> | 422 | </div> | |||
423 | </xsl:te mplate> | 423 | </xsl:te mplate> | |||
424 | 424 | |||||
425 | <!-- XRe f and Hype rtext Rule --> | 425 | <!-- XRe f and Hype rtext Rule --> | |||
426 | <xsl:tem plate matc h="wp:Goto Link"> | 426 | <xsl:tem plate matc h="wp:Goto Link"> | |||
427 | <xsl:v ariable na me="VarNod e" select= "." /> | 427 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
428 | 428 | |||||
429 | <a> | 429 | <a> | |||
430 | <xsl :if test=" string-len gth($VarNo de/@wp:nam e) > 0" > | 430 | <xsl :if test=" string-len gth($VarNo de/@wp:nam e) > 0" > | |||
431 | <x sl:attribu te name="n ame"> | 431 | <x sl:attribu te name="n ame"> | |||
432 | <xsl:value -of select ="$VarNode /@wp:name" /> | 432 | <xsl:value -of select ="$VarNode /@wp:name" /> | |||
433 | </ xsl:attrib ute> | 433 | </ xsl:attrib ute> | |||
434 | </xs l:if> | 434 | </xs l:if> | |||
435 | 435 | |||||
436 | <xsl :if test=" string-len gth($VarNo de/@wp:hre f) > 0" > | 436 | <xsl :if test=" string-len gth($VarNo de/@wp:hre f) > 0" > | |||
437 | <x sl:attribu te name="h ref"> | 437 | <x sl:attribu te name="h ref"> | |||
438 | <xsl:value -of select ="$VarNode /@wp:href" /> | 438 | <xsl:value -of select ="$VarNode /@wp:href" /> | |||
439 | </ xsl:attrib ute> | 439 | </ xsl:attrib ute> | |||
440 | </xs l:if> | 440 | </xs l:if> | |||
441 | 441 | |||||
442 | <xsl :if test=" string-len gth($VarNo de/@wp:tar get) > 0"> | 442 | <xsl :if test=" string-len gth($VarNo de/@wp:tar get) > 0"> | |||
443 | <x sl:attribu te name="t arget"> | 443 | <x sl:attribu te name="t arget"> | |||
444 | <xsl:value -of select ="@wp:targ et" /> | 444 | <xsl:value -of select ="@wp:targ et" /> | |||
445 | </ xsl:attrib ute> | 445 | </ xsl:attrib ute> | |||
446 | </xs l:if> | 446 | </xs l:if> | |||
447 | 447 | |||||
448 | <xsl :apply-tem plates /> | 448 | <xsl :apply-tem plates /> | |||
449 | </a> | 449 | </a> | |||
450 | </xsl:te mplate> | 450 | </xsl:te mplate> | |||
451 | 451 | |||||
452 | <!-- Ima ge Handlin g Rules -- > | 452 | <!-- Ima ge Handlin g Rules -- > | |||
453 | <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']"> | |||
454 | <xsl:v ariable na me="VarNod e" select= "." /> | 454 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
455 | <xsl:i f test="$V arNode/@wp :display"> | 455 | <xsl:i f test="$V arNode/@wp :display"> | |||
456 | <br> | 456 | <br> | |||
457 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | 457 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | |||
458 | </br > | 458 | </br > | |||
459 | </xsl: if> | 459 | </xsl: if> | |||
460 | 460 | |||||
461 | <xsl:c hoose> | 461 | <xsl:c hoose> | |||
462 | <xsl :when test ="(string- length($Va rNode/@wp: width) > ; 0) and ( string-len gth(@wp:he ight) > 0)"> | 462 | <xsl :when test ="(string- length($Va rNode/@wp: width) > ; 0) and ( string-len gth(@wp:he ight) > 0)"> | |||
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 | <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}"/> | |||
464 | </xs l:when> | 464 | </xs l:when> | |||
465 | <xsl :otherwise > | 465 | <xsl :otherwise > | |||
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 | <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}"/ > | |||
467 | </xs l:otherwis e> | 467 | </xs l:otherwis e> | |||
468 | </xsl: choose> | 468 | </xsl: choose> | |||
469 | 469 | |||||
470 | <xsl:i f test="@w p:display" > | 470 | <xsl:i f test="@w p:display" > | |||
471 | <br> | 471 | <br> | |||
472 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | 472 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | |||
473 | </br > | 473 | </br > | |||
474 | </xsl: if> | 474 | </xsl: if> | |||
475 | <xsl :apply-tem plates /> | 475 | <xsl :apply-tem plates /> | |||
476 | </xsl:te mplate> | 476 | </xsl:te mplate> | |||
477 | 477 | |||||
478 | <xsl:tem plate matc h="*[@wp:t ype='image /svg+xml'] "> | 478 | <xsl:tem plate matc h="*[@wp:t ype='image /svg+xml'] "> | |||
479 | <xsl:i f test="@w p:display" > | 479 | <xsl:i f test="@w p:display" > | |||
480 | <br> | 480 | <br> | |||
481 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | 481 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | |||
482 | </br > | 482 | </br > | |||
483 | </xsl: if> | 483 | </xsl: if> | |||
484 | <obj ect> | 484 | <obj ect> | |||
485 | <x sl:attribu te name="d ata"><xsl: value-of s elect="@wp :data"/></ xsl:attrib ute> | 485 | <x sl:attribu te name="d ata"><xsl: value-of s elect="@wp :data"/></ xsl:attrib ute> | |||
486 | <x sl:attribu te name="t ype"><xsl: value-of s elect="@wp :type"/></ xsl:attrib ute> | 486 | <x sl:attribu te name="t ype"><xsl: value-of s elect="@wp :type"/></ xsl:attrib ute> | |||
487 | 487 | |||||
488 | <x sl:if test ="@wp:widt h"> | 488 | <x sl:if test ="@wp:widt h"> | |||
489 | <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> | |||
490 | </ xsl:if> | 490 | </ xsl:if> | |||
491 | <x sl:if test ="@wp:heig ht"> | 491 | <x sl:if test ="@wp:heig ht"> | |||
492 | <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> | |||
493 | </ xsl:if> | 493 | </ xsl:if> | |||
494 | <x sl:if test ="@wp:titl e"> | 494 | <x sl:if test ="@wp:titl e"> | |||
495 | <xsl:attri bute name= "title"><x sl:value-o f select=" @wp:title" /></xsl:at tribute> | 495 | <xsl:attri bute name= "title"><x sl:value-o f select=" @wp:title" /></xsl:at tribute> | |||
496 | </ xsl:if> | 496 | </ xsl:if> | |||
497 | <x sl:if test ="@wp:styl e"> | 497 | <x sl:if test ="@wp:styl e"> | |||
498 | <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute> | 498 | <xsl:attri bute name= "style"><x sl:value-o f select=" @wp:style" /></xsl:at tribute> | |||
499 | </ xsl:if> | 499 | </ xsl:if> | |||
500 | 500 | |||||
501 | <p aram name= "src" valu e="{@wp:da ta}" value type="data type" /> | 501 | <p aram name= "src" valu e="{@wp:da ta}" value type="data type" /> | |||
502 | </ob ject> | 502 | </ob ject> | |||
503 | <xsl:i f test="@w p:display" > | 503 | <xsl:i f test="@w p:display" > | |||
504 | <br> | 504 | <br> | |||
505 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | 505 | <x sl:attribu te name="c lear">all< /xsl:attri bute> | |||
506 | </br > | 506 | </br > | |||
507 | </xsl: if> | 507 | </xsl: if> | |||
508 | <xsl :apply-tem plates /> | 508 | <xsl :apply-tem plates /> | |||
509 | </xsl:te mplate> | 509 | </xsl:te mplate> | |||
510 | 510 | |||||
511 | <xsl:tem plate matc h="wp:Map" > | 511 | <xsl:tem plate matc h="wp:Map" > | |||
512 | <xsl:v ariable na me="VarNod e" select= "." /> | 512 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
513 | <map> | 513 | <map> | |||
514 | <xsl :attribute name="nam e"> | 514 | <xsl :attribute name="nam e"> | |||
515 | <x sl:value-o f select=" $VarNode/@ wp:name"/> | 515 | <x sl:value-o f select=" $VarNode/@ wp:name"/> | |||
516 | </xs l:attribut e> | 516 | </xs l:attribut e> | |||
517 | <xsl :apply-tem plates sel ect="$VarN ode/wp:Are a" /> | 517 | <xsl :apply-tem plates sel ect="$VarN ode/wp:Are a" /> | |||
518 | </map> | 518 | </map> | |||
519 | </xsl:te mplate> | 519 | </xsl:te mplate> | |||
520 | 520 | |||||
521 | <xsl:tem plate matc h="wp:Area "> | 521 | <xsl:tem plate matc h="wp:Area "> | |||
522 | <area> | 522 | <area> | |||
523 | <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> | |||
524 | <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> | |||
525 | <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> | |||
526 | <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> | |||
527 | <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> | |||
528 | </area > | 528 | </area > | |||
529 | </xsl:te mplate> | 529 | </xsl:te mplate> | |||
530 | 530 | |||||
531 | <xsl:tem plate matc h="wp:br"> | 531 | <xsl:tem plate matc h="wp:br"> | |||
532 | <br /> | 532 | <br /> | |||
533 | </xsl:te mplate> | 533 | </xsl:te mplate> | |||
534 | 534 | |||||
535 | <xsl:tem plate matc h="wp:sup" > | 535 | <xsl:tem plate matc h="wp:sup" > | |||
536 | <sup s tyle="{@wp :style}"> | 536 | <sup s tyle="{@wp :style}"> | |||
537 | <xsl: apply-temp lates /> | 537 | <xsl: apply-temp lates /> | |||
538 | </sup> | 538 | </sup> | |||
539 | </xsl:te mplate> | 539 | </xsl:te mplate> | |||
540 | 540 | |||||
541 | <xsl:tem plate matc h="wp:tabl e"> | 541 | <xsl:tem plate matc h="wp:tabl e"> | |||
542 | <table > | 542 | <table > | |||
543 | <xsl :copy-of s elect="@*" /> | 543 | <xsl :copy-of s elect="@*" /> | |||
544 | <xsl :apply-tem plates /> | 544 | <xsl :apply-tem plates /> | |||
545 | </tabl e> | 545 | </tabl e> | |||
546 | </xsl:te mplate> | 546 | </xsl:te mplate> | |||
547 | 547 | |||||
548 | <xsl:tem plate matc h="wp:tr"> | 548 | <xsl:tem plate matc h="wp:tr"> | |||
549 | <tr> | 549 | <tr> | |||
550 | <xsl :copy-of s elect="@*" /> | 550 | <xsl :copy-of s elect="@*" /> | |||
551 | <xsl :apply-tem plates /> | 551 | <xsl :apply-tem plates /> | |||
552 | </tr> | 552 | </tr> | |||
553 | </xsl:te mplate> | 553 | </xsl:te mplate> | |||
554 | 554 | |||||
555 | <xsl:tem plate matc h="wp:td"> | 555 | <xsl:tem plate matc h="wp:td"> | |||
556 | <td> | 556 | <td> | |||
557 | <xsl :copy-of s elect="@*" /> | 557 | <xsl :copy-of s elect="@*" /> | |||
558 | <xsl :apply-tem plates /> | 558 | <xsl :apply-tem plates /> | |||
559 | </td> | 559 | </td> | |||
560 | </xsl:te mplate> | 560 | </xsl:te mplate> | |||
561 | 561 | |||||
562 | <!-- Def ault Text Rule --> | 562 | <!-- Def ault Text Rule --> | |||
563 | <xsl:tem plate matc h="text()" > | 563 | <xsl:tem plate matc h="text()" > | |||
564 | <xsl: value-of s elect="." /> | 564 | <xsl: value-of s elect="." /> | |||
565 | </xsl:te mplate> | 565 | </xsl:te mplate> | |||
566 | 566 | |||||
567 | <!-- Table Rules --> | 567 | <!-- Table Rules --> | |||
568 | 568 | |||||
569 | <!-- Sin gle Table --> | 569 | <!-- Sin gle Table --> | |||
570 | <xsl:tem plate matc h="*[@wp:t ype='table ']"> | 570 | <xsl:tem plate matc h="*[@wp:t ype='table ']"> | |||
571 | <xsl:v ariable na me="VarNod e" select= "." /> | 571 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
572 | 572 | |||||
573 | <table id="{$Var Node/@id}" > | 573 | <table id="{$Var Node/@id}" > | |||
574 | <xsl :if test=" string-len gth($VarNo de/@wp:bor der) > 0"> | 574 | <xsl :if test=" string-len gth($VarNo de/@wp:bor der) > 0"> | |||
575 | <x sl:attribu te name="b order"> | 575 | <x sl:attribu te name="b order"> | |||
576 | <xsl:value -of select ="$VarNode /@wp:borde r" /> | 576 | <xsl:value -of select ="$VarNode /@wp:borde r" /> | |||
577 | </ xsl:attrib ute> | 577 | </ xsl:attrib ute> | |||
578 | </xs l:if> | 578 | </xs l:if> | |||
579 | 579 | |||||
580 | <xsl :if test=" string-len gth($VarNo de/@wp:cel lpadding) > 0"> | 580 | <xsl :if test=" string-len gth($VarNo de/@wp:cel lpadding) > 0"> | |||
581 | <x sl:attribu te name="c ellpadding "> | 581 | <x sl:attribu te name="c ellpadding "> | |||
582 | <xsl:value -of select ="$VarNode /@wp:cellp adding" /> | 582 | <xsl:value -of select ="$VarNode /@wp:cellp adding" /> | |||
583 | </ xsl:attrib ute> | 583 | </ xsl:attrib ute> | |||
584 | </xs l:if> | 584 | </xs l:if> | |||
585 | 585 | |||||
586 | <xsl :if test=" string-len gth($VarNo de/@wp:cel lspacing) > 0"> | 586 | <xsl :if test=" string-len gth($VarNo de/@wp:cel lspacing) > 0"> | |||
587 | <x sl:attribu te name="c ellspacing "> | 587 | <x sl:attribu te name="c ellspacing "> | |||
588 | <xsl:value -of select ="$VarNode /@wp:cells pacing" /> | 588 | <xsl:value -of select ="$VarNode /@wp:cells pacing" /> | |||
589 | </ xsl:attrib ute> | 589 | </ xsl:attrib ute> | |||
590 | </xs l:if> | 590 | </xs l:if> | |||
591 | 591 | |||||
592 | <xsl :if test=" string-len gth($VarNo de/@wp:cla ss) > 0 "> | 592 | <xsl :if test=" string-len gth($VarNo de/@wp:cla ss) > 0 "> | |||
593 | <x sl:attribu te name="c lass"> | 593 | <x sl:attribu te name="c lass"> | |||
594 | <xsl:value -of select ="$VarNode /@wp:class " /> | 594 | <xsl:value -of select ="$VarNode /@wp:class " /> | |||
595 | </ xsl:attrib ute> | 595 | </ xsl:attrib ute> | |||
596 | </xs l:if> | 596 | </xs l:if> | |||
597 | 597 | |||||
598 | <xsl :if test=" string-len gth($VarNo de/@wp:sty le) > 0 "> | 598 | <xsl :if test=" string-len gth($VarNo de/@wp:sty le) > 0 "> | |||
599 | <x sl:attribu te name="s tyle"> | 599 | <x sl:attribu te name="s tyle"> | |||
600 | <xsl:value -of select ="$VarNode /@wp:style " /> | 600 | <xsl:value -of select ="$VarNode /@wp:style " /> | |||
601 | </ xsl:attrib ute> | 601 | </ xsl:attrib ute> | |||
602 | </xs l:if> | 602 | </xs l:if> | |||
603 | 603 | |||||
604 | <cap tion> | 604 | <cap tion> | |||
605 | <x sl:apply-t emplates s elect="*[@ wp:type='t abletitle' ]" /> | 605 | <x sl:apply-t emplates s elect="*[@ wp:type='t abletitle' ]" /> | |||
606 | </ca ption> | 606 | </ca ption> | |||
607 | 607 | |||||
608 | <xsl :apply-tem plates sel ect="*[@wp :type='tab leheading' ]" /> | 608 | <xsl :apply-tem plates sel ect="*[@wp :type='tab leheading' ]" /> | |||
609 | <xsl :apply-tem plates sel ect="*[@wp :type='tab lebody']" /> | 609 | <xsl :apply-tem plates sel ect="*[@wp :type='tab lebody']" /> | |||
610 | <xsl :apply-tem plates sel ect="*[@wp :type='tab lefooting' ]" /> | 610 | <xsl :apply-tem plates sel ect="*[@wp :type='tab lefooting' ]" /> | |||
611 | </tabl e> | 611 | </tabl e> | |||
612 | <table summary=" "> | 612 | <table summary=" "> | |||
613 | <tr> <td> | 613 | <tr> <td> | |||
614 | <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' ]" /> | |||
615 | </td ></tr> | 615 | </td ></tr> | |||
616 | </tabl e> | 616 | </tabl e> | |||
617 | </xsl:te mplate> | 617 | </xsl:te mplate> | |||
618 | 618 | |||||
619 | <!-- Tab le Heading Rows --> | 619 | <!-- Tab le Heading Rows --> | |||
620 | <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']"> | |||
621 | <xsl:v ariable na me="VarNod e" select= "." /> | 621 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
622 | 622 | |||||
623 | <tr> | 623 | <tr> | |||
624 | <xsl :if test=" @wp:style" > | 624 | <xsl :if test=" @wp:style" > | |||
625 | <x sl:attribu te name="s tyle"> | 625 | <x sl:attribu te name="s tyle"> | |||
626 | <xsl:value -of select ="@wp:styl e" /> | 626 | <xsl:value -of select ="@wp:styl e" /> | |||
627 | </ xsl:attrib ute> | 627 | </ xsl:attrib ute> | |||
628 | </xs l:if> | 628 | </xs l:if> | |||
629 | 629 | |||||
630 | <xsl :apply-tem plates sel ect="$VarN ode/*" /> | 630 | <xsl :apply-tem plates sel ect="$VarN ode/*" /> | |||
631 | </tr> | 631 | </tr> | |||
632 | </xsl:te mplate> | 632 | </xsl:te mplate> | |||
633 | 633 | |||||
634 | <!-- Tab le Body an d Footing Rows --> | 634 | <!-- Tab le Body an d Footing Rows --> | |||
635 | <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']"> | |||
636 | <xsl:v ariable na me="VarNod e" select= "." /> | 636 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
637 | 637 | |||||
638 | <tr> | 638 | <tr> | |||
639 | <xsl :if test=" @wp:style" > | 639 | <xsl :if test=" @wp:style" > | |||
640 | <x sl:attribu te name="s tyle"> | 640 | <x sl:attribu te name="s tyle"> | |||
641 | <xsl:value -of select ="@wp:styl e" /> | 641 | <xsl:value -of select ="@wp:styl e" /> | |||
642 | </ xsl:attrib ute> | 642 | </ xsl:attrib ute> | |||
643 | </xs l:if> | 643 | </xs l:if> | |||
644 | 644 | |||||
645 | <xsl :apply-tem plates sel ect="$VarN ode/*" /> | 645 | <xsl :apply-tem plates sel ect="$VarN ode/*" /> | |||
646 | </tr> | 646 | </tr> | |||
647 | </xsl:te mplate> | 647 | </xsl:te mplate> | |||
648 | 648 | |||||
649 | <!-- Tab le Body an d Footing Cells --> | 649 | <!-- Tab le Body an d Footing Cells --> | |||
650 | <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']"> | |||
651 | <xsl:v ariable na me="VarNod e" select= "." /> | 651 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
652 | 652 | |||||
653 | <xsl:c hoose> | 653 | <xsl:c hoose> | |||
654 |
<xsl:when
test="
|
654 | <xsl:when test=" ( string-len gth($VarNo de/ descendant ::text() ) = 0 ) and (count($Va rNode/desc endant::wp :Image[1]) = 0) "> | |||
655 | <t d> | 655 | <t d> | |||
656 | <xsl:attri bute name= "id"> | 656 | <xsl:attri bute name= "id"> | |||
657 | <xsl:val ue-of sele ct="@wp:id "/> | 657 | <xsl:val ue-of sele ct="@wp:id "/> | |||
658 | </xsl:attr ibute> | 658 | </xsl:attr ibute> | |||
659 | <xsl:if te st="@wp:co lspan"> | 659 | <xsl:if te st="@wp:co lspan"> | |||
660 | <xsl:att ribute nam e="colspan "> | 660 | <xsl:att ribute nam e="colspan "> | |||
661 | <xsl:v alue-of se lect="@wp: colspan" / > | 661 | <xsl:v alue-of se lect="@wp: colspan" / > | |||
662 | </xsl:at tribute> | 662 | </xsl:at tribute> | |||
663 | </xsl:if> | 663 | </xsl:if> | |||
664 | <xsl:if te st="@wp:ro wspan"> | 664 | <xsl:if te st="@wp:ro wspan"> | |||
665 | <xsl:att ribute nam e="rowspan "> | 665 | <xsl:att ribute nam e="rowspan "> | |||
666 | <xsl:v alue-of se lect="@wp: rowspan"/> | 666 | <xsl:v alue-of se lect="@wp: rowspan"/> | |||
667 | </xsl:at tribute> | 667 | </xsl:at tribute> | |||
668 | </xsl:if> | 668 | </xsl:if> | |||
669 | <xsl:if te st="@wp:cl ass"> | 669 | <xsl:if te st="@wp:cl ass"> | |||
670 | <xsl:att ribute nam e="class"> | 670 | <xsl:att ribute nam e="class"> | |||
671 | <xsl:v alue-of se lect="@wp: class" /> | 671 | <xsl:v alue-of se lect="@wp: class" /> | |||
672 | </xsl:at tribute> | 672 | </xsl:at tribute> | |||
673 | </xsl:if> | 673 | </xsl:if> | |||
674 | <xsl:if te st="@wp:st yle"> | 674 | <xsl:if te st="@wp:st yle"> | |||
675 | <xsl:att ribute nam e="style"> | 675 | <xsl:att ribute nam e="style"> | |||
676 | <xsl:v alue-of se lect="@wp: style" /> | 676 | <xsl:v alue-of se lect="@wp: style" /> | |||
677 | </xsl:at tribute> | 677 | </xsl:at tribute> | |||
678 | </xsl:if> | 678 | </xsl:if> | |||
679 | <xsl:value -of select ="' ' " /> | 679 | <xsl:value -of select ="' ' " /> | |||
680 | </ td> | 680 | </ td> | |||
681 | </xs l:when> | 681 | </xs l:when> | |||
682 | <xsl :otherwise > | 682 | <xsl :otherwise > | |||
683 | <t d> | 683 | <t d> | |||
684 | <xsl:attri bute name= "id"> | 684 | <xsl:attri bute name= "id"> | |||
685 | <xsl:val ue-of sele ct="@wp:id "/> | 685 | <xsl:val ue-of sele ct="@wp:id "/> | |||
686 | </xsl:attr ibute> | 686 | </xsl:attr ibute> | |||
687 | <xsl:if te st="@wp:co lspan"> | 687 | <xsl:if te st="@wp:co lspan"> | |||
688 | <xsl:att ribute nam e="colspan "> | 688 | <xsl:att ribute nam e="colspan "> | |||
689 | <xsl:v alue-of se lect="@wp: colspan" / > | 689 | <xsl:v alue-of se lect="@wp: colspan" / > | |||
690 | </xsl:at tribute> | 690 | </xsl:at tribute> | |||
691 | </xsl:if> | 691 | </xsl:if> | |||
692 | <xsl:if te st="@wp:ro wspan"> | 692 | <xsl:if te st="@wp:ro wspan"> | |||
693 | <xsl:att ribute nam e="rowspan "> | 693 | <xsl:att ribute nam e="rowspan "> | |||
694 | <xsl:v alue-of se lect="@wp: rowspan"/> | 694 | <xsl:v alue-of se lect="@wp: rowspan"/> | |||
695 | </xsl:at tribute> | 695 | </xsl:at tribute> | |||
696 | </xsl:if> | 696 | </xsl:if> | |||
697 | <xsl:if te st="@wp:cl ass"> | 697 | <xsl:if te st="@wp:cl ass"> | |||
698 | <xsl:att ribute nam e="class"> | 698 | <xsl:att ribute nam e="class"> | |||
699 | <xsl:v alue-of se lect="@wp: class" /> | 699 | <xsl:v alue-of se lect="@wp: class" /> | |||
700 | </xsl:at tribute> | 700 | </xsl:at tribute> | |||
701 | </xsl:if> | 701 | </xsl:if> | |||
702 | <xsl:if te st="@wp:st yle"> | 702 | <xsl:if te st="@wp:st yle"> | |||
703 | <xsl:att ribute nam e="style"> | 703 | <xsl:att ribute nam e="style"> | |||
704 | <xsl:v alue-of se lect="@wp: style" /> | 704 | <xsl:v alue-of se lect="@wp: style" /> | |||
705 | </xsl:at tribute> | 705 | </xsl:at tribute> | |||
706 | </xsl:if> | 706 | </xsl:if> | |||
707 | <xsl:apply -templates select="$ VarNode/*" /> | 707 | <xsl:apply -templates select="$ VarNode/*" /> | |||
708 | </ td> | 708 | </ td> | |||
709 | </xs l:otherwis e> | 709 | </xs l:otherwis e> | |||
710 | </xsl: choose> | 710 | </xsl: choose> | |||
711 | 711 | |||||
712 | </xsl:te mplate> | 712 | </xsl:te mplate> | |||
713 | 713 | |||||
714 | <!-- Tab le Heading Cells --> | 714 | <!-- Tab le Heading Cells --> | |||
715 | <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']"> | |||
716 | <xsl:v ariable na me="VarNod e" select= "." /> | 716 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
717 | 717 | |||||
718 | <xsl:c hoose> | 718 | <xsl:c hoose> | |||
719 | <xsl :when test ="string-l ength($Var Node/.) = 0"> | 719 | <xsl :when test ="string-l ength($Var Node/.) = 0"> | |||
720 | <t h> | 720 | <t h> | |||
721 | <xsl:attri bute name= "id"> | 721 | <xsl:attri bute name= "id"> | |||
722 | <xsl:val ue-of sele ct="@wp:id "/> | 722 | <xsl:val ue-of sele ct="@wp:id "/> | |||
723 | </xsl:attr ibute> | 723 | </xsl:attr ibute> | |||
724 | <xsl:if te st="@wp:co lspan"> | 724 | <xsl:if te st="@wp:co lspan"> | |||
725 | <xsl:att ribute nam e="colspan "> | 725 | <xsl:att ribute nam e="colspan "> | |||
726 | <xsl:v alue-of se lect="@wp: colspan" / > | 726 | <xsl:v alue-of se lect="@wp: colspan" / > | |||
727 | </xsl:at tribute> | 727 | </xsl:at tribute> | |||
728 | </xsl:if> | 728 | </xsl:if> | |||
729 | <xsl:if te st="@wp:ro wspan"> | 729 | <xsl:if te st="@wp:ro wspan"> | |||
730 | <xsl:att ribute nam e="rowspan "> | 730 | <xsl:att ribute nam e="rowspan "> | |||
731 | <xsl:v alue-of se lect="@wp: rowspan"/> | 731 | <xsl:v alue-of se lect="@wp: rowspan"/> | |||
732 | </xsl:at tribute> | 732 | </xsl:at tribute> | |||
733 | </xsl:if> | 733 | </xsl:if> | |||
734 | <xsl:if te st="@wp:cl ass"> | 734 | <xsl:if te st="@wp:cl ass"> | |||
735 | <xsl:att ribute nam e="class"> | 735 | <xsl:att ribute nam e="class"> | |||
736 | <xsl:v alue-of se lect="@wp: class" /> | 736 | <xsl:v alue-of se lect="@wp: class" /> | |||
737 | </xsl:at tribute> | 737 | </xsl:at tribute> | |||
738 | </xsl:if> | 738 | </xsl:if> | |||
739 | <xsl:if te st="@wp:st yle"> | 739 | <xsl:if te st="@wp:st yle"> | |||
740 | <xsl:att ribute nam e="style"> | 740 | <xsl:att ribute nam e="style"> | |||
741 | <xsl:v alue-of se lect="@wp: style" /> | 741 | <xsl:v alue-of se lect="@wp: style" /> | |||
742 | </xsl:at tribute> | 742 | </xsl:at tribute> | |||
743 | </xsl:if> | 743 | </xsl:if> | |||
744 | <xsl:value -of select ="' ' " /> | 744 | <xsl:value -of select ="' ' " /> | |||
745 | </ th> | 745 | </ th> | |||
746 | </xs l:when> | 746 | </xs l:when> | |||
747 | <xsl :otherwise > | 747 | <xsl :otherwise > | |||
748 | <t h> | 748 | <t h> | |||
749 | <xsl:attri bute name= "id"> | 749 | <xsl:attri bute name= "id"> | |||
750 | <xsl:val ue-of sele ct="@wp:id "/> | 750 | <xsl:val ue-of sele ct="@wp:id "/> | |||
751 | </xsl:attr ibute> | 751 | </xsl:attr ibute> | |||
752 | <xsl:if te st="@wp:co lspan"> | 752 | <xsl:if te st="@wp:co lspan"> | |||
753 | <xsl:att ribute nam e="colspan "> | 753 | <xsl:att ribute nam e="colspan "> | |||
754 | <xsl:v alue-of se lect="@wp: colspan" / > | 754 | <xsl:v alue-of se lect="@wp: colspan" / > | |||
755 | </xsl:at tribute> | 755 | </xsl:at tribute> | |||
756 | </xsl:if> | 756 | </xsl:if> | |||
757 | <xsl:if te st="@wp:ro wspan"> | 757 | <xsl:if te st="@wp:ro wspan"> | |||
758 | <xsl:att ribute nam e="rowspan "> | 758 | <xsl:att ribute nam e="rowspan "> | |||
759 | <xsl:v alue-of se lect="@wp: rowspan"/> | 759 | <xsl:v alue-of se lect="@wp: rowspan"/> | |||
760 | </xsl:at tribute> | 760 | </xsl:at tribute> | |||
761 | </xsl:if> | 761 | </xsl:if> | |||
762 | <xsl:if te st="@wp:cl ass"> | 762 | <xsl:if te st="@wp:cl ass"> | |||
763 | <xsl:att ribute nam e="class"> | 763 | <xsl:att ribute nam e="class"> | |||
764 | <xsl:v alue-of se lect="@wp: class" /> | 764 | <xsl:v alue-of se lect="@wp: class" /> | |||
765 | </xsl:at tribute> | 765 | </xsl:at tribute> | |||
766 | </xsl:if> | 766 | </xsl:if> | |||
767 | <xsl:if te st="@wp:st yle"> | 767 | <xsl:if te st="@wp:st yle"> | |||
768 | <xsl:att ribute nam e="style"> | 768 | <xsl:att ribute nam e="style"> | |||
769 | <xsl:v alue-of se lect="@wp: style" /> | 769 | <xsl:v alue-of se lect="@wp: style" /> | |||
770 | </xsl:at tribute> | 770 | </xsl:at tribute> | |||
771 | </xsl:if> | 771 | </xsl:if> | |||
772 | <xsl:apply -templates select="$ VarNode/*" /> | 772 | <xsl:apply -templates select="$ VarNode/*" /> | |||
773 | </ th> | 773 | </ th> | |||
774 | </xs l:otherwis e> | 774 | </xs l:otherwis e> | |||
775 | </xsl: choose> | 775 | </xsl: choose> | |||
776 | </xsl:te mplate> | 776 | </xsl:te mplate> | |||
777 | 777 | |||||
778 | <xsl:tem plate matc h="*[@wp:t ype = 'toc -title']"> | 778 | <xsl:tem plate matc h="*[@wp:t ype = 'toc -title']"> | |||
779 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 779 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
780 | 780 | |||||
781 | <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> | |||
782 | </xsl:te mplate> | 782 | </xsl:te mplate> | |||
783 | 783 | |||||
784 | <xsl:tem plate matc h="*[@wp:t ype = 'toc -para']"> | 784 | <xsl:tem plate matc h="*[@wp:t ype = 'toc -para']"> | |||
785 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 785 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
786 | 786 | |||||
787 | <div c lass="WebW orks_TOC_L evel{@wp:l evel}"> | 787 | <div c lass="WebW orks_TOC_L evel{@wp:l evel}"> | |||
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> | 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> | |||
789 | </div> | 789 | </div> | |||
790 | </xsl:te mplate> | 790 | </xsl:te mplate> | |||
791 | 791 | |||||
792 | <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']"> | |||
793 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 793 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
794 | 794 | |||||
795 | <div c lass="WebW orks_MiniT OC"> | 795 | <div c lass="WebW orks_MiniT OC"> | |||
796 | <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']" /> | |||
797 | </div> | 797 | </div> | |||
798 | </xsl:te mplate> | 798 | </xsl:te mplate> | |||
799 | 799 | |||||
800 | <xsl:tem plate matc h="*[@wp:t ype = 'min itoc-para' ]"> | 800 | <xsl:tem plate matc h="*[@wp:t ype = 'min itoc-para' ]"> | |||
801 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 801 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
802 | 802 | |||||
803 | <div c lass="WebW orks_MiniT OC_Level{@ wp:level}" > | 803 | <div c lass="WebW orks_MiniT OC_Level{@ wp:level}" > | |||
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> | 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> | |||
805 | </div> | 805 | </div> | |||
806 | </xsl:te mplate> | 806 | </xsl:te mplate> | |||
807 | 807 | |||||
808 | <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-title'] "> | 808 | <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-title'] "> | |||
809 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 809 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
810 | 810 | |||||
811 | <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> | |||
812 | </xsl:te mplate> | 812 | </xsl:te mplate> | |||
813 | 813 | |||||
814 | <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-group'] "> | 814 | <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-group'] "> | |||
815 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 815 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
816 | 816 | |||||
817 | <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> | |||
818 | </xsl:te mplate> | 818 | </xsl:te mplate> | |||
819 | 819 | |||||
820 | <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-para']" > | 820 | <xsl:tem plate matc h="*[@wp:t ype = 'ind ex-para']" > | |||
821 | <xsl:p aram name= "ParamCont ext" selec t="." /> | 821 | <xsl:p aram name= "ParamCont ext" selec t="." /> | |||
822 | 822 | |||||
823 | <div c lass="WebW orks_Index _Level{@wp :level}"> | 823 | <div c lass="WebW orks_Index _Level{@wp :level}"> | |||
824 | <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]" /> | |||
825 | 825 | |||||
826 | <xsl :if test=" local-name ($VarFirst Child[1]) != 'GotoLi nk'"> | 826 | <xsl :if test=" local-name ($VarFirst Child[1]) != 'GotoLi nk'"> | |||
827 | <x sl:value-o f select=" $VarFirstC hild[1]" / > | 827 | <x sl:value-o f select=" $VarFirstC hild[1]" / > | |||
828 | </xs l:if> | 828 | </xs l:if> | |||
829 | 829 | |||||
830 | <xsl :for-each select="$P aramContex t/wp:GotoL ink"> | 830 | <xsl :for-each select="$P aramContex t/wp:GotoL ink"> | |||
831 | <a > | 831 | <a > | |||
832 | <xsl:if te st="string -length(./ @wp:href) > 0"> | 832 | <xsl:if te st="string -length(./ @wp:href) > 0"> | |||
833 | <xsl:att ribute nam e="class"> | 833 | <xsl:att ribute nam e="class"> | |||
834 | <xsl:t ext>WebWor ks_Index_L ink</xsl:t ext> | 834 | <xsl:t ext>WebWor ks_Index_L ink</xsl:t ext> | |||
835 | </xsl:at tribute> | 835 | </xsl:at tribute> | |||
836 | <xsl:att ribute nam e="href"> | 836 | <xsl:att ribute nam e="href"> | |||
837 | <xsl:v alue-of se lect="./@w p:href" /> | 837 | <xsl:v alue-of se lect="./@w p:href" /> | |||
838 | </xsl:at tribute> | 838 | </xsl:at tribute> | |||
839 | </xsl:if> | 839 | </xsl:if> | |||
840 | 840 | |||||
841 | <xsl:if te st="string -length(./ @wp:name) > 0"> | 841 | <xsl:if te st="string -length(./ @wp:name) > 0"> | |||
842 | <xsl:att ribute nam e="name"> | 842 | <xsl:att ribute nam e="name"> | |||
843 | <xsl:v alue-of se lect="./@w p:name" /> | 843 | <xsl:v alue-of se lect="./@w p:name" /> | |||
844 | </xsl:at tribute> | 844 | </xsl:at tribute> | |||
845 | </xsl:if> | 845 | </xsl:if> | |||
846 | 846 | |||||
847 | < xsl:value- of select= "./text()" /> | 847 | < xsl:value- of select= "./text()" /> | |||
848 | </ a> | 848 | </ a> | |||
849 | 849 | |||||
850 | <x sl:if test ="position () != last ()"> | 850 | <x sl:if test ="position () != last ()"> | |||
851 | <xsl:text> , </xsl:te xt> | 851 | <xsl:text> , </xsl:te xt> | |||
852 | </ xsl:if> | 852 | </ xsl:if> | |||
853 | </xs l:for-each > | 853 | </xs l:for-each > | |||
854 | </div> | 854 | </div> | |||
855 | </xsl:te mplate> | 855 | </xsl:te mplate> | |||
856 | 856 | |||||
857 | <xsl:tem plate matc h="*[@wp:t ype = 'scr ipt']"> | 857 | <xsl:tem plate matc h="*[@wp:t ype = 'scr ipt']"> | |||
858 | <xsl:v ariable na me="VarNod e" select= "." /> | 858 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
859 | 859 | |||||
860 | <xsl:e lement nam e="script" > | 860 | <xsl:e lement nam e="script" > | |||
861 | <xsl :attribute name="typ e"> | 861 | <xsl :attribute name="typ e"> | |||
862 | <x sl:value-o f select=" $VarNode/@ wp:script- type" /> | 862 | <x sl:value-o f select=" $VarNode/@ wp:script- type" /> | |||
863 | </xs l:attribut e> | 863 | </xs l:attribut e> | |||
864 | <xsl :attribute name="lan guage"> | 864 | <xsl :attribute name="lan guage"> | |||
865 | <x sl:value-o f select=" $VarNode/@ wp:languag e" /> | 865 | <x sl:value-o f select=" $VarNode/@ wp:languag e" /> | |||
866 | </xs l:attribut e> | 866 | </xs l:attribut e> | |||
867 | <xsl :text> | 867 | <xsl :text> | |||
868 | </xs l:text> | 868 | </xs l:text> | |||
869 | <xsl :apply-tem plates /> | 869 | <xsl :apply-tem plates /> | |||
870 | <xsl :text> | 870 | <xsl :text> | |||
871 | </xs l:text> | 871 | </xs l:text> | |||
872 | </xsl: element> | 872 | </xsl: element> | |||
873 | </xsl:te mplate> | 873 | </xsl:te mplate> | |||
874 | 874 | |||||
875 | <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']" > | |||
876 | <xsl:p aram name= "ParamCont ext" /> | 876 | <xsl:p aram name= "ParamCont ext" /> | |||
877 | 877 | |||||
878 | <xsl:v ariable na me="VarNod e" select= "." /> | 878 | <xsl:v ariable na me="VarNod e" select= "." /> | |||
879 | 879 | |||||
880 | <xsl:v ariable na me="VarAli gnment"> | 880 | <xsl:v ariable na me="VarAli gnment"> | |||
881 | <xsl :choose> | 881 | <xsl :choose> | |||
882 | <x sl:when te st="$Param Context = 'top'"> | 882 | <x sl:when te st="$Param Context = 'top'"> | |||
883 | <xsl:value -of select ="$VarNode /@wp:top-a lign" /> | 883 | <xsl:value -of select ="$VarNode /@wp:top-a lign" /> | |||
884 | </ xsl:when> | 884 | </ xsl:when> | |||
885 | <x sl:otherwi se> | 885 | <x sl:otherwi se> | |||
886 | <xsl:value -of select ="$VarNode /@wp:botto m-align" / > | 886 | <xsl:value -of select ="$VarNode /@wp:botto m-align" / > | |||
887 | </ xsl:otherw ise> | 887 | </ xsl:otherw ise> | |||
888 | </xs l:choose> | 888 | </xs l:choose> | |||
889 | </xsl: variable> | 889 | </xsl: variable> | |||
890 | 890 | |||||
891 | <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=""> | |||
892 | <xsl :apply-tem plates sel ect="$VarN ode/*" /> | 892 | <xsl :apply-tem plates sel ect="$VarN ode/*" /> | |||
893 | </tabl e> | 893 | </tabl e> | |||
894 | <br /> | 894 | <br /> | |||
895 | </xsl:te mplate> | 895 | </xsl:te mplate> | |||
896 | 896 | |||||
897 | 897 | |||||
898 | </xsl:styl esheet> | 898 | </xsl:styl esheet> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2007 Araxis Ltd (www.araxis.com). All rights reserved.