13. Araxis Merge File Comparison Report

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

13.1 Files compared

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

13.2 Comparison summary

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

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

13.4 Active regular expressions

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

13.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 rameterPro jectSplits Type" />   36    <xsl:para m name="Pa rameterPro jectSplits Type" />
37    <xsl:para m name="Pa rameterLin ksType" />   37    <xsl:para m name="Pa rameterLin ksType" />
38    <xsl:para m name="Pa rameterSty lesType" / >   38    <xsl:para m name="Pa rameterSty lesType" / >
39    <xsl:para m name="Pa rameterLoc aleType" / >   39    <xsl:para m name="Pa rameterLoc aleType" / >
40    <xsl:para m name="Pa rameterBeh aviorsType " />   40    <xsl:para m name="Pa rameterBeh aviorsType " />
41    <xsl:para m name="Pa rameterPro jectVariab lesType" / >   41    <xsl:para m name="Pa rameterPro jectVariab lesType" / >
42    <xsl:para m name="Pa rameterPag eTemplateU RI" />   42    <xsl:para m name="Pa rameterPag eTemplateU RI" />
43    <xsl:para m name="Pa rameterTOC DataType"  />   43    <xsl:para m name="Pa rameterTOC DataType"  />
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 rameterCHM SplitFileT ype" />   50    <xsl:para m name="Pa rameterCHM SplitFileT ype" />
51    <xsl:para m name="Pa rameterTyp e" />   51    <xsl:para m name="Pa rameterTyp e" />
52    <xsl:para m name="Pa rameterCat egory" />   52    <xsl:para m name="Pa rameterCat egory" />
53    <xsl:para m name="Pa rameterUse " />   53    <xsl:para m name="Pa rameterUse " />
54    <xsl:para m name="Pa rameterDep loy" />   54    <xsl:para m name="Pa rameterDep loy" />
55    <xsl:para m name="Pa rameterDoc umentPDFTy pe" />   55    <xsl:para m name="Pa rameterDoc umentPDFTy pe" />
56    <xsl:para m name="Pa rameterGro upPDFType"  />   56    <xsl:para m name="Pa rameterGro upPDFType"  />
57     57  
58     58  
59    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" />   59    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" />
60     60  
61     61  
62    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" />   62    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" />
63    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />   63    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />
64    <xsl:stri p-space el ements="*"  />   64    <xsl:stri p-space el ements="*"  />
65    <xsl:pres erve-space  elements= "html:scri pt" />   65    <xsl:pres erve-space  elements= "html:scri pt" />
66     66  
67     67  
68    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/>   68    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/>
69    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/>   69    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/>
70    <xsl:incl ude href=" wwtransfor m:common/b ehaviors/o ptions.xsl "/>   70    <xsl:incl ude href=" wwtransfor m:common/b ehaviors/o ptions.xsl "/>
71    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" />   71    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" />
        72    <xsl:incl ude href=" wwtransfor m:common/i mages/util ities.xsl"  />
72    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />   73    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" />
73    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />   74    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />
74    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" />   75    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" />
75    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" />   76    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" />
76    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" />   77    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" />
77    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" />   78    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" />
78    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />   79    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />
79    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />   80    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />
80    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />   81    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />
81    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />   82    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />
82     83  
83     84  
84    <xsl:key  name="wwdo c-text-by- value" mat ch="wwdoc: Text" use= "@value" / >   85    <xsl:key  name="wwdo c-text-by- value" mat ch="wwdoc: Text" use= "@value" / >
85    <xsl:key  name="html -param-by- name-value " match="h tml:PARAM"  use="conc at(@name,  ':', @valu e)" />   86    <xsl:key  name="html -param-by- name-value " match="h tml:PARAM"  use="conc at(@name,  ':', @valu e)" />
86     87  
87     88  
88    <xsl:vari able name= "GlobalAct ionChecksu m">   89    <xsl:vari able name= "GlobalAct ionChecksu m">
89     <xsl:var iable name ="VarTrans formChecks ums">   90     <xsl:var iable name ="VarTrans formChecks ums">
90      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />   91      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />
91      <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)))" / >   92      <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)))" / >
92      <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')))" / >   93      <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')))" / >
93      <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')))" / >   94      <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')))" / >
94      <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')) )" />   95      <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')) )" />
95      <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')))"  />   96      <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')))"  />
        97      <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')))"  />
