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

5.1 Files compared

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

5.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 5 1166
Changed 1 2
Inserted 3 4
Removed 0 0

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

5.4 Active regular expressions

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

5.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 rameterThu mbnailType " />   43    <xsl:para m name="Pa rameterThu mbnailType " />
44    <xsl:para m name="Pa rameterAll owBaggage"  />   44    <xsl:para m name="Pa rameterAll owBaggage"  />
45    <xsl:para m name="Pa rameterAll owGroupToG roup" />   45    <xsl:para m name="Pa rameterAll owGroupToG roup" />
46    <xsl:para m name="Pa rameterAll owURL" />   46    <xsl:para m name="Pa rameterAll owURL" />
47    <xsl:para m name="Pa rameterBag gageSplitF ileType" / >   47    <xsl:para m name="Pa rameterBag gageSplitF ileType" / >
48    <xsl:para m name="Pa rameterTOC SplitFileT ype" />   48    <xsl:para m name="Pa rameterTOC SplitFileT ype" />
49    <xsl:para m name="Pa rameterInd exSplitFil eType" />   49    <xsl:para m name="Pa rameterInd exSplitFil eType" />
50    <xsl:para m name="Pa rameterTyp e" />   50    <xsl:para m name="Pa rameterTyp e" />
51    <xsl:para m name="Pa rameterCat egory" />   51    <xsl:para m name="Pa rameterCat egory" />
52    <xsl:para m name="Pa rameterUse " />   52    <xsl:para m name="Pa rameterUse " />
53    <xsl:para m name="Pa rameterDep loy" />   53    <xsl:para m name="Pa rameterDep loy" />
54     54  
55     55  
56    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" />   56    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" />
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/b ehaviors/o ptions.xsl "/>   67    <xsl:incl ude href=" wwtransfor m:common/b ehaviors/o ptions.xsl "/>
68    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" />   68    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" />
        69    <xsl:incl ude href=" wwtransfor m:common/i mages/util ities.xsl"  />
69    <xsl:incl ude href=" wwtransfor m:common/i mages/wrap pers.xsl"  />   70    <xsl:incl ude href=" wwtransfor m:common/i mages/wrap pers.xsl"  />
70    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />   71    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />
71    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" />   72    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" />
72    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" />   73    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" />
73    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" />   74    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" />
74    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" />   75    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" />
75    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />   76    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />
76    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />   77    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />
77    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />   78    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />
78    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />   79    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />
79     80  
80     81  
81    <xsl:key  name="wwdo c-frames-b y-id" matc h="wwdoc:F rame" use= "@id" />   82    <xsl:key  name="wwdo c-frames-b y-id" matc h="wwdoc:F rame" use= "@id" />
82     83  
83     84  
84    <xsl:vari able name= "GlobalAct ionChecksu m">   85    <xsl:vari able name= "GlobalAct ionChecksu m">
85     <xsl:var iable name ="VarTrans formChecks ums">   86     <xsl:var iable name ="VarTrans formChecks ums">
86      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />   87      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />
87      <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)))" / >   88      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath($Param eterPageTe mplateURI) , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath($ ParameterP ageTemplat eURI)))" / >
88      <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')))" / >   89      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/im ages.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/images. xsl')))" / >
89      <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')))" / >   90      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/ta bles.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/tables. xsl')))" / >
90      <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')) )" />   91      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/behavi ors/option s.xsl'), ' :', wwfile system:Get Checksum(w wuri:AsFil ePath('wwt ransform:c ommon/beha viors/opti ons.xsl')) )" />
91      <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')))"  />   92      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/compan yinfo/comp anyinfo_co ntent.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ companyinf o/companyi nfo_conten t.xsl')))"  />
        93      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/images /utilities .xsl'), ': ', wwfiles ystem:GetC hecksum(ww uri:AsFile Path('wwtr ansform:co mmon/image s/utilitie s.xsl')))"  />
