12. Araxis Merge File Comparison Report

Produced by Araxis Merge on Sat May 2 08:30:09 2009 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

12.1 Files compared

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

12.2 Comparison summary

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

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

12.4 Active regular expressions

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

12.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/i mages/util ities.xsl"  />
73    <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" />
74    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />   74    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" />
75    <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" />
76    <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" />
77    <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" />
78    <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" />
79    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />   79    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" />
80    <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" />
81    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />   81    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" />
82    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />   82    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" />
83     83  
84     84  
85    <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" / >
86    <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)" />
87     87  
88     88  
89    <xsl:vari able name= "GlobalAct ionChecksu m">   89    <xsl:vari able name= "GlobalAct ionChecksu m">
90     <xsl:var iable name ="VarTrans formChecks ums">   90     <xsl:var iable name ="VarTrans formChecks ums">
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(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />
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($Param eterPageTe mplateURI) , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath($ ParameterP ageTemplat eURI)))" / >
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/im ages.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/images. 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/access ibility/ta bles.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/tables. 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/behavi ors/option s.xsl'), ' :', wwfile system:Get Checksum(w wuri:AsFil ePath('wwt ransform:c ommon/beha viors/opti ons.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')))"  />   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')))"  />   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')))"  />
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' )))" />   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' )))" />
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')))"  />   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')))"  />
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' )))" />   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' )))" />
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' )))" />   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' )))" />
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' )))" />   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' )))" />
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')))" />   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')))" />
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')) )" />   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')) )" />
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' )))" />   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' )))" />
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')))" / >   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')))" / >
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' )))" />   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' )))" />
108     </xsl:va riable>   108     </xsl:va riable>
109     <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)"  />
110    </xsl:var iable>   110    </xsl:var iable>
111     111  
112     112  
113    <!-- Loca le -->   113    <!-- Loca le -->
114    <!--         -->   114    <!--         -->
115    <xsl:vari able name= "GlobalLoc alePath">   115    <xsl:vari able name= "GlobalLoc alePath">
116     <xsl:for -each sele ct="$Globa lFiles[1]" >   116     <xsl:for -each sele ct="$Globa lFiles[1]" >
117      <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" />
118     </xsl:fo r-each>   118     </xsl:fo r-each>
119    </xsl:var iable>   119    </xsl:var iable>
120    <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)" />
121     121  
122     122  
123    <!-- Mapp ing Entry  Sets -->   123    <!-- Mapp ing Entry  Sets -->
124    <!--                      -->   124    <!--                      -->
125    <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')" />
126    <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)" />
127     127  
128     128  
129    <!-- Page  Template  -->   129    <!-- Page  Template  -->
130    <!--                 -->   130    <!--                 -->
131    <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)" />
132    <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)" />
133     133  
134     134  
135    <!-- Proj ect Splits  -->   135    <!-- Proj ect Splits  -->
136    <!--                  -->   136    <!--                  -->
137    <xsl:vari able name= "GlobalPro jectSplits Path">   137    <xsl:vari able name= "GlobalPro jectSplits Path">
138     <xsl:for -each sele ct="$Globa lFiles[1]" >   138     <xsl:for -each sele ct="$Globa lFiles[1]" >
139      <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" />
140     </xsl:fo r-each>   140     </xsl:fo r-each>
141    </xsl:var iable>   141    </xsl:var iable>
142    <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)"  />
143     143  
144     144  
145    <!-- Proj ect variab les -->   145    <!-- Proj ect variab les -->
146    <!--                     -->   146    <!--                     -->
147    <xsl:vari able name= "GlobalPro jectVariab lesPath">   147    <xsl:vari able name= "GlobalPro jectVariab lesPath">
148     <xsl:for -each sele ct="$Globa lFiles[1]" >   148     <xsl:for -each sele ct="$Globa lFiles[1]" >
149      <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" />
150     </xsl:fo r-each>   150     </xsl:fo r-each>
151    </xsl:var iable>   151    </xsl:var iable>
152    <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)" />
153     153  
154     154  
155    <xsl:temp late match ="/">   155    <xsl:temp late match ="/">
156     <wwfiles :Files ver sion="1.0" >   156     <wwfiles :Files ver sion="1.0" >
157     157  
158      <xsl:ca ll-templat e name="Do cumentsPag es">   158      <xsl:ca ll-templat e name="Do cumentsPag es">
159       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />   159       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  />
160       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />   160       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" />
161       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />   161       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  />
162       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />   162       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  />
163       <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" />
164       <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" />
165       <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" / >
166       <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" />
167      </xsl:c all-templa te>   167      </xsl:c all-templa te>
168     168  
169     </wwfile s:Files>   169     </wwfile s:Files>
170    </xsl:tem plate>   170    </xsl:tem plate>
171     171  
172     172  
173    <xsl:temp late name= "SplitOnSe micolon">   173    <xsl:temp late name= "SplitOnSe micolon">
174     <xsl:par am name="P aramString " />   174     <xsl:par am name="P aramString " />
175     175  
176     <xsl:cho ose>   176     <xsl:cho ose>
177      <xsl:wh en test="c ontains($P aramString , ';')">   177      <xsl:wh en test="c ontains($P aramString , ';')">
178       <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, ';')"  />
179       <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, ';')" / >
180     180  
181       <xsl:c all-templa te name="S plitOnSemi colon">   181       <xsl:c all-templa te name="S plitOnSemi colon">
182        <xsl: with-param  name="Par amString"  select="$V arPrefix"  />   182        <xsl: with-param  name="Par amString"  select="$V arPrefix"  />
183       </xsl: call-templ ate>   183       </xsl: call-templ ate>
184       <xsl:c all-templa te name="S plitOnSemi colon">   184       <xsl:c all-templa te name="S plitOnSemi colon">
185        <xsl: with-param  name="Par amString"  select="$V arSuffix"  />   185        <xsl: with-param  name="Par amString"  select="$V arSuffix"  />
186       </xsl: call-templ ate>   186       </xsl: call-templ ate>
187      </xsl:w hen>   187      </xsl:w hen>
188     188  
189      <xsl:ot herwise>   189      <xsl:ot herwise>
190       <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)" />
191     191  
192       <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 ">
193        <wwdo c:Text val ue="{$VarN ormalizedS tring}" />   193        <wwdo c:Text val ue="{$VarN ormalizedS tring}" />
194       </xsl: if>   194       </xsl: if>
195      </xsl:o therwise>   195      </xsl:o therwise>
196     </xsl:ch oose>   196     </xsl:ch oose>
197    </xsl:tem plate>   197    </xsl:tem plate>
198     198  
199     199  
200    <xsl:temp late name= "ProcessAL inkMarker" >   200    <xsl:temp late name= "ProcessAL inkMarker" >
201     <xsl:par am name="P aramMarker " />   201     <xsl:par am name="P aramMarker " />
202     <xsl:par am name="P aramMarker Type" />   202     <xsl:par am name="P aramMarker Type" />
203     203  
204     <xsl:if  test="star ts-with($P aramMarker Type, 'ali nk-')">   204     <xsl:if  test="star ts-with($P aramMarker Type, 'ali nk-')">
205      <xsl:va riable nam e="VarMark erText">   205      <xsl:va riable nam e="VarMark erText">
206       <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">
207        <xsl: value-of s elect="@va lue" />   207        <xsl: value-of s elect="@va lue" />
208       </xsl: for-each>   208       </xsl: for-each>
209      </xsl:v ariable>   209      </xsl:v ariable>
210      <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)" / >
211     211  
212      <xsl:ch oose>   212      <xsl:ch oose>
213       <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')">
214        <xsl: variable n ame="VarSp litOnSemic olonAsXML" >   214        <xsl: variable n ame="VarSp litOnSemic olonAsXML" >
215         <xsl :call-temp late name= "SplitOnSe micolon">   215         <xsl :call-temp late name= "SplitOnSe micolon">
216          <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" />
217         </xs l:call-tem plate>   217         </xs l:call-tem plate>
218        </xsl :variable>   218        </xsl :variable>
219        <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)/*" / >
220     220  
221        <xsl: choose>   221        <xsl: choose>
222         <xsl :when test ="$ParamMa rkerType =  'alink-ke ywords'">   222         <xsl :when test ="$ParamMa rkerType =  'alink-ke ywords'">
223          <xs l:for-each  select="$ VarSplitOn Semicolon" >   223          <xs l:for-each  select="$ VarSplitOn Semicolon" >
224           <x sl:variabl e name="Va rText" sel ect="." />   224           <x sl:variabl e name="Va rText" sel ect="." />
225     225  
226           <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" >
227            < 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">
228              <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}" />
229            < /xsl:if>   229            < /xsl:if>
230           </ xsl:if>   230           </ xsl:if>
231          </x sl:for-eac h>   231          </x sl:for-eac h>
232         </xs l:when>   232         </xs l:when>
233     233  
234         <xsl :when test ="$ParamMa rkerType =  'alink-li nk-keyword s'">   234         <xsl :when test ="$ParamMa rkerType =  'alink-li nk-keyword s'">
235          <xs l:for-each  select="$ VarSplitOn Semicolon" >   235          <xs l:for-each  select="$ VarSplitOn Semicolon" >
236           <x sl:variabl e name="Va rText" sel ect="." />   236           <x sl:variabl e name="Va rText" sel ect="." />
237     237  
238           <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" >
239            < 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">
240              <html:PARA M name="It em" value= "{$VarText /@value}"  />   240              <html:PARA M name="It em" value= "{$VarText /@value}"  />
241            < /xsl:if>   241            < /xsl:if>
242           </ xsl:if>   242           </ xsl:if>
243          </x sl:for-eac h>   243          </x sl:for-eac h>
244         </xs l:when>   244         </xs l:when>
245        </xsl :choose>   245        </xsl :choose>
246       </xsl: when>   246       </xsl: when>
247     247  
248       <xsl:w hen test=" $ParamMark erType = ' alink-link -display-t ype'">   248       <xsl:w hen test=" $ParamMark erType = ' alink-link -display-t ype'">
249        <xsl: choose>   249        <xsl: choose>
250         <xsl :when test ="wwstring :ToLower($ VarNormali zedMarkerT ext) = 'me nu'">   250         <xsl :when test ="wwstring :ToLower($ VarNormali zedMarkerT ext) = 'me nu'">
251          <ht ml:PARAM n ame="Comma nd" value= "ALink, ME NU" />   251          <ht ml:PARAM n ame="Comma nd" value= "ALink, ME NU" />
252         </xs l:when>   252         </xs l:when>
253     253  
254         <xsl :otherwise >   254         <xsl :otherwise >
255          <ht ml:PARAM n ame="Comma nd" value= "ALink" />   255          <ht ml:PARAM n ame="Comma nd" value= "ALink" />
256         </xs l:otherwis e>   256         </xs l:otherwis e>
257        </xsl :choose>   257        </xsl :choose>
258       </xsl: when>   258       </xsl: when>
259     259  
260       <xsl:w hen test=" $ParamMark erType = ' alink-link -window-ty pe'">   260       <xsl:w hen test=" $ParamMark erType = ' alink-link -window-ty pe'">
261        <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">
262         <htm l:PARAM na me="Window " value="{ $VarNormal izedMarker Text}" />   262         <htm l:PARAM na me="Window " value="{ $VarNormal izedMarker Text}" />
263        </xsl :if>   263        </xsl :if>
264       </xsl: when>   264       </xsl: when>
265      </xsl:c hoose>   265      </xsl:c hoose>
266     </xsl:if >   266     </xsl:if >
267    </xsl:tem plate>   267    </xsl:tem plate>
268     268  
269     269  
270    <xsl:temp late name= "ALinkKeyw ords">   270    <xsl:temp late name= "ALinkKeyw ords">
271     <xsl:par am name="P aramKeywor dsMarkers"  />   271     <xsl:par am name="P aramKeywor dsMarkers"  />
272     272  
273     <xsl:var iable name ="VarALink KeywordsWi thDuplicat esAsXML">   273     <xsl:var iable name ="VarALink KeywordsWi thDuplicat esAsXML">
274      <xsl:fo r-each sel ect="$Para mKeywordsM arkers">   274      <xsl:fo r-each sel ect="$Para mKeywordsM arkers">
275       <xsl:v ariable na me="VarKey wordsMarke r" select= "." />   275       <xsl:v ariable na me="VarKey wordsMarke r" select= "." />
276     276  
277       <xsl:c all-templa te name="P rocessALin kMarker">   277       <xsl:c all-templa te name="P rocessALin kMarker">
278        <xsl: with-param  name="Par amMarker"  select="$V arKeywords Marker" />   278        <xsl: with-param  name="Par amMarker"  select="$V arKeywords Marker" />
279        <xsl: with-param  name="Par amMarkerTy pe" select ="'alink-k eywords'"  />   279        <xsl: with-param  name="Par amMarkerTy pe" select ="'alink-k eywords'"  />
280       </xsl: call-templ ate>   280       </xsl: call-templ ate>
281      </xsl:f or-each>   281      </xsl:f or-each>
282     </xsl:va riable>   282     </xsl:va riable>
283     <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)/*" />
284     284  
285     <xsl:for -each sele ct="$VarAL inkKeyword sWithDupli cates">   285     <xsl:for -each sele ct="$VarAL inkKeyword sWithDupli cates">
286      <xsl:va riable nam e="VarPara mElement"  select="."  />   286      <xsl:va riable nam e="VarPara mElement"  select="."  />
287     287  
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">   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">
289       <xsl:c opy-of sel ect="$VarP aramElemen t" />   289       <xsl:c opy-of sel ect="$VarP aramElemen t" />
290      </xsl:i f>   290      </xsl:i f>
291     </xsl:fo r-each>   291     </xsl:fo r-each>
292    </xsl:tem plate>   292    </xsl:tem plate>
293     293  
294     294  
295    <xsl:temp late name= "ALinkObje ct">   295    <xsl:temp late name= "ALinkObje ct">
296     <xsl:par am name="P aramID" />   296     <xsl:par am name="P aramID" />
297     <xsl:par am name="P aramMarker s" />   297     <xsl:par am name="P aramMarker s" />
298     298  
299     <xsl:var iable name ="VarALink ParamsAsXM L">   299     <xsl:var iable name ="VarALink ParamsAsXM L">
300      <xsl:fo r-each sel ect="$Para mMarkers">   300      <xsl:fo r-each sel ect="$Para mMarkers">
301       <xsl:v ariable na me="VarMar ker" selec t="." />   301       <xsl:v ariable na me="VarMar ker" selec t="." />
302     302  
303       <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)" />
304       <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" />
305     305  
306       <xsl:c all-templa te name="P rocessALin kMarker">   306       <xsl:c all-templa te name="P rocessALin kMarker">
307        <xsl: with-param  name="Par amMarker"  select="$V arMarker"  />   307        <xsl: with-param  name="Par amMarker"  select="$V arMarker"  />
308        <xsl: with-param  name="Par amMarkerTy pe" select ="$VarMark erType" />   308        <xsl: with-param  name="Par amMarkerTy pe" select ="$VarMark erType" />
309       </xsl: call-templ ate>   309       </xsl: call-templ ate>
310      </xsl:f or-each>   310      </xsl:f or-each>
311     </xsl:va riable>   311     </xsl:va riable>
312     <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)/*" />
313     313  
314     <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']" />
315     <xsl:for -each sele ct="$VarPa ramItems[1 ]">   315     <xsl:for -each sele ct="$VarPa ramItems[1 ]">
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">   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">
317       <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']" />
318       <xsl:c hoose>   318       <xsl:c hoose>
319        <xsl: when test= "count($Va rParamComm ands[1]) =  1">   319        <xsl: when test= "count($Va rParamComm ands[1]) =  1">
320         <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()]" />
321        </xsl :when>   321        </xsl :when>
322     322  
323        <xsl: otherwise>   323        <xsl: otherwise>
324         <htm l:PARAM na me="Comman d" value=" ALink" />   324         <htm l:PARAM na me="Comman d" value=" ALink" />
325        </xsl :otherwise >   325        </xsl :otherwise >
326       </xsl: choose>   326       </xsl: choose>
327     327  
328       <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 ']" />
329       <xsl:f or-each se lect="$Var ParamWindo ws[1]">   329       <xsl:f or-each se lect="$Var ParamWindo ws[1]">
330        <xsl: copy-of se lect="$Var ParamWindo ws[positio n() = last ()]" />   330        <xsl: copy-of se lect="$Var ParamWindo ws[positio n() = last ()]" />
331       </xsl: for-each>   331       </xsl: for-each>
332     332  
333       <xsl:v ariable na me="VarUni queParamIt emsAsXML">   333       <xsl:v ariable na me="VarUni queParamIt emsAsXML">
334        <xsl: for-each s elect="$Va rParamItem s">   334        <xsl: for-each s elect="$Va rParamItem s">
335         <xsl :variable  name="VarP aramItem"  select="."  />   335         <xsl :variable  name="VarP aramItem"  select="."  />
336     336  
337         <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">
338          <xs l:copy-of  select="$V arParamIte m" />   338          <xs l:copy-of  select="$V arParamIte m" />
339         </xs l:if>   339         </xs l:if>
340        </xsl :for-each>   340        </xsl :for-each>
341       </xsl: variable>   341       </xsl: variable>
342       <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)/*" />
343     343  
344       <html: PARAM name ="Item1" v alue="" />   344       <html: PARAM name ="Item1" v alue="" />
345       <xsl:f or-each se lect="$Var UniquePara mItems">   345       <xsl:f or-each se lect="$Var UniquePara mItems">
346        <xsl: variable n ame="VarPa ramItem" s elect="."  />   346        <xsl: variable n ame="VarPa ramItem" s elect="."  />
347     347  
348        <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}" />
349       </xsl: for-each>   349       </xsl: for-each>
350      </html: OBJECT>   350      </html: OBJECT>
351     </xsl:fo r-each>   351     </xsl:fo r-each>
352    </xsl:tem plate>   352    </xsl:tem plate>
353     353  
354     354  
355    <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">
356     <xsl:par am name="P aramParagr aph" selec t="." />   356     <xsl:par am name="P aramParagr aph" selec t="." />
357     <xsl:par am name="P aramSplit"  />   357     <xsl:par am name="P aramSplit"  />
358     <xsl:par am name="P aramProces sALinks" / >   358     <xsl:par am name="P aramProces sALinks" / >
359     359  
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)" / >   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)" / >
361     <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 " />
362     <xsl:var iable name ="VarALink " select=" $VarALinkO ption = 't rue'" />   362     <xsl:var iable name ="VarALink " select=" $VarALinkO ption = 't rue'" />
363     363  
364     <xsl:if  test="$Var ALink">   364     <xsl:if  test="$Var ALink">
365      <xsl:ca ll-templat e name="AL inkObject" >   365      <xsl:ca ll-templat e name="AL inkObject" >
366       <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,  '-', '_') )" />
367       <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 " />
368      </xsl:c all-templa te>   368      </xsl:c all-templa te>
369     </xsl:if >   369     </xsl:if >
370     370  
371     <!-- Rec urse -->   371     <!-- Rec urse -->
372     <!--          -->   372     <!--          -->
373     <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" >
374      <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" />
375      <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)" / >
376     </xsl:ap ply-templa tes>   376     </xsl:ap ply-templa tes>
377    </xsl:tem plate>   377    </xsl:tem plate>
378     378  
379     379  
380    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: alinks">   380    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: alinks">
381     <xsl:par am name="P aramTextRu n" select= "." />   381     <xsl:par am name="P aramTextRu n" select= "." />
382     <xsl:par am name="P aramSplit"  />   382     <xsl:par am name="P aramSplit"  />
383     <xsl:par am name="P aramProces sALinks" / >   383     <xsl:par am name="P aramProces sALinks" / >
384     384  
385     <!-- Par agraph may  have alre ady handle d this ALi nk -->   385     <!-- Par agraph may  have alre ady handle d this ALi nk -->
386     <!--                                                    -->   386     <!--                                                    -->
387     <xsl:if  test="$Par amProcessA Links">   387     <xsl:if  test="$Par amProcessA Links">
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)" />   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)" />
389      <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" />
390      <xsl:va riable nam e="VarALin k" select= "$VarALink Option = ' true'" />   390      <xsl:va riable nam e="VarALin k" select= "$VarALink Option = ' true'" />
391     391  
392      <xsl:if  test="$Va rALink">   392      <xsl:if  test="$Va rALink">
393       <xsl:c all-templa te name="A LinkObject ">   393       <xsl:c all-templa te name="A LinkObject ">
394        <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,  '-', '_')) " />
395        <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" />
396       </xsl: call-templ ate>   396       </xsl: call-templ ate>
397      </xsl:i f>   397      </xsl:i f>
398     </xsl:if >   398     </xsl:if >
399     399  
400     <!-- Rec urse -->   400     <!-- Rec urse -->
401     <!--          -->   401     <!--          -->
402     <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">
403      <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" />
404      <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" />
405     </xsl:ap ply-templa tes>   405     </xsl:ap ply-templa tes>
406    </xsl:tem plate>   406    </xsl:tem plate>
407     407  
408     408  
409    <xsl:temp late match ="*" mode= "wwmode:al inks">   409    <xsl:temp late match ="*" mode= "wwmode:al inks">
410     <xsl:par am name="P aramNode"  select="."  />   410     <xsl:par am name="P aramNode"  select="."  />
411     <xsl:par am name="P aramSplit"  />   411     <xsl:par am name="P aramSplit"  />
412     <xsl:par am name="P aramProces sALinks" / >   412     <xsl:par am name="P aramProces sALinks" / >
413     413  
414     <!-- Rec urse -->   414     <!-- Rec urse -->
415     <!--          -->   415     <!--          -->
416     <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">
417      <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" />
418      <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" />
419     </xsl:ap ply-templa tes>   419     </xsl:ap ply-templa tes>
420    </xsl:tem plate>   420    </xsl:tem plate>
421     421  
422     422  
423    <xsl:temp late name= "ALinkLink s">   423    <xsl:temp late name= "ALinkLink s">
424     <xsl:par am name="P aramConten t" />   424     <xsl:par am name="P aramConten t" />
425     <xsl:par am name="P aramSplit"  />   425     <xsl:par am name="P aramSplit"  />
426     426  
427     <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">
428      <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" />
429      <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()"  />
430     </xsl:ap ply-templa tes>   430     </xsl:ap ply-templa tes>
431    </xsl:tem plate>   431    </xsl:tem plate>
432     432  
433     433  
434    <xsl:temp late name= "Page">   434    <xsl:temp late name= "Page">
435     <xsl:par am name="P aramFilesS plits" />   435     <xsl:par am name="P aramFilesS plits" />
436     <xsl:par am name="P aramSplits " />   436     <xsl:par am name="P aramSplits " />
437     <xsl:par am name="P aramBehavi orsFile" / >   437     <xsl:par am name="P aramBehavi orsFile" / >
438     <xsl:par am name="P aramBehavi ors" />   438     <xsl:par am name="P aramBehavi ors" />
439     <xsl:par am name="P aramLinks"  />   439     <xsl:par am name="P aramLinks"  />
440     <xsl:par am name="P aramTOCDat a" />   440     <xsl:par am name="P aramTOCDat a" />
441     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />   441     <xsl:par am name="P aramBreadc rumbTOCEnt ry" />
442     <xsl:par am name="P aramFilesD ocumentNod e" />   442     <xsl:par am name="P aramFilesD ocumentNod e" />
443     <xsl:par am name="P aramSplit"  />   443     <xsl:par am name="P aramSplit"  />
444     <xsl:par am name="P aramDocume nt" />   444     <xsl:par am name="P aramDocume nt" />
445     <xsl:par am name="P aramConten t" />   445     <xsl:par am name="P aramConten t" />
446     446  
447     <!-- Out put -->   447     <!-- Out put -->
448     <!--         -->   448     <!--         -->
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)" />   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)" />
450     <xsl:if  test="not( $VarUpToDa te)">   450     <xsl:if  test="not( $VarUpToDa te)">
451      <xsl:va riable nam e="VarResu ltAsXML">   451      <xsl:va riable nam e="VarResu ltAsXML">
452       <!-- O utput dire ctory path  -->   452       <!-- O utput dire ctory path  -->
453       <!--                          -->   453       <!--                          -->
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))" />   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))" />
455     455  
456       <!-- P age Rule - ->   456       <!-- P age Rule - ->
457       <!--            - ->   457       <!--            - ->
458       <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)" />
459     459  
460       <!-- B ehaviors f or this sp lit -->   460       <!-- B ehaviors f or this sp lit -->
461       <!--                             -->   461       <!--                             -->
462       <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]"  />
463     463  
464       <!-- A -Link Keyw ords -->   464       <!-- A -Link Keyw ords -->
465       <!--                   -->   465       <!--                   -->
466       <xsl:v ariable na me="VarALi nkKeywords AsXML">   466       <xsl:v ariable na me="VarALi nkKeywords AsXML">
467        <xsl: call-templ ate name=" ALinkKeywo rds">   467        <xsl: call-templ ate name=" ALinkKeywo rds">
468         <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"  />
469        </xsl :call-temp late>   469        </xsl :call-temp late>
470       </xsl: variable>   470       </xsl: variable>
471       <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)/* " />
472     472  
473       <!-- A -Link Link s -->   473       <!-- A -Link Link s -->
474       <!--                -->   474       <!--                -->
475       <xsl:v ariable na me="VarALi nkLinksAsX ML">   475       <xsl:v ariable na me="VarALi nkLinksAsX ML">
476        <xsl: call-templ ate name=" ALinkLinks ">   476        <xsl: call-templ ate name=" ALinkLinks ">
477         <xsl :with-para m name="Pa ramContent " select=" $ParamCont ent" />   477         <xsl :with-para m name="Pa ramContent " select=" $ParamCont ent" />
478         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  />   478         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  />
479        </xsl :call-temp late>   479        </xsl :call-temp late>
480       </xsl: variable>   480       </xsl: variable>
481       <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)/*" />
482     482  
483       <!-- S plit files  -->   483       <!-- S plit files  -->
484       <!--               -->   484       <!--               -->
485       <xsl:f or-each se lect="$Par amSplits[1 ]">   485       <xsl:f or-each se lect="$Par amSplits[1 ]">
486        <!--  TOC -->   486        <!--  TOC -->
487        <!--      -->   487        <!--      -->
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]" />   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]" />
489     489  
490        <!--  Index -->   490        <!--  Index -->
491        <!--        -->   491        <!--        -->
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]" / >   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]" / >
493     493  
494        <!--  Previous - ->   494        <!--  Previous - ->
495        <!--           - ->   495        <!--           - ->
496        <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]"  />
497        <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])"  />
498     498  
499        <!--  Next -->   499        <!--  Next -->
500        <!--       -->   500        <!--       -->
501        <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]" />
502        <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])" />
503     503  
504        <!--  Skip Navig ation Link  -->   504        <!--  Skip Navig ation Link  -->
505        <!--                         -->   505        <!--                         -->
506        <xsl: variable n ame="VarSk ipNavigati onURI">   506        <xsl: variable n ame="VarSk ipNavigati onURI">
507         <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'">
508          <xs l:text>#</ xsl:text>   508          <xs l:text>#</ xsl:text>
509          <xs l:value-of  select="$ ParamSplit /@id" />   509          <xs l:value-of  select="$ ParamSplit /@id" />
510         </xs l:if>   510         </xs l:if>
511        </xsl :variable>   511        </xsl :variable>
512     512  
513        <!--  PDF Link - ->   513        <!--  PDF Link - ->
514        <!--           - ->   514        <!--           - ->
515        <xsl: variable n ame="VarPD FLinkPath" >   515        <xsl: variable n ame="VarPD FLinkPath" >
516         <xsl :variable  name="VarD ocumentPDF Path">   516         <xsl :variable  name="VarD ocumentPDF Path">
517          <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'">
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" / >   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" / >
519          </x sl:if>   519          </x sl:if>
520         </xs l:variable >   520         </xs l:variable >
521            521         
522         <xsl :variable  name="VarG roupPDFPat h">   522         <xsl :variable  name="VarG roupPDFPat h">
523          <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'">
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" />       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" />    
525          </x sl:if>   525          </x sl:if>
526         </xs l:variable >   526         </xs l:variable >
527     527  
528         <xsl :choose>   528         <xsl :choose>
529          <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">
530           <x sl:value-o f select=" $VarDocume ntPDFPath"  />   530           <x sl:value-o f select=" $VarDocume ntPDFPath"  />
531          </x sl:when>   531          </x sl:when>
532          <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">
533           <x sl:value-o f select=" $VarGroupP DFPath" />   533           <x sl:value-o f select=" $VarGroupP DFPath" />
534          </x sl:when>   534          </x sl:when>
535         </xs l:choose>   535         </xs l:choose>
536        </xsl :variable>   536        </xsl :variable>
537     537  
538        <xsl: variable n ame="VarPD FLinkURI">   538        <xsl: variable n ame="VarPD FLinkURI">
539         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">   539         <xsl :if test=" string-len gth($VarPD FLinkPath)  &gt; 0">
540          <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)" />
541         </xs l:if>   541         </xs l:if>
542        </xsl :variable>   542        </xsl :variable>
543           543        
544        <!--  Notes -->   544        <!--  Notes -->
545        <!--        -->   545        <!--        -->
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)]" / >   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)]" / >
547     547  
548        <!--  Note numbe ring -->   548        <!--  Note numbe ring -->
549        <!--                  -->   549        <!--                  -->
550        <xsl: variable n ame="VarNo teNumberin gAsXML">   550        <xsl: variable n ame="VarNo teNumberin gAsXML">
551         <xsl :call-temp late name= "Notes-Num ber">   551         <xsl :call-temp late name= "Notes-Num ber">
552          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />   552          <xs l:with-par am name="P aramNotes"  select="$ VarNotes"  />
553         </xs l:call-tem plate>   553         </xs l:call-tem plate>
554        </xsl :variable>   554        </xsl :variable>
555        <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)"  />
556     556  
557        <!--  Cargo -->   557        <!--  Cargo -->
558        <!--        -->   558        <!--        -->
559        <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"  />
560     560  
561        <!--  Conditions  -->   561        <!--  Conditions  -->
562        <!--              -->   562        <!--              -->
563        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">   563        <xsl: variable n ame="VarIn itialCondi tionsAsXML ">
564         <!--  catalog-c ss -->   564         <!--  catalog-c ss -->
565         <!--               -->   565         <!--               -->
566         <wwp age:Condit ion name=" catalog-cs s" />   566         <wwp age:Condit ion name=" catalog-cs s" />
567     567  
568         <!--  document- css -->   568         <!--  document- css -->
569         <!--                -->   569         <!--                -->
570         <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 ">
571          <ww page:Condi tion name= "document- css" />   571          <ww page:Condi tion name= "document- css" />
572         </xs l:if>   572         </xs l:if>
573     573  
574         <!--  skip-navi gation -->   574         <!--  skip-navi gation -->
575         <!--                   -->   575         <!--                   -->
576         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">   576         <xsl :if test=" string-len gth($VarSk ipNavigati onURI) &gt ; 0">
577          <ww page:Condi tion name= "skip-navi gation" />   577          <ww page:Condi tion name= "skip-navi gation" />
578         </xs l:if>   578         </xs l:if>
579     579  
580         <!--  pdf-exist s -->   580         <!--  pdf-exist s -->
581         <!--              -->   581         <!--              -->
582         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   582         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
583          <ww page:Condi tion name= "pdf-exist s" />   583          <ww page:Condi tion name= "pdf-exist s" />
584         </xs l:if>   584         </xs l:if>
585         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">   585         <xsl :if test=" string-len gth($VarPD FLinkURI)  = 0">
586          <ww page:Condi tion name= "pdf-not-e xists" />   586          <ww page:Condi tion name= "pdf-not-e xists" />
587         </xs l:if>   587         </xs l:if>
588       588    
589         <!--  breadcrum bs-top -->   589         <!--  breadcrum bs-top -->
590         <!--                   -->   590         <!--                   -->
591         <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" / >
592         <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) ">
593          <ww page:Condi tion name= "breadcrum bs-top" />   593          <ww page:Condi tion name= "breadcrum bs-top" />
594         </xs l:if>   594         </xs l:if>
595     595  
596         <!--  breadcrum bs-bottom  -->   596         <!--  breadcrum bs-bottom  -->
597         <!--                       -->   597         <!--                       -->
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" />   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" />
599         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">   599         <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'">
600          <ww page:Condi tion name= "breadcrum bs-bottom"  />   600          <ww page:Condi tion name= "breadcrum bs-bottom"  />
601         </xs l:if>   601         </xs l:if>
602     602  
603         <!--  navigatio n-top -->   603         <!--  navigatio n-top -->
604         <!--                  -->   604         <!--                  -->
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" />   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" />
606         <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)">
607          <ww page:Condi tion name= "navigatio n-top" />   607          <ww page:Condi tion name= "navigatio n-top" />
608         </xs l:if>   608         </xs l:if>
609     609  
610         <!--  navigatio n-bottom - ->   610         <!--  navigatio n-bottom - ->
611         <!--                     - ->   611         <!--                     - ->
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" />   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" />
613         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">   613         <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'">
614          <ww page:Condi tion name= "navigatio n-bottom"  />   614          <ww page:Condi tion name= "navigatio n-bottom"  />
615         </xs l:if>   615         </xs l:if>
616     616  
617         <!--  Generate  TOC? -->   617         <!--  Generate  TOC? -->
618         <!--                 -->   618         <!--                 -->
619         <xsl :if test=" count($Var TOCSplitFi le) = 1">   619         <xsl :if test=" count($Var TOCSplitFi le) = 1">
620          <xs l:choose>   620          <xs l:choose>
621           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">   621           <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1">
622            < !-- naviga tion-toc-c urrent -->   622            < !-- naviga tion-toc-c urrent -->
623            < !--                          -->   623            < !--                          -->
624            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />   624            < wwpage:Con dition nam e="navigat ion-toc-cu rrent" />
625           </ xsl:when>   625           </ xsl:when>
626     626  
627           <x sl:otherwi se>   627           <x sl:otherwi se>
628            < !-- naviga tion-toc-n ot-current  -->   628            < !-- naviga tion-toc-n ot-current  -->
629            < !--                          -->   629            < !--                          -->
630            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />   630            < wwpage:Con dition nam e="navigat ion-toc-no t-current"  />
631           </ xsl:otherw ise>   631           </ xsl:otherw ise>
632          </x sl:choose>   632          </x sl:choose>
633         </xs l:if>   633         </xs l:if>
634     634  
635         <!--  navigatio n-previous -exists -- >   635         <!--  navigatio n-previous -exists -- >
636         <!--                               -- >   636         <!--                               -- >
637         <xsl :if test=" count($Var PreviousSp lit) = 1">   637         <xsl :if test=" count($Var PreviousSp lit) = 1">
638          <ww page:Condi tion name= "navigatio n-previous -exists" / >   638          <ww page:Condi tion name= "navigatio n-previous -exists" / >
639         </xs l:if>   639         </xs l:if>
640     640  
641         <!--  navigatio n-previous -not-exist s -->   641         <!--  navigatio n-previous -not-exist s -->
642         <!--                                    -->   642         <!--                                    -->
643         <xsl :if test=" count($Var PreviousSp lit) = 0">   643         <xsl :if test=" count($Var PreviousSp lit) = 0">
644          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />   644          <ww page:Condi tion name= "navigatio n-previous -not-exist s" />
645         </xs l:if>   645         </xs l:if>
646     646  
647         <!--  navigatio n-next-exi sts -->   647         <!--  navigatio n-next-exi sts -->
648         <!--                           -->   648         <!--                           -->
649         <xsl :if test=" count($Var NextSplit)  = 1">   649         <xsl :if test=" count($Var NextSplit)  = 1">
650          <ww page:Condi tion name= "navigatio n-next-exi sts" />   650          <ww page:Condi tion name= "navigatio n-next-exi sts" />
651         </xs l:if>   651         </xs l:if>
652     652  
653         <!--  navigatio n-next-not -exists -- >   653         <!--  navigatio n-next-not -exists -- >
654         <!--                               -- >   654         <!--                               -- >
655         <xsl :if test=" count($Var NextSplit)  = 0">   655         <xsl :if test=" count($Var NextSplit)  = 0">
656          <ww page:Condi tion name= "navigatio n-next-not -exists" / >   656          <ww page:Condi tion name= "navigatio n-next-not -exists" / >
657         </xs l:if>   657         </xs l:if>
658     658  
659         <!--  Generate  Index? -->   659         <!--  Generate  Index? -->
660         <!--                   -->   660         <!--                   -->
661         <xsl :if test=" count($Var IndexSplit File) = 1" >   661         <xsl :if test=" count($Var IndexSplit File) = 1" >
662          <xs l:choose>   662          <xs l:choose>
663           <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">
664            < !-- naviga tion-index -current - ->   664            < !-- naviga tion-index -current - ->
665            < !--                          -->   665            < !--                          -->
666            < wwpage:Con dition nam e="navigat ion-index- current" / >   666            < wwpage:Con dition nam e="navigat ion-index- current" / >
667           </ xsl:when>   667           </ xsl:when>
668     668  
669           <x sl:otherwi se>   669           <x sl:otherwi se>
670            < !-- naviga tion-index -not-curre nt -->   670            < !-- naviga tion-index -not-curre nt -->
671            < !--                          -->   671            < !--                          -->
672            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />   672            < wwpage:Con dition nam e="navigat ion-index- not-curren t" />
673           </ xsl:otherw ise>   673           </ xsl:otherw ise>
674          </x sl:choose>   674          </x sl:choose>
675         </xs l:if>   675         </xs l:if>
676     676  
677         <!--  A-Link Ke ywords? -- >   677         <!--  A-Link Ke ywords? -- >
678         <!--                    -- >   678         <!--                    -- >
679         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">   679         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">
680          <ww page:Condi tion name= "alink-key words-exis t" />   680          <ww page:Condi tion name= "alink-key words-exis t" />
681         </xs l:if>   681         </xs l:if>
682     682  
683         <!--  A-Link Li nks? -->   683         <!--  A-Link Li nks? -->
684         <!--                 -->   684         <!--                 -->
685         <xsl :if test=" count($Var ALinkLinks [1]) = 1">   685         <xsl :if test=" count($Var ALinkLinks [1]) = 1">
686          <ww page:Condi tion name= "alink-lin ks-exist"  />   686          <ww page:Condi tion name= "alink-lin ks-exist"  />
687         </xs l:if>   687         </xs l:if>
688     688  
689         <!--  Company I nfo -->   689         <!--  Company I nfo -->
690         <!--                -->   690         <!--                -->
691         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">   691         <xsl :call-temp late name= "CompanyIn fo-Conditi ons">
692          <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" />
693         </xs l:call-tem plate>   693         </xs l:call-tem plate>
694        </xsl :variable>   694        </xsl :variable>
695        <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)" / >
696     696  
697        <!--  Set header /footer co nditions - ->   697        <!--  Set header /footer co nditions - ->
698        <!--                                 - ->   698        <!--                                 - ->
699        <xsl: variable n ame="VarCo nditionsAs XML">   699        <xsl: variable n ame="VarCo nditionsAs XML">
700         <!--  Copy exis ting as is  -->   700         <!--  Copy exis ting as is  -->
701         <!--                        -->   701         <!--                        -->
702         <xsl :for-each  select="$V arInitialC onditions/ *">   702         <xsl :for-each  select="$V arInitialC onditions/ *">
703          <xs l:copy-of  select="."  />   703          <xs l:copy-of  select="."  />
704         </xs l:for-each >   704         </xs l:for-each >
705     705  
706         <xsl :for-each  select="$V arInitialC onditions[ 1]">   706         <xsl :for-each  select="$V arInitialC onditions[ 1]">
707          <!- - header-e xists -->   707          <!- - header-e xists -->
708          <!- -                -->   708          <!- -                -->
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" />   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" />
710          <xs l:if test= "$VarHeade rExists">   710          <xs l:if test= "$VarHeade rExists">
711           <w wpage:Cond ition name ="header-e xists" />   711           <w wpage:Cond ition name ="header-e xists" />
712          </x sl:if>   712          </x sl:if>
713     713  
714          <!- - footer-e xists -->   714          <!- - footer-e xists -->
715          <!- -                -->   715          <!- -                -->
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" />   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" />
717          <xs l:if test= "$VarFoote rExists">   717          <xs l:if test= "$VarFoote rExists">
718           <w wpage:Cond ition name ="footer-e xists" />   718           <w wpage:Cond ition name ="footer-e xists" />
719          </x sl:if>   719          </x sl:if>
720     720  
721          <!- - header-f ooter-exis ts -->   721          <!- - header-f ooter-exis ts -->
722          <!- -                        -->   722          <!- -                        -->
723          <xs l:choose>   723          <xs l:choose>
724           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">   724           <x sl:when te st="$VarHe aderExists  or $VarFo oterExists ">
725            < wwpage:Con dition nam e="header- footer-exi sts" />   725            < wwpage:Con dition nam e="header- footer-exi sts" />
726           </ xsl:when>   726           </ xsl:when>
727     727  
728           <x sl:otherwi se>   728           <x sl:otherwi se>
729            < wwpage:Con dition nam e="header- footer-not -exists" / >   729            < wwpage:Con dition nam e="header- footer-not -exists" / >
730           </ xsl:otherw ise>   730           </ xsl:otherw ise>
731          </x sl:choose>   731          </x sl:choose>
732         </xs l:for-each >   732         </xs l:for-each >
733        </xsl :variable>   733        </xsl :variable>
734        <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)" />
735     735  
736        <!--  Replacemen ts -->   736        <!--  Replacemen ts -->
737        <!--                -->   737        <!--                -->
738        <xsl: variable n ame="VarRe placements AsXML">   738        <xsl: variable n ame="VarRe placements AsXML">
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)" />   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)" />
740         <xsl :variable  name="VarR elativeRoo tURI">   740         <xsl :variable  name="VarR elativeRoo tURI">
741          <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')"  />
742          <xs l:choose>   742          <xs l:choose>
743           <x sl:when te st="$VarSt ringLength Difference  &lt;= 0">   743           <x sl:when te st="$VarSt ringLength Difference  &lt;= 0">
744            < xsl:value- of select= "''" />   744            < xsl:value- of select= "''" />
745           </ xsl:when>   745           </ xsl:when>
746     746  
747           <x sl:otherwi se>   747           <x sl:otherwi se>
748            < 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) " />
749           </ xsl:otherw ise>   749           </ xsl:otherw ise>
750          </x sl:choose>   750          </x sl:choose>
751         </xs l:variable >   751         </xs l:variable >
752     752  
753         <!--  webworks- root -->   753         <!--  webworks- root -->
754         <!--                 -->   754         <!--                 -->
755         <wwp age:Replac ement name ="webworks -root">   755         <wwp age:Replac ement name ="webworks -root">
756          <xs l:comment>   756          <xs l:comment>
757           <x sl:text>   757           <x sl:text>
758   </xsl:text >   758   </xsl:text >
759           <x sl:text>         var   WebWorksR ootPath =  &quot;</xs l:text>   759           <x sl:text>         var   WebWorksR ootPath =  &quot;</xs l:text>
760           <x sl:value-o f select=" $VarRelati veRootURI"  />   760           <x sl:value-o f select=" $VarRelati veRootURI"  />
761           <x sl:text>&q uot;;   761           <x sl:text>&q uot;;
762   </xsl:text >   762   </xsl:text >
763           <x sl:text>       // </x sl:text>   763           <x sl:text>       // </x sl:text>
764          </x sl:comment >   764          </x sl:comment >
765         </ww page:Repla cement>   765         </ww page:Repla cement>
766     766  
767         <!--  body-clas s -->   767         <!--  body-clas s -->
768         <!--              -->   768         <!--              -->
769         <wwp age:Replac ement name ="body-cla ss">   769         <wwp age:Replac ement name ="body-cla ss">
770          <xs l:attribut e name="va lue">   770          <xs l:attribut e name="va lue">
771           <! -- Additio nal CSS cl asses -->   771           <! -- Additio nal CSS cl asses -->
772           <! --                          -->   772           <! --                          -->
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)" />   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)" />
774           <x sl:value-o f select=" $VarAdditi onalCSSCla ssesOption " />   774           <x sl:value-o f select=" $VarAdditi onalCSSCla ssesOption " />
775          </x sl:attribu te>   775          </x sl:attribu te>
776         </ww page:Repla cement>   776         </ww page:Repla cement>
777     777  
778         <!--  body-styl e -->   778         <!--  body-styl e -->
779         <!--              -->   779         <!--              -->
780         <wwp age:Replac ement name ="body-sty le">   780         <wwp age:Replac ement name ="body-sty le">
781          <xs l:attribut e name="va lue">   781          <xs l:attribut e name="va lue">
782           <! -- CSS pro perties -- >   782           <! -- CSS pro perties -- >
783           <! --                 -- >   783           <! --                 -- >
784           <x sl:variabl e name="Va rCSSProper tiesAsXML" >   784           <x sl:variabl e name="Va rCSSProper tiesAsXML" >
785            < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties">   785            < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties">
786              <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"  />
787              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />   787              <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path"  />
788              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />   788              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" />
789            < /xsl:call- template>   789            < /xsl:call- template>
790           </ xsl:variab le>   790           </ xsl:variab le>
791           <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" />
792     792  
793           <x sl:call-te mplate nam e="CSS-Inl inePropert ies">   793           <x sl:call-te mplate nam e="CSS-Inl inePropert ies">
794            < 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]" />
795           </ xsl:call-t emplate>   795           </ xsl:call-t emplate>
796          </x sl:attribu te>   796          </x sl:attribu te>
797         </ww page:Repla cement>   797         </ww page:Repla cement>
798     798  
799         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">   799         <xsl :if test=" string-len gth($VarPD FLinkURI)  &gt; 0">
800           <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}" / >
801         </xs l:if>   801         </xs l:if>
802     802  
803         <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}" />
804         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />   804         <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" />
805         <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}" />
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}" / >   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}" / >
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}"  />   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}"  />
808         <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} " />
        809         <wwp age:Replac ement name ="navigati on-pdf-tit le" value= "{$GlobalL ocale/wwlo cale:Local e/wwlocale :Strings/w wlocale:St ring[@name  = 'PDF']/ @value}" / >
809     810  
810         <wwp age:Replac ement name ="catalog- css">   811         <wwp age:Replac ement name ="catalog- css">
811          <xs l:attribut e name="va lue">   812          <xs l:attribut e name="va lue">
812           <x sl:for-eac h select=" $GlobalFil es[1]">   813           <x sl:for-eac h select=" $GlobalFil es[1]">
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" />   814            < xsl:variab le name="V arCSSPath"  select="k ey('wwfile s-files-by -documenti d', $Param FilesDocum entNode/@d ocumentID) [@type = $ ParameterS tylesType] /@path" />
814            < xsl:value- of select= "wwuri:Get RelativeTo ($VarCSSPa th, $Param Split/@pat h)" />   815            < xsl:value- of select= "wwuri:Get RelativeTo ($VarCSSPa th, $Param Split/@pat h)" />
815           </ xsl:for-ea ch>   816           </ xsl:for-ea ch>
816          </x sl:attribu te>   817          </x sl:attribu te>
817         </ww page:Repla cement>   818         </ww page:Repla cement>
818     819  
819         <wwp age:Replac ement name ="document -css">   820         <wwp age:Replac ement name ="document -css">
820          <xs l:attribut e name="va lue">   821          <xs l:attribut e name="va lue">
821           <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI">   822           <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI">
822            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  />   823            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  />
823            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />   824            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" />
824            < xsl:with-p aram name= "ParamURI"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / >   825            < xsl:with-p aram name= "ParamURI"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / >
825           </ xsl:call-t emplate>   826           </ xsl:call-t emplate>
826          </x sl:attribu te>   827          </x sl:attribu te>
827         </ww page:Repla cement>   828         </ww page:Repla cement>
828     829  
829         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />   830         <wwp age:Replac ement name ="locale"  value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" />
830         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'ISO-885 9-1'))}" / >   831         <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'ISO-885 9-1'))}" / >
831     832  
832         <wwp age:Replac ement name ="breadcru mbs-top-st yle">   833         <wwp age:Replac ement name ="breadcru mbs-top-st yle">
833          <xs l:attribut e name="va lue">   834          <xs l:attribut e name="va lue">
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" />   835           <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" />
835           <x sl:choose>   836           <x sl:choose>
836            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   837            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
837              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   838              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
838            < /xsl:when>   839            < /xsl:when>
839     840  
840            < xsl:otherw ise>   841            < xsl:otherw ise>
841              <xsl:value -of select ="'text-al ign: left; '" />   842              <xsl:value -of select ="'text-al ign: left; '" />
842            < /xsl:other wise>   843            < /xsl:other wise>
843           </ xsl:choose >   844           </ xsl:choose >
844          </x sl:attribu te>   845          </x sl:attribu te>
845         </ww page:Repla cement>   846         </ww page:Repla cement>
846     847  
847         <wwp age:Replac ement name ="breadcru mbs-bottom -style">   848         <wwp age:Replac ement name ="breadcru mbs-bottom -style">
848          <xs l:attribut e name="va lue">   849          <xs l:attribut e name="va lue">
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" / >   850           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / >
850           <x sl:choose>   851           <x sl:choose>
851            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   852            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
852              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   853              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
853            < /xsl:when>   854            < /xsl:when>
854     855  
855            < xsl:otherw ise>   856            < xsl:otherw ise>
856              <xsl:value -of select ="'text-al ign: left; '" />   857              <xsl:value -of select ="'text-al ign: left; '" />
857            < /xsl:other wise>   858            < /xsl:other wise>
858           </ xsl:choose >   859           </ xsl:choose >
859          </x sl:attribu te>   860          </x sl:attribu te>
860         </ww page:Repla cement>   861         </ww page:Repla cement>
861     862  
862         <wwp age:Replac ement name ="navigati on-top-sty le">   863         <wwp age:Replac ement name ="navigati on-top-sty le">
863          <xs l:attribut e name="va lue">   864          <xs l:attribut e name="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" />   865           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" />
865           <x sl:choose>   866           <x sl:choose>
866            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   867            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
867              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   868              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
868            < /xsl:when>   869            < /xsl:when>
869     870  
870            < xsl:otherw ise>   871            < xsl:otherw ise>
871              <xsl:value -of select ="'text-al ign: left; '" />   872              <xsl:value -of select ="'text-al ign: left; '" />
872            < /xsl:other wise>   873            < /xsl:other wise>
873           </ xsl:choose >   874           </ xsl:choose >
874          </x sl:attribu te>   875          </x sl:attribu te>
875         </ww page:Repla cement>   876         </ww page:Repla cement>
876     877  
877         <wwp age:Replac ement name ="navigati on-bottom- style">   878         <wwp age:Replac ement name ="navigati on-bottom- style">
878          <xs l:attribut e name="va lue">   879          <xs l:attribut e name="va lue">
879           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />   880           <x sl:variabl e name="Va rAlignment Property"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" />
880           <x sl:choose>   881           <x sl:choose>
881            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">   882            < xsl:when t est="strin g-length($ VarAlignme ntProperty ) &gt; 0">
882              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />   883              <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" />
883            < /xsl:when>   884            < /xsl:when>
884     885  
885            < xsl:otherw ise>   886            < xsl:otherw ise>
886              <xsl:value -of select ="'text-al ign: left; '" />   887              <xsl:value -of select ="'text-al ign: left; '" />
887            < /xsl:other wise>   888            < /xsl:other wise>
888           </ xsl:choose >   889           </ xsl:choose >
889          </x sl:attribu te>   890          </x sl:attribu te>
890         </ww page:Repla cement>   891         </ww page:Repla cement>
891     892  
892         <xsl :if test=" count($Var TOCSplitFi le) = 1">   893         <xsl :if test=" count($Var TOCSplitFi le) = 1">
893          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />   894          <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Ge tRelativeT o($VarTOCS plitFile/@ path, $Par amSplit/@p ath)}" />
894         </xs l:if>   895         </xs l:if>
895         <xsl :if test=" count($Var PreviousSp lit) = 1">   896         <xsl :if test=" count($Var PreviousSp lit) = 1">
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) }" />   897          <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:GetRela tiveTo($Va rPreviousS plit/@path , $ParamSp lit/@path) }" />
897         </xs l:if>   898         </xs l:if>
898         <xsl :if test=" count($Var NextSplit)  = 1">   899         <xsl :if test=" count($Var NextSplit)  = 1">
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)}" />   900          <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}" />
900         </xs l:if>   901         </xs l:if>
901         <xsl :if test=" count($Var IndexSplit File) = 1" >   902         <xsl :if test=" count($Var IndexSplit File) = 1" >
902          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />   903          <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}"  />
903         </xs l:if>   904         </xs l:if>
904     905  
905         <!--  A-Link Ke ywords -->   906         <!--  A-Link Ke ywords -->
906         <!--                   -->   907         <!--                   -->
907         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">   908         <xsl :if test=" count($Var ALinkKeywo rds[1]) =  1">
908          <ww page:Repla cement nam e="alink-k eywords">   909          <ww page:Repla cement nam e="alink-k eywords">
909           <x sl:copy-of  select="$ VarALinkKe ywords" />   910           <x sl:copy-of  select="$ VarALinkKe ywords" />
910          </w wpage:Repl acement>   911          </w wpage:Repl acement>
911         </xs l:if>   912         </xs l:if>
912     913  
913         <!--  A-Link Li nks -->   914         <!--  A-Link Li nks -->
914         <!--                -->   915         <!--                -->
915         <xsl :if test=" count($Var ALinkLinks [1]) = 1">   916         <xsl :if test=" count($Var ALinkLinks [1]) = 1">
916          <ww page:Repla cement nam e="alink-l inks">   917          <ww page:Repla cement nam e="alink-l inks">
917           <x sl:copy-of  select="$ VarALinkLi nks" />   918           <x sl:copy-of  select="$ VarALinkLi nks" />
918          </w wpage:Repl acement>   919          </w wpage:Repl acement>
919         </xs l:if>   920         </xs l:if>
920     921  
921         <!--  Company I nfo -->   922         <!--  Company I nfo -->
922         <!--                -->   923         <!--                -->
923         <xsl :call-temp late name= "CompanyIn fo-Replace ments">   924         <xsl :call-temp late name= "CompanyIn fo-Replace ments">
924          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />   925          <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" />
925          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />   926          <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path"  />
926          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />   927          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" />
927         </xs l:call-tem plate>   928         </xs l:call-tem plate>
928     929  
929         <!--  Breadcrum bs -->   930         <!--  Breadcrum bs -->
930         <!--               -->   931         <!--               -->
931         <wwp age:Replac ement name ="breadcru mbs">   932         <wwp age:Replac ement name ="breadcru mbs">
932          <xs l:call-tem plate name ="Breadcru mbs">   933          <xs l:call-tem plate name ="Breadcru mbs">
933           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />   934           <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" />
934           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   935           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
935           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >   936           <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / >
936          </x sl:call-te mplate>   937          </x sl:call-te mplate>
937         </ww page:Repla cement>   938         </ww page:Repla cement>
938     939  
939         <!--  Content - ->   940         <!--  Content - ->
940         <!--          - ->   941         <!--          - ->
941         <wwp age:Replac ement name ="content" >   942         <wwp age:Replac ement name ="content" >
942          <xs l:call-tem plate name ="Content- Content">   943          <xs l:call-tem plate name ="Content- Content">
943           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />   944           <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" />
944           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   945           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
945           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   946           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
946           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   947           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
947           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   948           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
948           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   949           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
949          </x sl:call-te mplate>   950          </x sl:call-te mplate>
950          <xs l:call-tem plate name ="Content- Notes">   951          <xs l:call-tem plate name ="Content- Notes">
951           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />   952           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  />
952           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />   953           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" />
953           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />   954           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  />
954           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />   955           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" />
955           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />   956           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" />
956           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   957           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
957          </x sl:call-te mplate>   958          </x sl:call-te mplate>
958         </ww page:Repla cement>   959         </ww page:Repla cement>
959     960  
960         <!--  Variables  -->   961         <!--  Variables  -->
961         <!--             -->   962         <!--             -->
962         <xsl :variable  name="VarS plitGlobal VariablesA sXML">   963         <xsl :variable  name="VarS plitGlobal VariablesA sXML">
963          <xs l:call-tem plate name ="Variable s-Globals- Split">   964          <xs l:call-tem plate name ="Variable s-Globals- Split">
964           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />   965           <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" />
965           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />   966           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" />
966          </x sl:call-te mplate>   967          </x sl:call-te mplate>
967         </xs l:variable >   968         </xs l:variable >
968         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />   969         <xsl :variable  name="VarS plitGlobal Variables"  select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " />
969         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">   970         <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments">
970          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >   971          <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / >
971         </xs l:call-tem plate>   972         </xs l:call-tem plate>
972        </xsl :variable>   973        </xsl :variable>
973        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >   974        <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / >
974     975  
975        <!--  Map common  character s -->   976        <!--  Map common  character s -->
976        <!--                          -->   977        <!--                          -->
977        <wwex sldoc:Mapp ingContext >   978        <wwex sldoc:Mapp ingContext >
978         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />   979         <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name =  'common']/ wwexsldoc: MapEntry"  />
979     980  
980         <!--  Invoke pa ge templat e -->   981         <!--  Invoke pa ge templat e -->
981         <!--                         -->   982         <!--                         -->
982         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">   983         <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e">
983          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />   984          <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" />
984          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />   985          <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" />
985          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />   986          <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions"  />
986          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />   987          <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" />
987         </xs l:apply-te mplates>   988         </xs l:apply-te mplates>
988        </wwe xsldoc:Map pingContex t>   989        </wwe xsldoc:Map pingContex t>
989       </xsl: for-each>   990       </xsl: for-each>
990      </xsl:v ariable>   991      </xsl:v ariable>
991     992  
992      <!-- Ab orted? -->   993      <!-- Ab orted? -->
993      <!--           -->   994      <!--           -->
994      <xsl:if  test="not (wwprogres s:Abort()) ">   995      <xsl:if  test="not (wwprogres s:Abort()) ">
995       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />   996       <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" />
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')" />   997       <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')" />
997      </xsl:i f>   998      </xsl:i f>
998     </xsl:if >   999     </xsl:if >
999     1000  
1000     <!-- Abo rted? -->   1001     <!-- Abo rted? -->
1001     <!--           -->   1002     <!--           -->
1002     <xsl:if  test="not( wwprogress :Abort())" >   1003     <xsl:if  test="not( wwprogress :Abort())" >
1003      <!-- Re cord files  -->   1004      <!-- Re cord files  -->
1004      <!--                -->   1005      <!--                -->
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 }">   1006      <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 }">
1006       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />   1007       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  />
1007       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " />   1008       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP 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=" " />   1009       <wwfil es:Depends  path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " />
1009       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />   1010       <wwfil es:Depends  path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID=""  />
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 }" />   1011       <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 }" />
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}" / >   1012       <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}" / >
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}" />   1013       <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}" />
1013      </wwfil es:File>   1014      </wwfil es:File>
1014     </xsl:if >   1015     </xsl:if >
1015    </xsl:tem plate>   1016    </xsl:tem plate>
1016   </xsl:styl esheet>   1017   </xsl:styl esheet>