Produced by Araxis Merge on Thu Oct 16 22:30:06 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 | Thu Oct 16 22:30:06 2008 UTC | ||
2 | C:\Documents and Settings\lauren\Desktop\ww-version-snapshots\ww-version-snapshots\2008.3\WebWorks\ePublisher Pro\Formats\Wiki - MediaWiki\Transforms | css_properties.xsl | Mon Oct 13 05:52:00 2008 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 412 |
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" encoding=" UTF-8"?> | |||||
2 | <xsl:style sheet vers ion="1.0" xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" | |||||
3 | xmlns:msxs l="urn:sch emas-micro soft-com:x slt" | |||||
4 | xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" | |||||
5 | xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" | |||||
6 | xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" | |||||
7 | xmlns:wwpr ops="urn:W ebWorks-Pr operties-S chema" | |||||
8 | xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" | |||||
9 | xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" | |||||
10 | xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" | |||||
11 | xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" | |||||
12 | xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" | |||||
13 | xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units" | |||||
14 | xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" | |||||
15 | xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" | |||||
16 | xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" | |||||
17 | exclude-re sult-prefi xes="xsl m sxsl wwmod e wwdoc ww project ww progress w wlog wwfil esystem ww uri wwstri ng wwunits wwfilesex t wwprojex t wwexsldo c" | |||||
18 | > | |||||
19 | <xsl:key name="wwpr ops-proper ty-by-name " match="w wprops:Pro perty" use ="@name" / > | |||||
20 | ||||||
21 | ||||||
22 | <xsl:vari able name= "GlobalVal idCSSPrope rties" sel ect="wwexs ldoc:LoadX MLWithoutR esolver('w wformat:Tr ansforms/c ss_propert ies.xml')" /> | |||||
23 | ||||||
24 | ||||||
25 | <xsl:temp late name= "CSS-Trans lateProjec tPropertie s"> | |||||
26 | <xsl:par am name="P aramProper ties" /> | |||||
27 | <xsl:par am name="P aramFromAb soluteURI" /> | |||||
28 | <xsl:par am name="P aramSplits " /> | |||||
29 | ||||||
30 | <!-- bac kground-po sition --> | |||||
31 | <!-- --> | |||||
32 | <xsl:for -each sele ct="$Globa lValidCSSP roperties[ 1]"> | |||||
33 | <xsl:fo r-each sel ect="key(' wwprops-pr operty-by- name', 'ba ckground-p osition')[ 1]"> | |||||
34 | <xsl:v ariable na me="VarBac kgroundPos itionHoriz ontal" sel ect="$Para mPropertie s[@Name = 'backgroun d-position -horizonta l']/@Value " /> | |||||
35 | <xsl:v ariable na me="VarBac kgroundPos itionVerti cal" selec t="$ParamP roperties[ @Name = 'b ackground- position-v ertical']/ @Value" /> | |||||
36 | <xsl:i f test="(s tring-leng th($VarBac kgroundPos itionHoriz ontal) > ; 0) or (s tring-leng th($VarBac kgroundPos itionVerti cal) > 0)"> | |||||
37 | <xsl: variable n ame="VarBa ckgroundPo sition"> | |||||
38 | <xsl :choose> | |||||
39 | <xs l:when tes t="string- length($Va rBackgroun dPositionH orizontal) > 0"> | |||||
40 | <x sl:value-o f select=" $VarBackgr oundPositi onHorizont al" /> | |||||
41 | </x sl:when> | |||||
42 | ||||||
43 | <xs l:otherwis e> | |||||
44 | <x sl:value-o f select=" 'left'" /> | |||||
45 | </x sl:otherwi se> | |||||
46 | </xs l:choose> | |||||
47 | ||||||
48 | <xsl :if test=" string-len gth($VarBa ckgroundPo sitionVert ical) > 0"> | |||||
49 | <xs l:text> </ xsl:text> | |||||
50 | <xs l:value-of select="$ VarBackgro undPositio nVertical" /> | |||||
51 | </xs l:if> | |||||
52 | </xsl :variable> | |||||
53 | ||||||
54 | <xsl: if test="s tring-leng th($VarBac kgroundPos ition) > ; 0"> | |||||
55 | <wwp roject:Pro perty Name ="backgrou nd-positio n" Value=" {$VarBackg roundPosit ion}" /> | |||||
56 | </xsl :if> | |||||
57 | </xsl: if> | |||||
58 | </xsl:f or-each> | |||||
59 | </xsl:fo r-each> | |||||
60 | ||||||
61 | <!-- tex t-decorati on --> | |||||
62 | <!-- --> | |||||
63 | <xsl:for -each sele ct="$Globa lValidCSSP roperties[ 1]"> | |||||
64 | <xsl:fo r-each sel ect="key(' wwprops-pr operty-by- name', 'te xt-decorat ion')[1]"> | |||||
65 | <xsl:v ariable na me="VarTex tDecoratio n"> | |||||
66 | <!-- blink --> | |||||
67 | <!-- --> | |||||
68 | <xsl: for-each s elect="$Pa ramPropert ies[@Name = 'text-de coration-b link']"> | |||||
69 | <xsl :if test=" @Value = ' true'"> | |||||
70 | <xs l:value-of select="' blink '" / > | |||||
71 | </xs l:if> | |||||
72 | </xsl :for-each> | |||||
73 | ||||||
74 | <!-- line-throu gh --> | |||||
75 | <!-- --> | |||||
76 | <xsl: for-each s elect="$Pa ramPropert ies[@Name = 'text-de coration-l ine-throug h']"> | |||||
77 | <xsl :if test=" (@Value = 'single') or (@Value = 'double ')"> | |||||
78 | <xs l:value-of select="' line-throu gh '" /> | |||||
79 | </xs l:if> | |||||
80 | </xsl :for-each> | |||||
81 | ||||||
82 | <!-- overline - -> | |||||
83 | <!-- - -> | |||||
84 | <xsl: for-each s elect="$Pa ramPropert ies[@Name = 'text-de coration-o verline']" > | |||||
85 | <xsl :if test=" (@Value = 'single') or (@Value = 'double ')"> | |||||
86 | <xs l:value-of select="' overline ' " /> | |||||
87 | </xs l:if> | |||||
88 | </xsl :for-each> | |||||
89 | ||||||
90 | <!-- underline --> | |||||
91 | <!-- --> | |||||
92 | <xsl: for-each s elect="$Pa ramPropert ies[@Name = 'text-de coration-u nderline'] "> | |||||
93 | <xsl :if test=" (@Value = 'single') or (@Value = 'double ')"> | |||||
94 | <xs l:value-of select="' underline '" /> | |||||
95 | </xs l:if> | |||||
96 | </xsl :for-each> | |||||
97 | </xsl: variable> | |||||
98 | <xsl:i f test="st ring-lengt h($VarText Decoration ) > 0"> | |||||
99 | <wwpr oject:Prop erty Name= "text-deco ration" Va lue="{subs tring($Var TextDecora tion, 1, s tring-leng th($VarTex tDecoratio n) - 1)}" /> | |||||
100 | </xsl: if> | |||||
101 | </xsl:f or-each> | |||||
102 | </xsl:fo r-each> | |||||
103 | ||||||
104 | <!-- Val id CSS pro perties -- > | |||||
105 | <!-- -- > | |||||
106 | <xsl:for -each sele ct="$Param Properties "> | |||||
107 | <xsl:va riable nam e="VarProp erty" sele ct="." /> | |||||
108 | ||||||
109 | <xsl:fo r-each sel ect="$Glob alValidCSS Properties [1]"> | |||||
110 | <xsl:f or-each se lect="key( 'wwprops-p roperty-by -name', $V arProperty /@Name)[1] "> | |||||
111 | <xsl: choose> | |||||
112 | <!-- backgroun d-image -- > | |||||
113 | <!-- -- > | |||||
114 | <xsl :when test ="$VarProp erty/@Name = 'backgr ound-image '"> | |||||
115 | <xs l:if test= "(string-l ength($Var Property/@ Value) > ; 0) and ( $VarProper ty/@Value != 'none') "> | |||||
116 | <x sl:variabl e name="Va rValue"> | |||||
117 | < xsl:text>u rl("</xsl: text> | |||||
118 | < xsl:call-t emplate na me="URI-Re solveProje ctFileURI" > | |||||
119 | <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamFr omAbsolute URI" /> | |||||
120 | <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" /> | |||||
121 | <xsl:with- param name ="ParamURI " select=" $VarProper ty/@Value" /> | |||||
122 | < /xsl:call- template> | |||||
123 | < xsl:text>" )</xsl:tex t> | |||||
124 | </ xsl:variab le> | |||||
125 | ||||||
126 | <w wproject:P roperty Na me="{$VarP roperty/@N ame}" Valu e="{$VarVa lue}" /> | |||||
127 | </x sl:if> | |||||
128 | </xs l:when> | |||||
129 | ||||||
130 | <!-- cursor -- > | |||||
131 | <!-- -- > | |||||
132 | <xsl :when test ="$VarProp erty/@Name = 'cursor '"> | |||||
133 | <xs l:choose> | |||||
134 | <x sl:when te st="$VarPr operty/@Va lue = 'poi nter'"> | |||||
135 | < !-- Emit b oth pointe r and hand for IE co mpatibilit y --> | |||||
136 | < !-- --> | |||||
137 | < wwproject: Property N ame="curso r" Value=" pointer" / > | |||||
138 | < wwproject: Property N ame="curso r" Value=" hand" /> | |||||
139 | </ xsl:when> | |||||
140 | ||||||
141 | <x sl:otherwi se> | |||||
142 | < xsl:copy-o f select=" $VarProper ty" /> | |||||
143 | </ xsl:otherw ise> | |||||
144 | </x sl:choose> | |||||
145 | </xs l:when> | |||||
146 | ||||||
147 | <!-- font-fami ly --> | |||||
148 | <!-- --> | |||||
149 | <xsl :when test ="$VarProp erty/@Name = 'font-f amily'"> | |||||
150 | <xs l:choose> | |||||
151 | <x sl:when te st="($VarP roperty/@V alue = 'Sy mbol') or ($VarPrope rty/@Value = 'Zapf D ingbats')" > | |||||
152 | < !-- Suppre ss for the sake of I nternet Ex plorer --> | |||||
153 | < !-- --> | |||||
154 | </ xsl:when> | |||||
155 | ||||||
156 | <x sl:otherwi se> | |||||
157 | < xsl:copy-o f select=" $VarProper ty" /> | |||||
158 | </ xsl:otherw ise> | |||||
159 | </x sl:choose> | |||||
160 | </xs l:when> | |||||
161 | ||||||
162 | <!-- border-wi dth --> | |||||
163 | <!-- --> | |||||
164 | <xsl :when test ="($VarPro perty/@Nam e = 'borde r-left-wid th') or ($ VarPropert y/@Name = 'border-ri ght-width' ) or ($Var Property/@ Name = 'bo rder-top-w idth') or ($VarPrope rty/@Name = 'border- bottom-wid th')"> | |||||
165 | <xs l:variable name="Var WidthNumbe r" select= "wwunits:N umericPref ix($VarPro perty/@Val ue)" /> | |||||
166 | <xs l:variable name="Var WidthUnits " select=" wwunits:Un itsSuffix( $VarProper ty/@Value) " /> | |||||
167 | ||||||
168 | <xs l:choose> | |||||
169 | <x sl:when te st="string -length($V arWidthUni ts) > 0 "> | |||||
170 | < xsl:variab le name="V arWidthNum berAsPixel s" select= "wwunits:C onvert($Va rWidthNumb er, $VarWi dthUnits, 'px')" /> | |||||
171 | ||||||
172 | < xsl:choose > | |||||
173 | <xsl:when test="($Va rWidthNumb erAsPixels > 0) a nd ($VarWi dthNumberA sPixels &l t; 1)"> | |||||
174 | <wwprojec t:Property Name="{$V arProperty /@Name}" V alue="1px" /> | |||||
175 | </xsl:when > | |||||
176 | ||||||
177 | <xsl:other wise> | |||||
178 | <xsl:copy -of select ="$VarProp erty" /> | |||||
179 | </xsl:othe rwise> | |||||
180 | < /xsl:choos e> | |||||
181 | </ xsl:when> | |||||
182 | ||||||
183 | <x sl:when te st="($VarW idthNumber > 0) a nd ($VarWi dthNumber < 1)"> | |||||
184 | < wwproject: Property N ame="{$Var Property/@ Name}" Val ue="1px" / > | |||||
185 | </ xsl:when> | |||||
186 | ||||||
187 | <x sl:otherwi se> | |||||
188 | < xsl:copy-o f select=" $VarProper ty" /> | |||||
189 | </ xsl:otherw ise> | |||||
190 | </x sl:choose> | |||||
191 | </xs l:when> | |||||
192 | ||||||
193 | <!-- Everythin g else --> | |||||
194 | <!-- --> | |||||
195 | <xsl :otherwise > | |||||
196 | <xs l:copy-of select="$V arProperty " /> | |||||
197 | </xs l:otherwis e> | |||||
198 | </xsl :choose> | |||||
199 | </xsl: for-each> | |||||
200 | </xsl:f or-each> | |||||
201 | </xsl:fo r-each> | |||||
202 | </xsl:tem plate> | |||||
203 | ||||||
204 | ||||||
205 | <xsl:temp late name= "CSS-Catal ogProperti es"> | |||||
206 | <xsl:par am name="P aramProper ties" /> | |||||
207 | ||||||
208 | <xsl:for -each sele ct="$Param Properties [1]"> | |||||
209 | <!-- At tempts to sort empty node sets results i n fatal er rors on so me systems --> | |||||
210 | <!-- --> | |||||
211 | <xsl:fo r-each sel ect="$Para mPropertie s"> | |||||
212 | <xsl:s ort select ="@Name" d ata-type=" text" orde r="ascendi ng" /> | |||||
213 | ||||||
214 | <!-- E mit Proper ty --> | |||||
215 | <!-- --> | |||||
216 | <xsl:t ext> </xs l:text> | |||||
217 | <xsl:v alue-of se lect="@Nam e" /> | |||||
218 | <xsl:t ext>: </xs l:text> | |||||
219 | <xsl:v alue-of se lect="@Val ue" /> | |||||
220 | <xsl:t ext>;</xsl :text> | |||||
221 | <xsl:t ext> | |||||
222 | </xsl:text > | |||||
223 | </xsl:f or-each> | |||||
224 | </xsl:fo r-each> | |||||
225 | </xsl:tem plate> | |||||
226 | ||||||
227 | <xsl:temp late name= "CSS-Catal ogProperti esOuter"> | |||||
228 | <xsl:par am name="P aramProper ties" /> | |||||
229 | ||||||
230 | <xsl:var iable name ="VarPrope rties" sel ect="$Para mPropertie s[(@Name = 'backgrou nd-color') or (@Name = 'clear' ) or (@Nam e != 'marg in-left') and ((star ts-with(@N ame, 'marg in-')) or (starts-wi th(@Name, 'padding-' )) or (sta rts-with(@ Name, 'bor der-')))]" /> | |||||
231 | <xsl:for -each sele ct="$VarPr operties[1 ]"> | |||||
232 | <!-- At tempts to sort empty node sets results i n fatal er rors on so me systems --> | |||||
233 | <!-- --> | |||||
234 | <xsl:fo r-each sel ect="$VarP roperties" > | |||||
235 | <xsl:s ort select ="@Name" d ata-type=" text" orde r="ascendi ng" /> | |||||
236 | ||||||
237 | <!-- E mit Proper ty --> | |||||
238 | <!-- --> | |||||
239 | <xsl:t ext> </xs l:text> | |||||
240 | <xsl:v alue-of se lect="@Nam e" /> | |||||
241 | <xsl:t ext>: </xs l:text> | |||||
242 | <xsl:v alue-of se lect="@Val ue" /> | |||||
243 | <xsl:t ext>;</xsl :text> | |||||
244 | <xsl:t ext> | |||||
245 | </xsl:text > | |||||
246 | </xsl:f or-each> | |||||
247 | </xsl:fo r-each> | |||||
248 | </xsl:tem plate> | |||||
249 | ||||||
250 | <xsl:temp late name= "CSS-Catal ogProperti esInner"> | |||||
251 | <xsl:par am name="P aramProper ties" /> | |||||
252 | ||||||
253 | <xsl:var iable name ="VarPrope rties" sel ect="$Para mPropertie s[(@Name ! = 'backgro und-color' ) and (@Na me != 'cle ar') and ( @Name != ' text-inden t') and (n ot(starts- with(@Name , 'margin- '))) and ( not(starts -with(@Nam e, 'paddin g-'))) and (not(star ts-with(@N ame, 'bord er-')))]" /> | |||||
254 | <xsl:for -each sele ct="$VarPr operties[1 ]"> | |||||
255 | <!-- At tempts to sort empty node sets results i n fatal er rors on so me systems --> | |||||
256 | <!-- --> | |||||
257 | <xsl:fo r-each sel ect="$VarP roperties" > | |||||
258 | <xsl:s ort select ="@Name" d ata-type=" text" orde r="ascendi ng" /> | |||||
259 | ||||||
260 | <!-- E mit Proper ty --> | |||||
261 | <!-- --> | |||||
262 | <xsl:t ext> </xs l:text> | |||||
263 | <xsl:v alue-of se lect="@Nam e" /> | |||||
264 | <xsl:t ext>: </xs l:text> | |||||
265 | <xsl:v alue-of se lect="@Val ue" /> | |||||
266 | <xsl:t ext>;</xsl :text> | |||||
267 | <xsl:t ext> | |||||
268 | </xsl:text > | |||||
269 | </xsl:f or-each> | |||||
270 | </xsl:fo r-each> | |||||
271 | ||||||
272 | <!-- Har d code 0 v alues for margins an d padding --> | |||||
273 | <!-- --> | |||||
274 | <xsl:val ue-of sele ct="' mar gin-left: 0pt;'"/> | |||||
275 | <xsl:tex t> | |||||
276 | </xsl:text > | |||||
277 | <xsl:val ue-of sele ct="' mar gin-right: 0pt;'"/> | |||||
278 | <xsl:tex t> | |||||
279 | </xsl:text > | |||||
280 | <xsl:val ue-of sele ct="' mar gin-top: 0 pt;'"/> | |||||
281 | <xsl:tex t> | |||||
282 | </xsl:text > | |||||
283 | <xsl:val ue-of sele ct="' mar gin-bottom : 0pt;'"/> | |||||
284 | <xsl:tex t> | |||||
285 | </xsl:text > | |||||
286 | <xsl:val ue-of sele ct="' pad ding-left: 0pt;'"/> | |||||
287 | <xsl:tex t> | |||||
288 | </xsl:text > | |||||
289 | <xsl:val ue-of sele ct="' pad ding-right : 0pt;'"/> | |||||
290 | <xsl:tex t> | |||||
291 | </xsl:text > | |||||
292 | <xsl:val ue-of sele ct="' pad ding-top: 0pt;'"/> | |||||
293 | <xsl:tex t> | |||||
294 | </xsl:text > | |||||
295 | <xsl:val ue-of sele ct="' pad ding-botto m: 0pt;'"/ > | |||||
296 | <xsl:tex t> | |||||
297 | </xsl:text > | |||||
298 | </xsl:tem plate> | |||||
299 | ||||||
300 | <xsl:temp late name= "CSS-Inlin ePropertie s"> | |||||
301 | <xsl:par am name="P aramProper ties" /> | |||||
302 | ||||||
303 | <xsl:for -each sele ct="$Param Properties [1]"> | |||||
304 | <!-- At tempts to sort empty node sets results i n fatal er rors on so me systems --> | |||||
305 | <!-- --> | |||||
306 | <xsl:fo r-each sel ect="$Para mPropertie s"> | |||||
307 | <xsl:s ort select ="@Name" d ata-type=" text" orde r="ascendi ng" /> | |||||
308 | ||||||
309 | <!-- E mit Proper ty --> | |||||
310 | <!-- --> | |||||
311 | <xsl:v alue-of se lect="@Nam e" /> | |||||
312 | <xsl:t ext>: </xs l:text> | |||||
313 | <xsl:v alue-of se lect="@Val ue" /> | |||||
314 | <xsl:t ext>;</xsl :text> | |||||
315 | <xsl:i f test="po sition() ! = last()"> | |||||
316 | <xsl: value-of s elect="' ' " /> | |||||
317 | </xsl: if> | |||||
318 | </xsl:f or-each> | |||||
319 | </xsl:fo r-each> | |||||
320 | </xsl:tem plate> | |||||
321 | ||||||
322 | <xsl:temp late name= "CSS-Inlin ePropertie sOuter"> | |||||
323 | <xsl:par am name="P aramProper ties" /> | |||||
324 | <xsl:par am name="P aramContex tPropertie s" /> | |||||
325 | ||||||
326 | <xsl:var iable name ="VarTextI ndent" sel ect="wwuni ts:Numeric Prefix($Pa ramContext Properties [@Name = ' text-inden t']/@Value )" /> | |||||
327 | <xsl:var iable name ="VarTextI ndentUnits " select=" wwunits:Un itsSuffix( $ParamCont extPropert ies[@Name = 'text-in dent']/@Va lue)" /> | |||||
328 | <xsl:var iable name ="VarMargi nLeft" sel ect="wwuni ts:Numeric Prefix($Pa ramContext Properties [@Name = ' margin-lef t']/@Value )" /> | |||||
329 | <xsl:var iable name ="VarMargi nUnits" se lect="wwun its:UnitsS uffix($Par amContextP roperties[ @Name = 'm argin-left ']/@Value) " /> | |||||
330 | ||||||
331 | <!-- Mak e sure we' re talking the same language. --> | |||||
332 | <!-- --> | |||||
333 | <xsl:var iable name ="VarMargi nAsTextInd entUnit" s elect="wwu nits:Conve rt($VarMar ginLeft, $ VarMarginU nits, $Var TextIndent Units)" /> | |||||
334 | <xsl:var iable name ="VarMargi nSum" sele ct="number ($VarMargi nAsTextInd entUnit) + number($V arTextInde nt)" /> | |||||
335 | ||||||
336 | <!-- And convert i t back. -- > | |||||
337 | <!-- -- > | |||||
338 | <xsl:var iable name ="VarMargi nSumAsMarg inUnits" s elect="wwu nits:Conve rt($VarMar ginSum, $V arTextInde ntUnits, $ VarMarginU nits)" /> | |||||
339 | ||||||
340 | <!-- mar gin-left - -> | |||||
341 | <!-- - -> | |||||
342 | <xsl:tex t>margin-l eft: </xsl :text> | |||||
343 | <xsl:val ue-of sele ct="$VarMa rginSumAsM arginUnits " /> | |||||
344 | <xsl:val ue-of sele ct="$VarMa rginUnits" /> | |||||
345 | <xsl:tex t>;</xsl:t ext> | |||||
346 | ||||||
347 | <xsl:var iable name ="VarPrope rties" sel ect="$Para mPropertie s[(@Name ! = 'margin- left') and (not(cont ains(@Name , 'font')) and not(c ontains(@N ame, 'text ')) and no t(@Name = 'color'))] " /> | |||||
348 | <xsl:for -each sele ct="$VarPr operties[1 ]"> | |||||
349 | <!-- At tempts to sort empty node sets results i n fatal er rors on so me systems --> | |||||
350 | <!-- --> | |||||
351 | <xsl:fo r-each sel ect="$VarP roperties" > | |||||
352 | <xsl:s ort select ="@Name" d ata-type=" text" orde r="ascendi ng" /> | |||||
353 | ||||||
354 | <!-- E mit Proper ty --> | |||||
355 | <!-- --> | |||||
356 | <xsl:v alue-of se lect="@Nam e" /> | |||||
357 | <xsl:t ext>: </xs l:text> | |||||
358 | <xsl:v alue-of se lect="@Val ue" /> | |||||
359 | <xsl:t ext>;</xsl :text> | |||||
360 | <xsl:i f test="po sition() ! = last()"> | |||||
361 | <xsl: value-of s elect="' ' " /> | |||||
362 | </xsl: if> | |||||
363 | </xsl:f or-each> | |||||
364 | </xsl:fo r-each> | |||||
365 | </xsl:tem plate> | |||||
366 | ||||||
367 | <xsl:temp late name= "CSS-Inlin ePropertie sInnerNumb er"> | |||||
368 | <xsl:par am name="P aramProper ties" /> | |||||
369 | ||||||
370 | <xsl:var iable name ="VarPrope rties" sel ect="$Para mPropertie s[(@Name ! = 'text-in dent') and (@Name != 'width') and (@Name != 'white -space') a nd (contai ns(@Name, 'font') or contains( @Name, 'te xt') or (@ Name = 'co lor'))]" / > | |||||
371 | <xsl:for -each sele ct="$VarPr operties[1 ]"> | |||||
372 | <!-- At tempts to sort empty node sets results i n fatal er rors on so me systems --> | |||||
373 | <!-- --> | |||||
374 | <xsl:fo r-each sel ect="$VarP roperties" > | |||||
375 | <xsl:s ort select ="@Name" d ata-type=" text" orde r="ascendi ng" /> | |||||
376 | ||||||
377 | <!-- E mit Proper ty --> | |||||
378 | <!-- --> | |||||
379 | <xsl:v alue-of se lect="@Nam e" /> | |||||
380 | <xsl:t ext>: </xs l:text> | |||||
381 | <xsl:v alue-of se lect="@Val ue" /> | |||||
382 | <xsl:t ext>;</xsl :text> | |||||
383 | <xsl:i f test="po sition() ! = last()"> | |||||
384 | <xsl: value-of s elect="' ' " /> | |||||
385 | </xsl: if> | |||||
386 | </xsl:f or-each> | |||||
387 | </xsl:fo r-each> | |||||
388 | </xsl:tem plate> | |||||
389 | ||||||
390 | <xsl:temp late name= "CSS-Inlin ePropertie sInnerCont ent"> | |||||
391 | <xsl:par am name="P aramProper ties" /> | |||||
392 | ||||||
393 | <xsl:var iable name ="VarPrope rties" sel ect="$Para mPropertie s[(@Name ! = 'text-in dent') and (contains (@Name, 'f ont') or c ontains(@N ame, 'text ') or (@Na me = 'colo r'))]" /> | |||||
394 | <xsl:for -each sele ct="$VarPr operties[1 ]"> | |||||
395 | <!-- At tempts to sort empty node sets results i n fatal er rors on so me systems --> | |||||
396 | <!-- --> | |||||
397 | <xsl:fo r-each sel ect="$VarP roperties" > | |||||
398 | <xsl:s ort select ="@Name" d ata-type=" text" orde r="ascendi ng" /> | |||||
399 | ||||||
400 | <!-- E mit Proper ty --> | |||||
401 | <!-- --> | |||||
402 | <xsl:v alue-of se lect="@Nam e" /> | |||||
403 | <xsl:t ext>: </xs l:text> | |||||
404 | <xsl:v alue-of se lect="@Val ue" /> | |||||
405 | <xsl:t ext>;</xsl :text> | |||||
406 | <xsl:i f test="po sition() ! = last()"> | |||||
407 | <xsl: value-of s elect="' ' " /> | |||||
408 | </xsl: if> | |||||
409 | </xsl:f or-each> | |||||
410 | </xsl:fo r-each> | |||||
411 | </xsl:tem plate> | |||||
412 | </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.