92      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/images /wrappers. xsl'), ':' , wwfilesy stem:GetCh ecksum(wwu ri:AsFileP ath('wwtra nsform:com mon/images /wrappers. xsl')))" / >   94      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/images /wrappers. xsl'), ':' , wwfilesy stem:GetCh ecksum(wwu ri:AsFileP ath('wwtra nsform:com mon/images /wrappers. xsl')))" / >
93      <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' )))" />   95      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/links/ resolve.xs l'), ':',  wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/links/re solve.xsl' )))" />
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' )))" />   96      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/conditio ns.xsl'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/condi tions.xsl' )))" />
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' )))" />   97      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/properti es.xsl'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/prope rties.xsl' )))" />
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' )))" />   98      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/tables /tables.xs l'), ':',  wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/tables/t ables.xsl' )))" />
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')))" />   99      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/variab les/variab les.xsl'),  ':', wwfi lesystem:G etChecksum (wwuri:AsF ilePath('w wtransform :common/va riables/va riables.xs l')))" />
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')) )" />   100      <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')) )" />
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' )))" />   101      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pagetempla te.xsl'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pag es/pagetem plate.xsl' )))" />
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')))" / >   102      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:uri /uri.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:uri/uri. xsl')))" / >
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' )))" />   103      <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' )))" />
102     </xsl:va riable>   104     </xsl:va riable>
103     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />   105     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />
104    </xsl:var iable>   106    </xsl:var iable>
105     107  
106     108  
107    <!-- Loca le -->   109    <!-- Loca le -->
108    <!--         -->   110    <!--         -->
109    <xsl:vari able name= "GlobalLoc alePath">   111    <xsl:vari able name= "GlobalLoc alePath">
110     <xsl:for -each sele ct="$Globa lFiles[1]" >   112     <xsl:for -each sele ct="$Globa lFiles[1]" >
111      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />   113      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />
112     </xsl:fo r-each>   114     </xsl:fo r-each>
113    </xsl:var iable>   115    </xsl:var iable>
114    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />   116    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />
115     117  
116     118  
117    <!-- Mapp ing Entry  Sets -->   119    <!-- Mapp ing Entry  Sets -->
118    <!--                      -->   120    <!--                      -->
119    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />   121    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />
120    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />   122    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />
121     123  
122     124  
123    <!-- Page  Template  -->   125    <!-- Page  Template  -->
124    <!--                 -->   126    <!--                 -->
125    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />   127    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />
126    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />   128    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />
127     129  
128     130  
129    <!-- Proj ect variab les -->   131    <!-- Proj ect variab les -->
130    <!--                     -->   132    <!--                     -->
131    <xsl:vari able name= "GlobalPro jectVariab lesPath">   133    <xsl:vari able name= "GlobalPro jectVariab lesPath">
132     <xsl:for -each sele ct="$Globa lFiles[1]" >   134     <xsl:for -each sele ct="$Globa lFiles[1]" >
133      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />   135      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />
134     </xsl:fo r-each>   136     </xsl:fo r-each>
135    </xsl:var iable>   137    </xsl:var iable>
136    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />   138    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />
137     139  
138     140  
139    <xsl:temp late match ="/">   141    <xsl:temp late match ="/">
140     <wwfiles :Files ver sion="1.0" >   142     <wwfiles :Files ver sion="1.0" >
141     143  
142      <xsl:ca ll-templat e name="Wr appers">   144      <xsl:ca ll-templat e name="Wr appers">
143       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />   145       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />
144       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />   146       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />
145       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />   147       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />
146       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />   148       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />
147       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />   149       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />
148       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />   150       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />
149       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >   151       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >
150       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />   152       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />
151       <xsl:w ith-param  name="Para mThumbnail Type" sele ct="$Param eterThumbn ailType" / >   153       <xsl:w ith-param  name="Para mThumbnail Type" sele ct="$Param eterThumbn ailType" / >
152      </xsl:c all-templa te>   154      </xsl:c all-templa te>
153     155  
154     </wwfile s:Files>   156     </wwfile s:Files>
155    </xsl:tem plate>   157    </xsl:tem plate>
156     158  
157     159  
158    <xsl:temp late name= "Wrapper">   160    <xsl:temp late name= "Wrapper">
159     <xsl:par am name="P aramFilesS plits" />   161     <xsl:par am name="P aramFilesS plits" />
160     <xsl:par am name="P aramSplits " />   162     <xsl:par am name="P aramSplits " />
161     <xsl:par am name="P aramBehavi orsFile" / >   163     <xsl:par am name="P aramBehavi orsFile" / >
162     <xsl:par am name="P aramBehavi ors" />   164     <xsl:par am name="P aramBehavi ors" />
163     <xsl:par am name="P aramLinks"  />   165     <xsl:par am name="P aramLinks"  />
164     <xsl:par am name="P aramTOCDat a" />   166     <xsl:par am name="P aramTOCDat a" />
165     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />   167     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />
166     <xsl:par am name="P aramFilesD ocumentNod e" />   168     <xsl:par am name="P aramFilesD ocumentNod e" />
167     <xsl:par am name="P aramSplits Frame" />   169     <xsl:par am name="P aramSplits Frame" />
168     <xsl:par am name="P aramDocume nt" />   170     <xsl:par am name="P aramDocume nt" />
169     171  
170     <!-- Out put -->   172     <!-- Out put -->
171     <!--         -->   173     <!--         -->
172     <xsl:var iable name ="VarUpToD ate" selec t="wwfiles ext:UpToDa te($ParamS plitsFrame /wwsplits: Wrapper/@p ath, $Glob alProject/ wwproject: Project/@C hangeID, $ ParamSplit sFrame/wws plits:Wrap per/@group ID, $Param SplitsFram e/wwsplits :Wrapper/@ documentID , $GlobalA ctionCheck sum)" />   174     <xsl:var iable name ="VarUpToD ate" selec t="wwfiles ext:UpToDa te($ParamS plitsFrame /wwsplits: Wrapper/@p ath, $Glob alProject/ wwproject: Project/@C hangeID, $ ParamSplit sFrame/wws plits:Wrap per/@group ID, $Param SplitsFram e/wwsplits :Wrapper/@ documentID , $GlobalA ctionCheck sum)" />
173     <xsl:if  test="not( $VarUpToDa te)">   175     <xsl:if  test="not( $VarUpToDa te)">
174      <xsl:va riable nam e="VarResu ltAsXML">   176      <xsl:va riable nam e="VarResu ltAsXML">
175       <!-- G et documen t frame -- >   177       <!-- G et documen t frame -- >
176       <!--                      -- >   178       <!--                      -- >
177       <xsl:f or-each se lect="$Par amDocument [1]">   179       <xsl:f or-each se lect="$Par amDocument [1]">
178        <xsl: variable n ame="VarFr ame" selec t="key('ww doc-frames -by-id', $ ParamSplit sFrame/@id )" />   180        <xsl: variable n ame="VarFr ame" selec t="key('ww doc-frames -by-id', $ ParamSplit sFrame/@id )" />
179     181  
180        <!--  Output dir ectory pat h -->   182        <!--  Output dir ectory pat h -->
181        <!--                          -->   183        <!--                          -->
182        <xsl: variable n ame="VarOu tputDirect oryPath" s elect="wwf ilesystem: Combine(ww projext:Ge tTargetOut putDirecto ryPath(),  wwprojext: GetGroupNa me($ParamS plitsFrame /wwsplits: Wrapper/@g roupID))"  />   184        <xsl: variable n ame="VarOu tputDirect oryPath" s elect="wwf ilesystem: Combine(ww projext:Ge tTargetOut putDirecto ryPath(),  wwprojext: GetGroupNa me($ParamS plitsFrame /wwsplits: Wrapper/@g roupID))"  />
183     185  
184        <!--  Page Rule  -->   186        <!--  Page Rule  -->
185        <!--             -->   187        <!--             -->
186        <xsl: variable n ame="VarPa geRule" se lect="wwpr ojext:GetR ule('Page' , $ParamSp litsFrame/ wwsplits:W rapper/@st ylename)"  />   188        <xsl: variable n ame="VarPa geRule" se lect="wwpr ojext:GetR ule('Page' , $ParamSp litsFrame/ wwsplits:W rapper/@st ylename)"  />
187     189  
188        <!--  Split file s -->   190        <!--  Split file s -->
189        <!--               -->   191        <!--               -->
190        <xsl: for-each s elect="$Pa ramSplits[ 1]">   192        <xsl: for-each s elect="$Pa ramSplits[ 1]">
191         <!--  TOC -->   193         <!--  TOC -->
192         <!--      -->   194         <!--      -->
193         <xsl :variable  name="VarT OCSplitFil e" select= "key('wwsp lits-files -by-groupi d-type', c oncat($Par amSplitsFr ame/wwspli ts:Wrapper /@groupID,  ':', $Par ameterTOCS plitFileTy pe))[1]" / >   195         <xsl :variable  name="VarT OCSplitFil e" select= "key('wwsp lits-files -by-groupi d-type', c oncat($Par amSplitsFr ame/wwspli ts:Wrapper /@groupID,  ':', $Par ameterTOCS plitFileTy pe))[1]" / >
194     196  
195         <!--  Index -->   197         <!--  Index -->
196         <!--        -->   198         <!--        -->
197         <xsl :variable  name="VarI ndexSplitF ile" selec t="key('ww splits-fil es-by-grou pid-type',  concat($P aramSplits Frame/wwsp lits:Wrapp er/@groupI D, ':', $P arameterIn dexSplitFi leType))[1 ]" />   199         <xsl :variable  name="VarI ndexSplitF ile" selec t="key('ww splits-fil es-by-grou pid-type',  concat($P aramSplits Frame/wwsp lits:Wrapp er/@groupI D, ':', $P arameterIn dexSplitFi leType))[1 ]" />
198     200  
199         <!--  Cargo -->   201         <!--  Cargo -->
200         <!--        -->   202         <!--        -->
201         <xsl :variable  name="VarC argo" sele ct="$Param Behaviors"  />   203         <xsl :variable  name="VarC argo" sele ct="$Param Behaviors"  />
202     204  
203         <!--  Condition s -->   205         <!--  Condition s -->
204         <!--              -->   206         <!--              -->
205         <xsl :variable  name="VarI nitialCond itionsAsXM L">   207         <xsl :variable  name="VarI nitialCond itionsAsXM L">
206          <!- - catalog- css -->   208          <!- - catalog- css -->
207          <!- -              -->   209          <!- -              -->
208          <ww page:Condi tion name= "catalog-c ss" />   210          <ww page:Condi tion name= "catalog-c ss" />
209     211  
210          <!- - document -css -->   212          <!- - document -css -->
211          <!- -               -->   213          <!- -               -->
212          <xs l:if test= "string-le ngth($VarP ageRule/ww project:Op tions/wwpr oject:Opti on[@Name =  'document -css']/@Va lue) &gt;  0">   214          <xs l:if test= "string-le ngth($VarP ageRule/ww project:Op tions/wwpr oject:Opti on[@Name =  'document -css']/@Va lue) &gt;  0">
213           <w wpage:Cond ition name ="document -css" />   215           <w wpage:Cond ition name ="document -css" />
214          </x sl:if>   216          </x sl:if>
215     217  
216          <!- - breadcru mbs-top -- >   218          <!- - breadcru mbs-top -- >
217          <!- -                  -- >   219          <!- -                  -- >
218          <xs l:variable  name="Var Breadcrumb sTopGenera teOption"  select="$V arPageRule /wwproject :Options/w wproject:O ption[@Nam e = 'bread crumbs-top -generate' ]/@Value"  />   220          <xs l:variable  name="Var Breadcrumb sTopGenera teOption"  select="$V arPageRule /wwproject :Options/w wproject:O ption[@Nam e = 'bread crumbs-top -generate' ]/@Value"  />
219          <xs l:if test= "($VarBrea dcrumbsTop GenerateOp tion = 'tr ue') or (s tring-leng th($VarBre adcrumbsTo pGenerateO ption) = 0 )">   221          <xs l:if test= "($VarBrea dcrumbsTop GenerateOp tion = 'tr ue') or (s tring-leng th($VarBre adcrumbsTo pGenerateO ption) = 0 )">
220           <w wpage:Cond ition name ="breadcru mbs-top" / >   222           <w wpage:Cond ition name ="breadcru mbs-top" / >
221          </x sl:if>   223          </x sl:if>
222     224  
223          <!- - breadcru mbs-bottom  -->   225          <!- - breadcru mbs-bottom  -->
224          <!- -                      -->   226          <!- -                      -->
225          <xs l:variable  name="Var Breadcrumb sBottomGen erateOptio n" select= "$VarPageR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'br eadcrumbs- bottom-gen erate']/@V alue" />   227          <xs l:variable  name="Var Breadcrumb sBottomGen erateOptio n" select= "$VarPageR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'br eadcrumbs- bottom-gen erate']/@V alue" />
226          <xs l:if test= "$VarBread crumbsBott omGenerate Option = ' true'">   228          <xs l:if test= "$VarBread crumbsBott omGenerate Option = ' true'">
227           <w wpage:Cond ition name ="breadcru mbs-bottom " />   229           <w wpage:Cond ition name ="breadcru mbs-bottom " />
228          </x sl:if>   230          </x sl:if>
229     231  
230          <!- - navigati on-top -->   232          <!- - navigati on-top -->
231          <!- -                 -->   233          <!- -                 -->
232          <xs l:variable  name="Var Navigation TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'naviga tion-top-g enerate']/ @Value" />   234          <xs l:variable  name="Var Navigation TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'naviga tion-top-g enerate']/ @Value" />
233          <xs l:if test= "($VarNavi gationTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarNavi gationTopG enerateOpt ion) = 0)" >   235          <xs l:if test= "($VarNavi gationTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarNavi gationTopG enerateOpt ion) = 0)" >
234           <w wpage:Cond ition name ="navigati on-top" />   236           <w wpage:Cond ition name ="navigati on-top" />
235          </x sl:if>   237          </x sl:if>
236     238  
237          <!- - navigati on-bottom  -->   239          <!- - navigati on-bottom  -->
238          <!- -                     -->   240          <!- -                     -->
239          <xs l:variable  name="Var Navigation BottomGene rateOption " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'nav igation-bo ttom-gener ate']/@Val ue" />   241          <xs l:variable  name="Var Navigation BottomGene rateOption " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'nav igation-bo ttom-gener ate']/@Val ue" />
240          <xs l:if test= "$VarNavig ationBotto mGenerateO ption = 't rue'">   242          <xs l:if test= "$VarNavig ationBotto mGenerateO ption = 't rue'">
241           <w wpage:Cond ition name ="navigati on-bottom"  />   243           <w wpage:Cond ition name ="navigati on-bottom"  />
242          </x sl:if>   244          </x sl:if>
243     245  
244          <!- - Generate  TOC? -->   246          <!- - Generate  TOC? -->
245          <!- -                -->   247          <!- -                -->
246          <xs l:if test= "count($Va rTOCSplitF ile) = 1">   248          <xs l:if test= "count($Va rTOCSplitF ile) = 1">
247           <x sl:choose>   249           <x sl:choose>
248            < xsl:when t est="count ($ParamSpl itsFrame/w wsplits:Wr apper | $V arTOCSplit File) = 1" >   250            < xsl:when t est="count ($ParamSpl itsFrame/w wsplits:Wr apper | $V arTOCSplit File) = 1" >
249              <!-- navig ation-toc- current -- >   251              <!-- navig ation-toc- current -- >
250              <!--                          -- >   252              <!--                          -- >
251              <wwpage:Co ndition na me="naviga tion-toc-c urrent" />   253              <wwpage:Co ndition na me="naviga tion-toc-c urrent" />
252            < /xsl:when>   254            < /xsl:when>
253     255  
254            < xsl:otherw ise>   256            < xsl:otherw ise>
255              <!-- navig ation-toc- not-curren t -->   257              <!-- navig ation-toc- not-curren t -->
256              <!--                          -- >   258              <!--                          -- >
257              <wwpage:Co ndition na me="naviga tion-toc-n ot-current " />   259              <wwpage:Co ndition na me="naviga tion-toc-n ot-current " />
258            < /xsl:other wise>   260            < /xsl:other wise>
259           </ xsl:choose >   261           </ xsl:choose >
260          </x sl:if>   262          </x sl:if>
261     263  
262          <!- - navigati on-previou s-exists - ->   264          <!- - navigati on-previou s-exists - ->
263          <!- -                              - ->   265          <!- -                              - ->
264          <ww page:Condi tion name= "navigatio n-previous -exists" / >   266          <ww page:Condi tion name= "navigatio n-previous -exists" / >
265     267  
266          <!- - navigati on-next-ex ists -->   268          <!- - navigati on-next-ex ists -->
267          <!- -                          -->   269          <!- -                          -->
268          <ww page:Condi tion name= "navigatio n-next-exi sts" />   270          <ww page:Condi tion name= "navigatio n-next-exi sts" />
269     271  
270          <!- - Generate  Index? -- >   272          <!- - Generate  Index? -- >
271          <!- -                  -- >   273          <!- -                  -- >
272          <xs l:if test= "count($Va rIndexSpli tFile) = 1 ">   274          <xs l:if test= "count($Va rIndexSpli tFile) = 1 ">
273           <x sl:choose>   275           <x sl:choose>
274            < xsl:when t est="count ($ParamSpl itsFrame/w wsplits:Wr apper | $V arIndexSpl itFile) =  1">   276            < xsl:when t est="count ($ParamSpl itsFrame/w wsplits:Wr apper | $V arIndexSpl itFile) =  1">
275              <!-- navig ation-inde x-current  -->   277              <!-- navig ation-inde x-current  -->
276              <!--                          -- >   278              <!--                          -- >
277              <wwpage:Co ndition na me="naviga tion-index -current"  />   279              <wwpage:Co ndition na me="naviga tion-index -current"  />
278            < /xsl:when>   280            < /xsl:when>
279     281  
280            < xsl:otherw ise>   282            < xsl:otherw ise>
281              <!-- navig ation-inde x-not-curr ent -->   283              <!-- navig ation-inde x-not-curr ent -->
282              <!--                          -- >   284              <!--                          -- >
283              <wwpage:Co ndition na me="naviga tion-index -not-curre nt" />   285              <wwpage:Co ndition na me="naviga tion-index -not-curre nt" />
284            < /xsl:other wise>   286            < /xsl:other wise>
285           </ xsl:choose >   287           </ xsl:choose >
286          </x sl:if>   288          </x sl:if>
287     289  
288          <!- - Company  Info -->   290          <!- - Company  Info -->
289          <!- -               -->   291          <!- -               -->
290          <xs l:call-tem plate name ="CompanyI nfo-Condit ions">   292          <xs l:call-tem plate name ="CompanyI nfo-Condit ions">
291           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />   293           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />
292          </x sl:call-te mplate>   294          </x sl:call-te mplate>
293         </xs l:variable >   295         </xs l:variable >
294         <xsl :variable  name="VarI nitialCond itions" se lect="msxs l:node-set ($VarIniti alConditio nsAsXML)"  />   296         <xsl :variable  name="VarI nitialCond itions" se lect="msxs l:node-set ($VarIniti alConditio nsAsXML)"  />
295     297  
296         <!--  Set heade r/footer c onditions  -->   298         <!--  Set heade r/footer c onditions  -->
297         <!--                                  -->   299         <!--                                  -->
298         <xsl :variable  name="VarC onditionsA sXML">   300         <xsl :variable  name="VarC onditionsA sXML">
299          <!- - Copy exi sting as i s -->   301          <!- - Copy exi sting as i s -->
300          <!- -                       -->   302          <!- -                       -->
301          <xs l:for-each  select="$ VarInitial Conditions /*">   303          <xs l:for-each  select="$ VarInitial Conditions /*">
302           <x sl:copy-of  select=". " />   304           <x sl:copy-of  select=". " />
303          </x sl:for-eac h>   305          </x sl:for-eac h>
304     306  
305          <xs l:for-each  select="$ VarInitial Conditions [1]">   307          <xs l:for-each  select="$ VarInitial Conditions [1]">
306           <! -- header- exists -->   308           <! -- header- exists -->
307           <! --                -->   309           <! --                -->
308           <x sl:variabl e name="Va rHeaderExi sts" selec t="count(k ey('wwpage -condition s-by-name' , 'navigat ion-top')  | key('wwp age-condit ions-by-na me', 'brea dcrumbs-to p') | key( 'wwpage-co nditions-b y-name', ' company-in fo-top'))  &gt; 0" />   310           <x sl:variabl e name="Va rHeaderExi sts" selec t="count(k ey('wwpage -condition s-by-name' , 'navigat ion-top')  | key('wwp age-condit ions-by-na me', 'brea dcrumbs-to p') | key( 'wwpage-co nditions-b y-name', ' company-in fo-top'))  &gt; 0" />
309           <x sl:if test ="$VarHead erExists">   311           <x sl:if test ="$VarHead erExists">
310            < wwpage:Con dition nam e="header- exists" />   312            < wwpage:Con dition nam e="header- exists" />
311           </ xsl:if>   313           </ xsl:if>
312     314  
313           <! -- footer- exists -->   315           <! -- footer- exists -->
314           <! --                -->   316           <! --                -->
315           <x sl:variabl e name="Va rFooterExi sts" selec t="count(k ey('wwpage -condition s-by-name' , 'navigat ion-bottom ') | key(' wwpage-con ditions-by -name', 'b readcrumbs -bottom')  | key('wwp age-condit ions-by-na me', 'comp any-info-b ottom')) & gt; 0" />   317           <x sl:variabl e name="Va rFooterExi sts" selec t="count(k ey('wwpage -condition s-by-name' , 'navigat ion-bottom ') | key(' wwpage-con ditions-by -name', 'b readcrumbs -bottom')  | key('wwp age-condit ions-by-na me', 'comp any-info-b ottom')) & gt; 0" />
316           <x sl:if test ="$VarFoot erExists">   318           <x sl:if test ="$VarFoot erExists">
317            < wwpage:Con dition nam e="footer- exists" />   319            < wwpage:Con dition nam e="footer- exists" />
318           </ xsl:if>   320           </ xsl:if>
319     321  
320           <! -- header- footer-exi sts -->   322           <! -- header- footer-exi sts -->
321           <! --                        -->   323           <! --                        -->
322           <x sl:choose>   324           <x sl:choose>
323            < xsl:when t est="$VarH eaderExist s or $VarF ooterExist s">   325            < xsl:when t est="$VarH eaderExist s or $VarF ooterExist s">
324              <wwpage:Co ndition na me="header -footer-ex ists" />   326              <wwpage:Co ndition na me="header -footer-ex ists" />
325            < /xsl:when>   327            < /xsl:when>
326     328  
327            < xsl:otherw ise>   329            < xsl:otherw ise>
328              <wwpage:Co ndition na me="header -footer-no t-exists"  />   330              <wwpage:Co ndition na me="header -footer-no t-exists"  />
329            < /xsl:other wise>   331            < /xsl:other wise>
330           </ xsl:choose >   332           </ xsl:choose >
331          </x sl:for-eac h>   333          </x sl:for-eac h>
332         </xs l:variable >   334         </xs l:variable >
333         <xsl :variable  name="VarC onditions"  select="m sxsl:node- set($VarCo nditionsAs XML)" />   335         <xsl :variable  name="VarC onditions"  select="m sxsl:node- set($VarCo nditionsAs XML)" />
334     336  
335         <!--  Replaceme nts -->   337         <!--  Replaceme nts -->
336         <!--                -->   338         <!--                -->
337         <xsl :variable  name="VarR eplacement sAsXML">   339         <xsl :variable  name="VarR eplacement sAsXML">
338          <xs l:variable  name="Var RelativeRo otURIWithD ummyCompon ent" selec t="wwuri:G etRelative To(wwfiles ystem:Comb ine($VarOu tputDirect oryPath, ' dummy.comp onent'), $ ParamSplit sFrame/wws plits:Wrap per/@path) " />   340          <xs l:variable  name="Var RelativeRo otURIWithD ummyCompon ent" selec t="wwuri:G etRelative To(wwfiles ystem:Comb ine($VarOu tputDirect oryPath, ' dummy.comp onent'), $ ParamSplit sFrame/wws plits:Wrap per/@path) " />
339          <xs l:variable  name="Var RelativeRo otURI">   341          <xs l:variable  name="Var RelativeRo otURI">
340           <x sl:variabl e name="Va rStringLen gthDiffere nce" selec t="string- length($Va rRelativeR ootURIWith DummyCompo nent) - st ring-lengt h('dummy.c omponent') " />   342           <x sl:variabl e name="Va rStringLen gthDiffere nce" selec t="string- length($Va rRelativeR ootURIWith DummyCompo nent) - st ring-lengt h('dummy.c omponent') " />
341           <x sl:choose>   343           <x sl:choose>
342            < xsl:when t est="$VarS tringLengt hDifferenc e &lt;= 0" >   344            < xsl:when t est="$VarS tringLengt hDifferenc e &lt;= 0" >
343              <xsl:value -of select ="''" />   345              <xsl:value -of select ="''" />
344            < /xsl:when>   346            < /xsl:when>
345     347  
346            < xsl:otherw ise>   348            < xsl:otherw ise>
347              <xsl:value -of select ="substrin g($VarRela tiveRootUR IWithDummy Component,  1, $VarSt ringLength Difference )" />   349              <xsl:value -of select ="substrin g($VarRela tiveRootUR IWithDummy Component,  1, $VarSt ringLength Difference )" />
348            < /xsl:other wise>   350            < /xsl:other wise>
349           </ xsl:choose >   351           </ xsl:choose >
350          </x sl:variabl e>   352          </x sl:variabl e>
351     353  
352          <!- - webworks -root -->   354          <!- - webworks -root -->
353          <!- -                -->   355          <!- -                -->
354          <ww page:Repla cement nam e="webwork s-root">   356          <ww page:Repla cement nam e="webwork s-root">
355           <x sl:comment >   357           <x sl:comment >
356            < xsl:text>   358            < xsl:text>
357    </xsl:tex t>   359    </xsl:tex t>
358            < xsl:text>         var   WebWorks RootPath =  &quot;</x sl:text>   360            < xsl:text>         var   WebWorks RootPath =  &quot;</x sl:text>
359            < xsl:value- of select= "$VarRelat iveRootURI " />   361            < xsl:value- of select= "$VarRelat iveRootURI " />
360            < xsl:text>& quot;;   362            < xsl:text>& quot;;
361    </xsl:tex t>   363    </xsl:tex t>
362            < xsl:text>       // </ xsl:text>   364            < xsl:text>       // </ xsl:text>
363           </ xsl:commen t>   365           </ xsl:commen t>
364          </w wpage:Repl acement>   366          </w wpage:Repl acement>
365     367  
366          <!- - body-sty le -->   368          <!- - body-sty le -->
367          <!- -             -->   369          <!- -             -->
368          <ww page:Repla cement nam e="body-st yle">   370          <ww page:Repla cement nam e="body-st yle">
369           <x sl:attribu te name="v alue">   371           <x sl:attribu te name="v alue">
370            < !-- CSS pr operties - ->   372            < !-- CSS pr operties - ->
371            < !--                 - ->   373            < !--                 - ->
372            < xsl:variab le name="V arCSSPrope rtiesAsXML ">   374            < xsl:variab le name="V arCSSPrope rtiesAsXML ">
373              <xsl:call- template n ame="CSS-T ranslatePr ojectPrope rties">   375              <xsl:call- template n ame="CSS-T ranslatePr ojectPrope rties">
374               <xsl:with -param nam e="ParamPr operties"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property " />   376               <xsl:with -param nam e="ParamPr operties"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property " />
375               <xsl:with -param nam e="ParamFr omAbsolute URI" selec t="$ParamS plitsFrame /wwsplits: Wrapper/@p ath" />   377               <xsl:with -param nam e="ParamFr omAbsolute URI" selec t="$ParamS plitsFrame /wwsplits: Wrapper/@p ath" />
376               <xsl:with -param nam e="ParamSp lits" sele ct="$Param Splits" />   378               <xsl:with -param nam e="ParamSp lits" sele ct="$Param Splits" />
377              </xsl:call -template>   379              </xsl:call -template>
378            < /xsl:varia ble>   380            < /xsl:varia ble>
379            < xsl:variab le name="V arCSSPrope rties" sel ect="msxsl :node-set( $VarCSSPro pertiesAsX ML)/wwproj ect:Proper ty" />   381            < xsl:variab le name="V arCSSPrope rties" sel ect="msxsl :node-set( $VarCSSPro pertiesAsX ML)/wwproj ect:Proper ty" />
380     382  
381            < xsl:call-t emplate na me="CSS-In lineProper ties">   383            < xsl:call-t emplate na me="CSS-In lineProper ties">
382              <xsl:with- param name ="ParamPro perties" s elect="$Va rCSSProper ties[strin g-length(@ Value) &gt ; 0]" />   384              <xsl:with- param name ="ParamPro perties" s elect="$Va rCSSProper ties[strin g-length(@ Value) &gt ; 0]" />
383            < /xsl:call- template>   385            < /xsl:call- template>
384           </ xsl:attrib ute>   386           </ xsl:attrib ute>
385          </w wpage:Repl acement>   387          </w wpage:Repl acement>
386     388  
387          <ww page:Repla cement nam e="title"  value="{$P aramSplits Frame/wwsp lits:Wrapp er/@title} " />   389          <ww page:Repla cement nam e="title"  value="{$P aramSplits Frame/wwsp lits:Wrapp er/@title} " />
388          <ww page:Repla cement nam e="navigat ion-toc-ti tle" value ="{$VarTOC SplitFile/ @title}" / >   390          <ww page:Repla cement nam e="navigat ion-toc-ti tle" value ="{$VarTOC SplitFile/ @title}" / >
389          <ww page:Repla cement nam e="navigat ion-previo us-title"  value="{$G lobalLocal e/wwlocale :Locale/ww locale:Str ings/wwloc ale:String [@name = ' Previous'] /@value}"  />   391          <ww page:Repla cement nam e="navigat ion-previo us-title"  value="{$G lobalLocal e/wwlocale :Locale/ww locale:Str ings/wwloc ale:String [@name = ' Previous'] /@value}"  />
390          <ww page:Repla cement nam e="navigat ion-next-t itle" valu e="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Next ']/@value} " />   392          <ww page:Repla cement nam e="navigat ion-next-t itle" valu e="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Next ']/@value} " />
391          <ww page:Repla cement nam e="navigat ion-index- title" val ue="{$VarI ndexSplitF ile/@title }" />   393          <ww page:Repla cement nam e="navigat ion-index- title" val ue="{$VarI ndexSplitF ile/@title }" />
392     394  
393          <ww page:Repla cement nam e="catalog -css">   395          <ww page:Repla cement nam e="catalog -css">
394           <x sl:attribu te name="v alue">   396           <x sl:attribu te name="v alue">
395            < xsl:for-ea ch select= "$GlobalFi les[1]">   397            < xsl:for-ea ch select= "$GlobalFi les[1]">
396              <xsl:varia ble name=" VarCSSPath " select=" key('wwfil es-files-b y-document id', $Para mFilesDocu mentNode/@ documentID )[@type =  $Parameter StylesType ]/@path" / >   398              <xsl:varia ble name=" VarCSSPath " select=" key('wwfil es-files-b y-document id', $Para mFilesDocu mentNode/@ documentID )[@type =  $Parameter StylesType ]/@path" / >
397              <xsl:value -of select ="wwuri:Ge tRelativeT o($VarCSSP ath, $Para mSplitsFra me/wwsplit s:Wrapper/ @path)" />   399              <xsl:value -of select ="wwuri:Ge tRelativeT o($VarCSSP ath, $Para mSplitsFra me/wwsplit s:Wrapper/ @path)" />
398            < /xsl:for-e ach>   400            < /xsl:for-e ach>
399           </ xsl:attrib ute>   401           </ xsl:attrib ute>
400          </w wpage:Repl acement>   402          </w wpage:Repl acement>
401     403  
402          <ww page:Repla cement nam e="documen t-css">   404          <ww page:Repla cement nam e="documen t-css">
403           <x sl:attribu te name="v alue">   405           <x sl:attribu te name="v alue">
404            < xsl:call-t emplate na me="URI-Re solveProje ctFileURI" >   406            < xsl:call-t emplate na me="URI-Re solveProje ctFileURI" >
405              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp litsFrame/ wwsplits:W rapper/@pa th" />   407              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp litsFrame/ wwsplits:W rapper/@pa th" />
406              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />   408              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />
407              <xsl:with- param name ="ParamURI " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'doc ument-css' ]/@Value"  />   409              <xsl:with- param name ="ParamURI " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'doc ument-css' ]/@Value"  />
408            < /xsl:call- template>   410            < /xsl:call- template>
409           </ xsl:attrib ute>   411           </ xsl:attrib ute>
410          </w wpage:Repl acement>   412          </w wpage:Repl acement>
411     413  
412          <ww page:Repla cement nam e="locale"  value="{w wprojext:G etFormatSe tting('loc ale', 'en' )}" />   414          <ww page:Repla cement nam e="locale"  value="{w wprojext:G etFormatSe tting('loc ale', 'en' )}" />
413          <ww page:Repla cement nam e="content -type" val ue="{conca t('text/ht ml;charset =', wwproj ext:GetFor matSetting ('encoding ', 'utf-8' ))}" />   415          <ww page:Repla cement nam e="content -type" val ue="{conca t('text/ht ml;charset =', wwproj ext:GetFor matSetting ('encoding ', 'utf-8' ))}" />
414     416  
415          <ww page:Repla cement nam e="breadcr umbs-top-s tyle">   417          <ww page:Repla cement nam e="breadcr umbs-top-s tyle">
416           <x sl:attribu te name="v alue">   418           <x sl:attribu te name="v alue">
417            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'breadcrum bs-top-ali gnment']/@ Value" />   419            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'breadcrum bs-top-ali gnment']/@ Value" />
418            < xsl:choose >   420            < xsl:choose >
419              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >   421              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >
420               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />   422               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />
421              </xsl:when >   423              </xsl:when >
422     424  
423              <xsl:other wise>   425              <xsl:other wise>
424               <xsl:valu e-of selec t="'text-a lign: left ;'" />   426               <xsl:valu e-of selec t="'text-a lign: left ;'" />
425              </xsl:othe rwise>   427              </xsl:othe rwise>
426            < /xsl:choos e>   428            < /xsl:choos e>
427           </ xsl:attrib ute>   429           </ xsl:attrib ute>
428          </w wpage:Repl acement>   430          </w wpage:Repl acement>
429     431  
430          <ww page:Repla cement nam e="breadcr umbs-botto m-style">   432          <ww page:Repla cement nam e="breadcr umbs-botto m-style">
431           <x sl:attribu te name="v alue">   433           <x sl:attribu te name="v alue">
432            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'breadcrum bs-bottom- alignment' ]/@Value"  />   434            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'breadcrum bs-bottom- alignment' ]/@Value"  />
433            < xsl:choose >   435            < xsl:choose >
434              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >   436              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >
435               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />   437               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />
436              </xsl:when >   438              </xsl:when >
437     439  
438              <xsl:other wise>   440              <xsl:other wise>
439               <xsl:valu e-of selec t="'text-a lign: left ;'" />   441               <xsl:valu e-of selec t="'text-a lign: left ;'" />
440              </xsl:othe rwise>   442              </xsl:othe rwise>
441            < /xsl:choos e>   443            < /xsl:choos e>
442           </ xsl:attrib ute>   444           </ xsl:attrib ute>
443          </w wpage:Repl acement>   445          </w wpage:Repl acement>
444     446  
445          <ww page:Repla cement nam e="navigat ion-top-st yle">   447          <ww page:Repla cement nam e="navigat ion-top-st yle">
446           <x sl:attribu te name="v alue">   448           <x sl:attribu te name="v alue">
447            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'navigatio n-top-alig nment']/@V alue" />   449            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'navigatio n-top-alig nment']/@V alue" />
448            < xsl:choose >   450            < xsl:choose >
449              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >   451              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >
450               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />   452               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />
451              </xsl:when >   453              </xsl:when >
452     454  
453              <xsl:other wise>   455              <xsl:other wise>
454               <xsl:valu e-of selec t="'text-a lign: left ;'" />   456               <xsl:valu e-of selec t="'text-a lign: left ;'" />
455              </xsl:othe rwise>   457              </xsl:othe rwise>
456            < /xsl:choos e>   458            < /xsl:choos e>
457           </ xsl:attrib ute>   459           </ xsl:attrib ute>
458          </w wpage:Repl acement>   460          </w wpage:Repl acement>
459     461  
460          <ww page:Repla cement nam e="navigat ion-bottom -style">   462          <ww page:Repla cement nam e="navigat ion-bottom -style">
461           <x sl:attribu te name="v alue">   463           <x sl:attribu te name="v alue">
462            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'navigatio n-bottom-a lignment'] /@Value" / >   464            < xsl:variab le name="V arAlignmen tProperty"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y[@Name =  'navigatio n-bottom-a lignment'] /@Value" / >
463            < xsl:choose >   465            < xsl:choose >
464              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >   466              <xsl:when  test="stri ng-length( $VarAlignm entPropert y) &gt; 0" >
465               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />   467               <xsl:valu e-of selec t="concat( 'text-alig n: ', $Var AlignmentP roperty, ' ;')" />
466              </xsl:when >   468              </xsl:when >
467     469  
468              <xsl:other wise>   470              <xsl:other wise>
469               <xsl:valu e-of selec t="'text-a lign: left ;'" />   471               <xsl:valu e-of selec t="'text-a lign: left ;'" />
470              </xsl:othe rwise>   472              </xsl:othe rwise>
471            < /xsl:choos e>   473            < /xsl:choos e>
472           </ xsl:attrib ute>   474           </ xsl:attrib ute>
473          </w wpage:Repl acement>   475          </w wpage:Repl acement>
474     476  
475          <xs l:if test= "count($Va rTOCSplitF ile) = 1">   477          <xs l:if test= "count($Va rTOCSplitF ile) = 1">
476           <w wpage:Repl acement na me="naviga tion-toc-l ink" value ="{wwuri:G etRelative To($VarTOC SplitFile/ @path, $Pa ramSplitsF rame/wwspl its:Wrappe r/@path)}"  />   478           <w wpage:Repl acement na me="naviga tion-toc-l ink" value ="{wwuri:G etRelative To($VarTOC SplitFile/ @path, $Pa ramSplitsF rame/wwspl its:Wrappe r/@path)}"  />
477          </x sl:if>   479          </x sl:if>
478          <xs l:variable  name="Var Anchor">   480          <xs l:variable  name="Var Anchor">
479           <x sl:variabl e name="Va rParagraph " select=" $VarFrame/ ancestor:: wwdoc:Para graph[1]"  />   481           <x sl:variabl e name="Va rParagraph " select=" $VarFrame/ ancestor:: wwdoc:Para graph[1]"  />
480           <x sl:choose>   482           <x sl:choose>
481            < xsl:when t est="count ($VarParag raph) = 1" >   483            < xsl:when t est="count ($VarParag raph) = 1" >
482              <xsl:text> #</xsl:tex t>   484              <xsl:text> #</xsl:tex t>
483              <xsl:value -of select ="$VarFram e/ancestor ::wwdoc:Pa ragraph[1] /@id" />   485              <xsl:value -of select ="$VarFram e/ancestor ::wwdoc:Pa ragraph[1] /@id" />
484            < /xsl:when>   486            < /xsl:when>
485     487  
486            < xsl:otherw ise>   488            < xsl:otherw ise>
487              <xsl:value -of select ="''" />   489              <xsl:value -of select ="''" />
488            < /xsl:other wise>   490            < /xsl:other wise>
489           </ xsl:choose >   491           </ xsl:choose >
490          </x sl:variabl e>   492          </x sl:variabl e>
491          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{con cat(wwuri: GetRelativ eTo($Param SplitsFram e/../@path , $ParamSp litsFrame/ wwsplits:W rapper/@pa th), $VarA nchor)}" / >   493          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{con cat(wwuri: GetRelativ eTo($Param SplitsFram e/../@path , $ParamSp litsFrame/ wwsplits:W rapper/@pa th), $VarA nchor)}" / >
492          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{concat( wwuri:GetR elativeTo( $ParamSpli tsFrame/.. /@path, $P aramSplits Frame/wwsp lits:Wrapp er/@path),  $VarAncho r)}" />   494          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{concat( wwuri:GetR elativeTo( $ParamSpli tsFrame/.. /@path, $P aramSplits Frame/wwsp lits:Wrapp er/@path),  $VarAncho r)}" />
493          <xs l:if test= "count($Va rIndexSpli tFile) = 1 ">   495          <xs l:if test= "count($Va rIndexSpli tFile) = 1 ">
494           <w wpage:Repl acement na me="naviga tion-index -link" val ue="{wwuri :GetRelati veTo($VarI ndexSplitF ile/@path,  $ParamSpl itsFrame/w wsplits:Wr apper/@pat h)}" />   496           <w wpage:Repl acement na me="naviga tion-index -link" val ue="{wwuri :GetRelati veTo($VarI ndexSplitF ile/@path,  $ParamSpl itsFrame/w wsplits:Wr apper/@pat h)}" />
495          </x sl:if>   497          </x sl:if>
496     498  
497          <!- - Company  Info -->   499          <!- - Company  Info -->
498          <!- -               -->   500          <!- -               -->
499          <xs l:call-tem plate name ="CompanyI nfo-Replac ements">   501          <xs l:call-tem plate name ="CompanyI nfo-Replac ements">
500           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />   502           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />
501           <x sl:with-pa ram name=" ParamPageP ath" selec t="$ParamS plitsFrame /wwsplits: Wrapper/@p ath" />   503           <x sl:with-pa ram name=" ParamPageP ath" selec t="$ParamS plitsFrame /wwsplits: Wrapper/@p ath" />
502           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   504           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
503          </x sl:call-te mplate>   505          </x sl:call-te mplate>
504     506  
505          <!- - Breadcru mbs -->   507          <!- - Breadcru mbs -->
506          <!- -              -->   508          <!- -              -->
507          <ww page:Repla cement nam e="breadcr umbs">   509          <ww page:Repla cement nam e="breadcr umbs">
508           <x sl:call-te mplate nam e="Breadcr umbs">   510           <x sl:call-te mplate nam e="Breadcr umbs">
509            < xsl:with-p aram name= "ParamPage Rule" sele ct="$VarPa geRule" />   511            < xsl:with-p aram name= "ParamPage Rule" sele ct="$VarPa geRule" />
510            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame"  />   512            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame"  />
511            < xsl:with-p aram name= "ParamBrea dcrumbTOCE ntry" sele ct="$Param Breadcrumb TOCEntry"  />   513            < xsl:with-p aram name= "ParamBrea dcrumbTOCE ntry" sele ct="$Param Breadcrumb TOCEntry"  />
512           </ xsl:call-t emplate>   514           </ xsl:call-t emplate>
513          </w wpage:Repl acement>   515          </w wpage:Repl acement>
514     516  
515          <!- - Content  -->   517          <!- - Content  -->
516          <!- -          -->   518          <!- -          -->
517          <ww page:Repla cement nam e="content ">   519          <ww page:Repla cement nam e="content ">
518           <x sl:call-te mplate nam e="Frame- F u llSize ">   520           <x sl:call-te mplate nam e="Frame- Mark u p ">
519            < xsl:with-p aram name= "ParamFram e" select= "$VarFrame " />   521            < xsl:with-p aram name= "ParamFram e" select= "$VarFrame " />
520            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />   522            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />
521            < xsl:with-p aram name= "ParamCarg o" select= "$VarCargo " />   523            < xsl:with-p aram name= "ParamCarg o" select= "$VarCargo " />
522            < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" />   524            < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" />
523            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame/w wsplits:Wr apper" />   525            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame/w wsplits:Wr apper" />
        526            < xsl:with-p aram name= "ParamSpli tsFrame" s elect="$Pa ramSplitsF rame" />
        527            < xsl:with-p aram name= "ParamThum bnail" sel ect="false ()" />
