23. Araxis Merge File Comparison Report

Produced by Araxis Merge on Sat May 2 08:30:13 2009 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.

23.1 Files compared

# Location File Last Modified
1 C:\Documents and Settings\allums\Desktop\2008.4\Formats\Simple HTML\Transforms pages.xsl Mon Jan 19 18:02:36 2009 UTC
2 C:\Documents and Settings\allums\Desktop\2009.1\Formats\Simple HTML\Transforms pages.xsl Sat May 2 06:55:38 2009 UTC

23.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 1238
Changed 0 0
Inserted 1 1
Removed 0 0

23.3 Comparison options

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

23.4 Active regular expressions

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

23.5 Comparison detail

1   <?xml vers ion="1.0"  encoding=" UTF-8"?>   1   <?xml vers ion="1.0"  encoding=" UTF-8"?>
2   <xsl:style sheet vers ion="1.0"  xmlns="htt p://www.w3 .org/MarkU p/Wilbur/H TML32.dtd"   2   <xsl:style sheet vers ion="1.0"  xmlns="htt p://www.w3 .org/MarkU p/Wilbur/H TML32.dtd"
3                                    xmlns:html ="http://w ww.w3.org/ MarkUp/Wil bur/HTML32 .dtd"   3                                    xmlns:html ="http://w ww.w3.org/ MarkUp/Wil bur/HTML32 .dtd"
4                                    xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform"   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"   5                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt"
6                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode"   6                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode"
7                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema"   7                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema"
8                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema"   8                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema"
9                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a"   9                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a"
10                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema"   10                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema"
11                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema"   11                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema"
12                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema"   12                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema"
13                                    xmlns:wwva rs="urn:We bWorks-Var iables-Sch ema"   13                                    xmlns:wwva rs="urn:We bWorks-Var iables-Sch ema"
14                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema"   14                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema"
15                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject"   15                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject"
16                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema"   16                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema"
17                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma"   17                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma"
18                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress"   18                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress"
19                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log"   19                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log"
20                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem"   20                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem"
21                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI"   21                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI"
22                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities"   22                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities"
23                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units"   23                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units"
24                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s"   24                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s"
25                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct"   25                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct"
26                                    xmlns:wwim aging="urn :WebWorks- XSLT-Exten sion-Imagi ng"   26                                    xmlns:wwim aging="urn :WebWorks- XSLT-Exten sion-Imagi ng"
27                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent"   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"   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   >   29   >
30    <xsl:para m name="Gl obalInput"  />   30    <xsl:para m name="Gl obalInput"  />
31    <xsl:para m name="Gl obalPipeli neName" />   31    <xsl:para m name="Gl obalPipeli neName" />
32    <xsl:para m name="Gl obalProjec t" />   32    <xsl:para m name="Gl obalProjec t" />
33    <xsl:para m name="Gl obalFiles"  />   33    <xsl:para m name="Gl obalFiles"  />
34    <xsl:para m name="Pa rameterDep endsType"  />   34    <xsl:para m name="Pa rameterDep endsType"  />
35    <xsl:para m name="Pa rameterSpl itsType" / >   35    <xsl:para m name="Pa rameterSpl itsType" / >
36    <xsl:para m name="Pa rameterLin ksType" />   36    <xsl:para m name="Pa rameterLin ksType" />
37    <xsl:para m name="Pa rameterLoc aleType" / >   37    <xsl:para m name="Pa rameterLoc aleType" / >
38    <xsl:para m name="Pa rameterBeh aviorsType " />   38    <xsl:para m name="Pa rameterBeh aviorsType " />
39    <xsl:para m name="Pa rameterPro jectVariab lesType" / >   39    <xsl:para m name="Pa rameterPro jectVariab lesType" / >
40    <xsl:para m name="Pa rameterPag eTemplateU RI" />   40    <xsl:para m name="Pa rameterPag eTemplateU RI" />
41    <xsl:para m name="Pa rameterTOC DataType"  />   41    <xsl:para m name="Pa rameterTOC DataType"  />
42    <xsl:para m name="Pa rameterAll owBaggage"  />   42    <xsl:para m name="Pa rameterAll owBaggage"  />
43    <xsl:para m name="Pa rameterAll owGroupToG roup" />   43    <xsl:para m name="Pa rameterAll owGroupToG roup" />
44    <xsl:para m name="Pa rameterAll owURL" />   44    <xsl:para m name="Pa rameterAll owURL" />
45    <xsl:para m name="Pa rameterBag gageSplitF ileType" / >   45    <xsl:para m name="Pa rameterBag gageSplitF ileType" / >
46    <xsl:para m name="Pa rameterTOC SplitFileT ype" />   46    <xsl:para m name="Pa rameterTOC SplitFileT ype" />
47    <xsl:para m name="Pa rameterInd exSplitFil eType" />   47    <xsl:para m name="Pa rameterInd exSplitFil eType" />
48    <xsl:para m name="Pa rameterTyp e" />   48    <xsl:para m name="Pa rameterTyp e" />
49    <xsl:para m name="Pa rameterCat egory" />   49    <xsl:para m name="Pa rameterCat egory" />
50    <xsl:para m name="Pa rameterUse " />   50    <xsl:para m name="Pa rameterUse " />
51    <xsl:para m name="Pa rameterDep loy" />   51    <xsl:para m name="Pa rameterDep loy" />
52    <xsl:para m name="Pa rameterDoc umentPDFTy pe" />   52    <xsl:para m name="Pa rameterDoc umentPDFTy pe" />
53    <xsl:para m name="Pa rameterGro upPDFType"  />   53    <xsl:para m name="Pa rameterGro upPDFType"  />
54     54  
55     55  
56    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/MarkUp/W ilbur/HTML 32.dtd'" / >   56    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/MarkUp/W ilbur/HTML 32.dtd'" / >
57     57  
58     58  
59    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" />   59    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" />
60    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />   60    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />
61    <xsl:stri p-space el ements="*"  />   61    <xsl:stri p-space el ements="*"  />
62    <xsl:pres erve-space  elements= "html:scri pt" />   62    <xsl:pres erve-space  elements= "html:scri pt" />
63     63  
64     64  
65    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/>   65    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/>
66    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/>   66    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/>
67    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .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"  />   68    <xsl:incl ude href=" wwtransfor m:common/i mages/util ities.xsl"  />
69    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />   69    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />
70    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />   70    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />
71    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" />   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" />   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" />   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" />   74    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" />
75    <xsl:incl ude href=" wwtransfor m:html/htm l_properti es.xsl" />   75    <xsl:incl ude href=" wwtransfor m:html/htm l_properti es.xsl" />
76    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />   76    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />
77    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />   77    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />
78    <xsl:incl ude href=" wwformat:T ransforms/ formatting .xsl" />   78    <xsl:incl ude href=" wwformat:T ransforms/ formatting .xsl" />
79    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />   79    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />
80     80  
81     81  
82    <xsl:vari able name= "GlobalAct ionChecksu m">   82    <xsl:vari able name= "GlobalAct ionChecksu m">
83     <xsl:var iable name ="VarTrans formChecks ums">   83     <xsl:var iable name ="VarTrans formChecks ums">
84      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />   84      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />
85      <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)))" / >   85      <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)))" / >
86      <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')))" / >   86      <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')))" / >
87      <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')))" / >   87      <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')))" / >
88      <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')))"  />   88      <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')))"  />
89      <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')))"  />   89      <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')))"  />
90      <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' )))" />   90      <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' )))" />
91      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pages.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ pages/page s.xsl')))"  />   91      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pages.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ pages/page s.xsl')))"  />
92      <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' )))" />   92      <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' )))" />
93      <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' )))" />   93      <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' )))" />
94      <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' )))" />   94      <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' )))" />
95      <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')))" />   95      <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')))" />
96      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:htm l/html_pro perties.xs l'), ':',  wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:html/ html_prope rties.xsl' )))" />   96      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:htm l/html_pro perties.xs l'), ':',  wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:html/ html_prope rties.xsl' )))" />
97      <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' )))" />   97      <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' )))" />
98      <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')))" / >   98      <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')))" / >
99      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/forma tting.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwformat: Transforms /formattin g.xsl')))"  />   99      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/forma tting.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwformat: Transforms /formattin g.xsl')))"  />
100      <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' )))" />   100      <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' )))" />
101     </xsl:va riable>   101     </xsl:va riable>
102     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />   102     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />
103    </xsl:var iable>   103    </xsl:var iable>
104     104  
105     105  
106    <!-- Loca le -->   106    <!-- Loca le -->
107    <!--         -->   107    <!--         -->
108    <xsl:vari able name= "GlobalLoc alePath">   108    <xsl:vari able name= "GlobalLoc alePath">
109     <xsl:for -each sele ct="$Globa lFiles[1]" >   109     <xsl:for -each sele ct="$Globa lFiles[1]" >
110      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />   110      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />
111     </xsl:fo r-each>   111     </xsl:fo r-each>
112    </xsl:var iable>   112    </xsl:var iable>
113    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />   113    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />
114     114  
115     115  
116    <!-- Mapp ing Entry  Sets -->   116    <!-- Mapp ing Entry  Sets -->
117    <!--                      -->   117    <!--                      -->
118    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />   118    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />
119    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />   119    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />
120     120  
121     121  
122    <!-- Page  Template  -->   122    <!-- Page  Template  -->
123    <!--                 -->   123    <!--                 -->
124    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />   124    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />
125    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />   125    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />
126     126  
127     127  
128    <!-- Proj ect variab les -->   128    <!-- Proj ect variab les -->
129    <!--                     -->   129    <!--                     -->
130    <xsl:vari able name= "GlobalPro jectVariab lesPath">   130    <xsl:vari able name= "GlobalPro jectVariab lesPath">
131     <xsl:for -each sele ct="$Globa lFiles[1]" >   131     <xsl:for -each sele ct="$Globa lFiles[1]" >
132      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />   132      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />
133     </xsl:fo r-each>   133     </xsl:fo r-each>
134    </xsl:var iable>   134    </xsl:var iable>
135    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />   135    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />
136     136  
137     137  
138    <xsl:temp late match ="/">   138    <xsl:temp late match ="/">
139     <wwfiles :Files ver sion="1.0" >   139     <wwfiles :Files ver sion="1.0" >
140     140  
141      <xsl:ca ll-templat e name="Do cumentsPag es">   141      <xsl:ca ll-templat e name="Do cumentsPag es">
142       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />   142       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />
143       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />   143       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />
144       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />   144       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />
145       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />   145       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />
146       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />   146       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />
147       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />   147       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />
148       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >   148       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >
149       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />   149       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />
150      </xsl:c all-templa te>   150      </xsl:c all-templa te>
151     151  
152     </wwfile s:Files>   152     </wwfile s:Files>
153    </xsl:tem plate>   153    </xsl:tem plate>
154     154  
155     155  
156    <xsl:temp late name= "Page">   156    <xsl:temp late name= "Page">
157     <xsl:par am name="P aramFilesS plits" />   157     <xsl:par am name="P aramFilesS plits" />
158     <xsl:par am name="P aramSplits " />   158     <xsl:par am name="P aramSplits " />
159     <xsl:par am name="P aramBehavi orsFile" / >   159     <xsl:par am name="P aramBehavi orsFile" / >
160     <xsl:par am name="P aramBehavi ors" />   160     <xsl:par am name="P aramBehavi ors" />
161     <xsl:par am name="P aramLinks"  />   161     <xsl:par am name="P aramLinks"  />
162     <xsl:par am name="P aramTOCDat a" />   162     <xsl:par am name="P aramTOCDat a" />
163     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />   163     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />
164     <xsl:par am name="P aramFilesD ocumentNod e" />   164     <xsl:par am name="P aramFilesD ocumentNod e" />
165     <xsl:par am name="P aramSplit"  />   165     <xsl:par am name="P aramSplit"  />
166     <xsl:par am name="P aramDocume nt" />   166     <xsl:par am name="P aramDocume nt" />
167     <xsl:par am name="P aramConten t" />   167     <xsl:par am name="P aramConten t" />
168     168  
169     <!-- Out put -->   169     <!-- Out put -->
170     <!--         -->   170     <!--         -->
171     <xsl:var iable name ="VarUpToD ate" selec t="wwfiles ext:UpToDa te($ParamS plit/@path , $GlobalP roject/wwp roject:Pro ject/@Chan geID, $Par amSplit/@g roupID, $P aramSplit/ @documentI D, $Global ActionChec ksum)" />   171     <xsl:var iable name ="VarUpToD ate" selec t="wwfiles ext:UpToDa te($ParamS plit/@path , $GlobalP roject/wwp roject:Pro ject/@Chan geID, $Par amSplit/@g roupID, $P aramSplit/ @documentI D, $Global ActionChec ksum)" />
172     <xsl:if  test="not( $VarUpToDa te)">   172     <xsl:if  test="not( $VarUpToDa te)">
173      <xsl:va riable nam e="VarResu ltAsXML">   173      <xsl:va riable nam e="VarResu ltAsXML">
174       <!-- O utput dire ctory path  -->   174       <!-- O utput dire ctory path  -->
175       <!--                          -->   175       <!--                          -->
176       <xsl:v ariable na me="VarOut putDirecto ryPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get TargetOutp utDirector yPath(), w wprojext:G etGroupNam e($ParamSp lit/@group ID))" />   176       <xsl:v ariable na me="VarOut putDirecto ryPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get TargetOutp utDirector yPath(), w wprojext:G etGroupNam e($ParamSp lit/@group ID))" />
177     177  
178       <!-- P age Rule - ->   178       <!-- P age Rule - ->
179       <!--            - ->   179       <!--            - ->
180       <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page',  $ParamSpl it/@stylen ame)" />   180       <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page',  $ParamSpl it/@stylen ame)" />
181     181  
182       <!-- S plit files  -->   182       <!-- S plit files  -->
183       <!--               -->   183       <!--               -->
184       <xsl:f or-each se lect="$Par amSplits[1 ]">   184       <xsl:f or-each se lect="$Par amSplits[1 ]">
185        <!--  TOC -->   185        <!--  TOC -->
186        <!--      -->   186        <!--      -->
187        <xsl: variable n ame="VarTO CSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" />   187        <xsl: variable n ame="VarTO CSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" />
188     188  
189        <!--  Index -->   189        <!--  Index -->
190        <!--        -->   190        <!--        -->
191        <xsl: variable n ame="VarIn dexSplitFi le" select ="key('wws plits-file s-by-group id-type',  concat($Pa ramSplit/@ groupID, ' :', $Param eterIndexS plitFileTy pe))[1]" / >   191        <xsl: variable n ame="VarIn dexSplitFi le" select ="key('wws plits-file s-by-group id-type',  concat($Pa ramSplit/@ groupID, ' :', $Param eterIndexS plitFileTy pe))[1]" / >
192     192  
193        <!--  Previous - ->   193        <!--  Previous - ->
194        <!--           - ->   194        <!--           - ->
195        <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]"  />   195        <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]"  />
196        <xsl: variable n ame="VarPr eviousSpli t" select= "($VarPoss iblePrevio usSplits[c ount($VarP ossiblePre viousSplit s) = 1] |  $VarTOCSpl itFile[(co unt($VarPo ssiblePrev iousSplits ) = 0) and  (count($P aramSplit  | $VarTOCS plitFile)  = 2)])" />   196        <xsl: variable n ame="VarPr eviousSpli t" select= "($VarPoss iblePrevio usSplits[c ount($VarP ossiblePre viousSplit s) = 1] |  $VarTOCSpl itFile[(co unt($VarPo ssiblePrev iousSplits ) = 0) and  (count($P aramSplit  | $VarTOCS plitFile)  = 2)])" />
197     197  
198        <!--  Next -->   198        <!--  Next -->
199        <!--       -->   199        <!--       -->
200        <xsl: variable n ame="VarPo ssibleNext Splits" se lect="$Par amSplit/fo llowing-si bling::wws plits:Spli t[1]" />   200        <xsl: variable n ame="VarPo ssibleNext Splits" se lect="$Par amSplit/fo llowing-si bling::wws plits:Spli t[1]" />
201        <xsl: variable n ame="VarNe xtSplit" s elect="($V arPossible NextSplits [count($Va rPossibleN extSplits)  = 1] | $V arIndexSpl itFile[(co unt($VarPo ssibleNext Splits) =  0) and (co unt($Param Split | $V arIndexSpl itFile) =  2)])" />   201        <xsl: variable n ame="VarNe xtSplit" s elect="($V arPossible NextSplits [count($Va rPossibleN extSplits)  = 1] | $V arIndexSpl itFile[(co unt($VarPo ssibleNext Splits) =  0) and (co unt($Param Split | $V arIndexSpl itFile) =  2)])" />
202     202  
203        <!--  Skip Navig ation Link  -->   203        <!--  Skip Navig ation Link  -->
204        <!--                         -->   204        <!--                         -->
205        <xsl: variable n ame="VarSk ipNavigati onURI">   205        <xsl: variable n ame="VarSk ipNavigati onURI">
206         <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'">   206         <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'">
207          <xs l:text>#</ xsl:text>   207          <xs l:text>#</ xsl:text>
208          <xs l:value-of  select="$ ParamSplit /@id" />   208          <xs l:value-of  select="$ ParamSplit /@id" />
209         </xs l:if>   209         </xs l:if>
210        </xsl :variable>   210        </xsl :variable>
211     211  
212        <!--  PDF Link - ->   212        <!--  PDF Link - ->
213        <!--           - ->   213        <!--           - ->
214        <xsl: variable n ame="VarPD FLinkPath" >   214        <xsl: variable n ame="VarPD FLinkPath" >
215         <xsl :variable  name="VarD ocumentPDF Path">   215         <xsl :variable  name="VarD ocumentPDF Path">
216          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-doc ument', 'f alse') = ' true'">   216          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-doc ument', 'f alse') = ' true'">
217           <x sl:value-o f select=" $GlobalFil es[1]/wwfi les:Files/ wwfiles:Fi le[@docume ntID = $Pa ramFilesDo cumentNode /@document ID and @ty pe = $Para meterDocum entPDFType ]/@path" / >   217           <x sl:value-o f select=" $GlobalFil es[1]/wwfi les:Files/ wwfiles:Fi le[@docume ntID = $Pa ramFilesDo cumentNode /@document ID and @ty pe = $Para meterDocum entPDFType ]/@path" / >
218          </x sl:if>   218          </x sl:if>
219         </xs l:variable >   219         </xs l:variable >
220            220         
221         <xsl :variable  name="VarG roupPDFPat h">   221         <xsl :variable  name="VarG roupPDFPat h">
222          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-gro up', 'fals e') = 'tru e'">   222          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-gro up', 'fals e') = 'tru e'">
223           <x sl:value-o f select=" $GlobalFil es[1]/wwfi les:Files/ wwfiles:Fi le[@groupI D = $Param Split/@gro upID and @ type = $Pa rameterGro upPDFType] /@path" />       223           <x sl:value-o f select=" $GlobalFil es[1]/wwfi les:Files/ wwfiles:Fi le[@groupI D = $Param Split/@gro upID and @ type = $Pa rameterGro upPDFType] /@path" />    
224          </x sl:if>   224          </x sl:if>
225         </xs l:variable >   225         </xs l:variable >
226     226  
227         <xsl :choose>   227         <xsl :choose>
228          <xs l:when tes t="string- length($Va rDocumentP DFPath) &g t; 0">   228          <xs l:when tes t="string- length($Va rDocumentP DFPath) &g t; 0">
229           <x sl:value-o f select=" $VarDocume ntPDFPath"  />   229           <x sl:value-o f select=" $VarDocume ntPDFPath"  />
230          </x sl:when>   230          </x sl:when>
231          <xs l:when tes t="string- length($Va rGroupPDFP ath) &gt;  0">   231          <xs l:when tes t="string- length($Va rGroupPDFP ath) &gt;  0">
232           <x sl:value-o f select=" $VarGroupP DFPath" />   232           <x sl:value-o f select=" $VarGroupP DFPath" />
233          </x sl:when>   233          </x sl:when>
234         </xs l:choose>   234         </xs l:choose>
235        </xsl :variable>   235        </xsl :variable>
236     236  
237        <xsl: variable n ame="VarPD FLinkURI">   237        <xsl: variable n ame="VarPD FLinkURI">
238         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">   238         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">
239          <xs l:value-of  select="w wuri:GetRe lativeTo($ VarPDFLink Path, $Par amSplit/@p ath)" />   239          <xs l:value-of  select="w wuri:GetRe lativeTo($ VarPDFLink Path, $Par amSplit/@p ath)" />
240         </xs l:if>   240         </xs l:if>
241        </xsl :variable>   241        </xsl :variable>
242           242        
243        <!--  Notes -->   243        <!--  Notes -->
244        <!--        -->   244        <!--        -->
245        <xsl: variable n ame="VarNo tes" selec t="$ParamC ontent//ww doc:Note[n ot(ancesto r::wwdoc:T able) and  not(ancest or::wwdoc: Frame)]" / >   245        <xsl: variable n ame="VarNo tes" selec t="$ParamC ontent//ww doc:Note[n ot(ancesto r::wwdoc:T able) and  not(ancest or::wwdoc: Frame)]" / >
246     246  
247        <!--  Note numbe ring -->   247        <!--  Note numbe ring -->
248        <!--                  -->   248        <!--                  -->
249        <xsl: variable n ame="VarNo teNumberin gAsXML">   249        <xsl: variable n ame="VarNo teNumberin gAsXML">
250         <xsl :call-temp late name= "Notes-Num ber">   250         <xsl :call-temp late name= "Notes-Num ber">
251          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />   251          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />
252         </xs l:call-tem plate>   252         </xs l:call-tem plate>
253        </xsl :variable>   253        </xsl :variable>
254        <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)"  />   254        <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)"  />
255     255  
256        <!--  Cargo -->   256        <!--  Cargo -->
257        <!--        -->   257        <!--        -->
258        <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors |  $VarNoteN umbering"  />   258        <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors |  $VarNoteN umbering"  />
259     259  
260        <!--  Conditions  -->   260        <!--  Conditions  -->
261        <!--              -->   261        <!--              -->
262        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">   262        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">
263         <!--  skip-navi gation -->   263         <!--  skip-navi gation -->
264         <!--                   -->   264         <!--                   -->
265         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">   265         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">
266          <ww page:Condi tion name= "skip-navi gation" />   266          <ww page:Condi tion name= "skip-navi gation" />
267         </xs l:if>   267         </xs l:if>
268     268  
269         <!--  pdf-exist s -->   269         <!--  pdf-exist s -->
270         <!--              -->   270         <!--              -->
271         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   271         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
272          <ww page:Condi tion name= "pdf-exist s" />   272          <ww page:Condi tion name= "pdf-exist s" />
273         </xs l:if>   273         </xs l:if>
274         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">   274         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">
275          <ww page:Condi tion name= "pdf-not-e xists" />   275          <ww page:Condi tion name= "pdf-not-e xists" />
276         </xs l:if>   276         </xs l:if>
277     277  
278         <!--  breadcrum bs-top -->   278         <!--  breadcrum bs-top -->
279         <!--                   -->   279         <!--                   -->
280         <xsl :variable  name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'breadc rumbs-top- generate'] /@Value" / >   280         <xsl :variable  name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'breadc rumbs-top- generate'] /@Value" / >
281         <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) ">   281         <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) ">
282          <ww page:Condi tion name= "breadcrum bs-top" />   282          <ww page:Condi tion name= "breadcrum bs-top" />
283         </xs l:if>   283         </xs l:if>
284     284  
285         <!--  breadcrum bs-bottom  -->   285         <!--  breadcrum bs-bottom  -->
286         <!--                       -->   286         <!--                       -->
287         <xsl :variable  name="VarB readcrumbs BottomGene rateOption " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'bre adcrumbs-b ottom-gene rate']/@Va lue" />   287         <xsl :variable  name="VarB readcrumbs BottomGene rateOption " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'bre adcrumbs-b ottom-gene rate']/@Va lue" />
288         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">   288         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">
289          <ww page:Condi tion name= "breadcrum bs-bottom"  />   289          <ww page:Condi tion name= "breadcrum bs-bottom"  />
290         </xs l:if>   290         </xs l:if>
291     291  
292         <!--  navigatio n-top -->   292         <!--  navigatio n-top -->
293         <!--                  -->   293         <!--                  -->
294         <xsl :variable  name="VarN avigationT opGenerate Option" se lect="$Var PageRule/w wproject:O ptions/wwp roject:Opt ion[@Name  = 'navigat ion-top-ge nerate']/@ Value" />   294         <xsl :variable  name="VarN avigationT opGenerate Option" se lect="$Var PageRule/w wproject:O ptions/wwp roject:Opt ion[@Name  = 'navigat ion-top-ge nerate']/@ Value" />
295         <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)">   295         <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)">
296          <ww page:Condi tion name= "navigatio n-top" />   296          <ww page:Condi tion name= "navigatio n-top" />
297         </xs l:if>   297         </xs l:if>
298     298  
299         <!--  navigatio n-bottom - ->   299         <!--  navigatio n-bottom - ->
300         <!--                     - ->   300         <!--                     - ->
301         <xsl :variable  name="VarN avigationB ottomGener ateOption"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'navi gation-bot tom-genera te']/@Valu e" />   301         <xsl :variable  name="VarN avigationB ottomGener ateOption"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'navi gation-bot tom-genera te']/@Valu e" />
302         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">   302         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">
303          <ww page:Condi tion name= "navigatio n-bottom"  />   303          <ww page:Condi tion name= "navigatio n-bottom"  />
304         </xs l:if>   304         </xs l:if>
305     305  
306         <!--  Generate  TOC? -->   306         <!--  Generate  TOC? -->
307         <!--                 -->   307         <!--                 -->
308         <xsl :if test=" count($Var TOCSplitFi le) = 1">   308         <xsl :if test=" count($Var TOCSplitFi le) = 1">
309          <xs l:choose>   309          <xs l:choose>
310           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">   310           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">
311            < !-- naviga tion-toc-c urrent -->   311            < !-- naviga tion-toc-c urrent -->
312            < !--                          -->   312            < !--                          -->
313            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />   313            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />
314           </ xsl:when>   314           </ xsl:when>
315     315  
316           <x sl:otherwi se>   316           <x sl:otherwi se>
317            < !-- naviga tion-toc-n ot-current  -->   317            < !-- naviga tion-toc-n ot-current  -->
318            < !--                          -->   318            < !--                          -->
319            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />   319            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />
320           </ xsl:otherw ise>   320           </ xsl:otherw ise>
321          </x sl:choose>   321          </x sl:choose>
322         </xs l:if>   322         </xs l:if>
323     323  
324         <!--  navigatio n-previous -exists -- >   324         <!--  navigatio n-previous -exists -- >
325         <!--                               -- >   325         <!--                               -- >
326         <xsl :if test=" count($Var PreviousSp lit) = 1">   326         <xsl :if test=" count($Var PreviousSp lit) = 1">
327          <ww page:Condi tion name= "navigatio n-previous -exists" / >   327          <ww page:Condi tion name= "navigatio n-previous -exists" / >
328         </xs l:if>   328         </xs l:if>
329     329  
330         <!--  navigatio n-previous -not-exist s -->   330         <!--  navigatio n-previous -not-exist s -->
331         <!--                                    -->   331         <!--                                    -->
332         <xsl :if test=" count($Var PreviousSp lit) = 0">   332         <xsl :if test=" count($Var PreviousSp lit) = 0">
333          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />   333          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />
334         </xs l:if>   334         </xs l:if>
335     335  
336         <!--  navigatio n-next-exi sts -->   336         <!--  navigatio n-next-exi sts -->
337         <!--                           -->   337         <!--                           -->
338         <xsl :if test=" count($Var NextSplit)  = 1">   338         <xsl :if test=" count($Var NextSplit)  = 1">
339          <ww page:Condi tion name= "navigatio n-next-exi sts" />   339          <ww page:Condi tion name= "navigatio n-next-exi sts" />
340         </xs l:if>   340         </xs l:if>
341     341  
342         <!--  navigatio n-next-not -exists -- >   342         <!--  navigatio n-next-not -exists -- >
343         <!--                               -- >   343         <!--                               -- >
344         <xsl :if test=" count($Var NextSplit)  = 0">   344         <xsl :if test=" count($Var NextSplit)  = 0">
345          <ww page:Condi tion name= "navigatio n-next-not -exists" / >   345          <ww page:Condi tion name= "navigatio n-next-not -exists" / >
346         </xs l:if>   346         </xs l:if>
347     347  
348         <!--  Generate  Index? -->   348         <!--  Generate  Index? -->
349         <!--                   -->   349         <!--                   -->
350         <xsl :if test=" count($Var IndexSplit File) = 1" >   350         <xsl :if test=" count($Var IndexSplit File) = 1" >
351          <xs l:choose>   351          <xs l:choose>
352           <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1">   352           <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1">
353            < !-- naviga tion-index -current - ->   353            < !-- naviga tion-index -current - ->
354            < !--                          -->   354            < !--                          -->
355            < wwpage:Con dition nam e="navigat ion-index- current" / >   355            < wwpage:Con dition nam e="navigat ion-index- current" / >
356           </ xsl:when>   356           </ xsl:when>
357     357  
358           <x sl:otherwi se>   358           <x sl:otherwi se>
359            < !-- naviga tion-index -not-curre nt -->   359            < !-- naviga tion-index -not-curre nt -->
360            < !--                          -->   360            < !--                          -->
361            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />   361            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />
362           </ xsl:otherw ise>   362           </ xsl:otherw ise>
363          </x sl:choose>   363          </x sl:choose>
364         </xs l:if>   364         </xs l:if>
365     365  
366         <!--  Company I nfo -->   366         <!--  Company I nfo -->
367         <!--                -->   367         <!--                -->
368         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">   368         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">
369          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />   369          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />
370         </xs l:call-tem plate>   370         </xs l:call-tem plate>
371        </xsl :variable>   371        </xsl :variable>
372        <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / >   372        <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / >
373     373  
374        <!--  Set header /footer co nditions - ->   374        <!--  Set header /footer co nditions - ->
375        <!--                                 - ->   375        <!--                                 - ->
376        <xsl: variable n ame="VarCo nditionsAs XML">   376        <xsl: variable n ame="VarCo nditionsAs XML">
377         <!--  Copy exis ting as is  -->   377         <!--  Copy exis ting as is  -->
378         <!--                        -->   378         <!--                        -->
379         <xsl :for-each  select="$V arInitialC onditions/ *">   379         <xsl :for-each  select="$V arInitialC onditions/ *">
380          <xs l:copy-of  select="."  />   380          <xs l:copy-of  select="."  />
381         </xs l:for-each >   381         </xs l:for-each >
382     382  
383         <xsl :for-each  select="$V arInitialC onditions[ 1]">   383         <xsl :for-each  select="$V arInitialC onditions[ 1]">
384          <!- - header-e xists -->   384          <!- - header-e xists -->
385          <!- -                -->   385          <!- -                -->
386          <xs l:variable  name="Var HeaderExis ts" select ="count(ke y('wwpage- conditions -by-name',  'navigati on-top') |  key('wwpa ge-conditi ons-by-nam e', 'bread crumbs-top ') | key(' wwpage-con ditions-by -name', 'c ompany-inf o-top')) & gt; 0" />   386          <xs l:variable  name="Var HeaderExis ts" select ="count(ke y('wwpage- conditions -by-name',  'navigati on-top') |  key('wwpa ge-conditi ons-by-nam e', 'bread crumbs-top ') | key(' wwpage-con ditions-by -name', 'c ompany-inf o-top')) & gt; 0" />
387          <xs l:if test= "$VarHeade rExists">   387          <xs l:if test= "$VarHeade rExists">
388           <w wpage:Cond ition name ="header-e xists" />   388           <w wpage:Cond ition name ="header-e xists" />
389          </x sl:if>   389          </x sl:if>
390     390  
391          <!- - footer-e xists -->   391          <!- - footer-e xists -->
392          <!- -                -->   392          <!- -                -->
393          <xs l:variable  name="Var FooterExis ts" select ="count(ke y('wwpage- conditions -by-name',  'navigati on-bottom' ) | key('w wpage-cond itions-by- name', 'br eadcrumbs- bottom') |  key('wwpa ge-conditi ons-by-nam e', 'compa ny-info-bo ttom')) &g t; 0" />   393          <xs l:variable  name="Var FooterExis ts" select ="count(ke y('wwpage- conditions -by-name',  'navigati on-bottom' ) | key('w wpage-cond itions-by- name', 'br eadcrumbs- bottom') |  key('wwpa ge-conditi ons-by-nam e', 'compa ny-info-bo ttom')) &g t; 0" />
394          <xs l:if test= "$VarFoote rExists">   394          <xs l:if test= "$VarFoote rExists">
395           <w wpage:Cond ition name ="footer-e xists" />   395           <w wpage:Cond ition name ="footer-e xists" />
396          </x sl:if>   396          </x sl:if>
397     397  
398          <!- - header-f ooter-exis ts -->   398          <!- - header-f ooter-exis ts -->
399          <!- -                        -->   399          <!- -                        -->
400          <xs l:choose>   400          <xs l:choose>
401           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">   401           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">
402            < wwpage:Con dition nam e="header- footer-exi sts" />   402            < wwpage:Con dition nam e="header- footer-exi sts" />
403           </ xsl:when>   403           </ xsl:when>
404     404  
405           <x sl:otherwi se>   405           <x sl:otherwi se>
406            < wwpage:Con dition nam e="header- footer-not -exists" / >   406            < wwpage:Con dition nam e="header- footer-not -exists" / >
407           </ xsl:otherw ise>   407           </ xsl:otherw ise>
408          </x sl:choose>   408          </x sl:choose>
409         </xs l:for-each >   409         </xs l:for-each >
410        </xsl :variable>   410        </xsl :variable>
411        <xsl: variable n ame="VarCo nditions"  select="ms xsl:node-s et($VarCon ditionsAsX ML)" />   411        <xsl: variable n ame="VarCo nditions"  select="ms xsl:node-s et($VarCon ditionsAsX ML)" />
412     412  
413        <!--  Replacemen ts -->   413        <!--  Replacemen ts -->
414        <!--                -->   414        <!--                -->
415        <xsl: variable n ame="VarRe placements AsXML">   415        <xsl: variable n ame="VarRe placements AsXML">
416         <!--  body-styl e -->   416         <!--  body-styl e -->
417         <!--              -->   417         <!--              -->
418         <wwp age:Replac ement name ="body-sty le">   418         <wwp age:Replac ement name ="body-sty le">
419          <xs l:attribut e name="va lue">   419          <xs l:attribut e name="va lue">
420           <! -- HTML pr operties - ->   420           <! -- HTML pr operties - ->
421           <! --                 -- >   421           <! --                 -- >
422           <x sl:variabl e name="Va rHTMLPrope rtiesAsXML ">   422           <x sl:variabl e name="Va rHTMLPrope rtiesAsXML ">
423            < xsl:call-t emplate na me="HTML-T ranslatePr ojectPrope rties">   423            < xsl:call-t emplate na me="HTML-T ranslatePr ojectPrope rties">
424              <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property"  />   424              <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property"  />
425              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />   425              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />
426              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />   426              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />
427            < /xsl:call- template>   427            < /xsl:call- template>
428           </ xsl:variab le>   428           </ xsl:variab le>
429           <x sl:variabl e name="Va rHTMLPrope rties" sel ect="msxsl :node-set( $VarHTMLPr opertiesAs XML)/wwpro ject:Prope rty" />   429           <x sl:variabl e name="Va rHTMLPrope rties" sel ect="msxsl :node-set( $VarHTMLPr opertiesAs XML)/wwpro ject:Prope rty" />
430     430  
431           <x sl:call-te mplate nam e="HTML-In lineProper ties">   431           <x sl:call-te mplate nam e="HTML-In lineProper ties">
432            < xsl:with-p aram name= "ParamProp erties" se lect="$Var HTMLProper ties[strin g-length(@ Value) &gt ; 0]" />   432            < xsl:with-p aram name= "ParamProp erties" se lect="$Var HTMLProper ties[strin g-length(@ Value) &gt ; 0]" />
433           </ xsl:call-t emplate>   433           </ xsl:call-t emplate>
434          </x sl:attribu te>   434          </x sl:attribu te>
435         </ww page:Repla cement>   435         </ww page:Repla cement>
436     436  
437         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   437         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
438           <w wpage:Repl acement na me="pdf-li nk" value= "{$VarPDFL inkURI}" / >   438           <w wpage:Repl acement na me="pdf-li nk" value= "{$VarPDFL inkURI}" / >
439         </xs l:if>   439         </xs l:if>
440            440         
441         <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" />   441         <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" />
442         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />   442         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />
443         <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" />   443         <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" />
444         <wwp age:Replac ement name ="navigati on-previou s-title" v alue="{$Gl obalLocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'P revious']/ @value}" / >   444         <wwp age:Replac ement name ="navigati on-previou s-title" v alue="{$Gl obalLocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'P revious']/ @value}" / >
445         <wwp age:Replac ement name ="navigati on-next-ti tle" value ="{$Global Locale/wwl ocale:Loca le/wwlocal e:Strings/ wwlocale:S tring[@nam e = 'Next' ]/@value}"  />   445         <wwp age:Replac ement name ="navigati on-next-ti tle" value ="{$Global Locale/wwl ocale:Loca le/wwlocal e:Strings/ wwlocale:S tring[@nam e = 'Next' ]/@value}"  />
446         <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " />   446         <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " />
        447         <wwp age:Replac ement name ="navigati on-pdf-tit le" value= "{$GlobalL ocale/wwlo cale:Local e/wwlocale :Strings/w wlocale:St ring[@name  = 'PDF']/ @value}" / >