96      <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' )))" />   98      <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' )))" />
97      <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')))"  />   99      <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')))"  />
98      <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' )))" />   100      <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' )))" />
99      <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' )))" />   101      <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' )))" />
100      <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' )))" />   102      <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' )))" />
101      <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')))" />   103      <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')))" />
102      <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')) )" />   104      <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')) )" />
103      <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' )))" />   105      <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' )))" />
104      <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')))" / >   106      <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')))" / >
105      <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' )))" />   107      <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' )))" />
106     </xsl:va riable>   108     </xsl:va riable>
107     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />   109     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />
108    </xsl:var iable>   110    </xsl:var iable>
109     111  
110     112  
111    <!-- Loca le -->   113    <!-- Loca le -->
112    <!--         -->   114    <!--         -->
113    <xsl:vari able name= "GlobalLoc alePath">   115    <xsl:vari able name= "GlobalLoc alePath">
114     <xsl:for -each sele ct="$Globa lFiles[1]" >   116     <xsl:for -each sele ct="$Globa lFiles[1]" >
115      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />   117      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />
116     </xsl:fo r-each>   118     </xsl:fo r-each>
117    </xsl:var iable>   119    </xsl:var iable>
118    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />   120    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />
119     121  
120     122  
121    <!-- Mapp ing Entry  Sets -->   123    <!-- Mapp ing Entry  Sets -->
122    <!--                      -->   124    <!--                      -->
123    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />   125    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:html/ma pentrysets .xml')" />
124    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />   126    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" />
125     127  
126     128  
127    <!-- Page  Template  -->   129    <!-- Page  Template  -->
128    <!--                 -->   130    <!--                 -->
129    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />   131    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />
130    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />   132    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />
131     133  
132     134  
133    <!-- Proj ect Splits  -->   135    <!-- Proj ect Splits  -->
134    <!--                  -->   136    <!--                  -->
135    <xsl:vari able name= "GlobalPro jectSplits Path">   137    <xsl:vari able name= "GlobalPro jectSplits Path">
136     <xsl:for -each sele ct="$Globa lFiles[1]" >   138     <xsl:for -each sele ct="$Globa lFiles[1]" >
137      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tSplitsTyp e)[1]/@pat h" />   139      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tSplitsTyp e)[1]/@pat h" />
138     </xsl:fo r-each>   140     </xsl:fo r-each>
139    </xsl:var iable>   141    </xsl:var iable>
140    <xsl:vari able name= "GlobalPro jectSplits " select=" wwexsldoc: LoadXMLWit houtResolv er($Global ProjectSpl itsPath)"  />   142    <xsl:vari able name= "GlobalPro jectSplits " select=" wwexsldoc: LoadXMLWit houtResolv er($Global ProjectSpl itsPath)"  />
141     143  
142     144  
143    <!-- Proj ect variab les -->   145    <!-- Proj ect variab les -->
144    <!--                     -->   146    <!--                     -->
145    <xsl:vari able name= "GlobalPro jectVariab lesPath">   147    <xsl:vari able name= "GlobalPro jectVariab lesPath">
146     <xsl:for -each sele ct="$Globa lFiles[1]" >   148     <xsl:for -each sele ct="$Globa lFiles[1]" >
147      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />   149      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" />
148     </xsl:fo r-each>   150     </xsl:fo r-each>
149    </xsl:var iable>   151    </xsl:var iable>
150    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />   152    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" />
151     153  
152     154  
153    <xsl:temp late match ="/">   155    <xsl:temp late match ="/">
154     <wwfiles :Files ver sion="1.0" >   156     <wwfiles :Files ver sion="1.0" >
155     157  
156      <xsl:ca ll-templat e name="Do cumentsPag es">   158      <xsl:ca ll-templat e name="Do cumentsPag es">
157       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />   159       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />
158       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />   160       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />
159       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />   161       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />
160       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />   162       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />
161       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />   163       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" />
162       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />   164       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" />
163       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >   165       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / >
164       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />   166       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" />
165      </xsl:c all-templa te>   167      </xsl:c all-templa te>
166     168  
167     </wwfile s:Files>   169     </wwfile s:Files>
168    </xsl:tem plate>   170    </xsl:tem plate>
169     171  
170     172  
171    <xsl:temp late name= "SplitOnSe micolon">   173    <xsl:temp late name= "SplitOnSe micolon">
172     <xsl:par am name="P aramString " />   174     <xsl:par am name="P aramString " />
173     175  
174     <xsl:cho ose>   176     <xsl:cho ose>
175      <xsl:wh en test="c ontains($P aramString , ';')">   177      <xsl:wh en test="c ontains($P aramString , ';')">
176       <xsl:v ariable na me="VarPre fix" selec t="substri ng-before( $ParamStri ng, ';')"  />   178       <xsl:v ariable na me="VarPre fix" selec t="substri ng-before( $ParamStri ng, ';')"  />
177       <xsl:v ariable na me="VarSuf fix" selec t="substri ng-after($ ParamStrin g, ';')" / >   179       <xsl:v ariable na me="VarSuf fix" selec t="substri ng-after($ ParamStrin g, ';')" / >
178     180  
179       <xsl:c all-templa te name="S plitOnSemi colon">   181       <xsl:c all-templa te name="S plitOnSemi colon">
180        <xsl: with-param  name="Par amString"  select="$V arPrefix"  />   182        <xsl: with-param  name="Par amString"  select="$V arPrefix"  />
181       </xsl: call-templ ate>   183       </xsl: call-templ ate>
182       <xsl:c all-templa te name="S plitOnSemi colon">   184       <xsl:c all-templa te name="S plitOnSemi colon">
183        <xsl: with-param  name="Par amString"  select="$V arSuffix"  />   185        <xsl: with-param  name="Par amString"  select="$V arSuffix"  />
184       </xsl: call-templ ate>   186       </xsl: call-templ ate>
185      </xsl:w hen>   187      </xsl:w hen>
186     188  
187      <xsl:ot herwise>   189      <xsl:ot herwise>
188       <xsl:v ariable na me="VarNor malizedStr ing" selec t="normali ze-space($ ParamStrin g)" />   190       <xsl:v ariable na me="VarNor malizedStr ing" selec t="normali ze-space($ ParamStrin g)" />
189     191  
190       <xsl:i f test="st ring-lengt h($VarNorm alizedStri ng) &gt; 0 ">   192       <xsl:i f test="st ring-lengt h($VarNorm alizedStri ng) &gt; 0 ">
191        <wwdo c:Text val ue="{$VarN ormalizedS tring}" />   193        <wwdo c:Text val ue="{$VarN ormalizedS tring}" />
192       </xsl: if>   194       </xsl: if>
193      </xsl:o therwise>   195      </xsl:o therwise>
194     </xsl:ch oose>   196     </xsl:ch oose>
195    </xsl:tem plate>   197    </xsl:tem plate>
196     198  
197     199  
198    <xsl:temp late name= "ProcessAL inkMarker" >   200    <xsl:temp late name= "ProcessAL inkMarker" >
199     <xsl:par am name="P aramMarker " />   201     <xsl:par am name="P aramMarker " />
200     <xsl:par am name="P aramMarker Type" />   202     <xsl:par am name="P aramMarker Type" />
201     203  
202     <xsl:if  test="star ts-with($P aramMarker Type, 'ali nk-')">   204     <xsl:if  test="star ts-with($P aramMarker Type, 'ali nk-')">
203      <xsl:va riable nam e="VarMark erText">   205      <xsl:va riable nam e="VarMark erText">
204       <xsl:f or-each se lect="$Par amMarker/w wdoc:TextR un/wwdoc:T ext">   206       <xsl:f or-each se lect="$Par amMarker/w wdoc:TextR un/wwdoc:T ext">
205        <xsl: value-of s elect="@va lue" />   207        <xsl: value-of s elect="@va lue" />
206       </xsl: for-each>   208       </xsl: for-each>
207      </xsl:v ariable>   209      </xsl:v ariable>
208      <xsl:va riable nam e="VarNorm alizedMark erText" se lect="norm alize-spac e($VarMark erText)" / >   210      <xsl:va riable nam e="VarNorm alizedMark erText" se lect="norm alize-spac e($VarMark erText)" / >
209     211  
210      <xsl:ch oose>   212      <xsl:ch oose>
211       <xsl:w hen test=" ($ParamMar kerType =  'alink-key words') or  ($ParamMa rkerType =  'alink-li nk-keyword s')">   213       <xsl:w hen test=" ($ParamMar kerType =  'alink-key words') or  ($ParamMa rkerType =  'alink-li nk-keyword s')">
212        <xsl: variable n ame="VarSp litOnSemic olonAsXML" >   214        <xsl: variable n ame="VarSp litOnSemic olonAsXML" >
213         <xsl :call-temp late name= "SplitOnSe micolon">   215         <xsl :call-temp late name= "SplitOnSe micolon">
214          <xs l:with-par am name="P aramString " select=" $VarNormal izedMarker Text" />   216          <xs l:with-par am name="P aramString " select=" $VarNormal izedMarker Text" />
215         </xs l:call-tem plate>   217         </xs l:call-tem plate>
216        </xsl :variable>   218        </xsl :variable>
217        <xsl: variable n ame="VarSp litOnSemic olon" sele ct="msxsl: node-set($ VarSplitOn SemicolonA sXML)/*" / >   219        <xsl: variable n ame="VarSp litOnSemic olon" sele ct="msxsl: node-set($ VarSplitOn SemicolonA sXML)/*" / >
218     220  
219        <xsl: choose>   221        <xsl: choose>
220         <xsl :when test ="$ParamMa rkerType =  'alink-ke ywords'">   222         <xsl :when test ="$ParamMa rkerType =  'alink-ke ywords'">
221          <xs l:for-each  select="$ VarSplitOn Semicolon" >   223          <xs l:for-each  select="$ VarSplitOn Semicolon" >
222           <x sl:variabl e name="Va rText" sel ect="." />   224           <x sl:variabl e name="Va rText" sel ect="." />
223     225  
224           <x sl:if test ="string-l ength($Var Text/@valu e) &gt; 0" >   226           <x sl:if test ="string-l ength($Var Text/@valu e) &gt; 0" >
225            < xsl:if tes t="count($ VarText |  key('wwdoc -text-by-v alue', $Va rText/@val ue)[1]) =  1">   227            < xsl:if tes t="count($ VarText |  key('wwdoc -text-by-v alue', $Va rText/@val ue)[1]) =  1">
226              <html:PARA M name="AL ink Name"  value="{$V arText/@va lue}" />   228              <html:PARA M name="AL ink Name"  value="{$V arText/@va lue}" />
227            < /xsl:if>   229            < /xsl:if>
228           </ xsl:if>   230           </ xsl:if>
229          </x sl:for-eac h>   231          </x sl:for-eac h>
230         </xs l:when>   232         </xs l:when>
231     233  
232         <xsl :when test ="$ParamMa rkerType =  'alink-li nk-keyword s'">   234         <xsl :when test ="$ParamMa rkerType =  'alink-li nk-keyword s'">
233          <xs l:for-each  select="$ VarSplitOn Semicolon" >   235          <xs l:for-each  select="$ VarSplitOn Semicolon" >
234           <x sl:variabl e name="Va rText" sel ect="." />   236           <x sl:variabl e name="Va rText" sel ect="." />
235     237  
236           <x sl:if test ="string-l ength($Var Text/@valu e) &gt; 0" >   238           <x sl:if test ="string-l ength($Var Text/@valu e) &gt; 0" >
237            < xsl:if tes t="count($ VarText |  key('wwdoc -text-by-v alue', $Va rText/@val ue)[1]) =  1">   239            < xsl:if tes t="count($ VarText |  key('wwdoc -text-by-v alue', $Va rText/@val ue)[1]) =  1">
238              <html:PARA M name="It em" value= "{$VarText /@value}"  />   240              <html:PARA M name="It em" value= "{$VarText /@value}"  />
239            < /xsl:if>   241            < /xsl:if>
240           </ xsl:if>   242           </ xsl:if>
241          </x sl:for-eac h>   243          </x sl:for-eac h>
242         </xs l:when>   244         </xs l:when>
243        </xsl :choose>   245        </xsl :choose>
244       </xsl: when>   246       </xsl: when>
245     247  
246       <xsl:w hen test=" $ParamMark erType = ' alink-link -display-t ype'">   248       <xsl:w hen test=" $ParamMark erType = ' alink-link -display-t ype'">
247        <xsl: choose>   249        <xsl: choose>
248         <xsl :when test ="wwstring :ToLower($ VarNormali zedMarkerT ext) = 'me nu'">   250         <xsl :when test ="wwstring :ToLower($ VarNormali zedMarkerT ext) = 'me nu'">
249          <ht ml:PARAM n ame="Comma nd" value= "ALink, ME NU" />   251          <ht ml:PARAM n ame="Comma nd" value= "ALink, ME NU" />
250         </xs l:when>   252         </xs l:when>
251     253  
252         <xsl :otherwise >   254         <xsl :otherwise >
253          <ht ml:PARAM n ame="Comma nd" value= "ALink" />   255          <ht ml:PARAM n ame="Comma nd" value= "ALink" />
254         </xs l:otherwis e>   256         </xs l:otherwis e>
255        </xsl :choose>   257        </xsl :choose>
256       </xsl: when>   258       </xsl: when>
257     259  
258       <xsl:w hen test=" $ParamMark erType = ' alink-link -window-ty pe'">   260       <xsl:w hen test=" $ParamMark erType = ' alink-link -window-ty pe'">
259        <xsl: if test="s tring-leng th($VarNor malizedMar kerText) & gt; 0">   261        <xsl: if test="s tring-leng th($VarNor malizedMar kerText) & gt; 0">
260         <htm l:PARAM na me="Window " value="{ $VarNormal izedMarker Text}" />   262         <htm l:PARAM na me="Window " value="{ $VarNormal izedMarker Text}" />
261        </xsl :if>   263        </xsl :if>
262       </xsl: when>   264       </xsl: when>
263      </xsl:c hoose>   265      </xsl:c hoose>
264     </xsl:if >   266     </xsl:if >
265    </xsl:tem plate>   267    </xsl:tem plate>
266     268  
267     269  
268    <xsl:temp late name= "ALinkKeyw ords">   270    <xsl:temp late name= "ALinkKeyw ords">
269     <xsl:par am name="P aramKeywor dsMarkers"  />   271     <xsl:par am name="P aramKeywor dsMarkers"  />
270     272  
271     <xsl:var iable name ="VarALink KeywordsWi thDuplicat esAsXML">   273     <xsl:var iable name ="VarALink KeywordsWi thDuplicat esAsXML">
272      <xsl:fo r-each sel ect="$Para mKeywordsM arkers">   274      <xsl:fo r-each sel ect="$Para mKeywordsM arkers">
273       <xsl:v ariable na me="VarKey wordsMarke r" select= "." />   275       <xsl:v ariable na me="VarKey wordsMarke r" select= "." />
274     276  
275       <xsl:c all-templa te name="P rocessALin kMarker">   277       <xsl:c all-templa te name="P rocessALin kMarker">
276        <xsl: with-param  name="Par amMarker"  select="$V arKeywords Marker" />   278        <xsl: with-param  name="Par amMarker"  select="$V arKeywords Marker" />
277        <xsl: with-param  name="Par amMarkerTy pe" select ="'alink-k eywords'"  />   279        <xsl: with-param  name="Par amMarkerTy pe" select ="'alink-k eywords'"  />
278       </xsl: call-templ ate>   280       </xsl: call-templ ate>
279      </xsl:f or-each>   281      </xsl:f or-each>
280     </xsl:va riable>   282     </xsl:va riable>
281     <xsl:var iable name ="VarALink KeywordsWi thDuplicat es" select ="msxsl:no de-set($Va rALinkKeyw ordsWithDu plicatesAs XML)/*" />   283     <xsl:var iable name ="VarALink KeywordsWi thDuplicat es" select ="msxsl:no de-set($Va rALinkKeyw ordsWithDu plicatesAs XML)/*" />
282     284  
283     <xsl:for -each sele ct="$VarAL inkKeyword sWithDupli cates">   285     <xsl:for -each sele ct="$VarAL inkKeyword sWithDupli cates">
284      <xsl:va riable nam e="VarPara mElement"  select="."  />   286      <xsl:va riable nam e="VarPara mElement"  select="."  />
285     287  
286      <xsl:if  test="cou nt($VarPar amElement  | key('htm l-param-by -name-valu e', concat ($VarParam Element/@n ame, ':',  $VarParamE lement/@va lue))[1])  = 1">   288      <xsl:if  test="cou nt($VarPar amElement  | key('htm l-param-by -name-valu e', concat ($VarParam Element/@n ame, ':',  $VarParamE lement/@va lue))[1])  = 1">
287       <xsl:c opy-of sel ect="$VarP aramElemen t" />   289       <xsl:c opy-of sel ect="$VarP aramElemen t" />
288      </xsl:i f>   290      </xsl:i f>
289     </xsl:fo r-each>   291     </xsl:fo r-each>
290    </xsl:tem plate>   292    </xsl:tem plate>
291     293  
292     294  
293    <xsl:temp late name= "ALinkObje ct">   295    <xsl:temp late name= "ALinkObje ct">
294     <xsl:par am name="P aramID" />   296     <xsl:par am name="P aramID" />
295     <xsl:par am name="P aramMarker s" />   297     <xsl:par am name="P aramMarker s" />
296     298  
297     <xsl:var iable name ="VarALink ParamsAsXM L">   299     <xsl:var iable name ="VarALink ParamsAsXM L">
298      <xsl:fo r-each sel ect="$Para mMarkers">   300      <xsl:fo r-each sel ect="$Para mMarkers">
299       <xsl:v ariable na me="VarMar ker" selec t="." />   301       <xsl:v ariable na me="VarMar ker" selec t="." />
300     302  
301       <xsl:v ariable na me="VarMar kerRule" s elect="wwp rojext:Get Rule('Mark er', $VarM arker/@nam e)" />   303       <xsl:v ariable na me="VarMar kerRule" s elect="wwp rojext:Get Rule('Mark er', $VarM arker/@nam e)" />
302       <xsl:v ariable na me="VarMar kerType" s elect="$Va rMarkerRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'mark er-type']/ @Value" />   304       <xsl:v ariable na me="VarMar kerType" s elect="$Va rMarkerRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'mark er-type']/ @Value" />
303     305  
304       <xsl:c all-templa te name="P rocessALin kMarker">   306       <xsl:c all-templa te name="P rocessALin kMarker">
305        <xsl: with-param  name="Par amMarker"  select="$V arMarker"  />   307        <xsl: with-param  name="Par amMarker"  select="$V arMarker"  />
306        <xsl: with-param  name="Par amMarkerTy pe" select ="$VarMark erType" />   308        <xsl: with-param  name="Par amMarkerTy pe" select ="$VarMark erType" />
307       </xsl: call-templ ate>   309       </xsl: call-templ ate>
308      </xsl:f or-each>   310      </xsl:f or-each>
309     </xsl:va riable>   311     </xsl:va riable>
310     <xsl:var iable name ="VarALink Params" se lect="msxs l:node-set ($VarALink ParamsAsXM L)/*" />   312     <xsl:var iable name ="VarALink Params" se lect="msxs l:node-set ($VarALink ParamsAsXM L)/*" />
311     313  
312     <xsl:var iable name ="VarParam Items" sel ect="$VarA LinkParams [@name = ' Item']" />   314     <xsl:var iable name ="VarParam Items" sel ect="$VarA LinkParams [@name = ' Item']" />
313     <xsl:for -each sele ct="$VarPa ramItems[1 ]">   315     <xsl:for -each sele ct="$VarPa ramItems[1 ]">
314      <html:O BJECT id=" {$ParamID} " type="ap plication/ x-oleobjec t" classid ="clsid:ad b880a6-d8f f-11cf-937 7-00aa003b 7a11" code base="hhct rl.ocx#Ver sion=4,74, 8793,0">   316      <html:O BJECT id=" {$ParamID} " type="ap plication/ x-oleobjec t" classid ="clsid:ad b880a6-d8f f-11cf-937 7-00aa003b 7a11" code base="hhct rl.ocx#Ver sion=4,74, 8793,0">
315       <xsl:v ariable na me="VarPar amCommands " select=" $VarALinkP arams[@nam e = 'Comma nd']" />   317       <xsl:v ariable na me="VarPar amCommands " select=" $VarALinkP arams[@nam e = 'Comma nd']" />
316       <xsl:c hoose>   318       <xsl:c hoose>
317        <xsl: when test= "count($Va rParamComm ands[1]) =  1">   319        <xsl: when test= "count($Va rParamComm ands[1]) =  1">
318         <xsl :copy-of s elect="$Va rParamComm ands[posit ion() = la st()]" />   320         <xsl :copy-of s elect="$Va rParamComm ands[posit ion() = la st()]" />
319        </xsl :when>   321        </xsl :when>
320     322  
321        <xsl: otherwise>   323        <xsl: otherwise>
322         <htm l:PARAM na me="Comman d" value=" ALink" />   324         <htm l:PARAM na me="Comman d" value=" ALink" />
323        </xsl :otherwise >   325        </xsl :otherwise >
324       </xsl: choose>   326       </xsl: choose>
325     327  
326       <xsl:v ariable na me="VarPar amWindows"  select="$ VarALinkPa rams[@name  = 'Window ']" />   328       <xsl:v ariable na me="VarPar amWindows"  select="$ VarALinkPa rams[@name  = 'Window ']" />
327       <xsl:f or-each se lect="$Var ParamWindo ws[1]">   329       <xsl:f or-each se lect="$Var ParamWindo ws[1]">
328        <xsl: copy-of se lect="$Var ParamWindo ws[positio n() = last ()]" />   330        <xsl: copy-of se lect="$Var ParamWindo ws[positio n() = last ()]" />
329       </xsl: for-each>   331       </xsl: for-each>
330     332  
331       <xsl:v ariable na me="VarUni queParamIt emsAsXML">   333       <xsl:v ariable na me="VarUni queParamIt emsAsXML">
332        <xsl: for-each s elect="$Va rParamItem s">   334        <xsl: for-each s elect="$Va rParamItem s">
333         <xsl :variable  name="VarP aramItem"  select="."  />   335         <xsl :variable  name="VarP aramItem"  select="."  />
334     336  
335         <xsl :if test=" count($Var ParamItem  | key('htm l-param-by -name-valu e', concat ($VarParam Item/@name , ':', $Va rParamItem /@value))[ 1]) = 1">   337         <xsl :if test=" count($Var ParamItem  | key('htm l-param-by -name-valu e', concat ($VarParam Item/@name , ':', $Va rParamItem /@value))[ 1]) = 1">
336          <xs l:copy-of  select="$V arParamIte m" />   338          <xs l:copy-of  select="$V arParamIte m" />
337         </xs l:if>   339         </xs l:if>
338        </xsl :for-each>   340        </xsl :for-each>
339       </xsl: variable>   341       </xsl: variable>
340       <xsl:v ariable na me="VarUni queParamIt ems" selec t="msxsl:n ode-set($V arUniquePa ramItemsAs XML)/*" />   342       <xsl:v ariable na me="VarUni queParamIt ems" selec t="msxsl:n ode-set($V arUniquePa ramItemsAs XML)/*" />
341     343  
342       <html: PARAM name ="Item1" v alue="" />   344       <html: PARAM name ="Item1" v alue="" />
343       <xsl:f or-each se lect="$Var UniquePara mItems">   345       <xsl:f or-each se lect="$Var UniquePara mItems">
344        <xsl: variable n ame="VarPa ramItem" s elect="."  />   346        <xsl: variable n ame="VarPa ramItem" s elect="."  />
345     347  
346        <html :PARAM nam e="{concat ('Item', p osition()  + 1)}" val ue="{$VarP aramItem/@ value}" />   348        <html :PARAM nam e="{concat ('Item', p osition()  + 1)}" val ue="{$VarP aramItem/@ value}" />
347       </xsl: for-each>   349       </xsl: for-each>
348      </html: OBJECT>   350      </html: OBJECT>
349     </xsl:fo r-each>   351     </xsl:fo r-each>
350    </xsl:tem plate>   352    </xsl:tem plate>
351     353  
352     354  
353    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:alinks">   355    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:alinks">
354     <xsl:par am name="P aramParagr aph" selec t="." />   356     <xsl:par am name="P aramParagr aph" selec t="." />
355     <xsl:par am name="P aramSplit"  />   357     <xsl:par am name="P aramSplit"  />
356     <xsl:par am name="P aramProces sALinks" / >   358     <xsl:par am name="P aramProces sALinks" / >
357     359  
358     <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ('Paragrap h', $Param Paragraph/ @stylename , $ParamSp lit/@docum entID, $Pa ramParagra ph/@id)" / >   360     <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ('Paragrap h', $Param Paragraph/ @stylename , $ParamSp lit/@docum entID, $Pa ramParagra ph/@id)" / >
359     <xsl:var iable name ="VarALink Option" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'alin k']/@Value " />   361     <xsl:var iable name ="VarALink Option" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'alin k']/@Value " />
360     <xsl:var iable name ="VarALink " select=" $VarALinkO ption = 't rue'" />   362     <xsl:var iable name ="VarALink " select=" $VarALinkO ption = 't rue'" />
361     363  
362     <xsl:if  test="$Var ALink">   364     <xsl:if  test="$Var ALink">
363      <xsl:ca ll-templat e name="AL inkObject" >   365      <xsl:ca ll-templat e name="AL inkObject" >
364       <xsl:w ith-param  name="Para mID" selec t="concat( 'ALink_',  translate( $ParamPara graph/@id,  '-', '_') )" />   366       <xsl:w ith-param  name="Para mID" selec t="concat( 'ALink_',  translate( $ParamPara graph/@id,  '-', '_') )" />
365       <xsl:w ith-param  name="Para mMarkers"  select="$P aramParagr aph/wwdoc: TextRun/ww doc:Marker " />   367       <xsl:w ith-param  name="Para mMarkers"  select="$P aramParagr aph/wwdoc: TextRun/ww doc:Marker " />
366      </xsl:c all-templa te>   368      </xsl:c all-templa te>
367     </xsl:if >   369     </xsl:if >
368     370  
369     <!-- Rec urse -->   371     <!-- Rec urse -->
370     <!--          -->   372     <!--          -->
371     <xsl:app ly-templat es select= "$ParamPar agraph/*"  mode="wwmo de:alinks" >   373     <xsl:app ly-templat es select= "$ParamPar agraph/*"  mode="wwmo de:alinks" >
372      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />   374      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />
373      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="not($Va rALink)" / >   375      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="not($Va rALink)" / >
374     </xsl:ap ply-templa tes>   376     </xsl:ap ply-templa tes>
375    </xsl:tem plate>   377    </xsl:tem plate>
376     378  
377     379  
378    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: alinks">   380    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: alinks">
379     <xsl:par am name="P aramTextRu n" select= "." />   381     <xsl:par am name="P aramTextRu n" select= "." />
380     <xsl:par am name="P aramSplit"  />   382     <xsl:par am name="P aramSplit"  />
381     <xsl:par am name="P aramProces sALinks" / >   383     <xsl:par am name="P aramProces sALinks" / >
382     384  
383     <!-- Par agraph may  have alre ady handle d this ALi nk -->   385     <!-- Par agraph may  have alre ady handle d this ALi nk -->
384     <!--                                                    -->   386     <!--                                                    -->
385     <xsl:if  test="$Par amProcessA Links">   387     <xsl:if  test="$Par amProcessA Links">
386      <xsl:va riable nam e="VarCont extRule" s elect="wwp rojext:Get ContextRul e('Charact er', $Para mTextRun/@ stylename,  $ParamSpl it/@docume ntID, $Par amTextRun/ @id)" />   388      <xsl:va riable nam e="VarCont extRule" s elect="wwp rojext:Get ContextRul e('Charact er', $Para mTextRun/@ stylename,  $ParamSpl it/@docume ntID, $Par amTextRun/ @id)" />
387      <xsl:va riable nam e="VarALin kOption" s elect="$Va rContextRu le/wwproje ct:Options /wwproject :Option[@N ame = 'ali nk']/@Valu e" />   389      <xsl:va riable nam e="VarALin kOption" s elect="$Va rContextRu le/wwproje ct:Options /wwproject :Option[@N ame = 'ali nk']/@Valu e" />
388      <xsl:va riable nam e="VarALin k" select= "$VarALink Option = ' true'" />   390      <xsl:va riable nam e="VarALin k" select= "$VarALink Option = ' true'" />
389     391  
390      <xsl:if  test="$Va rALink">   392      <xsl:if  test="$Va rALink">
391       <xsl:c all-templa te name="A LinkObject ">   393       <xsl:c all-templa te name="A LinkObject ">
392        <xsl: with-param  name="Par amID" sele ct="concat ('ALink_',  translate ($ParamTex tRun/@id,  '-', '_')) " />   394        <xsl: with-param  name="Par amID" sele ct="concat ('ALink_',  translate ($ParamTex tRun/@id,  '-', '_')) " />
393        <xsl: with-param  name="Par amMarkers"  select="$ ParamTextR un/wwdoc:M arker" />   395        <xsl: with-param  name="Par amMarkers"  select="$ ParamTextR un/wwdoc:M arker" />
394       </xsl: call-templ ate>   396       </xsl: call-templ ate>
395      </xsl:i f>   397      </xsl:i f>
396     </xsl:if >   398     </xsl:if >
397     399  
398     <!-- Rec urse -->   400     <!-- Rec urse -->
399     <!--          -->   401     <!--          -->
400     <xsl:app ly-templat es select= "$ParamTex tRun/*" mo de="wwmode :alinks">   402     <xsl:app ly-templat es select= "$ParamTex tRun/*" mo de="wwmode :alinks">
401      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />   403      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />
402      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="$ParamP rocessALin ks" />   404      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="$ParamP rocessALin ks" />
403     </xsl:ap ply-templa tes>   405     </xsl:ap ply-templa tes>
404    </xsl:tem plate>   406    </xsl:tem plate>
405     407  
406     408  
407    <xsl:temp late match ="*" mode= "wwmode:al inks">   409    <xsl:temp late match ="*" mode= "wwmode:al inks">
408     <xsl:par am name="P aramNode"  select="."  />   410     <xsl:par am name="P aramNode"  select="."  />
409     <xsl:par am name="P aramSplit"  />   411     <xsl:par am name="P aramSplit"  />
410     <xsl:par am name="P aramProces sALinks" / >   412     <xsl:par am name="P aramProces sALinks" / >
411     413  
412     <!-- Rec urse -->   414     <!-- Rec urse -->
413     <!--          -->   415     <!--          -->
414     <xsl:app ly-templat es select= "$ParamNod e/*" mode= "wwmode:al inks">   416     <xsl:app ly-templat es select= "$ParamNod e/*" mode= "wwmode:al inks">
415      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />   417      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />
416      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="$ParamP rocessALin ks" />   418      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="$ParamP rocessALin ks" />
417     </xsl:ap ply-templa tes>   419     </xsl:ap ply-templa tes>
418    </xsl:tem plate>   420    </xsl:tem plate>
419     421  
420     422  
421    <xsl:temp late name= "ALinkLink s">   423    <xsl:temp late name= "ALinkLink s">
422     <xsl:par am name="P aramConten t" />   424     <xsl:par am name="P aramConten t" />
423     <xsl:par am name="P aramSplit"  />   425     <xsl:par am name="P aramSplit"  />
424     426  
425     <xsl:app ly-templat es select= "$ParamCon tent" mode ="wwmode:a links">   427     <xsl:app ly-templat es select= "$ParamCon tent" mode ="wwmode:a links">
426      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />   428      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" />
427      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="true()"  />   429      <xsl:wi th-param n ame="Param ProcessALi nks" selec t="true()"  />
428     </xsl:ap ply-templa tes>   430     </xsl:ap ply-templa tes>
429    </xsl:tem plate>   431    </xsl:tem plate>
430     432  
431     433  
432    <xsl:temp late name= "Page">   434    <xsl:temp late name= "Page">
433     <xsl:par am name="P aramFilesS plits" />   435     <xsl:par am name="P aramFilesS plits" />
434     <xsl:par am name="P aramSplits " />   436     <xsl:par am name="P aramSplits " />
435     <xsl:par am name="P aramBehavi orsFile" / >   437     <xsl:par am name="P aramBehavi orsFile" / >
436     <xsl:par am name="P aramBehavi ors" />   438     <xsl:par am name="P aramBehavi ors" />
437     <xsl:par am name="P aramLinks"  />   439     <xsl:par am name="P aramLinks"  />
438     <xsl:par am name="P aramTOCDat a" />   440     <xsl:par am name="P aramTOCDat a" />
439     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />   441     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />
440     <xsl:par am name="P aramFilesD ocumentNod e" />   442     <xsl:par am name="P aramFilesD ocumentNod e" />
441     <xsl:par am name="P aramSplit"  />   443     <xsl:par am name="P aramSplit"  />
442     <xsl:par am name="P aramDocume nt" />   444     <xsl:par am name="P aramDocume nt" />
443     <xsl:par am name="P aramConten t" />   445     <xsl:par am name="P aramConten t" />
444     446  
445     <!-- Out put -->   447     <!-- Out put -->
446     <!--         -->   448     <!--         -->
447     <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)" />   449     <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)" />
448     <xsl:if  test="not( $VarUpToDa te)">   450     <xsl:if  test="not( $VarUpToDa te)">
449      <xsl:va riable nam e="VarResu ltAsXML">   451      <xsl:va riable nam e="VarResu ltAsXML">
450       <!-- O utput dire ctory path  -->   452       <!-- O utput dire ctory path  -->
451       <!--                          -->   453       <!--                          -->
452       <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))" />   454       <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))" />
453     455  
454       <!-- P age Rule - ->   456       <!-- P age Rule - ->
455       <!--            - ->   457       <!--            - ->
456       <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page',  $ParamSpl it/@stylen ame)" />   458       <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page',  $ParamSpl it/@stylen ame)" />
457     459  
458       <!-- B ehaviors f or this sp lit -->   460       <!-- B ehaviors f or this sp lit -->
459       <!--                             -->   461       <!--                             -->
460       <xsl:v ariable na me="VarSpl itBehavior s" select= "$ParamBeh aviors/wwb ehaviors:B ehaviors/w wbehaviors :Split[@id  = $ParamS plit/@id]"  />   462       <xsl:v ariable na me="VarSpl itBehavior s" select= "$ParamBeh aviors/wwb ehaviors:B ehaviors/w wbehaviors :Split[@id  = $ParamS plit/@id]"  />
461     463  
462       <!-- A -Link Keyw ords -->   464       <!-- A -Link Keyw ords -->
463       <!--                   -->   465       <!--                   -->
464       <xsl:v ariable na me="VarALi nkKeywords AsXML">   466       <xsl:v ariable na me="VarALi nkKeywords AsXML">
465        <xsl: call-templ ate name=" ALinkKeywo rds">   467        <xsl: call-templ ate name=" ALinkKeywo rds">
466         <xsl :with-para m name="Pa ramKeyword sMarkers"  select="$V arSplitBeh aviors//ww behaviors: Marker[@be havior = ' alink-keyw ords']/wwd oc:Marker"  />   468         <xsl :with-para m name="Pa ramKeyword sMarkers"  select="$V arSplitBeh aviors//ww behaviors: Marker[@be havior = ' alink-keyw ords']/wwd oc:Marker"  />
467        </xsl :call-temp late>   469        </xsl :call-temp late>
468       </xsl: variable>   470       </xsl: variable>
469       <xsl:v ariable na me="VarALi nkKeywords " select=" msxsl:node -set($VarA LinkKeywor dsAsXML)/* " />   471       <xsl:v ariable na me="VarALi nkKeywords " select=" msxsl:node -set($VarA LinkKeywor dsAsXML)/* " />
470     472  
471       <!-- A -Link Link s -->   473       <!-- A -Link Link s -->
472       <!--                -->   474       <!--                -->
473       <xsl:v ariable na me="VarALi nkLinksAsX ML">   475       <xsl:v ariable na me="VarALi nkLinksAsX ML">
474        <xsl: call-templ ate name=" ALinkLinks ">   476        <xsl: call-templ ate name=" ALinkLinks ">
475         <xsl :with-para m name="Pa ramContent " select=" $ParamCont ent" />   477         <xsl :with-para m name="Pa ramContent " select=" $ParamCont ent" />
476         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  />   478         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  />
477        </xsl :call-temp late>   479        </xsl :call-temp late>
478       </xsl: variable>   480       </xsl: variable>
479       <xsl:v ariable na me="VarALi nkLinks" s elect="msx sl:node-se t($VarALin kLinksAsXM L)/*" />   481       <xsl:v ariable na me="VarALi nkLinks" s elect="msx sl:node-se t($VarALin kLinksAsXM L)/*" />
480     482  
481       <!-- S plit files  -->   483       <!-- S plit files  -->
482       <!--               -->   484       <!--               -->
483       <xsl:f or-each se lect="$Par amSplits[1 ]">   485       <xsl:f or-each se lect="$Par amSplits[1 ]">
484        <!--  TOC -->   486        <!--  TOC -->
485        <!--      -->   487        <!--      -->
486        <xsl: variable n ame="VarTO CSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" />   488        <xsl: variable n ame="VarTO CSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" />
487     489  
488        <!--  Index -->   490        <!--  Index -->
489        <!--        -->   491        <!--        -->
490        <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]" / >   492        <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]" / >
491     493  
492        <!--  Previous - ->   494        <!--  Previous - ->
493        <!--           - ->   495        <!--           - ->
494        <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]"  />   496        <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]"  />
495        <xsl: variable n ame="VarPr eviousSpli t" select= "($VarPoss iblePrevio usSplits[c ount($VarP ossiblePre viousSplit s) = 1])"  />   497        <xsl: variable n ame="VarPr eviousSpli t" select= "($VarPoss iblePrevio usSplits[c ount($VarP ossiblePre viousSplit s) = 1])"  />
496     498  
497        <!--  Next -->   499        <!--  Next -->
498        <!--       -->   500        <!--       -->
499        <xsl: variable n ame="VarPo ssibleNext Splits" se lect="$Par amSplit/fo llowing-si bling::wws plits:Spli t[1]" />   501        <xsl: variable n ame="VarPo ssibleNext Splits" se lect="$Par amSplit/fo llowing-si bling::wws plits:Spli t[1]" />
500        <xsl: variable n ame="VarNe xtSplit" s elect="($V arPossible NextSplits [count($Va rPossibleN extSplits)  = 1])" />   502        <xsl: variable n ame="VarNe xtSplit" s elect="($V arPossible NextSplits [count($Va rPossibleN extSplits)  = 1])" />
501     503  
502        <!--  Skip Navig ation Link  -->   504        <!--  Skip Navig ation Link  -->
503        <!--                         -->   505        <!--                         -->
504        <xsl: variable n ame="VarSk ipNavigati onURI">   506        <xsl: variable n ame="VarSk ipNavigati onURI">
505         <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'">   507         <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'">
506          <xs l:text>#</ xsl:text>   508          <xs l:text>#</ xsl:text>
507          <xs l:value-of  select="$ ParamSplit /@id" />   509          <xs l:value-of  select="$ ParamSplit /@id" />
508         </xs l:if>   510         </xs l:if>
509        </xsl :variable>   511        </xsl :variable>
510     512  
511        <!--  PDF Link - ->   513        <!--  PDF Link - ->
512        <!--           - ->   514        <!--           - ->
513        <xsl: variable n ame="VarPD FLinkPath" >   515        <xsl: variable n ame="VarPD FLinkPath" >
514         <xsl :variable  name="VarD ocumentPDF Path">   516         <xsl :variable  name="VarD ocumentPDF Path">
515          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-doc ument', 'f alse') = ' true'">   517          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-doc ument', 'f alse') = ' true'">
516           <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" / >   518           <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" / >
517          </x sl:if>   519          </x sl:if>
518         </xs l:variable >   520         </xs l:variable >
519            521         
520         <xsl :variable  name="VarG roupPDFPat h">   522         <xsl :variable  name="VarG roupPDFPat h">
521          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-gro up', 'fals e') = 'tru e'">   523          <xs l:if test= "wwprojext :GetFormat Setting('p df-per-gro up', 'fals e') = 'tru e'">
522           <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" />       524           <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" />    
523          </x sl:if>   525          </x sl:if>
524         </xs l:variable >   526         </xs l:variable >
525     527  
526         <xsl :choose>   528         <xsl :choose>
527          <xs l:when tes t="string- length($Va rDocumentP DFPath) &g t; 0">   529          <xs l:when tes t="string- length($Va rDocumentP DFPath) &g t; 0">
528           <x sl:value-o f select=" $VarDocume ntPDFPath"  />   530           <x sl:value-o f select=" $VarDocume ntPDFPath"  />
529          </x sl:when>   531          </x sl:when>
530          <xs l:when tes t="string- length($Va rGroupPDFP ath) &gt;  0">   532          <xs l:when tes t="string- length($Va rGroupPDFP ath) &gt;  0">
531           <x sl:value-o f select=" $VarGroupP DFPath" />   533           <x sl:value-o f select=" $VarGroupP DFPath" />
532          </x sl:when>   534          </x sl:when>
533         </xs l:choose>   535         </xs l:choose>
534        </xsl :variable>   536        </xsl :variable>
535     537  
536        <xsl: variable n ame="VarPD FLinkURI">   538        <xsl: variable n ame="VarPD FLinkURI">
537         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">   539         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">
538          <xs l:value-of  select="w wuri:GetRe lativeTo($ VarPDFLink Path, $Par amSplit/@p ath)" />   540          <xs l:value-of  select="w wuri:GetRe lativeTo($ VarPDFLink Path, $Par amSplit/@p ath)" />
539         </xs l:if>   541         </xs l:if>
540        </xsl :variable>   542        </xsl :variable>
541           543        
542        <!--  Notes -->   544        <!--  Notes -->
543        <!--        -->   545        <!--        -->
544        <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)]" / >   546        <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)]" / >
545     547  
546        <!--  Note numbe ring -->   548        <!--  Note numbe ring -->
547        <!--                  -->   549        <!--                  -->
548        <xsl: variable n ame="VarNo teNumberin gAsXML">   550        <xsl: variable n ame="VarNo teNumberin gAsXML">
549         <xsl :call-temp late name= "Notes-Num ber">   551         <xsl :call-temp late name= "Notes-Num ber">
550          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />   552          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />
551         </xs l:call-tem plate>   553         </xs l:call-tem plate>
552        </xsl :variable>   554        </xsl :variable>
553        <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)"  />   555        <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)"  />
554     556  
555        <!--  Cargo -->   557        <!--  Cargo -->
556        <!--        -->   558        <!--        -->
557        <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors |  $VarNoteN umbering"  />   559        <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors |  $VarNoteN umbering"  />
558     560  
559        <!--  Conditions  -->   561        <!--  Conditions  -->
560        <!--              -->   562        <!--              -->
561        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">   563        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">
562         <!--  catalog-c ss -->   564         <!--  catalog-c ss -->
563         <!--               -->   565         <!--               -->
564         <wwp age:Condit ion name=" catalog-cs s" />   566         <wwp age:Condit ion name=" catalog-cs s" />
565     567  
566         <!--  document- css -->   568         <!--  document- css -->
567         <!--                -->   569         <!--                -->
568         <xsl :if test=" string-len gth($VarPa geRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'document- css']/@Val ue) &gt; 0 ">   570         <xsl :if test=" string-len gth($VarPa geRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'document- css']/@Val ue) &gt; 0 ">
569          <ww page:Condi tion name= "document- css" />   571          <ww page:Condi tion name= "document- css" />
570         </xs l:if>   572         </xs l:if>
571     573  
572         <!--  skip-navi gation -->   574         <!--  skip-navi gation -->
573         <!--                   -->   575         <!--                   -->
574         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">   576         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">
575          <ww page:Condi tion name= "skip-navi gation" />   577          <ww page:Condi tion name= "skip-navi gation" />
576         </xs l:if>   578         </xs l:if>
577     579  
578         <!--  pdf-exist s -->   580         <!--  pdf-exist s -->
579         <!--              -->   581         <!--              -->
580         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   582         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
581          <ww page:Condi tion name= "pdf-exist s" />   583          <ww page:Condi tion name= "pdf-exist s" />
582         </xs l:if>   584         </xs l:if>
583         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">   585         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">
584          <ww page:Condi tion name= "pdf-not-e xists" />   586          <ww page:Condi tion name= "pdf-not-e xists" />
585         </xs l:if>   587         </xs l:if>
586       588    
587         <!--  breadcrum bs-top -->   589         <!--  breadcrum bs-top -->
588         <!--                   -->   590         <!--                   -->
589         <xsl :variable  name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'breadc rumbs-top- generate'] /@Value" / >   591         <xsl :variable  name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name  = 'breadc rumbs-top- generate'] /@Value" / >
590         <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) ">   592         <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) ">
591          <ww page:Condi tion name= "breadcrum bs-top" />   593          <ww page:Condi tion name= "breadcrum bs-top" />
592         </xs l:if>   594         </xs l:if>
593     595  
594         <!--  breadcrum bs-bottom  -->   596         <!--  breadcrum bs-bottom  -->
595         <!--                       -->   597         <!--                       -->
596         <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" />   598         <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" />
597         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">   599         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">
598          <ww page:Condi tion name= "breadcrum bs-bottom"  />   600          <ww page:Condi tion name= "breadcrum bs-bottom"  />
599         </xs l:if>   601         </xs l:if>
600     602  
601         <!--  navigatio n-top -->   603         <!--  navigatio n-top -->
602         <!--                  -->   604         <!--                  -->
603         <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" />   605         <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" />
604         <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)">   606         <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)">
605          <ww page:Condi tion name= "navigatio n-top" />   607          <ww page:Condi tion name= "navigatio n-top" />
606         </xs l:if>   608         </xs l:if>
607     609  
608         <!--  navigatio n-bottom - ->   610         <!--  navigatio n-bottom - ->
609         <!--                     - ->   611         <!--                     - ->
610         <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" />   612         <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" />
611         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">   613         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">
612          <ww page:Condi tion name= "navigatio n-bottom"  />   614          <ww page:Condi tion name= "navigatio n-bottom"  />
613         </xs l:if>   615         </xs l:if>
614     616  
615         <!--  Generate  TOC? -->   617         <!--  Generate  TOC? -->
616         <!--                 -->   618         <!--                 -->
617         <xsl :if test=" count($Var TOCSplitFi le) = 1">   619         <xsl :if test=" count($Var TOCSplitFi le) = 1">
618          <xs l:choose>   620          <xs l:choose>
619           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">   621           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">
620            < !-- naviga tion-toc-c urrent -->   622            < !-- naviga tion-toc-c urrent -->
621            < !--                          -->   623            < !--                          -->
622            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />   624            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />
623           </ xsl:when>   625           </ xsl:when>
624     626  
625           <x sl:otherwi se>   627           <x sl:otherwi se>
626            < !-- naviga tion-toc-n ot-current  -->   628            < !-- naviga tion-toc-n ot-current  -->
627            < !--                          -->   629            < !--                          -->
628            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />   630            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />
629           </ xsl:otherw ise>   631           </ xsl:otherw ise>
630          </x sl:choose>   632          </x sl:choose>
631         </xs l:if>   633         </xs l:if>
632     634  
633         <!--  navigatio n-previous -exists -- >   635         <!--  navigatio n-previous -exists -- >
634         <!--                               -- >   636         <!--                               -- >
635         <xsl :if test=" count($Var PreviousSp lit) = 1">   637         <xsl :if test=" count($Var PreviousSp lit) = 1">
636          <ww page:Condi tion name= "navigatio n-previous -exists" / >   638          <ww page:Condi tion name= "navigatio n-previous -exists" / >
637         </xs l:if>   639         </xs l:if>
638     640  
639         <!--  navigatio n-previous -not-exist s -->   641         <!--  navigatio n-previous -not-exist s -->
640         <!--                                    -->   642         <!--                                    -->
641         <xsl :if test=" count($Var PreviousSp lit) = 0">   643         <xsl :if test=" count($Var PreviousSp lit) = 0">
642          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />   644          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />
643         </xs l:if>   645         </xs l:if>
644     646  
645         <!--  navigatio n-next-exi sts -->   647         <!--  navigatio n-next-exi sts -->
646         <!--                           -->   648         <!--                           -->
647         <xsl :if test=" count($Var NextSplit)  = 1">   649         <xsl :if test=" count($Var NextSplit)  = 1">
648          <ww page:Condi tion name= "navigatio n-next-exi sts" />   650          <ww page:Condi tion name= "navigatio n-next-exi sts" />
649         </xs l:if>   651         </xs l:if>
650     652  
651         <!--  navigatio n-next-not -exists -- >   653         <!--  navigatio n-next-not -exists -- >
652         <!--                               -- >   654         <!--                               -- >
653         <xsl :if test=" count($Var NextSplit)  = 0">   655         <xsl :if test=" count($Var NextSplit)  = 0">
654          <ww page:Condi tion name= "navigatio n-next-not -exists" / >   656          <ww page:Condi tion name= "navigatio n-next-not -exists" / >
655         </xs l:if>   657         </xs l:if>
656     658  
657         <!--  Generate  Index? -->   659         <!--  Generate  Index? -->
658         <!--                   -->   660         <!--                   -->
659         <xsl :if test=" count($Var IndexSplit File) = 1" >   661         <xsl :if test=" count($Var IndexSplit File) = 1" >
660          <xs l:choose>   662          <xs l:choose>
661           <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1">   663           <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1">
662            < !-- naviga tion-index -current - ->   664            < !-- naviga tion-index -current - ->
663            < !--                          -->   665            < !--                          -->
664            < wwpage:Con dition nam e="navigat ion-index- current" / >   666            < wwpage:Con dition nam e="navigat ion-index- current" / >
665           </ xsl:when>   667           </ xsl:when>
666     668  
667           <x sl:otherwi se>   669           <x sl:otherwi se>
668            < !-- naviga tion-index -not-curre nt -->   670            < !-- naviga tion-index -not-curre nt -->
669            < !--                          -->   671            < !--                          -->
670            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />   672            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />
671           </ xsl:otherw ise>   673           </ xsl:otherw ise>
672          </x sl:choose>   674          </x sl:choose>
673         </xs l:if>   675         </xs l:if>
674     676  
675         <!--  A-Link Ke ywords? -- >   677         <!--  A-Link Ke ywords? -- >
676         <!--                    -- >   678         <!--                    -- >
677         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">   679         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">
678          <ww page:Condi tion name= "alink-key words-exis t" />   680          <ww page:Condi tion name= "alink-key words-exis t" />
679         </xs l:if>   681         </xs l:if>
680     682  
681         <!--  A-Link Li nks? -->   683         <!--  A-Link Li nks? -->
682         <!--                 -->   684         <!--                 -->
683         <xsl :if test=" count($Var ALinkLinks [1]) = 1">   685         <xsl :if test=" count($Var ALinkLinks [1]) = 1">
684          <ww page:Condi tion name= "alink-lin ks-exist"  />   686          <ww page:Condi tion name= "alink-lin ks-exist"  />
685         </xs l:if>   687         </xs l:if>
686     688  
687         <!--  Company I nfo -->   689         <!--  Company I nfo -->
688         <!--                -->   690         <!--                -->
689         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">   691         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">
690          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />   692          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />
691         </xs l:call-tem plate>   693         </xs l:call-tem plate>
692        </xsl :variable>   694        </xsl :variable>
693        <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / >   695        <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / >
694     696  
695        <!--  Set header /footer co nditions - ->   697        <!--  Set header /footer co nditions - ->
696        <!--                                 - ->   698        <!--                                 - ->
697        <xsl: variable n ame="VarCo nditionsAs XML">   699        <xsl: variable n ame="VarCo nditionsAs XML">
698         <!--  Copy exis ting as is  -->   700         <!--  Copy exis ting as is  -->
699         <!--                        -->   701         <!--                        -->
700         <xsl :for-each  select="$V arInitialC onditions/ *">   702         <xsl :for-each  select="$V arInitialC onditions/ *">
701          <xs l:copy-of  select="."  />   703          <xs l:copy-of  select="."  />
702         </xs l:for-each >   704         </xs l:for-each >
703     705  
704         <xsl :for-each  select="$V arInitialC onditions[ 1]">   706         <xsl :for-each  select="$V arInitialC onditions[ 1]">
705          <!- - header-e xists -->   707          <!- - header-e xists -->
706          <!- -                -->   708          <!- -                -->
707          <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" />   709          <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" />
708          <xs l:if test= "$VarHeade rExists">   710          <xs l:if test= "$VarHeade rExists">
709           <w wpage:Cond ition name ="header-e xists" />   711           <w wpage:Cond ition name ="header-e xists" />
710          </x sl:if>   712          </x sl:if>
711     713  
712          <!- - footer-e xists -->   714          <!- - footer-e xists -->
713          <!- -                -->   715          <!- -                -->
714          <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" />   716          <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" />
715          <xs l:if test= "$VarFoote rExists">   717          <xs l:if test= "$VarFoote rExists">
716           <w wpage:Cond ition name ="footer-e xists" />   718           <w wpage:Cond ition name ="footer-e xists" />
717          </x sl:if>   719          </x sl:if>
718     720  
719          <!- - header-f ooter-exis ts -->   721          <!- - header-f ooter-exis ts -->
720          <!- -                        -->   722          <!- -                        -->
721          <xs l:choose>   723          <xs l:choose>
722           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">   724           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">
723            < wwpage:Con dition nam e="header- footer-exi sts" />   725            < wwpage:Con dition nam e="header- footer-exi sts" />
724           </ xsl:when>   726           </ xsl:when>
725     727  
726           <x sl:otherwi se>   728           <x sl:otherwi se>
727            < wwpage:Con dition nam e="header- footer-not -exists" / >   729            < wwpage:Con dition nam e="header- footer-not -exists" / >
728           </ xsl:otherw ise>   730           </ xsl:otherw ise>
729          </x sl:choose>   731          </x sl:choose>
730         </xs l:for-each >   732         </xs l:for-each >
731        </xsl :variable>   733        </xsl :variable>
732        <xsl: variable n ame="VarCo nditions"  select="ms xsl:node-s et($VarCon ditionsAsX ML)" />   734        <xsl: variable n ame="VarCo nditions"  select="ms xsl:node-s et($VarCon ditionsAsX ML)" />
733     735  
734        <!--  Replacemen ts -->   736        <!--  Replacemen ts -->
735        <!--                -->   737        <!--                -->
736        <xsl: variable n ame="VarRe placements AsXML">   738        <xsl: variable n ame="VarRe placements AsXML">
737         <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)" />   739         <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)" />
738         <xsl :variable  name="VarR elativeRoo tURI">   740         <xsl :variable  name="VarR elativeRoo tURI">
739          <xs l:variable  name="Var StringLeng thDifferen ce" select ="string-l ength($Var RelativeRo otURIWithD ummyCompon ent) - str ing-length ('dummy.co mponent')"  />   741          <xs l:variable  name="Var StringLeng thDifferen ce" select ="string-l ength($Var RelativeRo otURIWithD ummyCompon ent) - str ing-length ('dummy.co mponent')"  />
740          <xs l:choose>   742          <xs l:choose>
741           <x sl:when te st="$VarSt ringLength Difference  &lt;= 0">   743           <x sl:when te st="$VarSt ringLength Difference  &lt;= 0">
742            < xsl:value- of select= "''" />   744            < xsl:value- of select= "''" />
743           </ xsl:when>   745           </ xsl:when>
744     746  
745           <x sl:otherwi se>   747           <x sl:otherwi se>
746            < xsl:value- of select= "substring ($VarRelat iveRootURI WithDummyC omponent,  1, $VarStr ingLengthD ifference) " />   748            < xsl:value- of select= "substring ($VarRelat iveRootURI WithDummyC omponent,  1, $VarStr ingLengthD ifference) " />
747           </ xsl:otherw ise>   749           </ xsl:otherw ise>
748          </x sl:choose>   750          </x sl:choose>
749         </xs l:variable >   751         </xs l:variable >
750     752  
751         <!--  webworks- root -->   753         <!--  webworks- root -->
752         <!--                 -->   754         <!--                 -->
753         <wwp age:Replac ement name ="webworks -root">   755         <wwp age:Replac ement name ="webworks -root">
754          <xs l:comment>   756          <xs l:comment>
755           <x sl:text>   757           <x sl:text>
756   </xsl:text >   758   </xsl:text >
757           <x sl:text>         var   WebWorksR ootPath =  &quot;</xs l:text>   759           <x sl:text>         var   WebWorksR ootPath =  &quot;</xs l:text>
758           <x sl:value-o f select=" $VarRelati veRootURI"  />   760           <x sl:value-o f select=" $VarRelati veRootURI"  />
759           <x sl:text>&q uot;;   761           <x sl:text>&q uot;;
760   </xsl:text >   762   </xsl:text >
761           <x sl:text>       // </x sl:text>   763           <x sl:text>       // </x sl:text>
762          </x sl:comment >   764          </x sl:comment >
763         </ww page:Repla cement>   765         </ww page:Repla cement>
764     766  
765         <!--  body-clas s -->   767         <!--  body-clas s -->
766         <!--              -->   768         <!--              -->
767         <wwp age:Replac ement name ="body-cla ss">   769         <wwp age:Replac ement name ="body-cla ss">
768          <xs l:attribut e name="va lue">   770          <xs l:attribut e name="va lue">
769           <! -- Additio nal CSS cl asses -->   771           <! -- Additio nal CSS cl asses -->
770           <! --                          -->   772           <! --                          -->
771           <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)" />   773           <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)" />
772           <x sl:value-o f select=" $VarAdditi onalCSSCla ssesOption " />   774           <x sl:value-o f select=" $VarAdditi onalCSSCla ssesOption " />
773          </x sl:attribu te>   775          </x sl:attribu te>
774         </ww page:Repla cement>   776         </ww page:Repla cement>
775     777  
776         <!--  body-styl e -->   778         <!--  body-styl e -->
777         <!--              -->   779         <!--              -->
778         <wwp age:Replac ement name ="body-sty le">   780         <wwp age:Replac ement name ="body-sty le">
779          <xs l:attribut e name="va lue">   781          <xs l:attribut e name="va lue">
780           <! -- CSS pro perties -- >   782           <! -- CSS pro perties -- >
781           <! --                 -- >   783           <! --                 -- >
782           <x sl:variabl e name="Va rCSSProper tiesAsXML" >   784           <x sl:variabl e name="Va rCSSProper tiesAsXML" >
783            < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties">   785            < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties">
784              <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property"  />   786              <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property"  />
785              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />   787              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />
786              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />   788              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />
787            < /xsl:call- template>   789            < /xsl:call- template>
788           </ xsl:variab le>   790           </ xsl:variab le>
789           <x sl:variabl e name="Va rCSSProper ties" sele ct="msxsl: node-set($ VarCSSProp ertiesAsXM L)/wwproje ct:Propert y" />   791           <x sl:variabl e name="Va rCSSProper ties" sele ct="msxsl: node-set($ VarCSSProp ertiesAsXM L)/wwproje ct:Propert y" />
790     792  
791           <x sl:call-te mplate nam e="CSS-Inl inePropert ies">   793           <x sl:call-te mplate nam e="CSS-Inl inePropert ies">
792            < xsl:with-p aram name= "ParamProp erties" se lect="$Var CSSPropert ies[string -length(@V alue) &gt;  0]" />   794            < xsl:with-p aram name= "ParamProp erties" se lect="$Var CSSPropert ies[string -length(@V alue) &gt;  0]" />
793           </ xsl:call-t emplate>   795           </ xsl:call-t emplate>
794          </x sl:attribu te>   796          </x sl:attribu te>
795         </ww page:Repla cement>   797         </ww page:Repla cement>
796     798  
797         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   799         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
798           <w wpage:Repl acement na me="pdf-li nk" value= "{$VarPDFL inkURI}" / >   800           <w wpage:Repl acement na me="pdf-li nk" value= "{$VarPDFL inkURI}" / >
799         </xs l:if>   801         </xs l:if>
800     802  
801         <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" />   803         <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" />
802         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />   804         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />
803         <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" />   805         <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" />
804         <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}" / >   806         <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}" / >
805         <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}"  />   807         <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}"  />
806         <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " />   808         <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " />
807     809  
808         <wwp age:Replac ement name ="catalog- css">   810         <wwp age:Replac ement name ="catalog- css">
809          <xs l:attribut e name="va lue">   811          <xs l:attribut e name="va lue">
810           <x sl:for-eac h select=" $GlobalFil es[1]">   812           <x sl:for-eac h select=" $GlobalFil es[1]">
811            < xsl:variab le name="V arCSSPath"  select="k ey('wwfile s-files-by -documenti d', $Param FilesDocum entNode/@d ocumentID) [@type = $ ParameterS tylesType] /@path" />   813            < xsl:variab le name="V arCSSPath"  select="k ey('wwfile s-files-by -documenti d', $Param FilesDocum entNode/@d ocumentID) [@type = $ ParameterS tylesType] /@path" />
812            < xsl:value- of select= "wwuri:Get RelativeTo ($VarCSSPa th, $Param Split/@pat h)" />   814            < xsl:value- of select= "wwuri:Get RelativeTo ($VarCSSPa th, $Param Split/@pat h)" />
813           </ xsl:for-ea ch>   815           </ xsl:for-ea ch>
814          </x sl:attribu te>   816          </x sl:attribu te>
815         </ww page:Repla cement>   817         </ww page:Repla cement>
816     818  
817         <wwp age:Replac ement name ="document -css">   819         <wwp age:Replac ement name ="document -css">
818          <xs l:attribut e name="va lue">   820          <xs l:attribut e name="va lue">
819           <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI">   821           <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI">
820            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  />   822            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  />
821            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />   823            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />
822            < xsl:with-p aram name= "ParamURI"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / >   824            < xsl:with-p aram name= "ParamURI"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / >
823           </ xsl:call-t emplate>   825           </ xsl:call-t emplate>
824          </x sl:attribu te>   826          </x sl:attribu te>
825         </ww page:Repla cement>   827         </ww page:Repla cement>
826     828  
827         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />   829         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />
828         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'ISO-885 9-1'))}" / >   830         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'ISO-885 9-1'))}" / >
829     831  
830         <wwp age:Replac ement name ="breadcru mbs-top-st yle">   832         <wwp age:Replac ement name ="breadcru mbs-top-st yle">
831          <xs l:attribut e name="va lue">   833          <xs l:attribut e name="va lue">
832           <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" />   834           <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" />
833           <x sl:choose>   835           <x sl:choose>
834            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   836            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
835              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   837              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
836            < /xsl:when>   838            < /xsl:when>
837     839  
838            < xsl:otherw ise>   840            < xsl:otherw ise>
839              <xsl:value -of select ="'text-al ign: left; '" />   841              <xsl:value -of select ="'text-al ign: left; '" />
840            < /xsl:other wise>   842            < /xsl:other wise>
841           </ xsl:choose >   843           </ xsl:choose >
842          </x sl:attribu te>   844          </x sl:attribu te>
843         </ww page:Repla cement>   845         </ww page:Repla cement>
844     846  
845         <wwp age:Replac ement name ="breadcru mbs-bottom -style">   847         <wwp age:Replac ement name ="breadcru mbs-bottom -style">
846          <xs l:attribut e name="va lue">   848          <xs l:attribut e name="va lue">
847           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / >   849           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / >
848           <x sl:choose>   850           <x sl:choose>
849            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   851            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
850              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   852              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
851            < /xsl:when>   853            < /xsl:when>
852     854  
853            < xsl:otherw ise>   855            < xsl:otherw ise>
854              <xsl:value -of select ="'text-al ign: left; '" />   856              <xsl:value -of select ="'text-al ign: left; '" />
855            < /xsl:other wise>   857            < /xsl:other wise>
856           </ xsl:choose >   858           </ xsl:choose >
857          </x sl:attribu te>   859          </x sl:attribu te>
858         </ww page:Repla cement>   860         </ww page:Repla cement>
859     861  
860         <wwp age:Replac ement name ="navigati on-top-sty le">   862         <wwp age:Replac ement name ="navigati on-top-sty le">
861          <xs l:attribut e name="va lue">   863          <xs l:attribut e name="va lue">
862           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" />   864           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" />
863           <x sl:choose>   865           <x sl:choose>
864            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   866            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
865              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   867              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
866            < /xsl:when>   868            < /xsl:when>
867     869  
868            < xsl:otherw ise>   870            < xsl:otherw ise>
869              <xsl:value -of select ="'text-al ign: left; '" />   871              <xsl:value -of select ="'text-al ign: left; '" />
870            < /xsl:other wise>   872            < /xsl:other wise>
871           </ xsl:choose >   873           </ xsl:choose >
872          </x sl:attribu te>   874          </x sl:attribu te>
873         </ww page:Repla cement>   875         </ww page:Repla cement>
874     876  
875         <wwp age:Replac ement name ="navigati on-bottom- style">   877         <wwp age:Replac ement name ="navigati on-bottom- style">
876          <xs l:attribut e name="va lue">   878          <xs l:attribut e name="va lue">
877           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />   879           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />
878           <x sl:choose>   880           <x sl:choose>
879            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   881            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
880              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   882              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
881            < /xsl:when>   883            < /xsl:when>
882     884  
883            < xsl:otherw ise>   885            < xsl:otherw ise>
884              <xsl:value -of select ="'text-al ign: left; '" />   886              <xsl:value -of select ="'text-al ign: left; '" />
885            < /xsl:other wise>   887            < /xsl:other wise>
886           </ xsl:choose >   888           </ xsl:choose >
887          </x sl:attribu te>   889          </x sl:attribu te>
888         </ww page:Repla cement>   890         </ww page:Repla cement>
889     891  
890         <xsl :if test=" count($Var TOCSplitFi le) = 1">   892         <xsl :if test=" count($Var TOCSplitFi le) = 1">
891          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />   893          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />
892         </xs l:if>   894         </xs l:if>
893         <xsl :if test=" count($Var PreviousSp lit) = 1">   895         <xsl :if test=" count($Var PreviousSp lit) = 1">
894          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:GetRela tiveTo($Va rPreviousS plit/@path , $ParamSp lit/@path) }" />   896          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:GetRela tiveTo($Va rPreviousS plit/@path , $ParamSp lit/@path) }" />
895         </xs l:if>   897         </xs l:if>
896         <xsl :if test=" count($Var NextSplit)  = 1">   898         <xsl :if test=" count($Var NextSplit)  = 1">
897          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}" />   899          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}" />
898         </xs l:if>   900         </xs l:if>
899         <xsl :if test=" count($Var IndexSplit File) = 1" >   901         <xsl :if test=" count($Var IndexSplit File) = 1" >
900          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />   902          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />
901         </xs l:if>   903         </xs l:if>
902     904  
903         <!--  A-Link Ke ywords -->   905         <!--  A-Link Ke ywords -->
904         <!--                   -->   906         <!--                   -->
905         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">   907         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">
906          <ww page:Repla cement nam e="alink-k eywords">   908          <ww page:Repla cement nam e="alink-k eywords">
907           <x sl:copy-of  select="$ VarALinkKe ywords" />   909           <x sl:copy-of  select="$ VarALinkKe ywords" />
908          </w wpage:Repl acement>   910          </w wpage:Repl acement>
909         </xs l:if>   911         </xs l:if>
910     912  
911         <!--  A-Link Li nks -->   913         <!--  A-Link Li nks -->
912         <!--                -->   914         <!--                -->
913         <xsl :if test=" count($Var ALinkLinks [1]) = 1">   915         <xsl :if test=" count($Var ALinkLinks [1]) = 1">
914          <ww page:Repla cement nam e="alink-l inks">   916          <ww page:Repla cement nam e="alink-l inks">
915           <x sl:copy-of  select="$ VarALinkLi nks" />   917           <x sl:copy-of  select="$ VarALinkLi nks" />
916          </w wpage:Repl acement>   918          </w wpage:Repl acement>
917         </xs l:if>   919         </xs l:if>
918     920  
919         <!--  Company I nfo -->   921         <!--  Company I nfo -->
920         <!--                -->   922         <!--                -->
921         <xsl :call-temp late name= "CompanyIn fo-Replace ments">   923         <xsl :call-temp late name= "CompanyIn fo-Replace ments">
922          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />   924          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />
923          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />   925          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />
924          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />   926          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />
925         </xs l:call-tem plate>   927         </xs l:call-tem plate>
926     928  
927         <!--  Breadcrum bs -->   929         <!--  Breadcrum bs -->
928         <!--               -->   930         <!--               -->
929         <wwp age:Replac ement name ="breadcru mbs">   931         <wwp age:Replac ement name ="breadcru mbs">
930          <xs l:call-tem plate name ="Breadcru mbs">   932          <xs l:call-tem plate name ="Breadcru mbs">
931           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />   933           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />
932           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   934           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
933           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >   935           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >
934          </x sl:call-te mplate>   936          </x sl:call-te mplate>
935         </ww page:Repla cement>   937         </ww page:Repla cement>
936     938  
937         <!--  Content - ->   939         <!--  Content - ->
938         <!--          - ->   940         <!--          - ->
939         <wwp age:Replac ement name ="content" >   941         <wwp age:Replac ement name ="content" >
940          <xs l:call-tem plate name ="Content- Content">   942          <xs l:call-tem plate name ="Content- Content">
941           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />   943           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />
942           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   944           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
943           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   945           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
944           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   946           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
945           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   947           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
946           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   948           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
947          </x sl:call-te mplate>   949          </x sl:call-te mplate>
948          <xs l:call-tem plate name ="Content- Notes">   950          <xs l:call-tem plate name ="Content- Notes">
949           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />   951           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />
950           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   952           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
951           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   953           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
952           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   954           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
953           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   955           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
954           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   956           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
955          </x sl:call-te mplate>   957          </x sl:call-te mplate>
956         </ww page:Repla cement>   958         </ww page:Repla cement>
957     959  
958         <!--  Variables  -->   960         <!--  Variables  -->
959         <!--             -->   961         <!--             -->
960         <xsl :variable  name="VarS plitGlobal VariablesA sXML">   962         <xsl :variable  name="VarS plitGlobal VariablesA sXML">
961          <xs l:call-tem plate name ="Variable s-Globals- Split">   963          <xs l:call-tem plate name ="Variable s-Globals- Split">
962           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />   964           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />
963           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   965           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
964          </x sl:call-te mplate>   966          </x sl:call-te mplate>
965         </xs l:variable >   967         </xs l:variable >
966         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />   968         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />
967         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">   969         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">
968          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >   970          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >
969         </xs l:call-tem plate>   971         </xs l:call-tem plate>
970        </xsl :variable>   972        </xsl :variable>
971        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >   973        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >
972     974  
973        <!--  Map common  character s -->   975        <!--  Map common  character s -->
974        <!--                          -->   976        <!--                          -->
975        <wwex sldoc:Mapp ingContext >   977        <wwex sldoc:Mapp ingContext >
976         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />   978         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />
977     979  
978         <!--  Invoke pa ge templat e -->   980         <!--  Invoke pa ge templat e -->
979         <!--                         -->   981         <!--                         -->
980         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">   982         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">
981          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />   983          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />
982          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />   984          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />
983          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />   985          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />
984          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />   986          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />
985         </xs l:apply-te mplates>   987         </xs l:apply-te mplates>
986        </wwe xsldoc:Map pingContex t>   988        </wwe xsldoc:Map pingContex t>
987       </xsl: for-each>   989       </xsl: for-each>
988      </xsl:v ariable>   990      </xsl:v ariable>
989     991  
990      <!-- Ab orted? -->   992      <!-- Ab orted? -->
991      <!--           -->   993      <!--           -->
992      <xsl:if  test="not (wwprogres s:Abort()) ">   994      <xsl:if  test="not (wwprogres s:Abort()) ">
993       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />   995       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />
994       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'IS O-8859-1') , 'xhtml',  '1.0', 'y es', 'yes' , '', '-// W3C//DTD X HTML 1.0 T ransitiona l//EN', 'h ttp://www. w3.org/TR/ xhtml1/DTD /xhtml1-tr ansitional .dtd', '',  'text/htm l')" />   996       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'IS O-8859-1') , 'xhtml',  '1.0', 'y es', 'yes' , '', '-// W3C//DTD X HTML 1.0 T ransitiona l//EN', 'h ttp://www. w3.org/TR/ xhtml1/DTD /xhtml1-tr ansitional .dtd', '',  'text/htm l')" />
995      </xsl:i f>   997      </xsl:i f>
996     </xsl:if >   998     </xsl:if >
997     999  
998     <!-- Abo rted? -->   1000     <!-- Abo rted? -->
999     <!--           -->   1001     <!--           -->
1000     <xsl:if  test="not( wwprogress :Abort())" >   1002     <xsl:if  test="not( wwprogress :Abort())" >
1001      <!-- Re cord files  -->   1003      <!-- Re cord files  -->
1002      <!--                -->   1004      <!--                -->
1003      <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 }">   1005      <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 }">
1004       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />   1006       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />
1005       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />   1007       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />
1006       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />   1008       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />
1007       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />   1009       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />
1008       <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 }" />   1010       <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 }" />
1009       <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}" / >   1011       <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}" / >
1010       <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}" />   1012       <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}" />
1011      </wwfil es:File>   1013      </wwfil es:File>
1012     </xsl:if >   1014     </xsl:if >
1013    </xsl:tem plate>   1015    </xsl:tem plate>
1014   </xsl:styl esheet>   1016   </xsl:styl esheet>