524           </ xsl:call-t emplate>   528           </ xsl:call-t emplate>
525          </w wpage:Repl acement>   529          </w wpage:Repl acement>
526     530  
527          <!- - Variable s -->   531          <!- - Variable s -->
528          <!- -            -->   532          <!- -            -->
529          <xs l:variable  name="Var SplitGloba lVariables AsXML">   533          <xs l:variable  name="Var SplitGloba lVariables AsXML">
530           <x sl:call-te mplate nam e="Variabl es-Globals -Split">   534           <x sl:call-te mplate nam e="Variabl es-Globals -Split">
531            < xsl:with-p aram name= "ParamProj ectVariabl es" select ="$GlobalP rojectVari ables" />   535            < xsl:with-p aram name= "ParamProj ectVariabl es" select ="$GlobalP rojectVari ables" />
532            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame/a ncestor::w wsplits:Sp lit[1]" />   536            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl itsFrame/a ncestor::w wsplits:Sp lit[1]" />
533           </ xsl:call-t emplate>   537           </ xsl:call-t emplate>
534          </x sl:variabl e>   538          </x sl:variabl e>
535          <xs l:variable  name="Var SplitGloba lVariables " select=" msxsl:node -set($VarS plitGlobal VariablesA sXML)/wwva rs:Variabl e" />   539          <xs l:variable  name="Var SplitGloba lVariables " select=" msxsl:node -set($VarS plitGlobal VariablesA sXML)/wwva rs:Variabl e" />
536          <xs l:call-tem plate name ="Variable s-Page-Str ing-Replac ements">   540          <xs l:call-tem plate name ="Variable s-Page-Str ing-Replac ements">
537           <x sl:with-pa ram name=" ParamVaria bles" sele ct="$VarSp litGlobalV ariables"  />   541           <x sl:with-pa ram name=" ParamVaria bles" sele ct="$VarSp litGlobalV ariables"  />
538          </x sl:call-te mplate>   542          </x sl:call-te mplate>
539         </xs l:variable >   543         </xs l:variable >
540         <xsl :variable  name="VarR eplacement s" select= "msxsl:nod e-set($Var Replacemen tsAsXML)"  />   544         <xsl :variable  name="VarR eplacement s" select= "msxsl:nod e-set($Var Replacemen tsAsXML)"  />
541     545  
542         <!--  Map commo n characte rs -->   546         <!--  Map commo n characte rs -->
543         <!--                          -->   547         <!--                          -->
544         <wwe xsldoc:Map pingContex t>   548         <wwe xsldoc:Map pingContex t>
545          <xs l:copy-of  select="$G lobalMapEn trySets/ww exsldoc:Ma pEntrySets /wwexsldoc :MapEntryS et[@name =  'common'] /wwexsldoc :MapEntry"  />   549          <xs l:copy-of  select="$G lobalMapEn trySets/ww exsldoc:Ma pEntrySets /wwexsldoc :MapEntryS et[@name =  'common'] /wwexsldoc :MapEntry"  />
546     550  
547          <!- - Invoke p age templa te -->   551          <!- - Invoke p age templa te -->
548          <!- -                        -->   552          <!- -                        -->
549          <xs l:apply-te mplates se lect="$Glo balPageTem plate" mod e="wwmode: pagetempla te">   553          <xs l:apply-te mplates se lect="$Glo balPageTem plate" mod e="wwmode: pagetempla te">
550           <x sl:with-pa ram name=" ParamOutpu tDirectory Path" sele ct="$VarOu tputDirect oryPath" / >   554           <x sl:with-pa ram name=" ParamOutpu tDirectory Path" sele ct="$VarOu tputDirect oryPath" / >
551           <x sl:with-pa ram name=" ParamOutpu tPath" sel ect="$Para mSplitsFra me/wwsplit s:Wrapper/ @path" />   555           <x sl:with-pa ram name=" ParamOutpu tPath" sel ect="$Para mSplitsFra me/wwsplit s:Wrapper/ @path" />
552           <x sl:with-pa ram name=" ParamCondi tions" sel ect="$VarC onditions"  />   556           <x sl:with-pa ram name=" ParamCondi tions" sel ect="$VarC onditions"  />
553           <x sl:with-pa ram name=" ParamRepla cements" s elect="$Va rReplaceme nts" />   557           <x sl:with-pa ram name=" ParamRepla cements" s elect="$Va rReplaceme nts" />
554          </x sl:apply-t emplates>   558          </x sl:apply-t emplates>
555         </ww exsldoc:Ma ppingConte xt>   559         </ww exsldoc:Ma ppingConte xt>
556        </xsl :for-each>   560        </xsl :for-each>
557       </xsl: for-each>   561       </xsl: for-each>
558      </xsl:v ariable>   562      </xsl:v ariable>
559     563  
560      <!-- Ab orted? -->   564      <!-- Ab orted? -->
561      <!--           -->   565      <!--           -->
562      <xsl:if  test="not (wwprogres s:Abort()) ">   566      <xsl:if  test="not (wwprogres s:Abort()) ">
563       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />   567       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />
564       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit sFrame/wws plits:Wrap per/@path,  wwprojext :GetFormat Setting('e ncoding',  'utf-8'),  'xhtml', ' 1.0', 'yes ', 'no', ' no', '-//W 3C//DTD XH TML 1.0 Tr ansitional //EN', 'ht tp://www.w 3.org/TR/x html1/DTD/ xhtml1-tra nsitional. dtd')" />   568       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit sFrame/wws plits:Wrap per/@path,  wwprojext :GetFormat Setting('e ncoding',  'utf-8'),  'xhtml', ' 1.0', 'yes ', 'no', ' no', '-//W 3C//DTD XH TML 1.0 Tr ansitional //EN', 'ht tp://www.w 3.org/TR/x html1/DTD/ xhtml1-tra nsitional. dtd')" />
565      </xsl:i f>   569      </xsl:i f>
566     </xsl:if >   570     </xsl:if >
567     571  
568     <!-- Abo rted? -->   572     <!-- Abo rted? -->
569     <!--           -->   573     <!--           -->
570     <xsl:if  test="not( wwprogress :Abort())" >   574     <xsl:if  test="not( wwprogress :Abort())" >
571      <!-- Re cord files  -->   575      <!-- Re cord files  -->
572      <!--                -->   576      <!--                -->
573      <wwfile s:File pat h="{$Param SplitsFram e/wwsplits :Wrapper/@ path}" typ e="{$Param eterType}"  checksum= "{wwfilesy stem:GetCh ecksum($Pa ramSplitsF rame/wwspl its:Wrappe r/@path)}"  projectch ecksum="{$ GlobalProj ect/wwproj ect:Projec t/@ChangeI D}" groupI D="{$Param SplitsFram e/wwsplits :Wrapper/@ groupID}"  documentID ="{$ParamS plitsFrame /wwsplits: Wrapper/@d ocumentID} " actionch ecksum="{$ GlobalActi onChecksum }" categor y="{$Param eterCatego ry}" use=" {$Paramete rUse}" dep loy="{$Par ameterDepl oy}">   577      <wwfile s:File pat h="{$Param SplitsFram e/wwsplits :Wrapper/@ path}" typ e="{$Param eterType}"  checksum= "{wwfilesy stem:GetCh ecksum($Pa ramSplitsF rame/wwspl its:Wrappe r/@path)}"  projectch ecksum="{$ GlobalProj ect/wwproj ect:Projec t/@ChangeI D}" groupI D="{$Param SplitsFram e/wwsplits :Wrapper/@ groupID}"  documentID ="{$ParamS plitsFrame /wwsplits: Wrapper/@d ocumentID} " actionch ecksum="{$ GlobalActi onChecksum }" categor y="{$Param eterCatego ry}" use=" {$Paramete rUse}" dep loy="{$Par ameterDepl oy}">
574       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />   578       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />
575       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />   579       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />
576       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />   580       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />
577       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />   581       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />
578       <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 }" />   582       <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 }" />
579       <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}" / >   583       <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}" / >
580       <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}" />   584       <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}" />
581      </wwfil es:File>   585      </wwfil es:File>
582     </xsl:if >   586     </xsl:if >
583    </xsl:tem plate>   587    </xsl:tem plate>
584   </xsl:styl esheet>   588   </xsl:styl esheet>