4. Araxis Merge File Comparison Report

Produced by Araxis Merge on Fri Nov 21 17:21:37 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.

4.1 Files compared

# Location File Last Modified
1 C:\Documents and Settings\allums\Desktop\2008.1.20396.b\Formats\Dynamic HTML\Transforms pages.xsl Fri Aug 24 01:16:14 2007 UTC
2 C:\Documents and Settings\allums\Desktop\2008.2.20597.p2\Formats\Dynamic HTML\Transforms pages.xsl Wed Jul 2 00:05:32 2008 UTC

4.2 Comparison summary

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

4.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

4.4 Active regular expressions

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

4.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/1999/ xhtml"   2   <xsl:style sheet vers ion="1.0"  xmlns="htt p://www.w3 .org/1999/ xhtml"
3                                    xmlns:html ="http://w ww.w3.org/ 1999/xhtml "   3                                    xmlns:html ="http://w ww.w3.org/ 1999/xhtml "
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 rameterSty lesType" / >   37    <xsl:para m name="Pa rameterSty lesType" / >
38    <xsl:para m name="Pa rameterLoc aleType" / >   38    <xsl:para m name="Pa rameterLoc aleType" / >
39    <xsl:para m name="Pa rameterBeh aviorsType " />   39    <xsl:para m name="Pa rameterBeh aviorsType " />
40    <xsl:para m name="Pa rameterPro jectVariab lesType" / >   40    <xsl:para m name="Pa rameterPro jectVariab lesType" / >
41    <xsl:para m name="Pa rameterPag eTemplateU RI" />   41    <xsl:para m name="Pa rameterPag eTemplateU RI" />
42    <xsl:para m name="Pa rameterTOC DataType"  />   42    <xsl:para m name="Pa rameterTOC DataType"  />
43    <xsl:para m name="Pa rameterAll owBaggage"  />   43    <xsl:para m name="Pa rameterAll owBaggage"  />
44    <xsl:para m name="Pa rameterAll owGroupToG roup" />   44    <xsl:para m name="Pa rameterAll owGroupToG roup" />
45    <xsl:para m name="Pa rameterAll owURL" />   45    <xsl:para m name="Pa rameterAll owURL" />
46    <xsl:para m name="Pa rameterBag gageSplitF ileType" / >   46    <xsl:para m name="Pa rameterBag gageSplitF ileType" / >
47    <xsl:para m name="Pa rameterTOC SplitFileT ype" />   47    <xsl:para m name="Pa rameterTOC SplitFileT ype" />
48    <xsl:para m name="Pa rameterInd exSplitFil eType" />   48    <xsl:para m name="Pa rameterInd exSplitFil eType" />
49    <xsl:para m name="Pa rameterTyp e" />   49    <xsl:para m name="Pa rameterTyp e" />
50    <xsl:para m name="Pa rameterCat egory" />   50    <xsl:para m name="Pa rameterCat egory" />
51    <xsl:para m name="Pa rameterUse " />   51    <xsl:para m name="Pa rameterUse " />
52    <xsl:para m name="Pa rameterDep loy" />   52    <xsl:para m name="Pa rameterDep loy" />
53    <xsl:para m name="Pa rameterDoc umentPDFTy pe" />   53    <xsl:para m name="Pa rameterDoc umentPDFTy pe" />
54    <xsl:para m name="Pa rameterGro upPDFType"  />   54    <xsl:para m name="Pa rameterGro upPDFType"  />
55     55  
56     56  
57    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" />   57    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" />
58     58  
59     59  
60    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" />   60    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" />
61    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />   61    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />
62    <xsl:stri p-space el ements="*"  />   62    <xsl:stri p-space el ements="*"  />
63    <xsl:pres erve-space  elements= "html:scri pt" />   63    <xsl:pres erve-space  elements= "html:scri pt" />
64     64  
65     65  
66    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/>   66    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/>
67    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/>   67    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/>
68    <xsl:incl ude href=" wwtransfor m:common/b ehaviors/o ptions.xsl "/>   68    <xsl:incl ude href=" wwtransfor m:common/b ehaviors/o ptions.xsl "/>
69    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" />   69    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" />
        70    <xsl:incl ude href=" wwtransfor m:common/i mages/util ities.xsl"  />
70    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />   71    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />
71    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />   72    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />
72    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" />   73    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" />
73    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" />   74    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" />
74    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" />   75    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" />
75    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" />   76    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" />
76    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />   77    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />
77    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />   78    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />
78    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />   79    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />
79    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />   80    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />
80     81  
81     82  
82    <xsl:vari able name= "GlobalAct ionChecksu m">   83    <xsl:vari able name= "GlobalAct ionChecksu m">
83     <xsl:var iable name ="VarTrans formChecks ums">   84     <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')))"  />   85      <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)))" / >   86      <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')))" / >   87      <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')))" / >   88      <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/behavi ors/option s.xsl'), ' :', wwfile system:Get Checksum(w wuri:AsFil ePath('wwt ransform:c ommon/beha viors/opti ons.xsl')) )" />   89      <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')) )" />
89      <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')))"  />   90      <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')))"  />
        91      <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' )))" />   92      <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')))"  />   93      <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' )))" />   94      <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' )))" />   95      <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' )))" />   96      <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')))" />   97      <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/css_prop erties.xsl '), ':', w wfilesyste m:GetCheck sum(wwuri: AsFilePath ('wwtransf orm:html/c ss_propert ies.xsl')) )" />   98      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:htm l/css_prop erties.xsl '), ':', w wfilesyste m:GetCheck sum(wwuri: AsFilePath ('wwtransf orm:html/c ss_propert ies.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' )))" />   99      <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')))" / >   100      <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/conte nt.xsl'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww format:Tra nsforms/co ntent.xsl' )))" />   101      <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 riable>   102     </xsl:va riable>