447     448  
448         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />   449         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />
449         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'utf-8') )}" />   450         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'utf-8') )}" />
450     451  
451         <wwp age:Replac ement name ="breadcru mbs-top-st yle">   452         <wwp age:Replac ement name ="breadcru mbs-top-st yle">
452          <xs l:attribut e name="va lue">   453          <xs l:attribut e name="va lue">
453           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-top-alig nment']/@V alue" />   454           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-top-alig nment']/@V alue" />
454           <x sl:choose>   455           <x sl:choose>
455            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   456            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
456              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   457              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
457            < /xsl:when>   458            < /xsl:when>
458     459  
459            < xsl:otherw ise>   460            < xsl:otherw ise>
460              <xsl:value -of select ="'text-al ign: left; '" />   461              <xsl:value -of select ="'text-al ign: left; '" />
461            < /xsl:other wise>   462            < /xsl:other wise>
462           </ xsl:choose >   463           </ xsl:choose >
463          </x sl:attribu te>   464          </x sl:attribu te>
464         </ww page:Repla cement>   465         </ww page:Repla cement>
465     466  
466         <wwp age:Replac ement name ="breadcru mbs-bottom -style">   467         <wwp age:Replac ement name ="breadcru mbs-bottom -style">
467          <xs l:attribut e name="va lue">   468          <xs l:attribut e name="va lue">
468           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / >   469           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / >
469           <x sl:choose>   470           <x sl:choose>
470            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   471            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
471              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   472              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
472            < /xsl:when>   473            < /xsl:when>
473     474  
474            < xsl:otherw ise>   475            < xsl:otherw ise>
475              <xsl:value -of select ="'text-al ign: left; '" />   476              <xsl:value -of select ="'text-al ign: left; '" />
476            < /xsl:other wise>   477            < /xsl:other wise>
477           </ xsl:choose >   478           </ xsl:choose >
478          </x sl:attribu te>   479          </x sl:attribu te>
479         </ww page:Repla cement>   480         </ww page:Repla cement>
480     481  
481         <wwp age:Replac ement name ="navigati on-top-sty le">   482         <wwp age:Replac ement name ="navigati on-top-sty le">
482          <xs l:attribut e name="va lue">   483          <xs l:attribut e name="va lue">
483           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" />   484           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" />
484           <x sl:choose>   485           <x sl:choose>
485            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   486            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
486              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   487              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
487            < /xsl:when>   488            < /xsl:when>
488     489  
489            < xsl:otherw ise>   490            < xsl:otherw ise>
490              <xsl:value -of select ="'text-al ign: left; '" />   491              <xsl:value -of select ="'text-al ign: left; '" />
491            < /xsl:other wise>   492            < /xsl:other wise>
492           </ xsl:choose >   493           </ xsl:choose >
493          </x sl:attribu te>   494          </x sl:attribu te>
494         </ww page:Repla cement>   495         </ww page:Repla cement>
495     496  
496         <wwp age:Replac ement name ="navigati on-bottom- style">   497         <wwp age:Replac ement name ="navigati on-bottom- style">
497          <xs l:attribut e name="va lue">   498          <xs l:attribut e name="va lue">
498           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />   499           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />
499           <x sl:choose>   500           <x sl:choose>
500            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   501            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
501              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   502              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
502            < /xsl:when>   503            < /xsl:when>
503     504  
504            < xsl:otherw ise>   505            < xsl:otherw ise>
505              <xsl:value -of select ="'text-al ign: left; '" />   506              <xsl:value -of select ="'text-al ign: left; '" />
506            < /xsl:other wise>   507            < /xsl:other wise>
507           </ xsl:choose >   508           </ xsl:choose >
508          </x sl:attribu te>   509          </x sl:attribu te>
509         </ww page:Repla cement>   510         </ww page:Repla cement>
510     511  
511         <xsl :if test=" count($Var TOCSplitFi le) = 1">   512         <xsl :if test=" count($Var TOCSplitFi le) = 1">
512          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />   513          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />
513         </xs l:if>   514         </xs l:if>
514         <xsl :if test=" count($Var PreviousSp lit) = 1">   515         <xsl :if test=" count($Var PreviousSp lit) = 1">
515          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:GetRela tiveTo($Va rPreviousS plit/@path , $ParamSp lit/@path) }" />   516          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:GetRela tiveTo($Va rPreviousS plit/@path , $ParamSp lit/@path) }" />
516         </xs l:if>   517         </xs l:if>
517         <xsl :if test=" count($Var NextSplit)  = 1">   518         <xsl :if test=" count($Var NextSplit)  = 1">
518          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}" />   519          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}" />
519         </xs l:if>   520         </xs l:if>
520         <xsl :if test=" count($Var IndexSplit File) = 1" >   521         <xsl :if test=" count($Var IndexSplit File) = 1" >
521          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />   522          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />
522         </xs l:if>   523         </xs l:if>
523     524  
524         <!--  Company I nfo -->   525         <!--  Company I nfo -->
525         <!--                -->   526         <!--                -->
526         <xsl :call-temp late name= "CompanyIn fo-Replace ments">   527         <xsl :call-temp late name= "CompanyIn fo-Replace ments">
527          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />   528          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />
528          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />   529          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />
529          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />   530          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />
530         </xs l:call-tem plate>   531         </xs l:call-tem plate>
531     532  
532         <!--  Breadcrum bs -->   533         <!--  Breadcrum bs -->
533         <!--               -->   534         <!--               -->
534         <wwp age:Replac ement name ="breadcru mbs">   535         <wwp age:Replac ement name ="breadcru mbs">
535          <xs l:call-tem plate name ="Breadcru mbs">   536          <xs l:call-tem plate name ="Breadcru mbs">
536           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />   537           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />
537           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   538           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
538           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >   539           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >
539          </x sl:call-te mplate>   540          </x sl:call-te mplate>
540         </ww page:Repla cement>   541         </ww page:Repla cement>
541     542  
542         <!--  Content - ->   543         <!--  Content - ->
543         <!--          - ->   544         <!--          - ->
544         <wwp age:Replac ement name ="content" >   545         <wwp age:Replac ement name ="content" >
545          <xs l:call-tem plate name ="Content- Content">   546          <xs l:call-tem plate name ="Content- Content">
546           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />   547           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />
547           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   548           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
548           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   549           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
549           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   550           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
550           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   551           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
551           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   552           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
552          </x sl:call-te mplate>   553          </x sl:call-te mplate>
553          <xs l:call-tem plate name ="Content- Notes">   554          <xs l:call-tem plate name ="Content- Notes">
554           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />   555           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />
555           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   556           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
556           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   557           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
557           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   558           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
558           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   559           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
559           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   560           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
560          </x sl:call-te mplate>   561          </x sl:call-te mplate>
561         </ww page:Repla cement>   562         </ww page:Repla cement>
562     563  
563         <!--  Variables  -->   564         <!--  Variables  -->
564         <!--             -->   565         <!--             -->
565         <xsl :variable  name="VarS plitGlobal VariablesA sXML">   566         <xsl :variable  name="VarS plitGlobal VariablesA sXML">
566          <xs l:call-tem plate name ="Variable s-Globals- Split">   567          <xs l:call-tem plate name ="Variable s-Globals- Split">
567           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />   568           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />
568           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   569           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
569          </x sl:call-te mplate>   570          </x sl:call-te mplate>
570         </xs l:variable >   571         </xs l:variable >
571         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />   572         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />
572         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">   573         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">
573          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >   574          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >
574         </xs l:call-tem plate>   575         </xs l:call-tem plate>
575        </xsl :variable>   576        </xsl :variable>
576        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >   577        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >
577     578  
578        <!--  Map common  character s -->   579        <!--  Map common  character s -->
579        <!--                          -->   580        <!--                          -->
580        <wwex sldoc:Mapp ingContext >   581        <wwex sldoc:Mapp ingContext >
581         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />   582         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />
582     583  
583         <!--  Invoke pa ge templat e -->   584         <!--  Invoke pa ge templat e -->
584         <!--                         -->   585         <!--                         -->
585         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">   586         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">
586          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />   587          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />
587          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />   588          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />
588          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />   589          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />
589          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />   590          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />
590         </xs l:apply-te mplates>   591         </xs l:apply-te mplates>
591        </wwe xsldoc:Map pingContex t>   592        </wwe xsldoc:Map pingContex t>
592       </xsl: for-each>   593       </xsl: for-each>
593      </xsl:v ariable>   594      </xsl:v ariable>
594     595  
595      <!-- Ab orted? -->   596      <!-- Ab orted? -->
596      <!--           -->   597      <!--           -->
597      <xsl:if  test="not (wwprogres s:Abort()) ">   598      <xsl:if  test="not (wwprogres s:Abort()) ">
598       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />   599       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />
599       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'ut f-8'), 'ht ml', '3.2' , 'yes', ' yes', '',  '-//W3C//D TD HTML 3. 2 Final//E N', 'http: //www.w3.o rg/MarkUp/ Wilbur/HTM L32.dtd',  '', 'text/ html')" />   600       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'ut f-8'), 'ht ml', '3.2' , 'yes', ' yes', '',  '-//W3C//D TD HTML 3. 2 Final//E N', 'http: //www.w3.o rg/MarkUp/ Wilbur/HTM L32.dtd',  '', 'text/ html')" />
600      </xsl:i f>   601      </xsl:i f>
601     </xsl:if >   602     </xsl:if >
602     603  
603     <!-- Abo rted? -->   604     <!-- Abo rted? -->
604     <!--           -->   605     <!--           -->
605     <xsl:if  test="not( wwprogress :Abort())" >   606     <xsl:if  test="not( wwprogress :Abort())" >
606      <!-- Re cord files  -->   607      <!-- Re cord files  -->
607      <!--                -->   608      <!--                -->
608      <wwfile s:File pat h="{$Param Split/@pat h}" type=" {$Paramete rType}" ch ecksum="{w wfilesyste m:GetCheck sum($Param Split/@pat h)}" proje ctchecksum ="{$Global Project/ww project:Pr oject/@Cha ngeID}" gr oupID="{$P aramSplit/ @groupID}"  documentI D="{$Param Split/@doc umentID}"  actionchec ksum="{$Gl obalAction Checksum}"  category= "{$Paramet erCategory }" use="{$ ParameterU se}" deplo y="{$Param eterDeploy }">   609      <wwfile s:File pat h="{$Param Split/@pat h}" type=" {$Paramete rType}" ch ecksum="{w wfilesyste m:GetCheck sum($Param Split/@pat h)}" proje ctchecksum ="{$Global Project/ww project:Pr oject/@Cha ngeID}" gr oupID="{$P aramSplit/ @groupID}"  documentI D="{$Param Split/@doc umentID}"  actionchec ksum="{$Gl obalAction Checksum}"  category= "{$Paramet erCategory }" use="{$ ParameterU se}" deplo y="{$Param eterDeploy }">
609       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />   610       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />
610       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />   611       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />
611       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />   612       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />
612       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />   613       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />
613       <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 }" />   614       <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 }" />
614       <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}" / >   615       <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}" / >
615       <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}" />   616       <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}" />
616      </wwfil es:File>   617      </wwfil es:File>
617     </xsl:if >   618     </xsl:if >
618    </xsl:tem plate>   619    </xsl:tem plate>
619   </xsl:styl esheet>   620   </xsl:styl esheet>