Produced by Araxis Merge on Thu Oct 16 22:30:09 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:09 2008 UTC | ||
2 | C:\Documents and Settings\lauren\Desktop\ww-version-snapshots\ww-version-snapshots\2008.3\WebWorks\ePublisher Pro\Formats\Wiki - MoinMoin\Transforms | wrappers.xsl | Mon Oct 13 05:51:50 2008 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 543 |
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="urn :WebWorks- Wiki-Page- Schema" | |||||
3 | xmlns:wwwi ki="urn:We bWorks-Wik i-Page-Sch ema" | |||||
4 | xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" | |||||
5 | xmlns:msxs l="urn:sch emas-micro soft-com:x slt" | |||||
6 | xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" | |||||
7 | xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" | |||||
8 | xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" | |||||
9 | xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" | |||||
10 | xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" | |||||
11 | xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema" | |||||
12 | xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" | |||||
13 | xmlns:wwva rs="urn:We bWorks-Var iables-Sch ema" | |||||
14 | xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema" | |||||
15 | xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" | |||||
16 | xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" | |||||
17 | xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" | |||||
18 | xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" | |||||
19 | xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" | |||||
20 | xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" | |||||
21 | xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" | |||||
22 | xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" | |||||
23 | xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units" | |||||
24 | xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" | |||||
25 | xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" | |||||
26 | xmlns:wwim aging="urn :WebWorks- XSLT-Exten sion-Imagi ng" | |||||
27 | xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" | |||||
28 | exclude-re sult-prefi xes="xsl m sxsl wwmod e wwlinks wwfiles ww doc wwspli ts wwtoc w wbehaviors wwvars ww notes wwpr oject wwpa ge wwlocal e wwprogre ss wwlog w wfilesyste m wwuri ww string wwu nits wwfil esext wwpr ojext wwim aging wwex sldoc" | |||||
29 | > | |||||
30 | <xsl:para m name="Gl obalInput" /> | |||||
31 | <xsl:para m name="Gl obalPipeli neName" /> | |||||
32 | <xsl:para m name="Gl obalProjec t" /> | |||||
33 | <xsl:para m name="Gl obalFiles" /> | |||||
34 | <xsl:para m name="Pa rameterDep endsType" /> | |||||
35 | <xsl:para m name="Pa rameterSpl itsType" / > | |||||
36 | <xsl:para m name="Pa rameterLin ksType" /> | |||||
37 | <xsl:para m name="Pa rameterLoc aleType" / > | |||||
38 | <xsl:para m name="Pa rameterUIL ocaleType" /> | |||||
39 | <xsl:para m name="Pa rameterBeh aviorsType " /> | |||||
40 | <xsl:para m name="Pa rameterPro jectVariab lesType" / > | |||||
41 | <xsl:para m name="Pa rameterPag eTemplateU RI" /> | |||||
42 | <xsl:para m name="Pa rameterTOC DataType" /> | |||||
43 | <xsl:para m name="Pa rameterThu mbnailType " /> | |||||
44 | <xsl:para m name="Pa rameterAll owBaggage" /> | |||||
45 | <xsl:para m name="Pa rameterAll owGroupToG roup" /> | |||||
46 | <xsl:para m name="Pa rameterAll owURL" /> | |||||
47 | <xsl:para m name="Pa rameterBag gageSplitF ileType" / > | |||||
48 | <xsl:para m name="Pa rameterTOC SplitFileT ype" /> | |||||
49 | <xsl:para m name="Pa rameterInd exSplitFil eType" /> | |||||
50 | <xsl:para m name="Pa rameterTyp e" /> | |||||
51 | <xsl:para m name="Pa rameterCat egory" /> | |||||
52 | <xsl:para m name="Pa rameterUse " /> | |||||
53 | <xsl:para m name="Pa rameterDep loy" /> | |||||
54 | ||||||
55 | ||||||
56 | <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'urn:We bWorks-Wik i-Page-Sch ema'" /> | |||||
57 | ||||||
58 | ||||||
59 | <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" /> | |||||
60 | <xsl:name space-alia s styleshe et-prefix= "wwwiki" r esult-pref ix="#defau lt" /> | |||||
61 | <xsl:pres erve-space elements= "*" /> | |||||
62 | ||||||
63 | ||||||
64 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/> | |||||
65 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/> | |||||
66 | <xsl:incl ude href=" wwtransfor m:common/b ehaviors/o ptions.xsl "/> | |||||
67 | <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" /> | |||||
68 | <xsl:incl ude href=" wwtransfor m:common/i mages/util ities.xsl" /> | |||||
69 | <xsl:incl ude href=" wwtransfor m:common/i mages/wrap pers.xsl" /> | |||||
70 | <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> | |||||
71 | <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> | |||||
72 | <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" /> | |||||
73 | <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" /> | |||||
74 | <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" /> | |||||
75 | <xsl:incl ude href=" wwformat:T ransforms/ css_proper ties.xsl" /> | |||||
76 | <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" /> | |||||
77 | <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" /> | |||||
78 | <xsl:incl ude href=" wwformat:T ransforms/ moinmoin.x sl" /> | |||||
79 | <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" /> | |||||
80 | ||||||
81 | ||||||
82 | <xsl:key name="wwdo c-frames-b y-id" matc h="wwdoc:F rame" use= "@id" /> | |||||
83 | ||||||
84 | ||||||
85 | <xsl:vari able name= "GlobalAct ionChecksu m"> | |||||
86 | <xsl:var iable name ="VarTrans formChecks ums"> | |||||
87 | <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))" /> | |||||
88 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath($Param eterPageTe mplateURI) , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath($ ParameterP ageTemplat eURI)))" / > | |||||
89 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/im ages.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/images. xsl')))" / > | |||||
90 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/ta bles.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/tables. xsl')))" / > | |||||
91 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/behavi ors/option s.xsl'), ' :', wwfile system:Get Checksum(w wuri:AsFil ePath('wwt ransform:c ommon/beha viors/opti ons.xsl')) )" /> | |||||
92 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/compan yinfo/comp anyinfo_co ntent.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ companyinf o/companyi nfo_conten t.xsl')))" /> | |||||
93 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/images /utilities .xsl'), ': ', wwfiles ystem:GetC hecksum(ww uri:AsFile Path('wwtr ansform:co mmon/image s/utilitie s.xsl')))" /> | |||||
94 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/images /wrappers. xsl'), ':' , wwfilesy stem:GetCh ecksum(wwu ri:AsFileP ath('wwtra nsform:com mon/images /wrappers. xsl')))" / > | |||||
95 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/links/ resolve.xs l'), ':', wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/links/re solve.xsl' )))" /> | |||||
96 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/conditio ns.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/condi tions.xsl' )))" /> | |||||
97 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/properti es.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/prope rties.xsl' )))" /> | |||||
98 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/tables /tables.xs l'), ':', wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/tables/t ables.xsl' )))" /> | |||||
99 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/variab les/variab les.xsl'), ':', wwfi lesystem:G etChecksum (wwuri:AsF ilePath('w wtransform :common/va riables/va riables.xs l')))" /> | |||||
100 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/css_p roperties. xsl'), ':' , wwfilesy stem:GetCh ecksum(wwu ri:AsFileP ath('wwfor mat:Transf orms/css_p roperties. xsl')))" / > | |||||
101 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pagetempla te.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pag es/pagetem plate.xsl' )))" /> | |||||
102 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:uri /uri.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:uri/uri. xsl')))" / > | |||||
103 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/moinm oin.xsl'), ':', wwfi lesystem:G etChecksum (wwuri:AsF ilePath('w wformat:Tr ansforms/m oinmoin.xs l')))" /> | |||||
104 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/conte nt.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww format:Tra nsforms/co ntent.xsl' )))" /> | |||||
105 | </xsl:va riable> | |||||
106 | <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)" /> | |||||
107 | </xsl:var iable> | |||||
108 | ||||||
109 | ||||||
110 | <!-- Loca le --> | |||||
111 | <!-- --> | |||||
112 | <xsl:vari able name= "GlobalLoc alePath"> | |||||
113 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||||
114 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" /> | |||||
115 | </xsl:fo r-each> | |||||
116 | </xsl:var iable> | |||||
117 | <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" /> | |||||
118 | ||||||
119 | ||||||
120 | <!-- UI L ocale --> | |||||
121 | <!-- --> | |||||
122 | <xsl:vari able name= "GlobalUIL ocalePath" > | |||||
123 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||||
124 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterUILoca leType)[1] /@path" /> | |||||
125 | </xsl:fo r-each> | |||||
126 | </xsl:var iable> | |||||
127 | <xsl:vari able name= "GlobalUIL ocalePathC hecksum" s elect="wwf ilesystem: GetChecksu m($GlobalU ILocalePat h)" /> | |||||
128 | <xsl:vari able name= "GlobalUIL ocale" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($G lobalUILoc alePath)" /> | |||||
129 | ||||||
130 | ||||||
131 | <!-- Mapp ing Entry Sets --> | |||||
132 | <!-- --> | |||||
133 | <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" /> | |||||
134 | <xsl:vari able name= "GlobalMap EntrySets" select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" /> | |||||
135 | ||||||
136 | ||||||
137 | <!-- Page Template --> | |||||
138 | <!-- --> | |||||
139 | <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" /> | |||||
140 | <xsl:vari able name= "GlobalPag eTemplate" select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" /> | |||||
141 | ||||||
142 | ||||||
143 | <!-- Proj ect variab les --> | |||||
144 | <!-- --> | |||||
145 | <xsl:vari able name= "GlobalPro jectVariab lesPath"> | |||||
146 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||||
147 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" /> | |||||
148 | </xsl:fo r-each> | |||||
149 | </xsl:var iable> | |||||
150 | <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" /> | |||||
151 | ||||||
152 | ||||||
153 | <xsl:temp late match ="/"> | |||||
154 | <wwfiles :Files ver sion="1.0" > | |||||
155 | ||||||
156 | <xsl:ca ll-templat e name="Wr appers"> | |||||
157 | <xsl:w ith-param name="Para mInput" se lect="$Glo balInput" /> | |||||
158 | <xsl:w ith-param name="Para mProject" select="$G lobalProje ct" /> | |||||
159 | <xsl:w ith-param name="Para mFiles" se lect="$Glo balFiles" /> | |||||
160 | <xsl:w ith-param name="Para mLinksType " select=" $Parameter LinksType" /> | |||||
161 | <xsl:w ith-param name="Para mDependsTy pe" select ="$Paramet erDependsT ype" /> | |||||
162 | <xsl:w ith-param name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" /> | |||||
163 | <xsl:w ith-param name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / > | |||||
164 | <xsl:w ith-param name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" /> | |||||
165 | <xsl:w ith-param name="Para mThumbnail Type" sele ct="$Param eterThumbn ailType" / > | |||||
166 | </xsl:c all-templa te> | |||||
167 | ||||||
168 | </wwfile s:Files> | |||||
169 | </xsl:tem plate> | |||||
170 | ||||||
171 | ||||||
172 | <xsl:temp late name= "Wrapper"> | |||||
173 | <xsl:par am name="P aramFilesS plits" /> | |||||
174 | <xsl:par am name="P aramSplits " /> | |||||
175 | <xsl:par am name="P aramBehavi orsFile" / > | |||||
176 | <xsl:par am name="P aramBehavi ors" /> | |||||
177 | <xsl:par am name="P aramLinks" /> | |||||
178 | <xsl:par am name="P aramTOCDat a" /> | |||||
179 | <xsl:par am name="P aramBreadc rumbTOCEnt ry" /> | |||||
180 | <xsl:par am name="P aramFilesD ocumentNod e" /> | |||||
181 | <xsl:par am name="P aramSplits Frame" /> | |||||
182 | <xsl:par am name="P aramDocume nt" /> | |||||
183 | ||||||
184 | <!-- Out put --> | |||||
185 | <!-- --> | |||||
186 | <xsl:var iable name ="VarUpToD ate" selec t="wwfiles ext:UpToDa te($ParamS plitsFrame /wwsplits: Wrapper/@p ath, $Glob alProject/ wwproject: Project/@C hangeID, $ ParamSplit sFrame/wws plits:Wrap per/@group ID, $Param SplitsFram e/wwsplits :Wrapper/@ documentID , $GlobalA ctionCheck sum)" /> | |||||
187 | <xsl:if test="not( $VarUpToDa te)"> | |||||
188 | <xsl:va riable nam e="VarResu ltAsXML"> | |||||
189 | <!-- G et documen t frame -- > | |||||
190 | <!-- -- > | |||||
191 | <xsl:f or-each se lect="$Par amDocument [1]"> | |||||
192 | <xsl: variable n ame="VarFr ame" selec t="key('ww doc-frames -by-id', $ ParamSplit sFrame/@id )" /> | |||||
193 | ||||||
194 | <!-- Wikified g roup name --> | |||||
195 | <!-- --> | |||||
196 | <xsl: variable n ame="VarWi kifiedGrou pName"> | |||||
197 | <xsl :call-temp late name= "MoinMoin- WikifyPath Component" > | |||||
198 | <xs l:with-par am name="P aramPathCo mponent" s elect="wwp rojext:Get GroupName( $ParamSpli tsFrame/ww splits:Wra pper/@grou pID)" /> | |||||
199 | </xs l:call-tem plate> | |||||
200 | </xsl :variable> | |||||
201 | ||||||
202 | <!-- Output dir ectory pat h --> | |||||
203 | <!-- --> | |||||
204 | <xsl: variable n ame="VarOu tputDirect oryPath" s elect="wwf ilesystem: Combine(ww projext:Ge tTargetOut putDirecto ryPath(), $VarWikifi edGroupNam e)" /> | |||||
205 | ||||||
206 | <!-- Page Rule --> | |||||
207 | <!-- --> | |||||
208 | <xsl: variable n ame="VarPa geRule" se lect="wwpr ojext:GetR ule('Page' , $ParamSp litsFrame/ wwsplits:W rapper/@st ylename)" /> | |||||
209 | ||||||
210 | <!-- Split file s --> | |||||
211 | <!-- --> | |||||
212 | <xsl: for-each s elect="$Pa ramSplits[ 1]"> | |||||
213 | <!-- TOC --> | |||||
214 | <!-- --> | |||||
215 | <xsl :variable name="VarT OCSplitFil e" select= "key('wwsp lits-files -by-groupi d-type', c oncat($Par amSplitsFr ame/wwspli ts:Wrapper /@groupID, ':', $Par ameterTOCS plitFileTy pe))[1]" / > | |||||
216 | ||||||
217 | <!-- Index --> | |||||
218 | <!-- --> | |||||
219 | <xsl :variable name="VarI ndexSplitF ile" selec t="key('ww splits-fil es-by-grou pid-type', concat($P aramSplits Frame/wwsp lits:Wrapp er/@groupI D, ':', $P arameterIn dexSplitFi leType))[1 ]" /> | |||||
220 | ||||||
221 | <!-- Wrapper p age --> | |||||
222 | <!-- --> | |||||
223 | <xsl :variable name="VarW rapperPage AsXML"> | |||||
224 | <ww behaviors: WrapperPag e /> | |||||
225 | </xs l:variable > | |||||
226 | <xsl :variable name="VarW rapperPage " select=" msxsl:node -set($VarW rapperPage AsXML)" /> | |||||
227 | ||||||
228 | <!-- Cargo --> | |||||
229 | <!-- --> | |||||
230 | <xsl :variable name="VarC argo" sele ct="$Param Behaviors | $VarWrap perPage" / > | |||||
231 | ||||||
232 | <!-- Condition s --> | |||||
233 | <!-- --> | |||||
234 | <xsl :variable name="VarI nitialCond itionsAsXM L"> | |||||
235 | <!- - breadcru mbs-top -- > | |||||
236 | <!- - -- > | |||||
237 | <xs l:variable name="Var Breadcrumb sTopGenera teOption" select="$V arPageRule /wwproject :Options/w wproject:O ption[@Nam e = 'bread crumbs-top -generate' ]/@Value" /> | |||||
238 | <xs l:if test= "($VarBrea dcrumbsTop GenerateOp tion = 'tr ue') or (s tring-leng th($VarBre adcrumbsTo pGenerateO ption) = 0 )"> | |||||
239 | <w wpage:Cond ition name ="breadcru mbs-top" / > | |||||
240 | </x sl:if> | |||||
241 | ||||||
242 | <!- - breadcru mbs-bottom --> | |||||
243 | <!- - --> | |||||
244 | <xs l:variable name="Var Breadcrumb sBottomGen erateOptio n" select= "$VarPageR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'br eadcrumbs- bottom-gen erate']/@V alue" /> | |||||
245 | <xs l:if test= "$VarBread crumbsBott omGenerate Option = ' true'"> | |||||
246 | <w wpage:Cond ition name ="breadcru mbs-bottom " /> | |||||
247 | </x sl:if> | |||||
248 | ||||||
249 | <!- - navigati on-top --> | |||||
250 | <!- - --> | |||||
251 | <xs l:variable name="Var Navigation TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name = 'naviga tion-top-g enerate']/ @Value" /> | |||||
252 | <xs l:if test= "($VarNavi gationTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarNavi gationTopG enerateOpt ion) = 0)" > | |||||
253 | <w wpage:Cond ition name ="navigati on-top" /> | |||||
254 | </x sl:if> | |||||
255 | ||||||
256 | <!- - navigati on-bottom --> | |||||
257 | <!- - --> | |||||
258 | <xs l:variable name="Var Navigation BottomGene rateOption " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'nav igation-bo ttom-gener ate']/@Val ue" /> | |||||
259 | <xs l:if test= "$VarNavig ationBotto mGenerateO ption = 't rue'"> | |||||
260 | <w wpage:Cond ition name ="navigati on-bottom" /> | |||||
261 | </x sl:if> | |||||
262 | ||||||
263 | <!- - Generate TOC? --> | |||||
264 | <!- - --> | |||||
265 | <xs l:if test= "count($Va rTOCSplitF ile) = 1"> | |||||
266 | <x sl:choose> | |||||
267 | < xsl:when t est="count ($ParamSpl itsFrame/w wsplits:Wr apper | $V arTOCSplit File) = 1" > | |||||
268 | <!-- navig ation-toc- current -- > | |||||
269 | <!-- -- > | |||||
270 | <wwpage:Co ndition na me="naviga tion-toc-c urrent" /> | |||||
271 | < /xsl:when> | |||||
272 | ||||||
273 | < xsl:otherw ise> | |||||
274 | <!-- navig ation-toc- not-curren t --> | |||||
275 | <!-- -- > | |||||
276 | <wwpage:Co ndition na me="naviga tion-toc-n ot-current " /> | |||||
277 | < /xsl:other wise> | |||||
278 | </ xsl:choose > | |||||
279 | </x sl:if> | |||||
280 | ||||||
281 | <!- - navigati on-previou s-exists - -> | |||||
282 | <!- - - -> | |||||
283 | <ww page:Condi tion name= "navigatio n-previous -exists" / > | |||||
284 | ||||||
285 | <!- - navigati on-next-ex ists --> | |||||
286 | <!- - --> | |||||
287 | <ww page:Condi tion name= "navigatio n-next-exi sts" /> | |||||
288 | ||||||
289 | <!- - Generate Index? -- > | |||||
290 | <!- - -- > | |||||
291 | <xs l:if test= "count($Va rIndexSpli tFile) = 1 "> | |||||
292 | <x sl:choose> | |||||
293 | < xsl:when t est="count ($ParamSpl itsFrame/w wsplits:Wr apper | $V arIndexSpl itFile) = 1"> | |||||
294 | <!-- navig ation-inde x-current --> | |||||
295 | <!-- -- > | |||||
296 | <wwpage:Co ndition na me="naviga tion-index -current" /> | |||||
297 | < /xsl:when> | |||||
298 | ||||||
299 | < xsl:otherw ise> | |||||
300 | <!-- navig ation-inde x-not-curr ent --> | |||||
301 | <!-- -- > | |||||
302 | <wwpage:Co ndition na me="naviga tion-index -not-curre nt" /> | |||||
303 | < /xsl:other wise> | |||||
304 | </ xsl:choose > | |||||
305 | </x sl:if> | |||||
306 | ||||||
307 | <!- - Company Info --> | |||||
308 | <!- - --> | |||||
309 | <xs l:call-tem plate name ="CompanyI nfo-Condit ions"> | |||||
310 | <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" /> | |||||
311 | </x sl:call-te mplate> | |||||
312 | </xs l:variable > | |||||
313 | <xsl :variable name="VarI nitialCond itions" se lect="msxs l:node-set ($VarIniti alConditio nsAsXML)" /> | |||||
314 | ||||||
315 | <!-- Set heade r/footer c onditions --> | |||||
316 | <!-- --> | |||||
317 | <xsl :variable name="VarC onditionsA sXML"> | |||||
318 | <!- - Copy exi sting as i s --> | |||||
319 | <!- - --> | |||||
320 | <xs l:for-each select="$ VarInitial Conditions /*"> | |||||
321 | <x sl:copy-of select=". " /> | |||||
322 | </x sl:for-eac h> | |||||
323 | ||||||
324 | <xs l:for-each select="$ VarInitial Conditions [1]"> | |||||
325 | <! -- header- exists --> | |||||
326 | <! -- --> | |||||
327 | <x sl:variabl e name="Va rHeaderExi sts" selec t="count(k ey('wwpage -condition s-by-name' , 'navigat ion-top') | key('wwp age-condit ions-by-na me', 'brea dcrumbs-to p') | key( 'wwpage-co nditions-b y-name', ' company-in fo-top')) > 0" /> | |||||
328 | <x sl:if test ="$VarHead erExists"> | |||||
329 | < wwpage:Con dition nam e="header- exists" /> | |||||
330 | </ xsl:if> | |||||
331 | ||||||
332 | <! -- footer- exists --> | |||||
333 | <! -- --> | |||||
334 | <x sl:variabl e name="Va rFooterExi sts" selec t="count(k ey('wwpage -condition s-by-name' , 'navigat ion-bottom ') | key(' wwpage-con ditions-by -name', 'b readcrumbs -bottom') | key('wwp age-condit ions-by-na me', 'comp any-info-b ottom')) & gt; 0" /> | |||||
335 | <x sl:if test ="$VarFoot erExists"> | |||||
336 | < wwpage:Con dition nam e="footer- exists" /> | |||||
337 | </ xsl:if> | |||||
338 | ||||||
339 | <! -- header- footer-exi sts --> | |||||
340 | <! -- --> | |||||
341 | <x sl:choose> | |||||
342 | < xsl:when t est="$VarH eaderExist s or $VarF ooterExist s"> | |||||
343 | <wwpage:Co ndition na me="header -footer-ex ists" /> | |||||
344 | < /xsl:when> | |||||
345 | ||||||
346 | < xsl:otherw ise> | |||||
347 | <wwpage:Co ndition na me="header -footer-no t-exists" /> | |||||
348 | < /xsl:other wise> | |||||
349 | </ xsl:choose > | |||||
350 | </x sl:for-eac h> | |||||
351 | </xs l:variable > | |||||
352 | <xsl :variable name="VarC onditions" select="m sxsl:node- set($VarCo nditionsAs XML)" /> | |||||
353 | ||||||
354 | <!-- Replaceme nts --> | |||||
355 | <!-- --> | |||||
356 | <xsl :variable name="VarR eplacement sAsXML"> | |||||
357 | <ww page:Repla cement nam e="title" value="{$P aramSplits Frame/wwsp lits:Wrapp er/@title} " /> | |||||
358 | <ww page:Repla cement nam e="navigat ion-toc-ti tle" value ="{$VarTOC SplitFile/ @title}" / > | |||||
359 | <ww page:Repla cement nam e="navigat ion-previo us-title" value="{$G lobalLocal e/wwlocale :Locale/ww locale:Str ings/wwloc ale:String [@name = ' Previous'] /@value}" /> | |||||
360 | <ww page:Repla cement nam e="navigat ion-next-t itle" valu e="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Next ']/@value} " /> | |||||
361 | <ww page:Repla cement nam e="navigat ion-index- title" val ue="{$VarI ndexSplitF ile/@title }" /> | |||||
362 | ||||||
363 | <ww page:Repla cement nam e="locale" value="{w wprojext:G etFormatSe tting('loc ale', 'en' )}" /> | |||||
364 | ||||||
365 | <ww page:Repla cement nam e="navigat ion-top-st yle"> | |||||
366 | <x sl:attribu te name="v alue"> | |||||
367 | < xsl:variab le name="V arAlignmen tProperty" select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name = 'navigatio n-top-alig nment']/@V alue" /> | |||||
368 | < xsl:choose > | |||||
369 | <xsl:when test="$Var AlignmentP roperty = 'center'"> | |||||
370 | <xsl:valu e-of selec t="'margin -left: aut o;'" /> | |||||
371 | <xsl:valu e-of selec t="' margi n-right: a uto;'" /> | |||||
372 | </xsl:when > | |||||
373 | ||||||
374 | <xsl:when test="$Var AlignmentP roperty = 'right'"> | |||||
375 | <xsl:valu e-of selec t="'margin -left: aut o;'" /> | |||||
376 | <xsl:valu e-of selec t="' margi n-right: 0 em;'" /> | |||||
377 | </xsl:when > | |||||
378 | ||||||
379 | <xsl:other wise> | |||||
380 | <xsl:valu e-of selec t="'margin -left: 0em ;'" /> | |||||
381 | <xsl:valu e-of selec t="' margi n-right: a uto;'" /> | |||||
382 | </xsl:othe rwise> | |||||
383 | < /xsl:choos e> | |||||
384 | </ xsl:attrib ute> | |||||
385 | </w wpage:Repl acement> | |||||
386 | ||||||
387 | <ww page:Repla cement nam e="navigat ion-bottom -style"> | |||||
388 | <x sl:attribu te name="v alue"> | |||||
389 | < xsl:variab le name="V arAlignmen tProperty" select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name = 'navigatio n-bottom-a lignment'] /@Value" / > | |||||
390 | < xsl:choose > | |||||
391 | <xsl:when test="$Var AlignmentP roperty = 'center'"> | |||||
392 | <xsl:valu e-of selec t="'margin -left: aut o;'" /> | |||||
393 | <xsl:valu e-of selec t="' margi n-right: a uto;'" /> | |||||
394 | </xsl:when > | |||||
395 | ||||||
396 | <xsl:when test="$Var AlignmentP roperty = 'left'"> | |||||
397 | <xsl:valu e-of selec t="'margin -left: 0em ;'" /> | |||||
398 | <xsl:valu e-of selec t="' margi n-right: a uto;'" /> | |||||
399 | </xsl:when > | |||||
400 | ||||||
401 | <xsl:other wise> | |||||
402 | <xsl:valu e-of selec t="'margin -left: aut o;'" /> | |||||
403 | <xsl:valu e-of selec t="' margi n-right: 0 em;'" /> | |||||
404 | </xsl:othe rwise> | |||||
405 | < /xsl:choos e> | |||||
406 | </ xsl:attrib ute> | |||||
407 | </w wpage:Repl acement> | |||||
408 | ||||||
409 | <xs l:if test= "count($Va rTOCSplitF ile) = 1"> | |||||
410 | <w wpage:Repl acement na me="naviga tion-toc-l ink"> | |||||
411 | < xsl:call-t emplate na me="MoinMo in-Relativ ePageLink" > | |||||
412 | <xsl:with- param name ="ParamSou rce" selec t="$ParamS plitsFrame /wwsplits: Wrapper/@p ath" /> | |||||
413 | <xsl:with- param name ="ParamTar get" selec t="$VarTOC SplitFile/ @path" /> | |||||
414 | < /xsl:call- template> | |||||
415 | </ wwpage:Rep lacement> | |||||
416 | </x sl:if> | |||||
417 | <xs l:variable name="Var Anchor"> | |||||
418 | <x sl:variabl e name="Va rParagraph " select=" $VarFrame/ ancestor:: wwdoc:Para graph[1]" /> | |||||
419 | <x sl:choose> | |||||
420 | < xsl:when t est="count ($VarParag raph) = 1" > | |||||
421 | <xsl:text> #</xsl:tex t> | |||||
422 | <xsl:value -of select ="$VarFram e/ancestor ::wwdoc:Pa ragraph[1] /@id" /> | |||||
423 | < /xsl:when> | |||||
424 | ||||||
425 | < xsl:otherw ise> | |||||
426 | <xsl:value -of select ="''" /> | |||||
427 | < /xsl:other wise> | |||||
428 | </ xsl:choose > | |||||
429 | </x sl:variabl e> | |||||
430 | <ww page:Repla cement nam e="navigat ion-previo us-link"> | |||||
431 | <x sl:call-te mplate nam e="MoinMoi n-Relative PageLink"> | |||||
432 | < xsl:with-p aram name= "ParamSour ce" select ="$ParamSp litsFrame/ wwsplits:W rapper/@pa th" /> | |||||
433 | < xsl:with-p aram name= "ParamTarg et" select ="$ParamSp litsFrame/ ../@path" /> | |||||
434 | </ xsl:call-t emplate> | |||||
435 | <x sl:value-o f select=" $VarAnchor " /> | |||||
436 | </w wpage:Repl acement> | |||||
437 | <ww page:Repla cement nam e="navigat ion-next-l ink"> | |||||
438 | <x sl:call-te mplate nam e="MoinMoi n-Relative PageLink"> | |||||
439 | < xsl:with-p aram name= "ParamSour ce" select ="$ParamSp litsFrame/ wwsplits:W rapper/@pa th" /> | |||||
440 | < xsl:with-p aram name= "ParamTarg et" select ="$ParamSp litsFrame/ ../@path" /> | |||||
441 | </ xsl:call-t emplate> | |||||
442 | <x sl:value-o f select=" $VarAnchor " /> | |||||
443 | </w wpage:Repl acement> | |||||
444 | <xs l:if test= "count($Va rIndexSpli tFile) = 1 "> | |||||
445 | <w wpage:Repl acement na me="naviga tion-index -link"> | |||||
446 | < xsl:call-t emplate na me="MoinMo in-Relativ ePageLink" > | |||||
447 | <xsl:with- param name ="ParamSou rce" selec t="$ParamS plitsFrame /wwsplits: Wrapper/@p ath" /> | |||||
448 | <xsl:with- param name ="ParamTar get" selec t="$VarInd exSplitFil e/@path" / > | |||||
449 | < /xsl:call- template> | |||||
450 | </ wwpage:Rep lacement> | |||||
451 | </x sl:if> | |||||
452 | ||||||
453 | <!- - Company Info --> | |||||
454 | <!- - --> | |||||
455 | <xs l:call-tem plate name ="CompanyI nfo-Replac ements"> | |||||
456 | <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" /> | |||||
457 | <x sl:with-pa ram name=" ParamPageP ath" selec t="$ParamS plitsFrame /wwsplits: Wrapper/@p ath" /> | |||||
458 | <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> | |||||
459 | </x sl:call-te mplate> | |||||
460 | ||||||
461 | <!- - Breadcru mbs --> | |||||
462 | <!- - --> | |||||
463 | <ww page:Repla cement nam e="breadcr umbs"> | |||||
464 | <x sl:call-te mplate nam e="Breadcr umbs"> | |||||
465 | < xsl:with-p aram name= "ParamPage Rule" sele ct="$VarPa geRule" /> | |||||
466 | < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame" /> | |||||
467 | < xsl:with-p aram name= "ParamBrea dcrumbTOCE ntry" sele ct="$Param Breadcrumb TOCEntry" /> | |||||
468 | </ xsl:call-t emplate> | |||||
469 | </w wpage:Repl acement> | |||||
470 | ||||||
471 | <!- - Content --> | |||||
472 | <!- - --> | |||||
473 | <ww page:Repla cement nam e="content "> | |||||
474 | <x sl:call-te mplate nam e="Frame-M arkup"> | |||||
475 | < xsl:with-p aram name= "ParamFram e" select= "$VarFrame " /> | |||||
476 | < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> | |||||
477 | < xsl:with-p aram name= "ParamCarg o" select= "$VarCargo " /> | |||||
478 | < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" /> | |||||
479 | < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame/w wsplits:Wr apper" /> | |||||
480 | < xsl:with-p aram name= "ParamSpli tsFrame" s elect="$Pa ramSplitsF rame" /> | |||||
481 | < xsl:with-p aram name= "ParamThum bnail" sel ect="false ()" /> | |||||
482 | </ xsl:call-t emplate> | |||||
483 | </w wpage:Repl acement> | |||||
484 | ||||||
485 | <!- - Variable s --> | |||||
486 | <!- - --> | |||||
487 | <xs l:variable name="Var SplitGloba lVariables AsXML"> | |||||
488 | <x sl:call-te mplate nam e="Variabl es-Globals -Split"> | |||||
489 | < xsl:with-p aram name= "ParamProj ectVariabl es" select ="$GlobalP rojectVari ables" /> | |||||
490 | < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame/a ncestor::w wsplits:Sp lit[1]" /> | |||||
491 | </ xsl:call-t emplate> | |||||
492 | </x sl:variabl e> | |||||
493 | <xs l:variable name="Var SplitGloba lVariables " select=" msxsl:node -set($VarS plitGlobal VariablesA sXML)/wwva rs:Variabl e" /> | |||||
494 | <xs l:call-tem plate name ="Variable s-Page-Str ing-Replac ements"> | |||||
495 | <x sl:with-pa ram name=" ParamVaria bles" sele ct="$VarSp litGlobalV ariables" /> | |||||
496 | </x sl:call-te mplate> | |||||
497 | </xs l:variable > | |||||
498 | <xsl :variable name="VarR eplacement s" select= "msxsl:nod e-set($Var Replacemen tsAsXML)" /> | |||||
499 | ||||||
500 | <!-- Map commo n characte rs --> | |||||
501 | <!-- --> | |||||
502 | <wwe xsldoc:Map pingContex t> | |||||
503 | <xs l:copy-of select="$G lobalMapEn trySets/ww exsldoc:Ma pEntrySets /wwexsldoc :MapEntryS et[@name = 'common'] /wwexsldoc :MapEntry" /> | |||||
504 | ||||||
505 | <!- - Invoke p age templa te --> | |||||
506 | <!- - --> | |||||
507 | <xs l:apply-te mplates se lect="$Glo balPageTem plate" mod e="wwmode: pagetempla te"> | |||||
508 | <x sl:with-pa ram name=" ParamOutpu tDirectory Path" sele ct="$VarOu tputDirect oryPath" / > | |||||
509 | <x sl:with-pa ram name=" ParamOutpu tPath" sel ect="$Para mSplitsFra me/wwsplit s:Wrapper/ @path" /> | |||||
510 | <x sl:with-pa ram name=" ParamCondi tions" sel ect="$VarC onditions" /> | |||||
511 | <x sl:with-pa ram name=" ParamRepla cements" s elect="$Va rReplaceme nts" /> | |||||
512 | </x sl:apply-t emplates> | |||||
513 | </ww exsldoc:Ma ppingConte xt> | |||||
514 | </xsl :for-each> | |||||
515 | </xsl: for-each> | |||||
516 | </xsl:v ariable> | |||||
517 | ||||||
518 | <!-- Ab orted? --> | |||||
519 | <!-- --> | |||||
520 | <xsl:if test="not (wwprogres s:Abort()) "> | |||||
521 | <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" /> | |||||
522 | <xsl:v ariable na me="VarWri teResult" select="ww exsldoc:Do cument($Va rResult, $ ParamSplit sFrame/wws plits:Wrap per/@path, wwprojext :GetFormat Setting('e ncoding'), 'text')" /> | |||||
523 | </xsl:i f> | |||||
524 | </xsl:if > | |||||
525 | ||||||
526 | <!-- Abo rted? --> | |||||
527 | <!-- --> | |||||
528 | <xsl:if test="not( wwprogress :Abort())" > | |||||
529 | <!-- Re cord files --> | |||||
530 | <!-- --> | |||||
531 | <wwfile s:File pat h="{$Param SplitsFram e/wwsplits :Wrapper/@ path}" typ e="{$Param eterType}" checksum= "{wwfilesy stem:GetCh ecksum($Pa ramSplitsF rame/wwspl its:Wrappe r/@path)}" projectch ecksum="{$ GlobalProj ect/wwproj ect:Projec t/@ChangeI D}" groupI D="{$Param SplitsFram e/wwsplits :Wrapper/@ groupID}" documentID ="{$ParamS plitsFrame /wwsplits: Wrapper/@d ocumentID} " actionch ecksum="{$ GlobalActi onChecksum }" categor y="{$Param eterCatego ry}" use=" {$Paramete rUse}" dep loy="{$Par ameterDepl oy}"> | |||||
532 | <wwfil es:Depends path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID="" /> | |||||
533 | <wwfil es:Depends path="{$G lobalUILoc alePath}" checksum=" {wwfilesys tem:GetChe cksum($Glo balUILocal ePath)}" g roupID="" documentID ="" /> | |||||
534 | <wwfil es:Depends path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " /> | |||||
535 | <wwfil es:Depends path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " /> | |||||
536 | <wwfil es:Depends path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID="" /> | |||||
537 | <wwfil es:Depends path="{$P aramFilesD ocumentNod e/@path}" checksum=" {$ParamFil esDocument Node/@chec ksum}" gro upID="{$Pa ramFilesDo cumentNode /@groupID} " document ID="{$Para mFilesDocu mentNode/@ documentID }" /> | |||||
538 | <wwfil es:Depends path="{$P aramFilesS plits/@pat h}" checks um="{$Para mFilesSpli ts/@checks um}" group ID="{$Para mFilesSpli ts/@groupI D}" docume ntID="{$Pa ramFilesSp lits/@docu mentID}" / > | |||||
539 | <wwfil es:Depends path="{$P aramBehavi orsFile/@p ath}" chec ksum="{$Pa ramBehavio rsFile/@ch ecksum}" g roupID="{$ ParamBehav iorsFile/@ groupID}" documentID ="{$ParamB ehaviorsFi le/@docume ntID}" /> | |||||
540 | </wwfil es:File> | |||||
541 | </xsl:if > | |||||
542 | </xsl:tem plate> | |||||
543 | </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.