101     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />   103     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />
102    </xsl:var iable>   104    </xsl:var iable>
103     105  
104     106  
105    <!-- Loca le -->   107    <!-- Loca le -->
106    <!--         -->   108    <!--         -->
107    <xsl:vari able name= "GlobalLoc alePath">   109    <xsl:vari able name= "GlobalLoc alePath">
108     <xsl:for -each sele ct="$Globa lFiles[1]" >   110     <xsl:for -each sele ct="$Globa lFiles[1]" >
109      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />   111      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />
110     </xsl:fo r-each>   112     </xsl:fo r-each>
111    </xsl:var iable>   113    </xsl:var iable>
112    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />   114    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />
113     115  
114     116  
115    <!-- Mapp ing Entry  Sets -->   117    <!-- Mapp ing Entry  Sets -->
116    <!--                      -->   118    <!--                      -->
117    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />   119    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />
118    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />   120    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />
119     121  
120     122  
121    <!-- Page  Template  -->   123    <!-- Page  Template  -->
122    <!--                 -->   124    <!--                 -->
123    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />   125    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />
124    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />   126    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />
125     127  
126     128  
127    <!-- Proj ect variab les -->   129    <!-- Proj ect variab les -->
128    <!--                     -->   130    <!--                     -->
129    <xsl:vari able name= "GlobalPro jectVariab lesPath">   131    <xsl:vari able name= "GlobalPro jectVariab lesPath">
130     <xsl:for -each sele ct="$Globa lFiles[1]" >   132     <xsl:for -each sele ct="$Globa lFiles[1]" >
131      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />   133      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />
132     </xsl:fo r-each>   134     </xsl:fo r-each>
133    </xsl:var iable>   135    </xsl:var iable>
134    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />   136    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />
135     137  
136     138  
137    <xsl:temp late match ="/">   139    <xsl:temp late match ="/">
138     <wwfiles :Files ver sion="1.0" >   140     <wwfiles :Files ver sion="1.0" >
139     141  
140      <xsl:ca ll-templat e name="Do cumentsPag es">   142      <xsl:ca ll-templat e name="Do cumentsPag es">
141       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />   143       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />
142       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />   144       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />
143       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />   145       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />
144       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />   146       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />
145       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />   147       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />
146       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />   148       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />
147       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >   149       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >
148       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />   150       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />
149      </xsl:c all-templa te>   151      </xsl:c all-templa te>
150     152  
151     </wwfile s:Files>   153     </wwfile s:Files>
152    </xsl:tem plate>   154    </xsl:tem plate>
153     155  
154     156  
155    <xsl:temp late name= "Page">   157    <xsl:temp late name= "Page">
156     <xsl:par am name="P aramFilesS plits" />   158     <xsl:par am name="P aramFilesS plits" />
157     <xsl:par am name="P aramSplits " />   159     <xsl:par am name="P aramSplits " />
158     <xsl:par am name="P aramBehavi orsFile" / >   160     <xsl:par am name="P aramBehavi orsFile" / >
159     <xsl:par am name="P aramBehavi ors" />   161     <xsl:par am name="P aramBehavi ors" />
160     <xsl:par am name="P aramLinks"  />   162     <xsl:par am name="P aramLinks"  />
161     <xsl:par am name="P aramTOCDat a" />   163     <xsl:par am name="P aramTOCDat a" />
162     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />   164     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />
163     <xsl:par am name="P aramFilesD ocumentNod e" />   165     <xsl:par am name="P aramFilesD ocumentNod e" />
164     <xsl:par am name="P aramSplit"  />   166     <xsl:par am name="P aramSplit"  />
165     <xsl:par am name="P aramDocume nt" />   167     <xsl:par am name="P aramDocume nt" />
166     <xsl:par am name="P aramConten t" />   168     <xsl:par am name="P aramConten t" />
167     169  
168     <!-- Out put -->   170     <!-- Out put -->
169     <!--         -->   171     <!--         -->
170     <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: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:if  test="not( $VarUpToDa te)">   173     <xsl:if  test="not( $VarUpToDa te)">
172      <xsl:va riable nam e="VarResu ltAsXML">   174      <xsl:va riable nam e="VarResu ltAsXML">
173       <!-- O utput dire ctory path  -->   175       <!-- O utput dire ctory path  -->
174       <!--                          -->   176       <!--                          -->
175       <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       <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     178  
177       <!-- P age Rule - ->   179       <!-- P age Rule - ->
178       <!--            - ->   180       <!--            - ->
179       <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page',  $ParamSpl it/@stylen ame)" />   181       <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page',  $ParamSpl it/@stylen ame)" />
180     182  
181       <!-- S plit files  -->   183       <!-- S plit files  -->
182       <!--               -->   184       <!--               -->
183       <xsl:f or-each se lect="$Par amSplits[1 ]">   185       <xsl:f or-each se lect="$Par amSplits[1 ]">
184        <!--  TOC -->   186        <!--  TOC -->
185        <!--      -->   187        <!--      -->
186        <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        <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     189  
188        <!--  Index -->   190        <!--  Index -->
189        <!--        -->   191        <!--        -->
190        <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        <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     193  
192        <!--  Previous - ->   194        <!--  Previous - ->
193        <!--           - ->   195        <!--           - ->
194        <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]"  />   196        <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]"  />
195        <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        <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     198  
197        <!--  Next -->   199        <!--  Next -->
198        <!--       -->   200        <!--       -->
199        <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="VarPo ssibleNext Splits" se lect="$Par amSplit/fo llowing-si bling::wws plits:Spli t[1]" />
200        <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        <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     203  
202        <!--  Skip Navig ation Link  -->   204        <!--  Skip Navig ation Link  -->
203        <!--                         -->   205        <!--                         -->
204        <xsl: variable n ame="VarSk ipNavigati onURI">   206        <xsl: variable n ame="VarSk ipNavigati onURI">
205         <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'">   207         <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'">
206          <xs l:text>#</ xsl:text>   208          <xs l:text>#</ xsl:text>
207          <xs l:value-of  select="$ ParamSplit /@id" />   209          <xs l:value-of  select="$ ParamSplit /@id" />
208         </xs l:if>   210         </xs l:if>
209        </xsl :variable>   211        </xsl :variable>
210     212  
211        <!--  PDF Link - ->   213        <!--  PDF Link - ->
212        <!--           - ->   214        <!--           - ->
213        <xsl: variable n ame="VarPD FLinkPath" >   215        <xsl: variable n ame="VarPD FLinkPath" >
214         <xsl :variable  name="VarD ocumentPDF Path">   216         <xsl :variable  name="VarD ocumentPDF Path">
215          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-doc ument', 'f alse') = ' true'">   217          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-doc ument', 'f alse') = ' true'">
216           <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: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:if>   219          </x sl:if>
218         </xs l:variable >   220         </xs l:variable >
219            221         
220         <xsl :variable  name="VarG roupPDFPat h">   222         <xsl :variable  name="VarG roupPDFPat h">
221          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-gro up', 'fals e') = 'tru e'">   223          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-gro up', 'fals e') = 'tru e'">
222           <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: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:if>   225          </x sl:if>
224         </xs l:variable >   226         </xs l:variable >
225     227  
226         <xsl :choose>   228         <xsl :choose>
227          <xs l:when tes t="string- length($Va rDocumentP DFPath) &g t; 0">   229          <xs l:when tes t="string- length($Va rDocumentP DFPath) &g t; 0">
228           <x sl:value-o f select=" $VarDocume ntPDFPath"  />   230           <x sl:value-o f select=" $VarDocume ntPDFPath"  />
229          </x sl:when>   231          </x sl:when>
230          <xs l:when tes t="string- length($Va rGroupPDFP ath) &gt;  0">   232          <xs l:when tes t="string- length($Va rGroupPDFP ath) &gt;  0">
231           <x sl:value-o f select=" $VarGroupP DFPath" />   233           <x sl:value-o f select=" $VarGroupP DFPath" />
232          </x sl:when>   234          </x sl:when>
233         </xs l:choose>   235         </xs l:choose>
234        </xsl :variable>   236        </xsl :variable>
235     237  
236        <xsl: variable n ame="VarPD FLinkURI">   238        <xsl: variable n ame="VarPD FLinkURI">
237         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">   239         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">
238          <xs l:value-of  select="w wuri:GetRe lativeTo($ VarPDFLink Path, $Par amSplit/@p ath)" />   240          <xs l:value-of  select="w wuri:GetRe lativeTo($ VarPDFLink Path, $Par amSplit/@p ath)" />
239         </xs l:if>   241         </xs l:if>
240        </xsl :variable>   242        </xsl :variable>
241     243  
242        <!--  Notes -->   244        <!--  Notes -->
243        <!--        -->   245        <!--        -->
244        <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        <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     247  
246        <!--  Note numbe ring -->   248        <!--  Note numbe ring -->
247        <!--                  -->   249        <!--                  -->
248        <xsl: variable n ame="VarNo teNumberin gAsXML">   250        <xsl: variable n ame="VarNo teNumberin gAsXML">
249         <xsl :call-temp late name= "Notes-Num ber">   251         <xsl :call-temp late name= "Notes-Num ber">
250          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />   252          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />
251         </xs l:call-tem plate>   253         </xs l:call-tem plate>
252        </xsl :variable>   254        </xsl :variable>
253        <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)"  />   255        <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)"  />
254     256  
255        <!--  Cargo -->   257        <!--  Cargo -->
256        <!--        -->   258        <!--        -->
257        <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors |  $VarNoteN umbering"  />   259        <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors |  $VarNoteN umbering"  />
258     260  
259        <!--  Conditions  -->   261        <!--  Conditions  -->
260        <!--              -->   262        <!--              -->
261        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">   263        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">
262         <!--  catalog-c ss -->   264         <!--  catalog-c ss -->
263         <!--               -->   265         <!--               -->
264         <wwp age:Condit ion name=" catalog-cs s" />   266         <wwp age:Condit ion name=" catalog-cs s" />
265     267  
266         <!--  document- css -->   268         <!--  document- css -->
267         <!--                -->   269         <!--                -->
268         <xsl :if test=" string-len gth($VarPa geRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'document- css']/@Val ue) &gt; 0 ">   270         <xsl :if test=" string-len gth($VarPa geRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'document- css']/@Val ue) &gt; 0 ">
269          <ww page:Condi tion name= "document- css" />   271          <ww page:Condi tion name= "document- css" />
270         </xs l:if>   272         </xs l:if>
271     273  
272         <!--  skip-navi gation -->   274         <!--  skip-navi gation -->
273         <!--                   -->   275         <!--                   -->
274         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">   276         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">
275          <ww page:Condi tion name= "skip-navi gation" />   277          <ww page:Condi tion name= "skip-navi gation" />
276         </xs l:if>   278         </xs l:if>
277     279  
278         <!--  pdf-exist s -->   280         <!--  pdf-exist s -->
279         <!--              -->   281         <!--              -->
280         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   282         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
281          <ww page:Condi tion name= "pdf-exist s" />   283          <ww page:Condi tion name= "pdf-exist s" />
282         </xs l:if>   284         </xs l:if>
283         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">   285         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">
284          <ww page:Condi tion name= "pdf-not-e xists" />   286          <ww page:Condi tion name= "pdf-not-e xists" />
285         </xs l:if>   287         </xs l:if>
286     288  
287         <!--  breadcrum bs-top -->   289         <!--  breadcrum bs-top -->
288         <!--                   -->   290         <!--                   -->
289         <xsl :variable  name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'breadc rumbs-top- generate'] /@Value" / >   291         <xsl :variable  name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'breadc rumbs-top- generate'] /@Value" / >
290         <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) ">   292         <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) ">
291          <ww page:Condi tion name= "breadcrum bs-top" />   293          <ww page:Condi tion name= "breadcrum bs-top" />
292         </xs l:if>   294         </xs l:if>
293     295  
294         <!--  breadcrum bs-bottom  -->   296         <!--  breadcrum bs-bottom  -->
295         <!--                       -->   297         <!--                       -->
296         <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" />   298         <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" />
297         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">   299         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">
298          <ww page:Condi tion name= "breadcrum bs-bottom"  />   300          <ww page:Condi tion name= "breadcrum bs-bottom"  />
299         </xs l:if>   301         </xs l:if>
300     302  
301         <!--  navigatio n-top -->   303         <!--  navigatio n-top -->
302         <!--                  -->   304         <!--                  -->
303         <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" />   305         <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" />
304         <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)">   306         <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)">
305          <ww page:Condi tion name= "navigatio n-top" />   307          <ww page:Condi tion name= "navigatio n-top" />
306         </xs l:if>   308         </xs l:if>
307     309  
308         <!--  navigatio n-bottom - ->   310         <!--  navigatio n-bottom - ->
309         <!--                     - ->   311         <!--                     - ->
310         <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" />   312         <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" />
311         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">   313         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">
312          <ww page:Condi tion name= "navigatio n-bottom"  />   314          <ww page:Condi tion name= "navigatio n-bottom"  />
313         </xs l:if>   315         </xs l:if>
314     316  
315         <!--  Generate  TOC? -->   317         <!--  Generate  TOC? -->
316         <!--                 -->   318         <!--                 -->
317         <xsl :if test=" count($Var TOCSplitFi le) = 1">   319         <xsl :if test=" count($Var TOCSplitFi le) = 1">
318          <xs l:choose>   320          <xs l:choose>
319           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">   321           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">
320            < !-- naviga tion-toc-c urrent -->   322            < !-- naviga tion-toc-c urrent -->
321            < !--                          -->   323            < !--                          -->
322            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />   324            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />
323           </ xsl:when>   325           </ xsl:when>
324     326  
325           <x sl:otherwi se>   327           <x sl:otherwi se>
326            < !-- naviga tion-toc-n ot-current  -->   328            < !-- naviga tion-toc-n ot-current  -->
327            < !--                          -->   329            < !--                          -->
328            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />   330            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />
329           </ xsl:otherw ise>   331           </ xsl:otherw ise>
330          </x sl:choose>   332          </x sl:choose>
331         </xs l:if>   333         </xs l:if>
332     334  
333         <!--  navigatio n-previous -exists -- >   335         <!--  navigatio n-previous -exists -- >
334         <!--                               -- >   336         <!--                               -- >
335         <xsl :if test=" count($Var PreviousSp lit) = 1">   337         <xsl :if test=" count($Var PreviousSp lit) = 1">
336          <ww page:Condi tion name= "navigatio n-previous -exists" / >   338          <ww page:Condi tion name= "navigatio n-previous -exists" / >
337         </xs l:if>   339         </xs l:if>
338     340  
339         <!--  navigatio n-previous -not-exist s -->   341         <!--  navigatio n-previous -not-exist s -->
340         <!--                                    -->   342         <!--                                    -->
341         <xsl :if test=" count($Var PreviousSp lit) = 0">   343         <xsl :if test=" count($Var PreviousSp lit) = 0">
342          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />   344          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />
343         </xs l:if>   345         </xs l:if>
344     346  
345         <!--  navigatio n-next-exi sts -->   347         <!--  navigatio n-next-exi sts -->
346         <!--                           -->   348         <!--                           -->
347         <xsl :if test=" count($Var NextSplit)  = 1">   349         <xsl :if test=" count($Var NextSplit)  = 1">
348          <ww page:Condi tion name= "navigatio n-next-exi sts" />   350          <ww page:Condi tion name= "navigatio n-next-exi sts" />
349         </xs l:if>   351         </xs l:if>
350     352  
351         <!--  navigatio n-next-not -exists -- >   353         <!--  navigatio n-next-not -exists -- >
352         <!--                               -- >   354         <!--                               -- >
353         <xsl :if test=" count($Var NextSplit)  = 0">   355         <xsl :if test=" count($Var NextSplit)  = 0">
354          <ww page:Condi tion name= "navigatio n-next-not -exists" / >   356          <ww page:Condi tion name= "navigatio n-next-not -exists" / >
355         </xs l:if>   357         </xs l:if>
356     358  
357         <!--  Generate  Index? -->   359         <!--  Generate  Index? -->
358         <!--                   -->   360         <!--                   -->
359         <xsl :if test=" count($Var IndexSplit File) = 1" >   361         <xsl :if test=" count($Var IndexSplit File) = 1" >
360          <xs l:choose>   362          <xs l:choose>
361           <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1">   363           <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1">
362            < !-- naviga tion-index -current - ->   364            < !-- naviga tion-index -current - ->
363            < !--                          -->   365            < !--                          -->
364            < wwpage:Con dition nam e="navigat ion-index- current" / >   366            < wwpage:Con dition nam e="navigat ion-index- current" / >
365           </ xsl:when>   367           </ xsl:when>
366     368  
367           <x sl:otherwi se>   369           <x sl:otherwi se>
368            < !-- naviga tion-index -not-curre nt -->   370            < !-- naviga tion-index -not-curre nt -->
369            < !--                          -->   371            < !--                          -->
370            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />   372            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />
371           </ xsl:otherw ise>   373           </ xsl:otherw ise>
372          </x sl:choose>   374          </x sl:choose>
373         </xs l:if>   375         </xs l:if>
374     376  
375         <!--  Company I nfo -->   377         <!--  Company I nfo -->
376         <!--                -->   378         <!--                -->
377         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">   379         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">
378          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />   380          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />
379         </xs l:call-tem plate>   381         </xs l:call-tem plate>
380        </xsl :variable>   382        </xsl :variable>
381        <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / >   383        <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / >
382     384  
383        <!--  Set header /footer co nditions - ->   385        <!--  Set header /footer co nditions - ->
384        <!--                                 - ->   386        <!--                                 - ->
385        <xsl: variable n ame="VarCo nditionsAs XML">   387        <xsl: variable n ame="VarCo nditionsAs XML">
386         <!--  Copy exis ting as is  -->   388         <!--  Copy exis ting as is  -->
387         <!--                        -->   389         <!--                        -->
388         <xsl :for-each  select="$V arInitialC onditions/ *">   390         <xsl :for-each  select="$V arInitialC onditions/ *">
389          <xs l:copy-of  select="."  />   391          <xs l:copy-of  select="."  />
390         </xs l:for-each >   392         </xs l:for-each >
391     393  
392         <xsl :for-each  select="$V arInitialC onditions[ 1]">   394         <xsl :for-each  select="$V arInitialC onditions[ 1]">
393          <!- - header-e xists -->   395          <!- - header-e xists -->
394          <!- -                -->   396          <!- -                -->
395          <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" />   397          <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" />
396          <xs l:if test= "$VarHeade rExists">   398          <xs l:if test= "$VarHeade rExists">
397           <w wpage:Cond ition name ="header-e xists" />   399           <w wpage:Cond ition name ="header-e xists" />
398          </x sl:if>   400          </x sl:if>
399     401  
400          <!- - footer-e xists -->   402          <!- - footer-e xists -->
401          <!- -                -->   403          <!- -                -->
402          <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" />   404          <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" />
403          <xs l:if test= "$VarFoote rExists">   405          <xs l:if test= "$VarFoote rExists">
404           <w wpage:Cond ition name ="footer-e xists" />   406           <w wpage:Cond ition name ="footer-e xists" />
405          </x sl:if>   407          </x sl:if>
406     408  
407          <!- - header-f ooter-exis ts -->   409          <!- - header-f ooter-exis ts -->
408          <!- -                        -->   410          <!- -                        -->
409          <xs l:choose>   411          <xs l:choose>
410           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">   412           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">
411            < wwpage:Con dition nam e="header- footer-exi sts" />   413            < wwpage:Con dition nam e="header- footer-exi sts" />
412           </ xsl:when>   414           </ xsl:when>
413     415  
414           <x sl:otherwi se>   416           <x sl:otherwi se>
415            < wwpage:Con dition nam e="header- footer-not -exists" / >   417            < wwpage:Con dition nam e="header- footer-not -exists" / >
416           </ xsl:otherw ise>   418           </ xsl:otherw ise>
417          </x sl:choose>   419          </x sl:choose>
418         </xs l:for-each >   420         </xs l:for-each >
419        </xsl :variable>   421        </xsl :variable>
420        <xsl: variable n ame="VarCo nditions"  select="ms xsl:node-s et($VarCon ditionsAsX ML)" />   422        <xsl: variable n ame="VarCo nditions"  select="ms xsl:node-s et($VarCon ditionsAsX ML)" />
421     423  
422        <!--  Replacemen ts -->   424        <!--  Replacemen ts -->
423        <!--                -->   425        <!--                -->
424        <xsl: variable n ame="VarRe placements AsXML">   426        <xsl: variable n ame="VarRe placements AsXML">
425         <xsl :variable  name="VarR elativeRoo tURIWithDu mmyCompone nt" select ="wwuri:Ge tRelativeT o(wwfilesy stem:Combi ne($VarOut putDirecto ryPath, 'd ummy.compo nent'), $P aramSplit/ @path)" />   427         <xsl :variable  name="VarR elativeRoo tURIWithDu mmyCompone nt" select ="wwuri:Ge tRelativeT o(wwfilesy stem:Combi ne($VarOut putDirecto ryPath, 'd ummy.compo nent'), $P aramSplit/ @path)" />
426         <xsl :variable  name="VarR elativeRoo tURI">   428         <xsl :variable  name="VarR elativeRoo tURI">
427          <xs l:variable  name="Var StringLeng thDifferen ce" select ="string-l ength($Var RelativeRo otURIWithD ummyCompon ent) - str ing-length ('dummy.co mponent')"  />   429          <xs l:variable  name="Var StringLeng thDifferen ce" select ="string-l ength($Var RelativeRo otURIWithD ummyCompon ent) - str ing-length ('dummy.co mponent')"  />
428          <xs l:choose>   430          <xs l:choose>
429           <x sl:when te st="$VarSt ringLength Difference  &lt;= 0">   431           <x sl:when te st="$VarSt ringLength Difference  &lt;= 0">
430            < xsl:value- of select= "''" />   432            < xsl:value- of select= "''" />
431           </ xsl:when>   433           </ xsl:when>
432     434  
433           <x sl:otherwi se>   435           <x sl:otherwi se>
434            < xsl:value- of select= "substring ($VarRelat iveRootURI WithDummyC omponent,  1, $VarStr ingLengthD ifference) " />   436            < xsl:value- of select= "substring ($VarRelat iveRootURI WithDummyC omponent,  1, $VarStr ingLengthD ifference) " />
435           </ xsl:otherw ise>   437           </ xsl:otherw ise>
436          </x sl:choose>   438          </x sl:choose>
437         </xs l:variable >   439         </xs l:variable >
438     440  
439         <!--  webworks- root -->   441         <!--  webworks- root -->
440         <!--                 -->   442         <!--                 -->
441         <wwp age:Replac ement name ="webworks -root">   443         <wwp age:Replac ement name ="webworks -root">
442          <xs l:comment>   444          <xs l:comment>
443           <x sl:text>   445           <x sl:text>
444   </xsl:text >   446   </xsl:text >
445           <x sl:text>         var   WebWorksR ootPath =  &quot;</xs l:text>   447           <x sl:text>         var   WebWorksR ootPath =  &quot;</xs l:text>
446           <x sl:value-o f select=" $VarRelati veRootURI"  />   448           <x sl:value-o f select=" $VarRelati veRootURI"  />
447           <x sl:text>&q uot;;   449           <x sl:text>&q uot;;
448   </xsl:text >   450   </xsl:text >
449           <x sl:text>       // </x sl:text>   451           <x sl:text>       // </x sl:text>
450          </x sl:comment >   452          </x sl:comment >
451         </ww page:Repla cement>   453         </ww page:Repla cement>
452     454  
453         <!--  body-clas s -->   455         <!--  body-clas s -->
454         <!--              -->   456         <!--              -->
455         <wwp age:Replac ement name ="body-cla ss">   457         <wwp age:Replac ement name ="body-cla ss">
456          <xs l:attribut e name="va lue">   458          <xs l:attribut e name="va lue">
457           <! -- Additio nal CSS cl asses -->   459           <! -- Additio nal CSS cl asses -->
458           <! --                          -->   460           <! --                          -->
459           <x sl:variabl e name="Va rAdditiona lCSSClasse sOption" s elect="nor malize-spa ce($VarPag eRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' additional -css-class es']/@Valu e)" />   461           <x sl:variabl e name="Va rAdditiona lCSSClasse sOption" s elect="nor malize-spa ce($VarPag eRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' additional -css-class es']/@Valu e)" />
460           <x sl:value-o f select=" $VarAdditi onalCSSCla ssesOption " />   462           <x sl:value-o f select=" $VarAdditi onalCSSCla ssesOption " />
461          </x sl:attribu te>   463          </x sl:attribu te>
462         </ww page:Repla cement>   464         </ww page:Repla cement>
463     465  
464         <!--  body-styl e -->   466         <!--  body-styl e -->
465         <!--              -->   467         <!--              -->
466         <wwp age:Replac ement name ="body-sty le">   468         <wwp age:Replac ement name ="body-sty le">
467          <xs l:attribut e name="va lue">   469          <xs l:attribut e name="va lue">
468           <! -- CSS pro perties -- >   470           <! -- CSS pro perties -- >
469           <! --                 -- >   471           <! --                 -- >
470           <x sl:variabl e name="Va rCSSProper tiesAsXML" >   472           <x sl:variabl e name="Va rCSSProper tiesAsXML" >
471            < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties">   473            < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties">
472              <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property"  />   474              <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property"  />
473              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />   475              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />
474              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />   476              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />
475            < /xsl:call- template>   477            < /xsl:call- template>
476           </ xsl:variab le>   478           </ xsl:variab le>
477           <x sl:variabl e name="Va rCSSProper ties" sele ct="msxsl: node-set($ VarCSSProp ertiesAsXM L)/wwproje ct:Propert y" />   479           <x sl:variabl e name="Va rCSSProper ties" sele ct="msxsl: node-set($ VarCSSProp ertiesAsXM L)/wwproje ct:Propert y" />
478     480  
479           <x sl:call-te mplate nam e="CSS-Inl inePropert ies">   481           <x sl:call-te mplate nam e="CSS-Inl inePropert ies">
480            < xsl:with-p aram name= "ParamProp erties" se lect="$Var CSSPropert ies[string -length(@V alue) &gt;  0]" />   482            < xsl:with-p aram name= "ParamProp erties" se lect="$Var CSSPropert ies[string -length(@V alue) &gt;  0]" />
481           </ xsl:call-t emplate>   483           </ xsl:call-t emplate>
482          </x sl:attribu te>   484          </x sl:attribu te>
483         </ww page:Repla cement>   485         </ww page:Repla cement>
484     486  
485         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   487         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
486           <w wpage:Repl acement na me="pdf-li nk" value= "{$VarPDFL inkURI}" / >   488           <w wpage:Repl acement na me="pdf-li nk" value= "{$VarPDFL inkURI}" / >
487         </xs l:if>   489         </xs l:if>
488            490         
489         <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" />   491         <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" />
490         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />   492         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />
491         <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" />   493         <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" />
492         <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}" / >   494         <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}" / >
493         <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}"  />   495         <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}"  />
494         <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " />   496         <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " />
495     497  
496         <wwp age:Replac ement name ="catalog- css">   498         <wwp age:Replac ement name ="catalog- css">
497          <xs l:attribut e name="va lue">   499          <xs l:attribut e name="va lue">
498           <x sl:for-eac h select=" $GlobalFil es[1]">   500           <x sl:for-eac h select=" $GlobalFil es[1]">
499            < xsl:variab le name="V arCSSPath"  select="k ey('wwfile s-files-by -documenti d', $Param FilesDocum entNode/@d ocumentID) [@type = $ ParameterS tylesType] /@path" />   501            < xsl:variab le name="V arCSSPath"  select="k ey('wwfile s-files-by -documenti d', $Param FilesDocum entNode/@d ocumentID) [@type = $ ParameterS tylesType] /@path" />
500            < xsl:value- of select= "wwuri:Get RelativeTo ($VarCSSPa th, $Param Split/@pat h)" />   502            < xsl:value- of select= "wwuri:Get RelativeTo ($VarCSSPa th, $Param Split/@pat h)" />
501           </ xsl:for-ea ch>   503           </ xsl:for-ea ch>
502          </x sl:attribu te>   504          </x sl:attribu te>
503         </ww page:Repla cement>   505         </ww page:Repla cement>
504     506  
505         <wwp age:Replac ement name ="document -css">   507         <wwp age:Replac ement name ="document -css">
506          <xs l:attribut e name="va lue">   508          <xs l:attribut e name="va lue">
507           <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI">   509           <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI">
508            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  />   510            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  />
509            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />   511            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />
510            < xsl:with-p aram name= "ParamURI"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / >   512            < xsl:with-p aram name= "ParamURI"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / >
511           </ xsl:call-t emplate>   513           </ xsl:call-t emplate>
512          </x sl:attribu te>   514          </x sl:attribu te>
513         </ww page:Repla cement>   515         </ww page:Repla cement>
514     516  
515         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />   517         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />
516         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'utf-8') )}" />   518         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'utf-8') )}" />
517     519  
518         <wwp age:Replac ement name ="breadcru mbs-top-st yle">   520         <wwp age:Replac ement name ="breadcru mbs-top-st yle">
519          <xs l:attribut e name="va lue">   521          <xs l:attribut e name="va lue">
520           <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" />   522           <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" />
521           <x sl:choose>   523           <x sl:choose>
522            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   524            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
523              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   525              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
524            < /xsl:when>   526            < /xsl:when>
525     527  
526            < xsl:otherw ise>   528            < xsl:otherw ise>
527              <xsl:value -of select ="'text-al ign: left; '" />   529              <xsl:value -of select ="'text-al ign: left; '" />
528            < /xsl:other wise>   530            < /xsl:other wise>
529           </ xsl:choose >   531           </ xsl:choose >
530          </x sl:attribu te>   532          </x sl:attribu te>
531         </ww page:Repla cement>   533         </ww page:Repla cement>
532     534  
533         <wwp age:Replac ement name ="breadcru mbs-bottom -style">   535         <wwp age:Replac ement name ="breadcru mbs-bottom -style">
534          <xs l:attribut e name="va lue">   536          <xs l:attribut e name="va lue">
535           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / >   537           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / >
536           <x sl:choose>   538           <x sl:choose>
537            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   539            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
538              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   540              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
539            < /xsl:when>   541            < /xsl:when>
540     542  
541            < xsl:otherw ise>   543            < xsl:otherw ise>
542              <xsl:value -of select ="'text-al ign: left; '" />   544              <xsl:value -of select ="'text-al ign: left; '" />
543            < /xsl:other wise>   545            < /xsl:other wise>
544           </ xsl:choose >   546           </ xsl:choose >
545          </x sl:attribu te>   547          </x sl:attribu te>
546         </ww page:Repla cement>   548         </ww page:Repla cement>
547     549  
548         <wwp age:Replac ement name ="navigati on-top-sty le">   550         <wwp age:Replac ement name ="navigati on-top-sty le">
549          <xs l:attribut e name="va lue">   551          <xs l:attribut e name="va lue">
550           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" />   552           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" />
551           <x sl:choose>   553           <x sl:choose>
552            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   554            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
553              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   555              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
554            < /xsl:when>   556            < /xsl:when>
555     557  
556            < xsl:otherw ise>   558            < xsl:otherw ise>
557              <xsl:value -of select ="'text-al ign: left; '" />   559              <xsl:value -of select ="'text-al ign: left; '" />
558            < /xsl:other wise>   560            < /xsl:other wise>
559           </ xsl:choose >   561           </ xsl:choose >
560          </x sl:attribu te>   562          </x sl:attribu te>
561         </ww page:Repla cement>   563         </ww page:Repla cement>
562     564  
563         <wwp age:Replac ement name ="navigati on-bottom- style">   565         <wwp age:Replac ement name ="navigati on-bottom- style">
564          <xs l:attribut e name="va lue">   566          <xs l:attribut e name="va lue">
565           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />   567           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />
566           <x sl:choose>   568           <x sl:choose>
567            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   569            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
568              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   570              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
569            < /xsl:when>   571            < /xsl:when>
570     572  
571            < xsl:otherw ise>   573            < xsl:otherw ise>
572              <xsl:value -of select ="'text-al ign: left; '" />   574              <xsl:value -of select ="'text-al ign: left; '" />
573            < /xsl:other wise>   575            < /xsl:other wise>
574           </ xsl:choose >   576           </ xsl:choose >
575          </x sl:attribu te>   577          </x sl:attribu te>
576         </ww page:Repla cement>   578         </ww page:Repla cement>
577     579  
578         <xsl :if test=" count($Var TOCSplitFi le) = 1">   580         <xsl :if test=" count($Var TOCSplitFi le) = 1">
579          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />   581          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />
580         </xs l:if>   582         </xs l:if>
581         <xsl :if test=" count($Var PreviousSp lit) = 1">   583         <xsl :if test=" count($Var PreviousSp lit) = 1">
582          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:GetRela tiveTo($Va rPreviousS plit/@path , $ParamSp lit/@path) }" />   584          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:GetRela tiveTo($Va rPreviousS plit/@path , $ParamSp lit/@path) }" />
583         </xs l:if>   585         </xs l:if>
584         <xsl :if test=" count($Var NextSplit)  = 1">   586         <xsl :if test=" count($Var NextSplit)  = 1">
585          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}" />   587          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}" />
586         </xs l:if>   588         </xs l:if>
587         <xsl :if test=" count($Var IndexSplit File) = 1" >   589         <xsl :if test=" count($Var IndexSplit File) = 1" >
588          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />   590          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />
589         </xs l:if>   591         </xs l:if>
590     592  
591         <!--  Company I nfo -->   593         <!--  Company I nfo -->
592         <!--                -->   594         <!--                -->
593         <xsl :call-temp late name= "CompanyIn fo-Replace ments">   595         <xsl :call-temp late name= "CompanyIn fo-Replace ments">
594          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />   596          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />
595          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />   597          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />
596          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />   598          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />
597         </xs l:call-tem plate>   599         </xs l:call-tem plate>
598     600  
599         <!--  Breadcrum bs -->   601         <!--  Breadcrum bs -->
600         <!--               -->   602         <!--               -->
601         <wwp age:Replac ement name ="breadcru mbs">   603         <wwp age:Replac ement name ="breadcru mbs">
602          <xs l:call-tem plate name ="Breadcru mbs">   604          <xs l:call-tem plate name ="Breadcru mbs">
603           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />   605           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />
604           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   606           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
605           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >   607           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >
606          </x sl:call-te mplate>   608          </x sl:call-te mplate>
607         </ww page:Repla cement>   609         </ww page:Repla cement>
608     610  
609         <!--  Content - ->   611         <!--  Content - ->
610         <!--          - ->   612         <!--          - ->
611         <wwp age:Replac ement name ="content" >   613         <wwp age:Replac ement name ="content" >
612          <xs l:call-tem plate name ="Content- Content">   614          <xs l:call-tem plate name ="Content- Content">
613           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />   615           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />
614           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   616           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
615           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   617           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
616           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   618           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
617           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   619           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
618           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   620           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
619          </x sl:call-te mplate>   621          </x sl:call-te mplate>
620          <xs l:call-tem plate name ="Content- Notes">   622          <xs l:call-tem plate name ="Content- Notes">
621           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />   623           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />
622           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   624           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
623           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   625           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
624           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   626           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
625           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   627           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
626           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   628           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
627          </x sl:call-te mplate>   629          </x sl:call-te mplate>
628         </ww page:Repla cement>   630         </ww page:Repla cement>
629     631  
630         <!--  Variables  -->   632         <!--  Variables  -->
631         <!--             -->   633         <!--             -->
632         <xsl :variable  name="VarS plitGlobal VariablesA sXML">   634         <xsl :variable  name="VarS plitGlobal VariablesA sXML">
633          <xs l:call-tem plate name ="Variable s-Globals- Split">   635          <xs l:call-tem plate name ="Variable s-Globals- Split">
634           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />   636           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />
635           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   637           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
636          </x sl:call-te mplate>   638          </x sl:call-te mplate>
637         </xs l:variable >   639         </xs l:variable >
638         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />   640         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />
639         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">   641         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">
640          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >   642          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >
641         </xs l:call-tem plate>   643         </xs l:call-tem plate>
642        </xsl :variable>   644        </xsl :variable>
643        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >   645        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >
644     646  
645        <!--  Map common  character s -->   647        <!--  Map common  character s -->
646        <!--                          -->   648        <!--                          -->
647        <wwex sldoc:Mapp ingContext >   649        <wwex sldoc:Mapp ingContext >
648         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />   650         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />
649     651  
650         <!--  Invoke pa ge templat e -->   652         <!--  Invoke pa ge templat e -->
651         <!--                         -->   653         <!--                         -->
652         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">   654         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">
653          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />   655          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />
654          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />   656          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />
655          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />   657          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />
656          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />   658          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />
657         </xs l:apply-te mplates>   659         </xs l:apply-te mplates>
658        </wwe xsldoc:Map pingContex t>   660        </wwe xsldoc:Map pingContex t>
659       </xsl: for-each>   661       </xsl: for-each>
660      </xsl:v ariable>   662      </xsl:v ariable>
661     663  
662      <!-- Ab orted? -->   664      <!-- Ab orted? -->
663      <!--           -->   665      <!--           -->
664      <xsl:if  test="not (wwprogres s:Abort()) ">   666      <xsl:if  test="not (wwprogres s:Abort()) ">
665       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />   667       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />
666       <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'), 'xh tml', '1.0 ', 'yes',  'no', 'no' , '-//W3C/ /DTD XHTML  1.0 Trans itional//E N', 'http: //www.w3.o rg/TR/xhtm l1/DTD/xht ml1-transi tional.dtd ')" />   668       <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'), 'xh tml', '1.0 ', 'yes',  'no', 'no' , '-//W3C/ /DTD XHTML  1.0 Trans itional//E N', 'http: //www.w3.o rg/TR/xhtm l1/DTD/xht ml1-transi tional.dtd ')" />
667      </xsl:i f>   669      </xsl:i f>
668     </xsl:if >   670     </xsl:if >
669     671  
670     <!-- Abo rted? -->   672     <!-- Abo rted? -->
671     <!--           -->   673     <!--           -->
672     <xsl:if  test="not( wwprogress :Abort())" >   674     <xsl:if  test="not( wwprogress :Abort())" >
673      <!-- Re cord files  -->   675      <!-- Re cord files  -->
674      <!--                -->   676      <!--                -->
675      <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 }">   677      <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 }">
676       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />   678       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />
677       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />   679       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />
678       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />   680       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />
679       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />   681       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />
680       <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 }" />   682       <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 }" />
681       <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}" / >   683       <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}" / >
682       <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}" />   684       <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}" />
683      </wwfil es:File>   685      </wwfil es:File>
684     </xsl:if >   686     </xsl:if >
685    </xsl:tem plate>   687    </xsl:tem plate>
686   </xsl:styl esheet>   688   </xsl:styl esheet>