61. Araxis Merge File Comparison Report

Produced by Araxis Merge on Wed Jan 21 22:23:37 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.

61.1 Files compared

# Location File Last Modified
1 Q:\Formats.2008.3.20682\XML+XSL\Transforms pages.xsl Mon Oct 13 05:52:00 2008 UTC
2 Q:\Formats.2008.4.20859\XML+XSL\Transforms pages.xsl Mon Jan 19 18:02:52 2009 UTC

61.2 Comparison summary

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

61.3 Comparison options

Whitespace Differences in whitespace at the start of lines are ignored
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Shown in the comparison detail

61.4 Active regular expressions

Expression Description
\$(Id|Author|Date|Header|Id|Locker|Name|RCSfile|Revision|Source|State):[^$]*\$ CVS comments
<LastModified>.*</LastModified> last modified
- Title ignore - Title

61.5 Comparison detail

1   <?xml vers ion="1.0"  encoding=" UTF-8"?> CR LF   1   <?xml vers ion="1.0"  encoding=" UTF-8"?> CR LF
2   <xsl:style sheet vers ion="1.0"  xmlns="urn :WebWorks- XMLXSL-Out put-Schema " CR LF   2   <xsl:style sheet vers ion="1.0"  xmlns="urn :WebWorks- XMLXSL-Out put-Schema " CR LF
3                                    xmlns:wwxm lxsl="urn: WebWorks-X MLXSL-Outp ut-Schema" CR LF   3                                    xmlns:wwxm lxsl="urn: WebWorks-X MLXSL-Outp ut-Schema" CR LF
4                                    xmlns:wp=" urn:WebWor ks-XMLXSL- Container- Schema" CR LF   4                                    xmlns:wp=" urn:WebWor ks-XMLXSL- Container- Schema" CR LF
5                                    xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" CR LF   5                                    xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" CR LF
6                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt" CR LF   6                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt" CR LF
7                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF   7                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF
8                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" CR LF   8                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" CR LF
9                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" CR LF   9                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" CR LF
10                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" CR LF   10                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" CR LF
11                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF   11                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF
12                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema" CR LF   12                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema" CR LF
13                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" CR LF   13                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" CR LF
14                                    xmlns:wwva rs="urn:We bWorks-Var iables-Sch ema" CR LF   14                                    xmlns:wwva rs="urn:We bWorks-Var iables-Sch ema" CR LF
15                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema" CR LF   15                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema" CR LF
16                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF   16                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF
17                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF   17                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF
18                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF   18                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF
19                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF   19                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF
20                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF   20                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF
21                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF   21                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF
22                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF   22                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF
23                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF   23                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF
24                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units" CR LF   24                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units" CR LF
25                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF   25                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF
26                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF   26                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF
27                                    xmlns:wwim aging="urn :WebWorks- XSLT-Exten sion-Imagi ng" CR LF   27                                    xmlns:wwim aging="urn :WebWorks- XSLT-Exten sion-Imagi ng" CR LF
28                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF   28                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF
29                                    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" CR LF   29                                    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" CR LF
30   > CR LF   30   > CR LF
31    <xsl:para m name="Gl obalInput"  /> CR LF   31    <xsl:para m name="Gl obalInput"  /> CR LF
32    <xsl:para m name="Gl obalPipeli neName" /> CR LF   32    <xsl:para m name="Gl obalPipeli neName" /> CR LF
33    <xsl:para m name="Gl obalProjec t" /> CR LF   33    <xsl:para m name="Gl obalProjec t" /> CR LF
34    <xsl:para m name="Gl obalFiles"  /> CR LF   34    <xsl:para m name="Gl obalFiles"  /> CR LF
35    <xsl:para m name="Pa rameterDep endsType"  /> CR LF   35    <xsl:para m name="Pa rameterDep endsType"  /> CR LF
36    <xsl:para m name="Pa rameterSpl itsType" / > CR LF   36    <xsl:para m name="Pa rameterSpl itsType" / > CR LF
37    <xsl:para m name="Pa rameterLin ksType" /> CR LF   37    <xsl:para m name="Pa rameterLin ksType" /> CR LF
38    <xsl:para m name="Pa rameterSty lesType" / > CR LF   38    <xsl:para m name="Pa rameterSty lesType" / > CR LF
39    <xsl:para m name="Pa rameterLoc aleType" / > CR LF   39    <xsl:para m name="Pa rameterLoc aleType" / > CR LF
40    <xsl:para m name="Pa rameterBeh aviorsType " /> CR LF   40    <xsl:para m name="Pa rameterBeh aviorsType " /> CR LF
41    <xsl:para m name="Pa rameterPro jectVariab lesType" / > CR LF   41    <xsl:para m name="Pa rameterPro jectVariab lesType" / > CR LF
42    <xsl:para m name="Pa rameterTOC DataType"  /> CR LF   42    <xsl:para m name="Pa rameterTOC DataType"  /> CR LF
43    <xsl:para m name="Pa rameterAll owBaggage"  /> CR LF   43    <xsl:para m name="Pa rameterAll owBaggage"  /> CR LF
44    <xsl:para m name="Pa rameterAll owGroupToG roup" /> CR LF   44    <xsl:para m name="Pa rameterAll owGroupToG roup" /> CR LF
45    <xsl:para m name="Pa rameterAll owURL" /> CR LF   45    <xsl:para m name="Pa rameterAll owURL" /> CR LF
46    <xsl:para m name="Pa rameterBag gageSplitF ileType" / > CR LF   46    <xsl:para m name="Pa rameterBag gageSplitF ileType" / > CR LF
47    <xsl:para m name="Pa rameterTOC SplitFileT ype" /> CR LF   47    <xsl:para m name="Pa rameterTOC SplitFileT ype" /> CR LF
48    <xsl:para m name="Pa rameterInd exSplitFil eType" /> CR LF   48    <xsl:para m name="Pa rameterInd exSplitFil eType" /> CR LF
49    <xsl:para m name="Pa rameterTyp e" /> CR LF   49    <xsl:para m name="Pa rameterTyp e" /> CR LF
50    <xsl:para m name="Pa rameterCat egory" /> CR LF   50    <xsl:para m name="Pa rameterCat egory" /> CR LF
51    <xsl:para m name="Pa rameterUse " /> CR LF   51    <xsl:para m name="Pa rameterUse " /> CR LF
52    <xsl:para m name="Pa rameterDep loy" /> CR LF   52    <xsl:para m name="Pa rameterDep loy" /> CR LF
53    <xsl:para m name="Pa rameterDoc umentPDFTy pe" /> CR LF   53    <xsl:para m name="Pa rameterDoc umentPDFTy pe" /> CR LF
54    <xsl:para m name="Pa rameterGro upPDFType"  /> CR LF   54    <xsl:para m name="Pa rameterGro upPDFType"  /> CR LF
55   CR LF   55   CR LF
56   CR LF   56   CR LF
57    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'urn:We bWorks-XML XSL-Output -Schema'"  /> CR LF   57    <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'urn:We bWorks-XML XSL-Output -Schema'"  /> CR LF
58   CR LF   58   CR LF
59   CR LF   59   CR LF
60    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" /> CR LF   60    <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" /> CR LF
61    <xsl:name space-alia s styleshe et-prefix= "wwxmlxsl"  result-pr efix="#def ault"/> CR LF   61    <xsl:name space-alia s styleshe et-prefix= "wwxmlxsl"  result-pr efix="#def ault"/> CR LF
62    <xsl:stri p-space el ements="*"  /> CR LF   62    <xsl:stri p-space el ements="*"  /> CR LF
63   CR LF   63   CR LF
64   CR LF   64   CR LF
65    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/> CR LF   65    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/> CR LF
66    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/> CR LF   66    <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl"/> CR LF
67    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" /> CR LF   67    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" /> CR LF
68    <xsl:incl ude href=" wwtransfor m:common/i mages/util ities.xsl"  /> CR LF   68    <xsl:incl ude href=" wwtransfor m:common/i mages/util ities.xsl"  /> CR LF
69    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> CR LF   69    <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> CR LF
70    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" /> CR LF   70    <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" /> CR LF
71    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> CR LF   71    <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> CR LF
72    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" /> CR LF   72    <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" /> CR LF
73    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" /> CR LF   73    <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" /> CR LF
74    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" /> CR LF   74    <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" /> CR LF
75    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" /> CR LF   75    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" /> CR LF
76    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" /> CR LF   76    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" /> CR LF
77    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" /> CR LF   77    <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" /> CR LF
78   CR LF   78   CR LF
79   CR LF   79   CR LF
80    <xsl:vari able name= "GlobalAct ionChecksu m"> CR LF   80    <xsl:vari able name= "GlobalAct ionChecksu m"> CR LF
81     <xsl:var iable name ="VarTrans formChecks ums"> CR LF   81     <xsl:var iable name ="VarTrans formChecks ums"> CR LF
82      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  /> CR LF   82      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  /> CR LF
83      <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')))" / > CR LF   83      <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')))" / > CR LF
84      <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')))" / > CR LF   84      <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')))" / > CR LF
85      <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')))"  /> CR LF   85      <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')))"  /> CR LF
86      <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')))"  /> CR LF   86      <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')))"  /> CR LF
87      <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' )))" /> CR LF   87      <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' )))" /> CR LF
88      <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')))"  /> CR LF   88      <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')))"  /> CR LF
89      <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' )))" /> CR LF   89      <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' )))" /> CR LF
90      <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' )))" /> CR LF   90      <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' )))" /> CR LF
91      <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' )))" /> CR LF   91      <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' )))" /> CR LF
92      <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')))" /> CR LF   92      <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')))" /> CR LF
93      <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')) )" /> CR LF   93      <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')) )" /> CR LF
94      <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')))" / > CR LF   94      <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')))" / > CR LF
95      <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' )))" /> CR LF   95      <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' )))" /> CR LF
96     </xsl:va riable> CR LF   96     </xsl:va riable> CR LF
97     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  /> CR LF   97     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  /> CR LF
98    </xsl:var iable> CR LF   98    </xsl:var iable> CR LF
99   CR LF   99   CR LF
100   CR LF   100   CR LF
101    <!-- Loca le --> CR LF   101    <!-- Loca le --> CR LF
102    <!--         --> CR LF   102    <!--         --> CR LF
103    <xsl:vari able name= "GlobalLoc alePath"> CR LF   103    <xsl:vari able name= "GlobalLoc alePath"> CR LF
104     <xsl:for -each sele ct="$Globa lFiles[1]" > CR LF   104     <xsl:for -each sele ct="$Globa lFiles[1]" > CR LF
105      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" /> CR LF   105      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" /> CR LF
106     </xsl:fo r-each> CR LF   106     </xsl:fo r-each> CR LF
107    </xsl:var iable> CR LF   107    </xsl:var iable> CR LF
108    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" /> CR LF   108    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" /> CR LF
109   CR LF   109   CR LF
110   CR LF   110   CR LF
111    <!-- Mapp ing Entry  Sets --> CR LF   111    <!-- Mapp ing Entry  Sets --> CR LF
112    <!--                      --> CR LF   112    <!--                      --> CR LF
113    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwformat: Transforms /mapentrys ets.xml')"  /> CR LF   113    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwformat: Transforms /mapentrys ets.xml')"  /> CR LF
114    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" /> CR LF   114    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" /> CR LF
115   CR LF   115   CR LF
116   CR LF   116   CR LF
117    <!-- Proj ect variab les --> CR LF   117    <!-- Proj ect variab les --> CR LF
118    <!--                     --> CR LF   118    <!--                     --> CR LF
119    <xsl:vari able name= "GlobalPro jectVariab lesPath"> CR LF   119    <xsl:vari able name= "GlobalPro jectVariab lesPath"> CR LF
120     <xsl:for -each sele ct="$Globa lFiles[1]" > CR LF   120     <xsl:for -each sele ct="$Globa lFiles[1]" > CR LF
121      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" /> CR LF   121      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" /> CR LF
122     </xsl:fo r-each> CR LF   122     </xsl:fo r-each> CR LF
123    </xsl:var iable> CR LF   123    </xsl:var iable> CR LF
124    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" /> CR LF   124    <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" /> CR LF
125   CR LF   125   CR LF
126   CR LF   126   CR LF
127    <xsl:temp late match ="/"> CR LF   127    <xsl:temp late match ="/"> CR LF
128     <wwfiles :Files ver sion="1.0" > CR LF   128     <wwfiles :Files ver sion="1.0" > CR LF
129   CR LF   129   CR LF
130      <xsl:ca ll-templat e name="Do cumentsPag es"> CR LF   130      <xsl:ca ll-templat e name="Do cumentsPag es"> CR LF
131       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  /> CR LF   131       <xsl:w ith-param  name="Para mInput" se lect="$Glo balInput"  /> CR LF
132       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" /> CR LF   132       <xsl:w ith-param  name="Para mProject"  select="$G lobalProje ct" /> CR LF
133       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  /> CR LF   133       <xsl:w ith-param  name="Para mFiles" se lect="$Glo balFiles"  /> CR LF
134       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  /> CR LF   134       <xsl:w ith-param  name="Para mLinksType " select=" $Parameter LinksType"  /> CR LF
135       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" /> CR LF   135       <xsl:w ith-param  name="Para mDependsTy pe" select ="$Paramet erDependsT ype" /> CR LF
136       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" /> CR LF   136       <xsl:w ith-param  name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" /> CR LF
137       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / > CR LF   137       <xsl:w ith-param  name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / > CR LF
138       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" /> CR LF   138       <xsl:w ith-param  name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" /> CR LF
139      </xsl:c all-templa te> CR LF   139      </xsl:c all-templa te> CR LF
140   CR LF   140   CR LF
141     </wwfile s:Files> CR LF   141     </wwfile s:Files> CR LF
142    </xsl:tem plate> CR LF   142    </xsl:tem plate> CR LF
143   CR LF   143   CR LF
144   CR LF   144   CR LF
145    <xsl:temp late name= "Page"> CR LF   145    <xsl:temp late name= "Page"> CR LF
146     <xsl:par am name="P aramFilesS plits" /> CR LF   146     <xsl:par am name="P aramFilesS plits" /> CR LF
147     <xsl:par am name="P aramSplits " /> CR LF   147     <xsl:par am name="P aramSplits " /> CR LF
148     <xsl:par am name="P aramBehavi orsFile" / > CR LF   148     <xsl:par am name="P aramBehavi orsFile" / > CR LF
149     <xsl:par am name="P aramBehavi ors" /> CR LF   149     <xsl:par am name="P aramBehavi ors" /> CR LF
150     <xsl:par am name="P aramLinks"  /> CR LF   150     <xsl:par am name="P aramLinks"  /> CR LF
151     <xsl:par am name="P aramTOCDat a" /> CR LF   151     <xsl:par am name="P aramTOCDat a" /> CR LF
152     <xsl:par am name="P aramBreadc rumbTOCEnt ry" /> CR LF   152     <xsl:par am name="P aramBreadc rumbTOCEnt ry" /> CR LF
153     <xsl:par am name="P aramFilesD ocumentNod e" /> CR LF   153     <xsl:par am name="P aramFilesD ocumentNod e" /> CR LF
154     <xsl:par am name="P aramSplit"  /> CR LF   154     <xsl:par am name="P aramSplit"  /> CR LF
155     <xsl:par am name="P aramDocume nt" /> CR LF   155     <xsl:par am name="P aramDocume nt" /> CR LF
156     <xsl:par am name="P aramConten t" /> CR LF   156     <xsl:par am name="P aramConten t" /> CR LF
157   CR LF   157   CR LF
158     <!-- Out put --> CR LF   158     <!-- Out put --> CR LF
159     <!--         --> CR LF   159     <!--         --> CR LF
160     <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)" /> CR LF   160     <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)" /> CR LF
161     <xsl:if  test="not( $VarUpToDa te)"> CR LF   161     <xsl:if  test="not( $VarUpToDa te)"> CR LF
162      <xsl:va riable nam e="VarResu ltAsXML"> CR LF   162      <xsl:va riable nam e="VarResu ltAsXML"> CR LF
163       <!-- M ap common  characters  --> CR LF   163       <!-- M ap common  characters  --> CR LF
164       <!--                          --> CR LF   164       <!--                          --> CR LF
165       <wwexs ldoc:Mappi ngContext> CR LF   165       <wwexs ldoc:Mappi ngContext> CR LF
166        <xsl: copy-of se lect="$Glo balMapEntr ySets/wwex sldoc:MapE ntrySets/w wexsldoc:M apEntrySet [@name = ' common']/w wexsldoc:M apEntry" / > CR LF   166        <xsl: copy-of se lect="$Glo balMapEntr ySets/wwex sldoc:MapE ntrySets/w wexsldoc:M apEntrySet [@name = ' common']/w wexsldoc:M apEntry" / > CR LF
167   CR LF   167   CR LF
168        <!--  Output dir ectory pat h --> CR LF   168        <!--  Output dir ectory pat h --> CR LF
169        <!--                          --> CR LF   169        <!--                          --> CR LF
170        <xsl: variable n ame="VarOu tputDirect oryPath" s elect="wwf ilesystem: Combine(ww projext:Ge tTargetOut putDirecto ryPath(),  wwprojext: GetGroupNa me($ParamS plit/@grou pID))" /> CR LF   170        <xsl: variable n ame="VarOu tputDirect oryPath" s elect="wwf ilesystem: Combine(ww projext:Ge tTargetOut putDirecto ryPath(),  wwprojext: GetGroupNa me($ParamS plit/@grou pID))" /> CR LF
171   CR LF   171   CR LF
172        <!--  document.x sl path -- > CR LF   172        <!--  document.x sl path -- > CR LF
173        <!--                     -- > CR LF   173        <!--                     -- > CR LF
174        <xsl: variable n ame="VarDo cumentXSLP ath" selec t="wwfiles ystem:Comb ine($VarOu tputDirect oryPath, ' xsl', 'doc ument.xsl' )" /> CR LF   174        <xsl: variable n ame="VarDo cumentXSLP ath" selec t="wwfiles ystem:Comb ine($VarOu tputDirect oryPath, ' xsl', 'doc ument.xsl' )" /> CR LF
175   CR LF   175   CR LF
176        <!--  Images dir  --> CR LF   176        <!--  Images dir  --> CR LF
177        <!--              --> CR LF   177        <!--              --> CR LF
178        <xsl: variable n ame="VarIm agesDir" s elect="wwf ilesystem: Combine($V arOutputDi rectoryPat h, 'images ')" /> CR LF   178        <xsl: variable n ame="VarIm agesDir" s elect="wwf ilesystem: Combine($V arOutputDi rectoryPat h, 'images ')" /> CR LF
179   CR LF   179   CR LF
180        <!--  Scripts di r --> CR LF   180        <!--  Scripts di r --> CR LF
181        <!--               --> CR LF   181        <!--               --> CR LF
182        <xsl: variable n ame="VarSc riptsDir"  select="ww filesystem :Combine($ VarOutputD irectoryPa th, 'scrip ts')" /> CR LF   182        <xsl: variable n ame="VarSc riptsDir"  select="ww filesystem :Combine($ VarOutputD irectoryPa th, 'scrip ts')" /> CR LF
183   CR LF   183   CR LF
184        <!--  WebWorks R oot --> CR LF   184        <!--  WebWorks R oot --> CR LF
185        <!--                 --> CR LF   185        <!--                 --> CR LF
186        <xsl: variable n ame="VarRe lativeRoot URIWithDum myComponen t" select= "wwuri:Get RelativeTo (wwfilesys tem:Combin e($VarOutp utDirector yPath, 'du mmy.compon ent'), $Pa ramSplit/@ path)" /> CR LF   186        <xsl: variable n ame="VarRe lativeRoot URIWithDum myComponen t" select= "wwuri:Get RelativeTo (wwfilesys tem:Combin e($VarOutp utDirector yPath, 'du mmy.compon ent'), $Pa ramSplit/@ path)" /> CR LF
187        <xsl: variable n ame="VarRe lativeRoot URI"> CR LF   187        <xsl: variable n ame="VarRe lativeRoot URI"> CR LF
188         <xsl :variable  name="VarS tringLengt hDifferenc e" select= "string-le ngth($VarR elativeRoo tURIWithDu mmyCompone nt) - stri ng-length( 'dummy.com ponent')"  /> CR LF   188         <xsl :variable  name="VarS tringLengt hDifferenc e" select= "string-le ngth($VarR elativeRoo tURIWithDu mmyCompone nt) - stri ng-length( 'dummy.com ponent')"  /> CR LF
189         <xsl :choose> CR LF   189         <xsl :choose> CR LF
190          <xs l:when tes t="$VarStr ingLengthD ifference  &lt;= 0"> CR LF   190          <xs l:when tes t="$VarStr ingLengthD ifference  &lt;= 0"> CR LF
191           <x sl:value-o f select=" ''" /> CR LF   191           <x sl:value-o f select=" ''" /> CR LF
192          </x sl:when> CR LF   192          </x sl:when> CR LF
193   CR LF   193   CR LF
194          <xs l:otherwis e> CR LF   194          <xs l:otherwis e> CR LF
195           <x sl:value-o f select=" substring( $VarRelati veRootURIW ithDummyCo mponent, 1 , $VarStri ngLengthDi fference)"  /> CR LF   195           <x sl:value-o f select=" substring( $VarRelati veRootURIW ithDummyCo mponent, 1 , $VarStri ngLengthDi fference)"  /> CR LF
196          </x sl:otherwi se> CR LF   196          </x sl:otherwi se> CR LF
197         </xs l:choose> CR LF   197         </xs l:choose> CR LF
198        </xsl :variable> CR LF   198        </xsl :variable> CR LF
199   CR LF   199   CR LF
200        <!--  Page Rule  --> CR LF   200        <!--  Page Rule  --> CR LF
201        <!--             --> CR LF   201        <!--             --> CR LF
202        <xsl: variable n ame="VarPa geRule" se lect="wwpr ojext:GetR ule('Page' , $ParamSp lit/@style name)" /> CR LF   202        <xsl: variable n ame="VarPa geRule" se lect="wwpr ojext:GetR ule('Page' , $ParamSp lit/@style name)" /> CR LF
203   CR LF   203   CR LF
204        <!--  Split file s --> CR LF   204        <!--  Split file s --> CR LF
205        <!--               --> CR LF   205        <!--               --> CR LF
206        <xsl: for-each s elect="$Pa ramSplits[ 1]"> CR LF   206        <xsl: for-each s elect="$Pa ramSplits[ 1]"> CR LF
207         <!--  TOC --> CR LF   207         <!--  TOC --> CR LF
208         <!--      --> CR LF   208         <!--      --> CR LF
209         <xsl :variable  name="VarT OCSplitFil e" select= "key('wwsp lits-files -by-groupi d-type', c oncat($Par amSplit/@g roupID, ': ', $Parame terTOCSpli tFileType) )[1]" /> CR LF   209         <xsl :variable  name="VarT OCSplitFil e" select= "key('wwsp lits-files -by-groupi d-type', c oncat($Par amSplit/@g roupID, ': ', $Parame terTOCSpli tFileType) )[1]" /> CR LF
210   CR LF   210   CR LF
211         <!--  Index --> CR LF   211         <!--  Index --> CR LF
212         <!--        --> CR LF   212         <!--        --> CR LF
213         <xsl :variable  name="VarI ndexSplitF ile" selec t="key('ww splits-fil es-by-grou pid-type',  concat($P aramSplit/ @groupID,  ':', $Para meterIndex SplitFileT ype))[1]"  /> CR LF   213         <xsl :variable  name="VarI ndexSplitF ile" selec t="key('ww splits-fil es-by-grou pid-type',  concat($P aramSplit/ @groupID,  ':', $Para meterIndex SplitFileT ype))[1]"  /> CR LF
214   CR LF   214   CR LF
215         <!--  Previous  --> CR LF   215         <!--  Previous  --> CR LF
216         <!--            --> CR LF   216         <!--            --> CR LF
217         <xsl :variable  name="VarP ossiblePre viousSplit s" select= "$ParamSpl it/precedi ng-sibling ::wwsplits :Split[1]"  /> CR LF   217         <xsl :variable  name="VarP ossiblePre viousSplit s" select= "$ParamSpl it/precedi ng-sibling ::wwsplits :Split[1]"  /> CR LF
218         <xsl :variable  name="VarP reviousSpl it" select ="($VarPos siblePrevi ousSplits[ count($Var PossiblePr eviousSpli ts) = 1] |  $VarTOCSp litFile[(c ount($VarP ossiblePre viousSplit s) = 0) an d (count($ ParamSplit  | $VarTOC SplitFile)  = 2)])" / > CR LF   218         <xsl :variable  name="VarP reviousSpl it" select ="($VarPos siblePrevi ousSplits[ count($Var PossiblePr eviousSpli ts) = 1] |  $VarTOCSp litFile[(c ount($VarP ossiblePre viousSplit s) = 0) an d (count($ ParamSplit  | $VarTOC SplitFile)  = 2)])" / > CR LF
219   CR LF   219   CR LF
220         <!--  Next --> CR LF   220         <!--  Next --> CR LF
221         <!--       --> CR LF   221         <!--       --> CR LF
222         <xsl :variable  name="VarP ossibleNex tSplits" s elect="$Pa ramSplit/f ollowing-s ibling::ww splits:Spl it[1]" /> CR LF   222         <xsl :variable  name="VarP ossibleNex tSplits" s elect="$Pa ramSplit/f ollowing-s ibling::ww splits:Spl it[1]" /> CR LF
223         <xsl :variable  name="VarN extSplit"  select="($ VarPossibl eNextSplit s[count($V arPossible NextSplits ) = 1] | $ VarIndexSp litFile[(c ount($VarP ossibleNex tSplits) =  0) and (c ount($Para mSplit | $ VarIndexSp litFile) =  2)])" /> CR LF   223         <xsl :variable  name="VarN extSplit"  select="($ VarPossibl eNextSplit s[count($V arPossible NextSplits ) = 1] | $ VarIndexSp litFile[(c ount($VarP ossibleNex tSplits) =  0) and (c ount($Para mSplit | $ VarIndexSp litFile) =  2)])" /> CR LF
224   CR LF   224   CR LF
225         <!--  Skip Navi gation Lin k --> CR LF   225         <!--  Skip Navi gation Lin k --> CR LF
226         <!--                         --> CR LF   226         <!--                         --> CR LF
227         <xsl :variable  name="VarS kipNavigat ionURI"> CR LF   227         <xsl :variable  name="VarS kipNavigat ionURI"> CR LF
228          <xs l:if test= "wwprojext :GetFormat Setting('a ccessibili ty-skip-na vigation-l ink', 'fal se') = 'tr ue'"> CR LF   228          <xs l:if test= "wwprojext :GetFormat Setting('a ccessibili ty-skip-na vigation-l ink', 'fal se') = 'tr ue'"> CR LF
229           <x sl:text>#< /xsl:text> CR LF   229           <x sl:text>#< /xsl:text> CR LF
230           <x sl:value-o f select=" $ParamSpli t/@id" /> CR LF   230           <x sl:value-o f select=" $ParamSpli t/@id" /> CR LF
231          </x sl:if> CR LF   231          </x sl:if> CR LF
232         </xs l:variable > CR LF   232         </xs l:variable > CR LF
233   CR LF   233   CR LF
234         <!--  PDF Link  --> CR LF   234         <!--  PDF Link  --> CR LF
235         <!--            --> CR LF   235         <!--            --> CR LF
236         <xsl :variable  name="VarP DFLinkPath "> CR LF   236         <xsl :variable  name="VarP DFLinkPath "> CR LF
237          <xs l:variable  name="Var DocumentPD FPath"> CR LF   237          <xs l:variable  name="Var DocumentPD FPath"> CR LF
238           <x sl:if test ="wwprojex t:GetForma tSetting(' pdf-per-do cument', ' false') =  'true'"> CR LF   238           <x sl:if test ="wwprojex t:GetForma tSetting(' pdf-per-do cument', ' false') =  'true'"> CR LF
239            < xsl:value- of select= "$GlobalFi les[1]/wwf iles:Files /wwfiles:F ile[@docum entID = $P aramFilesD ocumentNod e/@documen tID and @t ype = $Par ameterDocu mentPDFTyp e]/@path"  /> CR LF   239            < xsl:value- of select= "$GlobalFi les[1]/wwf iles:Files /wwfiles:F ile[@docum entID = $P aramFilesD ocumentNod e/@documen tID and @t ype = $Par ameterDocu mentPDFTyp e]/@path"  /> CR LF
240           </ xsl:if> CR LF   240           </ xsl:if> CR LF
241          </x sl:variabl e> CR LF   241          </x sl:variabl e> CR LF
242           CR LF   242           CR LF
243          <xs l:variable  name="Var GroupPDFPa th"> CR LF   243          <xs l:variable  name="Var GroupPDFPa th"> CR LF
244           <x sl:if test ="wwprojex t:GetForma tSetting(' pdf-per-gr oup', 'fal se') = 'tr ue'"> CR LF   244           <x sl:if test ="wwprojex t:GetForma tSetting(' pdf-per-gr oup', 'fal se') = 'tr ue'"> CR LF
245            < xsl:value- of select= "$GlobalFi les[1]/wwf iles:Files /wwfiles:F ile[@group ID = $Para mSplit/@gr oupID and  @type = $P arameterGr oupPDFType ]/@path" / > CR LF   245            < xsl:value- of select= "$GlobalFi les[1]/wwf iles:Files /wwfiles:F ile[@group ID = $Para mSplit/@gr oupID and  @type = $P arameterGr oupPDFType ]/@path" / > CR LF
246           </ xsl:if> CR LF   246           </ xsl:if> CR LF
247          </x sl:variabl e> CR LF   247          </x sl:variabl e> CR LF
248   CR LF   248   CR LF
249          <xs l:choose> CR LF   249          <xs l:choose> CR LF
250           <x sl:when te st="string -length($V arDocument PDFPath) & gt; 0"> CR LF   250           <x sl:when te st="string -length($V arDocument PDFPath) & gt; 0"> CR LF
251            < xsl:value- of select= "$VarDocum entPDFPath " /> CR LF   251            < xsl:value- of select= "$VarDocum entPDFPath " /> CR LF
252           </ xsl:when> CR LF   252           </ xsl:when> CR LF
253           <x sl:when te st="string -length($V arGroupPDF Path) &gt;  0"> CR LF   253           <x sl:when te st="string -length($V arGroupPDF Path) &gt;  0"> CR LF
254            < xsl:value- of select= "$VarGroup PDFPath" / > CR LF   254            < xsl:value- of select= "$VarGroup PDFPath" / > CR LF
255           </ xsl:when> CR LF   255           </ xsl:when> CR LF
256          </x sl:choose> CR LF   256          </x sl:choose> CR LF
257         </xs l:variable > CR LF   257         </xs l:variable > CR LF
258   CR LF   258   CR LF
259         <xsl :variable  name="VarP DFLinkURI" > CR LF   259         <xsl :variable  name="VarP DFLinkURI" > CR LF
260          <xs l:if test= "string-le ngth($VarP DFLinkPath ) &gt; 0"> CR LF   260          <xs l:if test= "string-le ngth($VarP DFLinkPath ) &gt; 0"> CR LF
261           <x sl:value-o f select=" wwuri:GetR elativeTo( $VarPDFLin kPath, $Pa ramSplit/@ path)" /> CR LF   261           <x sl:value-o f select=" wwuri:GetR elativeTo( $VarPDFLin kPath, $Pa ramSplit/@ path)" /> CR LF
262          </x sl:if> CR LF   262          </x sl:if> CR LF
263         </xs l:variable > CR LF   263         </xs l:variable > CR LF
264   CR LF   264   CR LF
265         <!--  Notes --> CR LF   265         <!--  Notes --> CR LF
266         <!--        --> CR LF   266         <!--        --> CR LF
267         <xsl :variable  name="VarN otes" sele ct="$Param Content//w wdoc:Note[ not(ancest or::wwdoc: Table) and  not(ances tor::wwdoc :Frame)]"  /> CR LF   267         <xsl :variable  name="VarN otes" sele ct="$Param Content//w wdoc:Note[ not(ancest or::wwdoc: Table) and  not(ances tor::wwdoc :Frame)]"  /> CR LF
268   CR LF   268   CR LF
269         <!--  Note numb ering --> CR LF   269         <!--  Note numb ering --> CR LF
270         <!--                  --> CR LF   270         <!--                  --> CR LF
271         <xsl :variable  name="VarN oteNumberi ngAsXML"> CR LF   271         <xsl :variable  name="VarN oteNumberi ngAsXML"> CR LF
272          <xs l:call-tem plate name ="Notes-Nu mber"> CR LF   272          <xs l:call-tem plate name ="Notes-Nu mber"> CR LF
273           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  /> CR LF   273           <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes"  /> CR LF
274          </x sl:call-te mplate> CR LF   274          </x sl:call-te mplate> CR LF
275         </xs l:variable > CR LF   275         </xs l:variable > CR LF
276         <xsl :variable  name="VarN oteNumberi ng" select ="msxsl:no de-set($Va rNoteNumbe ringAsXML) " /> CR LF   276         <xsl :variable  name="VarN oteNumberi ng" select ="msxsl:no de-set($Va rNoteNumbe ringAsXML) " /> CR LF
277   CR LF   277   CR LF
278         <!--  Cargo --> CR LF   278         <!--  Cargo --> CR LF
279         <!--        --> CR LF   279         <!--        --> CR LF
280         <xsl :variable  name="VarC argo" sele ct="$Param Behaviors  | $VarNote Numbering"  /> CR LF   280         <xsl :variable  name="VarC argo" sele ct="$Param Behaviors  | $VarNote Numbering"  /> CR LF
281   CR LF   281   CR LF
282         <!--  xml-style sheet proc essing ins truction - -> CR LF   282         <!--  xml-style sheet proc essing ins truction - -> CR LF
283         <!--                                           - -> CR LF   283         <!--                                           - -> CR LF
284         <xsl :processin g-instruct ion name=" xml-styles heet"> CR LF   284         <xsl :processin g-instruct ion name=" xml-styles heet"> CR LF
285          <xs l:value-of  select="' type=&quot ;text/xsl& quot; '"/> CR LF   285          <xs l:value-of  select="' type=&quot ;text/xsl& quot; '"/> CR LF
286          <xs l:value-of  select="c oncat('hre f=&quot;',  wwuri:Get RelativeTo ($VarDocum entXSLPath , $ParamSp lit/@path) , '&quot;' )" /> CR LF   286          <xs l:value-of  select="c oncat('hre f=&quot;',  wwuri:Get RelativeTo ($VarDocum entXSLPath , $ParamSp lit/@path) , '&quot;' )" /> CR LF
287         </xs l:processi ng-instruc tion> CR LF   287         </xs l:processi ng-instruc tion> CR LF
288   CR LF   288   CR LF
289         <wp: Document x mlns:wwxml xsl="urn:W ebWorks-XM LXSL-Outpu t-Schema"  xmlns:wp=" urn:WebWor ks-XMLXSL- Container- Schema"> CR LF   289         <wp: Document x mlns:wwxml xsl="urn:W ebWorks-XM LXSL-Outpu t-Schema"  xmlns:wp=" urn:WebWor ks-XMLXSL- Container- Schema"> CR LF
290          <xs l:comment> CR LF   290          <xs l:comment> CR LF
291          Doc ument info CR LF   291          Doc ument info CR LF
292   </xsl:comm ent> CR LF   292   </xsl:comm ent> CR LF
293          <wp :wp wp:typ e="documen t-info"> CR LF   293          <wp :wp wp:typ e="documen t-info"> CR LF
294           <w p:wp wp:ty pe="page-t itle" wp:v alue="{$Pa ramSplit/@ title}" /> CR LF   294           <w p:wp wp:ty pe="page-t itle" wp:v alue="{$Pa ramSplit/@ title}" /> CR LF
295           <w p:wp wp:ty pe="script -dir" wp:h ref="{wwur i:GetRelat iveTo($Var ScriptsDir , $ParamSp lit/@path) }" /> CR LF   295           <w p:wp wp:ty pe="script -dir" wp:h ref="{wwur i:GetRelat iveTo($Var ScriptsDir , $ParamSp lit/@path) }" /> CR LF
296           <w p:wp wp:ty pe="relati ve-root" w p:href="{$ VarRelativ eRootURI}"  /> CR LF   296           <w p:wp wp:ty pe="relati ve-root" w p:href="{$ VarRelativ eRootURI}"  /> CR LF
297   CR LF   297   CR LF
298           <! -- skip-na vigation - -> CR LF   298           <! -- skip-na vigation - -> CR LF
299           <! --                  - -> CR LF   299           <! --                  - -> CR LF
300           <x sl:if test ="string-l ength($Var SkipNaviga tionURI) & gt; 0"> CR LF   300           <x sl:if test ="string-l ength($Var SkipNaviga tionURI) & gt; 0"> CR LF
301            < wp:wp wp:t ype="skip- navigation -link"> CR LF   301            < wp:wp wp:t ype="skip- navigation -link"> CR LF
302              <wp:GotoLi nk wp:href ="{$VarSki pNavigatio nURI}"> CR LF   302              <wp:GotoLi nk wp:href ="{$VarSki pNavigatio nURI}"> CR LF
303               <wp:wp wp :type="ima ge" wp:src ="images/t oc.gif" wp :width="0"  wp:height ="0" wp:al t="skip to  main cont ent" wp:bo rder="0" / > CR LF   303               <wp:wp wp :type="ima ge" wp:src ="images/t oc.gif" wp :width="0"  wp:height ="0" wp:al t="skip to  main cont ent" wp:bo rder="0" / > CR LF
304              </wp:GotoL ink> CR LF   304              </wp:GotoL ink> CR LF
305            < /wp:wp> CR LF   305            < /wp:wp> CR LF
306           </ xsl:if> CR LF   306           </ xsl:if> CR LF
307   CR LF   307   CR LF
308           <! -- CSS fil e --> CR LF   308           <! -- CSS fil e --> CR LF
309           <! --           --> CR LF   309           <! --           --> CR LF
310           <x sl:for-eac h select=" $GlobalFil es[1]"> CR LF   310           <x sl:for-eac h select=" $GlobalFil es[1]"> CR LF
311            < xsl:variab le name="V arCSSPath"  select="k ey('wwfile s-files-by -documenti d', $Param FilesDocum entNode/@d ocumentID) [@type = $ ParameterS tylesType] /@path" /> CR LF   311            < xsl:variab le name="V arCSSPath"  select="k ey('wwfile s-files-by -documenti d', $Param FilesDocum entNode/@d ocumentID) [@type = $ ParameterS tylesType] /@path" /> CR LF
312            < wp:wp wp:t ype="catal og-css" wp :href="{ww uri:GetRel ativeTo($V arCSSPath,  $ParamSpl it/@path)} " /> CR LF   312            < wp:wp wp:t ype="catal og-css" wp :href="{ww uri:GetRel ativeTo($V arCSSPath,  $ParamSpl it/@path)} " /> CR LF
313           </ xsl:for-ea ch> CR LF   313           </ xsl:for-ea ch> CR LF
314   CR LF   314   CR LF
315           <! -- body-st yle --> CR LF   315           <! -- body-st yle --> CR LF
316           <! --             --> CR LF   316           <! --             --> CR LF
317           <w p:wp wp:ty pe="body-s tyle"> CR LF   317           <w p:wp wp:ty pe="body-s tyle"> CR LF
318            < xsl:attrib ute name=" wp:value"> CR LF   318            < xsl:attrib ute name=" wp:value"> CR LF
319              <!-- CSS p roperties  --> CR LF   319              <!-- CSS p roperties  --> CR LF
320              <!--                  --> CR LF   320              <!--                  --> CR LF
321              <xsl:varia ble name=" VarCSSProp ertiesAsXM L"> CR LF   321              <xsl:varia ble name=" VarCSSProp ertiesAsXM L"> CR LF
322               <xsl:call -template  name="CSS- TranslateP rojectProp erties"> CR LF   322               <xsl:call -template  name="CSS- TranslateP rojectProp erties"> CR LF
323                <xsl:wit h-param na me="ParamP roperties"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y" /> CR LF   323                <xsl:wit h-param na me="ParamP roperties"  select="$ VarPageRul e/wwprojec t:Properti es/wwproje ct:Propert y" /> CR LF
324                <xsl:wit h-param na me="ParamF romAbsolut eURI" sele ct="$Param Split/@pat h" /> CR LF   324                <xsl:wit h-param na me="ParamF romAbsolut eURI" sele ct="$Param Split/@pat h" /> CR LF
325                <xsl:wit h-param na me="ParamS plits" sel ect="$Para mSplits" / > CR LF   325                <xsl:wit h-param na me="ParamS plits" sel ect="$Para mSplits" / > CR LF
326               </xsl:cal l-template > CR LF   326               </xsl:cal l-template > CR LF
327              </xsl:vari able> CR LF   327              </xsl:vari able> CR LF
328              <xsl:varia ble name=" VarCSSProp erties" se lect="msxs l:node-set ($VarCSSPr opertiesAs XML)/wwpro ject:Prope rty" /> CR LF   328              <xsl:varia ble name=" VarCSSProp erties" se lect="msxs l:node-set ($VarCSSPr opertiesAs XML)/wwpro ject:Prope rty" /> CR LF
329   CR LF   329   CR LF
330              <xsl:call- template n ame="CSS-I nlinePrope rties"> CR LF   330              <xsl:call- template n ame="CSS-I nlinePrope rties"> CR LF
331               <xsl:with -param nam e="ParamPr operties"  select="$V arCSSPrope rties[stri ng-length( @Value) &g t; 0]" /> CR LF   331               <xsl:with -param nam e="ParamPr operties"  select="$V arCSSPrope rties[stri ng-length( @Value) &g t; 0]" /> CR LF
332              </xsl:call -template> CR LF   332              </xsl:call -template> CR LF
333            < /xsl:attri bute> CR LF   333            < /xsl:attri bute> CR LF
334           </ wp:wp> CR LF   334           </ wp:wp> CR LF
335   CR LF   335   CR LF
336           <! -- Nav set tings --> CR LF   336           <! -- Nav set tings --> CR LF
337           <! --               --> CR LF   337           <! --               --> CR LF
338           <x sl:variabl e name="Va rNavTopGen erate" sel ect="$VarP ageRule/ww project:Op tions/wwpr oject:Opti on[@Name =  'navigati on-top-gen erate']/@V alue" /> CR LF   338           <x sl:variabl e name="Va rNavTopGen erate" sel ect="$VarP ageRule/ww project:Op tions/wwpr oject:Opti on[@Name =  'navigati on-top-gen erate']/@V alue" /> CR LF
339   CR LF   339   CR LF
340           <x sl:variabl e name="Va rNavTopAli gn"> CR LF   340           <x sl:variabl e name="Va rNavTopAli gn"> CR LF
341            < xsl:variab le name="V arNavTopAl ignHint" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property[ @Name = 'n avigation- top-alignm ent']/@Val ue" /> CR LF   341            < xsl:variab le name="V arNavTopAl ignHint" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property[ @Name = 'n avigation- top-alignm ent']/@Val ue" /> CR LF
342            < xsl:choose > CR LF   342            < xsl:choose > CR LF
343              <xsl:when  test="stri ng-length( $VarNavTop AlignHint)  &gt; 0"> CR LF   343              <xsl:when  test="stri ng-length( $VarNavTop AlignHint)  &gt; 0"> CR LF
344               <xsl:valu e-of selec t="$VarNav TopAlignHi nt" /> CR LF   344               <xsl:valu e-of selec t="$VarNav TopAlignHi nt" /> CR LF
345              </xsl:when > CR LF   345              </xsl:when > CR LF
346              <xsl:other wise> CR LF   346              <xsl:other wise> CR LF
347               <xsl:valu e-of selec t="'left'"  /> CR LF   347               <xsl:valu e-of selec t="'left'"  /> CR LF
348              </xsl:othe rwise> CR LF   348              </xsl:othe rwise> CR LF
349            < /xsl:choos e> CR LF   349            < /xsl:choos e> CR LF
350           </ xsl:variab le> CR LF   350           </ xsl:variab le> CR LF
351   CR LF   351   CR LF
352           <x sl:variabl e name="Va rNavBottom Generate"  select="$V arPageRule /wwproject :Options/w wproject:O ption[@Nam e = 'navig ation-bott om-generat e']/@Value " /> CR LF   352           <x sl:variabl e name="Va rNavBottom Generate"  select="$V arPageRule /wwproject :Options/w wproject:O ption[@Nam e = 'navig ation-bott om-generat e']/@Value " /> CR LF
353           <x sl:variabl e name="Va rNavBottom Align"> CR LF   353           <x sl:variabl e name="Va rNavBottom Align"> CR LF
354            < xsl:variab le name="V arNavBotto mAlignHint " select=" $VarPageRu le/wwproje ct:Propert ies/wwproj ect:Proper ty[@Name =  'navigati on-bottom- alignment' ]/@Value"  /> CR LF   354            < xsl:variab le name="V arNavBotto mAlignHint " select=" $VarPageRu le/wwproje ct:Propert ies/wwproj ect:Proper ty[@Name =  'navigati on-bottom- alignment' ]/@Value"  /> CR LF
355            < xsl:choose > CR LF   355            < xsl:choose > CR LF
356              <xsl:when  test="stri ng-length( $VarNavBot tomAlignHi nt) &gt; 0 "> CR LF   356              <xsl:when  test="stri ng-length( $VarNavBot tomAlignHi nt) &gt; 0 "> CR LF
357               <xsl:valu e-of selec t="$VarNav BottomAlig nHint" /> CR LF   357               <xsl:valu e-of selec t="$VarNav BottomAlig nHint" /> CR LF
358              </xsl:when > CR LF   358              </xsl:when > CR LF
359              <xsl:other wise> CR LF   359              <xsl:other wise> CR LF
360               <xsl:valu e-of selec t="'left'"  /> CR LF   360               <xsl:valu e-of selec t="'left'"  /> CR LF
361              </xsl:othe rwise> CR LF   361              </xsl:othe rwise> CR LF
362            < /xsl:choos e> CR LF   362            < /xsl:choos e> CR LF
363           </ xsl:variab le> CR LF   363           </ xsl:variab le> CR LF
364   CR LF   364   CR LF
365           <x sl:if test ="($VarNav TopGenerat e = 'true' ) or ($Var NavBottomG enerate =  'true')"> CR LF   365           <x sl:if test ="($VarNav TopGenerat e = 'true' ) or ($Var NavBottomG enerate =  'true')"> CR LF
366            < wp:wp wp:t ype="navba r" wp:top= "{$VarNavT opGenerate }" wp:bott om="{$VarN avBottomGe nerate}"> CR LF   366            < wp:wp wp:t ype="navba r" wp:top= "{$VarNavT opGenerate }" wp:bott om="{$VarN avBottomGe nerate}"> CR LF
367   CR LF   367   CR LF
368              <!-- Top n av alignme nt --> CR LF   368              <!-- Top n av alignme nt --> CR LF
369              <!--                     --> CR LF   369              <!--                     --> CR LF
370              <xsl:if te st="$VarNa vTopGenera te = 'true '"> CR LF   370              <xsl:if te st="$VarNa vTopGenera te = 'true '"> CR LF
371               <xsl:attr ibute name ="wp:top-a lign"> CR LF   371               <xsl:attr ibute name ="wp:top-a lign"> CR LF
372                <xsl:val ue-of sele ct="$VarNa vTopAlign"  /> CR LF   372                <xsl:val ue-of sele ct="$VarNa vTopAlign"  /> CR LF
373               </xsl:att ribute> CR LF   373               </xsl:att ribute> CR LF
374              </xsl:if> CR LF   374              </xsl:if> CR LF
375   CR LF   375   CR LF
376              <!-- Botto m nav alig nment --> CR LF   376              <!-- Botto m nav alig nment --> CR LF
377              <xsl:if te st="$VarNa vBottomGen erate = 't rue'"> CR LF   377              <xsl:if te st="$VarNa vBottomGen erate = 't rue'"> CR LF
378               <xsl:attr ibute name ="wp:botto m-align"> CR LF   378               <xsl:attr ibute name ="wp:botto m-align"> CR LF
379                <xsl:val ue-of sele ct="$VarNa vBottomAli gn" /> CR LF   379                <xsl:val ue-of sele ct="$VarNa vBottomAli gn" /> CR LF
380               </xsl:att ribute> CR LF   380               </xsl:att ribute> CR LF
381              </xsl:if> CR LF   381              </xsl:if> CR LF
382   CR LF   382   CR LF
383              <!-- Gener ate TOC? - -> CR LF   383              <!-- Gener ate TOC? - -> CR LF
384              <!--                - -> CR LF   384              <!--                - -> CR LF
385              <xsl:if te st="count( $VarTOCSpl itFile) =  1"> CR LF   385              <xsl:if te st="count( $VarTOCSpl itFile) =  1"> CR LF
386               <wp:wp wp :type="nav bar-toc"> CR LF   386               <wp:wp wp :type="nav bar-toc"> CR LF
387                <xsl:cho ose> CR LF   387                <xsl:cho ose> CR LF
388                 <xsl:wh en test="c ount($Para mSplit | $ VarTOCSpli tFile) = 1 "> CR LF   388                 <xsl:wh en test="c ount($Para mSplit | $ VarTOCSpli tFile) = 1 "> CR LF
389                  <!-- T oc current  --> CR LF   389                  <!-- T oc current  --> CR LF
390                  <!--               --> CR LF   390                  <!--               --> CR LF
391                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'tocx.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$VarTO CSplitFile /@title}"  wp:border= "0"/> CR LF   391                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'tocx.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$VarTO CSplitFile /@title}"  wp:border= "0"/> CR LF
392                 </xsl:w hen> CR LF   392                 </xsl:w hen> CR LF
393   CR LF   393   CR LF
394                 <xsl:ot herwise> CR LF   394                 <xsl:ot herwise> CR LF
395                  <!-- T OC not cur rent --> CR LF   395                  <!-- T OC not cur rent --> CR LF
396                  <!--                   --> CR LF   396                  <!--                   --> CR LF
397                  <wp:Go toLink wp: href="{wwu ri:GetRela tiveTo($Va rTOCSplitF ile/@path,  $ParamSpl it/@path)} "> CR LF   397                  <wp:Go toLink wp: href="{wwu ri:GetRela tiveTo($Va rTOCSplitF ile/@path,  $ParamSpl it/@path)} "> CR LF
398                   <wp:w p wp:type= "image" wp :src="{wwu ri:GetRela tiveTo(wwf ilesystem: Combine($V arImagesDi r, 'toc.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$VarTO CSplitFile /@title}"  wp:border= "0" /> CR LF   398                   <wp:w p wp:type= "image" wp :src="{wwu ri:GetRela tiveTo(wwf ilesystem: Combine($V arImagesDi r, 'toc.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$VarTO CSplitFile /@title}"  wp:border= "0" /> CR LF
399                  </wp:G otoLink> CR LF   399                  </wp:G otoLink> CR LF
400                 </xsl:o therwise> CR LF   400                 </xsl:o therwise> CR LF
401                </xsl:ch oose> CR LF   401                </xsl:ch oose> CR LF
402               </wp:wp> CR LF   402               </wp:wp> CR LF
403              </xsl:if> CR LF   403              </xsl:if> CR LF
404   CR LF   404   CR LF
405              <!-- Previ ous --> CR LF   405              <!-- Previ ous --> CR LF
406              <!--           --> CR LF   406              <!--           --> CR LF
407              <wp:wp wp: type="navb ar-prev"> CR LF   407              <wp:wp wp: type="navb ar-prev"> CR LF
408               <xsl:choo se> CR LF   408               <xsl:choo se> CR LF
409                <xsl:whe n test="co unt($VarPr eviousSpli t) = 1"> CR LF   409                <xsl:whe n test="co unt($VarPr eviousSpli t) = 1"> CR LF
410                 <wp:Got oLink wp:h ref="{wwur i:GetRelat iveTo($Var PreviousSp lit/@path,  $ParamSpl it/@path)} "> CR LF   410                 <wp:Got oLink wp:h ref="{wwur i:GetRelat iveTo($Var PreviousSp lit/@path,  $ParamSpl it/@path)} "> CR LF
411                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'prev.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Prev ious']/@va lue}" wp:b order="0"  /> CR LF   411                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'prev.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Prev ious']/@va lue}" wp:b order="0"  /> CR LF
412                 </wp:Go toLink> CR LF   412                 </wp:Go toLink> CR LF
413                </xsl:wh en> CR LF   413                </xsl:wh en> CR LF
414                <xsl:oth erwise> CR LF   414                <xsl:oth erwise> CR LF
415                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo(wwfil esystem:Co mbine($Var ImagesDir,  'prevx.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Prev ious']/@va lue}" wp:b order="0"/ > CR LF   415                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo(wwfil esystem:Co mbine($Var ImagesDir,  'prevx.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Prev ious']/@va lue}" wp:b order="0"/ > CR LF
416                </xsl:ot herwise> CR LF   416                </xsl:ot herwise> CR LF
417               </xsl:cho ose> CR LF   417               </xsl:cho ose> CR LF
418              </wp:wp> CR LF   418              </wp:wp> CR LF
419   CR LF   419   CR LF
420              <!-- Next  --> CR LF   420              <!-- Next  --> CR LF
421              <!--       --> CR LF   421              <!--       --> CR LF
422              <wp:wp wp: type="navb ar-next"> CR LF   422              <wp:wp wp: type="navb ar-next"> CR LF
423               <xsl:choo se> CR LF   423               <xsl:choo se> CR LF
424                <xsl:whe n test="co unt($VarNe xtSplit) =  1"> CR LF   424                <xsl:whe n test="co unt($VarNe xtSplit) =  1"> CR LF
425                 <wp:Got oLink wp:h ref="{wwur i:GetRelat iveTo($Var NextSplit/ @path, $Pa ramSplit/@ path)}"> CR LF   425                 <wp:Got oLink wp:h ref="{wwur i:GetRelat iveTo($Var NextSplit/ @path, $Pa ramSplit/@ path)}"> CR LF
426                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'next.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Next ']/@value} " wp:borde r="0" /> CR LF   426                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'next.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Next ']/@value} " wp:borde r="0" /> CR LF
427                 </wp:Go toLink> CR LF   427                 </wp:Go toLink> CR LF
428                </xsl:wh en> CR LF   428                </xsl:wh en> CR LF
429                <xsl:oth erwise> CR LF   429                <xsl:oth erwise> CR LF
430                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo(wwfil esystem:Co mbine($Var ImagesDir,  'nextx.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Next ']/@value} " wp:borde r="0"/> CR LF   430                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo(wwfil esystem:Co mbine($Var ImagesDir,  'nextx.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="{$Globa lLocale/ww locale:Loc ale/wwloca le:Strings /wwlocale: String[@na me = 'Next ']/@value} " wp:borde r="0"/> CR LF
431                </xsl:ot herwise> CR LF   431                </xsl:ot herwise> CR LF
432               </xsl:cho ose> CR LF   432               </xsl:cho ose> CR LF
433              </wp:wp> CR LF   433              </wp:wp> CR LF
434   CR LF   434   CR LF
435              <!-- Gener ate Index?  --> CR LF   435              <!-- Gener ate Index?  --> CR LF
436              <!--                   --> CR LF   436              <!--                   --> CR LF
437              <xsl:if te st="count( $VarIndexS plitFile)  = 1"> CR LF   437              <xsl:if te st="count( $VarIndexS plitFile)  = 1"> CR LF
438               <wp:wp wp :type="nav bar-index" > CR LF   438               <wp:wp wp :type="nav bar-index" > CR LF
439                <xsl:cho ose> CR LF   439                <xsl:cho ose> CR LF
440                 <xsl:wh en test="c ount($Para mSplit | $ VarIndexSp litFile) =  1"> CR LF   440                 <xsl:wh en test="c ount($Para mSplit | $ VarIndexSp litFile) =  1"> CR LF
441                  <!-- I ndex curre nt --> CR LF   441                  <!-- I ndex curre nt --> CR LF
442                  <!--                 --> CR LF   442                  <!--                 --> CR LF
443                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'indexx. gif'), $Pa ramSplit/@ path)}" wp :width="52 " wp:heigh t="24" wp: alt="{$Var IndexSplit File/@titl e}" wp:bor der="0"/> CR LF   443                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo(wwfi lesystem:C ombine($Va rImagesDir , 'indexx. gif'), $Pa ramSplit/@ path)}" wp :width="52 " wp:heigh t="24" wp: alt="{$Var IndexSplit File/@titl e}" wp:bor der="0"/> CR LF
444                 </xsl:w hen> CR LF   444                 </xsl:w hen> CR LF
445   CR LF   445   CR LF
446                 <xsl:ot herwise> CR LF   446                 <xsl:ot herwise> CR LF
447                  <!-- I ndex not c urrent --> CR LF   447                  <!-- I ndex not c urrent --> CR LF
448                  <!--                 --> CR LF   448                  <!--                 --> CR LF
449                  <wp:Go toLink wp: href="{wwu ri:GetRela tiveTo($Va rIndexSpli tFile/@pat h, $ParamS plit/@path )}"> CR LF   449                  <wp:Go toLink wp: href="{wwu ri:GetRela tiveTo($Va rIndexSpli tFile/@pat h, $ParamS plit/@path )}"> CR LF
450                   <wp:w p wp:type= "image" wp :src="{wwu ri:GetRela tiveTo(wwf ilesystem: Combine($V arImagesDi r, 'index. gif'), $Pa ramSplit/@ path)}" wp :width="52 " wp:heigh t="24" wp: alt="{$Var IndexSplit File/@titl e}" wp:bor der="0" /> CR LF   450                   <wp:w p wp:type= "image" wp :src="{wwu ri:GetRela tiveTo(wwf ilesystem: Combine($V arImagesDi r, 'index. gif'), $Pa ramSplit/@ path)}" wp :width="52 " wp:heigh t="24" wp: alt="{$Var IndexSplit File/@titl e}" wp:bor der="0" /> CR LF
451                  </wp:G otoLink> CR LF   451                  </wp:G otoLink> CR LF
452                 </xsl:o therwise> CR LF   452                 </xsl:o therwise> CR LF
453                </xsl:ch oose> CR LF   453                </xsl:ch oose> CR LF
454               </wp:wp> CR LF   454               </wp:wp> CR LF
455              </xsl:if> CR LF   455              </xsl:if> CR LF
456   CR LF   456   CR LF
457              <!-- Add P DF Button?  --> CR LF   457              <!-- Add P DF Button?  --> CR LF
458              <!--                   --> CR LF   458              <!--                   --> CR LF
459              <xsl:if te st="string -length($V arPDFLinkU RI) &gt; 0 "> CR LF   459              <xsl:if te st="string -length($V arPDFLinkU RI) &gt; 0 "> CR LF
460               <wp:wp wp :type='nav bar-pdf'> CR LF   460               <wp:wp wp :type='nav bar-pdf'> CR LF
461                <wp:Goto Link wp:hr ef="{$VarP DFLinkURI} "> CR LF   461                <wp:Goto Link wp:hr ef="{$VarP DFLinkURI} "> CR LF
462                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo(wwfil esystem:Co mbine($Var ImagesDir,  'print.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="PDF" wp :border="0 " /> CR LF   462                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo(wwfil esystem:Co mbine($Var ImagesDir,  'print.gi f'), $Para mSplit/@pa th)}" wp:w idth="52"  wp:height= "24" wp:al t="PDF" wp :border="0 " /> CR LF
463                </wp:Got oLink> CR LF   463                </wp:Got oLink> CR LF
464               </wp:wp> CR LF   464               </wp:wp> CR LF
465              </xsl:if> CR LF   465              </xsl:if> CR LF
466            < /wp:wp> CR LF   466            < /wp:wp> CR LF
467           </ xsl:if> CR LF   467           </ xsl:if> CR LF
468   CR LF   468   CR LF
469           <! -- Company  info sett ings --> CR LF   469           <! -- Company  info sett ings --> CR LF
470           <! --                         --> CR LF   470           <! --                         --> CR LF
471           <x sl:variabl e name="Va rCompanyIn foTopGener ate" selec t="$VarPag eRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' company-in fo-top-gen erate']/@V alue" /> CR LF   471           <x sl:variabl e name="Va rCompanyIn foTopGener ate" selec t="$VarPag eRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' company-in fo-top-gen erate']/@V alue" /> CR LF
472   CR LF   472   CR LF
473           <x sl:variabl e name="Va rCompanyIn foTopAlign "> CR LF   473           <x sl:variabl e name="Va rCompanyIn foTopAlign "> CR LF
474            < xsl:variab le name="V arCompanyI nfoTopAlig nHint" sel ect="$VarP ageRule/ww project:Pr operties/w wproject:P roperty[@N ame = 'com pany-info- top-alignm ent']/@Val ue" /> CR LF   474            < xsl:variab le name="V arCompanyI nfoTopAlig nHint" sel ect="$VarP ageRule/ww project:Pr operties/w wproject:P roperty[@N ame = 'com pany-info- top-alignm ent']/@Val ue" /> CR LF
475            < xsl:choose > CR LF   475            < xsl:choose > CR LF
476              <xsl:when  test="stri ng-length( $VarCompan yInfoTopAl ignHint) & gt; 0"> CR LF   476              <xsl:when  test="stri ng-length( $VarCompan yInfoTopAl ignHint) & gt; 0"> CR LF
477               <xsl:valu e-of selec t="$VarCom panyInfoTo pAlignHint " /> CR LF   477               <xsl:valu e-of selec t="$VarCom panyInfoTo pAlignHint " /> CR LF
478              </xsl:when > CR LF   478              </xsl:when > CR LF
479   CR LF   479   CR LF
480              <xsl:other wise> CR LF   480              <xsl:other wise> CR LF
481               <xsl:valu e-of selec t="'left'"  /> CR LF   481               <xsl:valu e-of selec t="'left'"  /> CR LF
482              </xsl:othe rwise> CR LF   482              </xsl:othe rwise> CR LF
483            < /xsl:choos e> CR LF   483            < /xsl:choos e> CR LF
484           </ xsl:variab le> CR LF   484           </ xsl:variab le> CR LF
485   CR LF   485   CR LF
486           <x sl:variabl e name="Va rCompanyIn foBottomGe nerate" se lect="$Var PageRule/w wproject:O ptions/wwp roject:Opt ion[@Name  = 'company -info-bott om-generat e']/@Value " /> CR LF   486           <x sl:variabl e name="Va rCompanyIn foBottomGe nerate" se lect="$Var PageRule/w wproject:O ptions/wwp roject:Opt ion[@Name  = 'company -info-bott om-generat e']/@Value " /> CR LF
487           <x sl:variabl e name="Va rCompanyIn foBottomAl ign"> CR LF   487           <x sl:variabl e name="Va rCompanyIn foBottomAl ign"> CR LF
488            < xsl:variab le name="V arCompanyI nfoBottomA lignHint"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' company-in fo-bottom- alignment' ]/@Value"  /> CR LF   488            < xsl:variab le name="V arCompanyI nfoBottomA lignHint"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' company-in fo-bottom- alignment' ]/@Value"  /> CR LF
489            < xsl:choose > CR LF   489            < xsl:choose > CR LF
490              <xsl:when  test="stri ng-length( $VarCompan yInfoBotto mAlignHint ) &gt; 0"> CR LF   490              <xsl:when  test="stri ng-length( $VarCompan yInfoBotto mAlignHint ) &gt; 0"> CR LF
491               <xsl:valu e-of selec t="$VarCom panyInfoBo ttomAlignH int" /> CR LF   491               <xsl:valu e-of selec t="$VarCom panyInfoBo ttomAlignH int" /> CR LF
492              </xsl:when > CR LF   492              </xsl:when > CR LF
493   CR LF   493   CR LF
494              <xsl:other wise> CR LF   494              <xsl:other wise> CR LF
495               <xsl:valu e-of selec t="'right' " /> CR LF   495               <xsl:valu e-of selec t="'right' " /> CR LF
496              </xsl:othe rwise> CR LF   496              </xsl:othe rwise> CR LF
497            < /xsl:choos e> CR LF   497            < /xsl:choos e> CR LF
498           </ xsl:variab le> CR LF   498           </ xsl:variab le> CR LF
499   CR LF   499   CR LF
500           <x sl:variabl e name="Va rCompanyLo goSrc" sel ect="wwpro jext:GetFo rmatSettin g('company -logo-src' , '')" /> CR LF   500           <x sl:variabl e name="Va rCompanyLo goSrc" sel ect="wwpro jext:GetFo rmatSettin g('company -logo-src' , '')" /> CR LF
501           <x sl:variabl e name="Va rCompanyLi nk" select ="wwprojex t:GetForma tSetting(' company-li nk', '')"  /> CR LF   501           <x sl:variabl e name="Va rCompanyLi nk" select ="wwprojex t:GetForma tSetting(' company-li nk', '')"  /> CR LF
502           <x sl:variabl e name="Va rCompanyNa me" select ="wwprojex t:GetForma tSetting(' company-na me', '')"  /> CR LF   502           <x sl:variabl e name="Va rCompanyNa me" select ="wwprojex t:GetForma tSetting(' company-na me', '')"  /> CR LF
503           <x sl:variabl e name="Va rCompanyPh one" selec t="wwproje xt:GetForm atSetting( 'company-p hone', '') " /> CR LF   503           <x sl:variabl e name="Va rCompanyPh one" selec t="wwproje xt:GetForm atSetting( 'company-p hone', '') " /> CR LF
504           <x sl:variabl e name="Va rCompanyFa x" select= "wwprojext :GetFormat Setting('c ompany-fax ', '')" /> CR LF   504           <x sl:variabl e name="Va rCompanyFa x" select= "wwprojext :GetFormat Setting('c ompany-fax ', '')" /> CR LF
505           <x sl:variabl e name="Va rCompanyEm ail" selec t="wwproje xt:GetForm atSetting( 'company-e mail', '') " /> CR LF   505           <x sl:variabl e name="Va rCompanyEm ail" selec t="wwproje xt:GetForm atSetting( 'company-e mail', '') " /> CR LF
506   CR LF   506   CR LF
507           <x sl:if test ="string-l ength($Var CompanyLog oSrc) &gt;  0"> CR LF   507           <x sl:if test ="string-l ength($Var CompanyLog oSrc) &gt;  0"> CR LF
508            < xsl:variab le name="V arCompanyA bsLogoSrc"  select="w wfilesyste m:Combine( $VarOutput DirectoryP ath, $VarC ompanyLogo Src)" /> CR LF   508            < xsl:variab le name="V arCompanyA bsLogoSrc"  select="w wfilesyste m:Combine( $VarOutput DirectoryP ath, $VarC ompanyLogo Src)" /> CR LF
509            < xsl:if tes t="wwfiles ystem:File Exists($Va rCompanyAb sLogoSrc)  = 'true'"> CR LF   509            < xsl:if tes t="wwfiles ystem:File Exists($Va rCompanyAb sLogoSrc)  = 'true'"> CR LF
510              <wp:wp wp: type="logo "> CR LF   510              <wp:wp wp: type="logo "> CR LF
511               <xsl:choo se> CR LF   511               <xsl:choo se> CR LF
512                <xsl:whe n test="st ring-lengt h($VarComp anyLink) & gt; 0"> CR LF   512                <xsl:whe n test="st ring-lengt h($VarComp anyLink) & gt; 0"> CR LF
513                 <wp:Got oLink wp:h ref="{$Var CompanyLin k}"> CR LF   513                 <wp:Got oLink wp:h ref="{$Var CompanyLin k}"> CR LF
514                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo($Var CompanyAbs LogoSrc, $ ParamSplit /@path)}"  /> CR LF   514                  <wp:wp  wp:type=" image" wp: src="{wwur i:GetRelat iveTo($Var CompanyAbs LogoSrc, $ ParamSplit /@path)}"  /> CR LF
515                 </wp:Go toLink> CR LF   515                 </wp:Go toLink> CR LF
516                </xsl:wh en> CR LF   516                </xsl:wh en> CR LF
517                <xsl:oth erwise> CR LF   517                <xsl:oth erwise> CR LF
518                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo($VarC ompanyAbsL ogoSrc, $P aramSplit/ @path)}" / > CR LF   518                 <wp:wp  wp:type="i mage" wp:s rc="{wwuri :GetRelati veTo($VarC ompanyAbsL ogoSrc, $P aramSplit/ @path)}" / > CR LF
519                </xsl:ot herwise> CR LF   519                </xsl:ot herwise> CR LF
520               </xsl:cho ose> CR LF   520               </xsl:cho ose> CR LF
521              </wp:wp> CR LF   521              </wp:wp> CR LF
522            < /xsl:if> CR LF   522            < /xsl:if> CR LF
523           </ xsl:if> CR LF   523           </ xsl:if> CR LF
524   CR LF   524   CR LF
525           <x sl:if test ="(string- length($Va rCompanyNa me) &gt; 0 ) or (stri ng-length( $VarCompan yPhone) &g t; 0) or ( string-len gth($VarCo mpanyFax)  &gt; 0) or  (string-l ength($Var CompanyEma il) &gt; 0 )"> CR LF   525           <x sl:if test ="(string- length($Va rCompanyNa me) &gt; 0 ) or (stri ng-length( $VarCompan yPhone) &g t; 0) or ( string-len gth($VarCo mpanyFax)  &gt; 0) or  (string-l ength($Var CompanyEma il) &gt; 0 )"> CR LF
526            < wp:wp wp:t ype="compa ny-info"   wp:top="{$ VarCompany InfoTopGen erate}" wp :bottom="{ $VarCompan yInfoBotto mGenerate} "> CR LF   526            < wp:wp wp:t ype="compa ny-info"   wp:top="{$ VarCompany InfoTopGen erate}" wp :bottom="{ $VarCompan yInfoBotto mGenerate} "> CR LF
527   CR LF   527   CR LF
528              <!-- Top c ompany inf o alignmen t --> CR LF   528              <!-- Top c ompany inf o alignmen t --> CR LF
529              <!--                               --> CR LF   529              <!--                               --> CR LF
530              <xsl:if te st="$VarCo mpanyInfoT opGenerate  = 'true'" > CR LF   530              <xsl:if te st="$VarCo mpanyInfoT opGenerate  = 'true'" > CR LF
531               <xsl:attr ibute name ="wp:top-a lign"> CR LF   531               <xsl:attr ibute name ="wp:top-a lign"> CR LF
532                <xsl:val ue-of sele ct="$VarCo mpanyInfoT opAlign" / > CR LF   532                <xsl:val ue-of sele ct="$VarCo mpanyInfoT opAlign" / > CR LF
533               </xsl:att ribute> CR LF   533               </xsl:att ribute> CR LF
534              </xsl:if> CR LF   534              </xsl:if> CR LF
535   CR LF   535   CR LF
536              <!-- Botto m company  info align ment --> CR LF   536              <!-- Botto m company  info align ment --> CR LF
537              <!--                                  --> CR LF   537              <!--                                  --> CR LF
538              <xsl:if te st="$VarCo mpanyInfoB ottomGener ate = 'tru e'"> CR LF   538              <xsl:if te st="$VarCo mpanyInfoB ottomGener ate = 'tru e'"> CR LF
539               <xsl:attr ibute name ="wp:botto m-align"> CR LF   539               <xsl:attr ibute name ="wp:botto m-align"> CR LF
540                <xsl:val ue-of sele ct="$VarCo mpanyInfoB ottomAlign " /> CR LF   540                <xsl:val ue-of sele ct="$VarCo mpanyInfoB ottomAlign " /> CR LF
541               </xsl:att ribute> CR LF   541               </xsl:att ribute> CR LF
542              </xsl:if> CR LF   542              </xsl:if> CR LF
543   CR LF   543   CR LF
544              <xsl:if te st="string -length($V arCompanyN ame) &gt;  0"> CR LF   544              <xsl:if te st="string -length($V arCompanyN ame) &gt;  0"> CR LF
545               <wp:wp wp :type="com pany-info- item"> CR LF   545               <wp:wp wp :type="com pany-info- item"> CR LF
546                <xsl:cho ose> CR LF   546                <xsl:cho ose> CR LF
547                 <xsl:wh en test="s tring-leng th($VarCom panyLink)  &gt; 0"> CR LF   547                 <xsl:wh en test="s tring-leng th($VarCom panyLink)  &gt; 0"> CR LF
548                   <wp:GotoLi nk wp:href ="http://w ww.webwork s.com" wp: target=" _bl a
n k "> CR LF
  548                   <wp:GotoLi nk wp:href ="http://w ww.webwork s.com" wp: target=" {wwprojext :GetForm a tSetti n g('externa l-url-targ et')} "> CR LF
549                   <xsl: value-of s elect="$Va rCompanyNa me" /> CR LF   549                   <xsl: value-of s elect="$Va rCompanyNa me" /> CR LF
550                  </wp:G otoLink> CR LF   550                  </wp:G otoLink> CR LF
551                 </xsl:w hen> CR LF   551                 </xsl:w hen> CR LF
552                 <xsl:ot herwise> CR LF   552                 <xsl:ot herwise> CR LF
553                  <xsl:v alue-of se lect="$Var CompanyNam e" /> CR LF   553                  <xsl:v alue-of se lect="$Var CompanyNam e" /> CR LF
554                 </xsl:o therwise> CR LF   554                 </xsl:o therwise> CR LF
555                </xsl:ch oose> CR LF   555                </xsl:ch oose> CR LF
556               </wp:wp> CR LF   556               </wp:wp> CR LF
557              </xsl:if> CR LF   557              </xsl:if> CR LF
558   CR LF   558   CR LF
559              <xsl:if te st="string -length($V arCompanyP hone) &gt;  0"> CR LF   559              <xsl:if te st="string -length($V arCompanyP hone) &gt;  0"> CR LF
560               <wp:wp wp :type="com pany-info- item"> CR LF   560               <wp:wp wp :type="com pany-info- item"> CR LF
561                <xsl:val ue-of sele ct="$VarCo mpanyPhone " /> CR LF   561                <xsl:val ue-of sele ct="$VarCo mpanyPhone " /> CR LF
562               </wp:wp> CR LF   562               </wp:wp> CR LF
563              </xsl:if> CR LF   563              </xsl:if> CR LF
564   CR LF   564   CR LF
565              <xsl:if te st="string -length($V arCompanyF ax) &gt; 0 "> CR LF   565              <xsl:if te st="string -length($V arCompanyF ax) &gt; 0 "> CR LF
566               <wp:wp wp :type="com pany-info- item"> CR LF   566               <wp:wp wp :type="com pany-info- item"> CR LF
567                <xsl:val ue-of sele ct="$VarCo mpanyFax"  /> CR LF   567                <xsl:val ue-of sele ct="$VarCo mpanyFax"  /> CR LF
568               </wp:wp> CR LF   568               </wp:wp> CR LF
569              </xsl:if> CR LF   569              </xsl:if> CR LF
570   CR LF   570   CR LF
571              <xsl:if te st="string -length($V arCompanyE mail) &gt;  0"> CR LF   571              <xsl:if te st="string -length($V arCompanyE mail) &gt;  0"> CR LF
572               <wp:wp wp :type="com pany-info- item"> CR LF   572               <wp:wp wp :type="com pany-info- item"> CR LF
573                <wp:Goto Link wp:hr ef="{conca t('mailto: ', $VarCom panyEmail) }"> CR LF   573                <wp:Goto Link wp:hr ef="{conca t('mailto: ', $VarCom panyEmail) }"> CR LF
574                 <xsl:va lue-of sel ect="$VarC ompanyEmai l" /> CR LF   574                 <xsl:va lue-of sel ect="$VarC ompanyEmai l" /> CR LF
575                </wp:Got oLink> CR LF   575                </wp:Got oLink> CR LF
576               </wp:wp> CR LF   576               </wp:wp> CR LF
577              </xsl:if> CR LF   577              </xsl:if> CR LF
578            < /wp:wp> CR LF   578            < /wp:wp> CR LF
579           </ xsl:if> CR LF   579           </ xsl:if> CR LF
580   CR LF   580   CR LF
581           <! -- Breadcr umbs --> CR LF   581           <! -- Breadcr umbs --> CR LF
582           <! --              --> CR LF   582           <! --              --> CR LF
583           <x sl:variabl e name="Va rBreadcrum bsTopGener ateOption"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'brea dcrumbs-to p-generate ']/@Value"  /> CR LF   583           <x sl:variabl e name="Va rBreadcrum bsTopGener ateOption"  select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'brea dcrumbs-to p-generate ']/@Value"  /> CR LF
584           <x sl:variabl e name="Va rBreadcrum bsBottomGe nerateOpti on" select ="$VarPage Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'b readcrumbs -bottom-ge nerate']/@ Value" /> CR LF   584           <x sl:variabl e name="Va rBreadcrum bsBottomGe nerateOpti on" select ="$VarPage Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'b readcrumbs -bottom-ge nerate']/@ Value" /> CR LF
585   CR LF   585   CR LF
586           <x sl:if test ="($VarBre adcrumbsTo pGenerateO ption = 't rue') or ( $VarBreadc rumbsBotto mGenerateO ption = 't rue')"> CR LF   586           <x sl:if test ="($VarBre adcrumbsTo pGenerateO ption = 't rue') or ( $VarBreadc rumbsBotto mGenerateO ption = 't rue')"> CR LF
587            < xsl:variab le name="V arTopAlign "> CR LF   587            < xsl:variab le name="V arTopAlign "> CR LF
588              <xsl:varia ble name=" VarTopAlig nHint" sel ect="$VarP ageRule/ww project:Pr operties/w wproject:P roperty[@N ame = 'bre adcrumbs-t op-alignme nt']/@Valu e" /> CR LF   588              <xsl:varia ble name=" VarTopAlig nHint" sel ect="$VarP ageRule/ww project:Pr operties/w wproject:P roperty[@N ame = 'bre adcrumbs-t op-alignme nt']/@Valu e" /> CR LF
589              <xsl:choos e> CR LF   589              <xsl:choos e> CR LF
590               <xsl:when  test="str ing-length ($VarTopAl ignHint) & gt; 0"> CR LF   590               <xsl:when  test="str ing-length ($VarTopAl ignHint) & gt; 0"> CR LF
591                <xsl:val ue-of sele ct="$VarTo pAlignHint " /> CR LF   591                <xsl:val ue-of sele ct="$VarTo pAlignHint " /> CR LF
592               </xsl:whe n> CR LF   592               </xsl:whe n> CR LF
593   CR LF   593   CR LF
594               <xsl:othe rwise> CR LF   594               <xsl:othe rwise> CR LF
595                <xsl:val ue-of sele ct="'left' " /> CR LF   595                <xsl:val ue-of sele ct="'left' " /> CR LF
596               </xsl:oth erwise> CR LF   596               </xsl:oth erwise> CR LF
597              </xsl:choo se> CR LF   597              </xsl:choo se> CR LF
598            < /xsl:varia ble> CR LF   598            < /xsl:varia ble> CR LF
599   CR LF   599   CR LF
600            < xsl:variab le name="V arBottomAl ign"> CR LF   600            < xsl:variab le name="V arBottomAl ign"> CR LF
601              <xsl:varia ble name=" VarBottomA lignHint"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / > CR LF   601              <xsl:varia ble name=" VarBottomA lignHint"  select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / > CR LF
602              <xsl:choos e> CR LF   602              <xsl:choos e> CR LF
603               <xsl:when  test="str ing-length ($VarBotto mAlignHint ) &gt; 0"> CR LF   603               <xsl:when  test="str ing-length ($VarBotto mAlignHint ) &gt; 0"> CR LF
604                <xsl:val ue-of sele ct="$VarBo ttomAlignH int" /> CR LF   604                <xsl:val ue-of sele ct="$VarBo ttomAlignH int" /> CR LF
605               </xsl:whe n> CR LF   605               </xsl:whe n> CR LF
606   CR LF   606   CR LF
607               <xsl:othe rwise> CR LF   607               <xsl:othe rwise> CR LF
608                <xsl:val ue-of sele ct="'left' " /> CR LF   608                <xsl:val ue-of sele ct="'left' " /> CR LF
609               </xsl:oth erwise> CR LF   609               </xsl:oth erwise> CR LF
610              </xsl:choo se> CR LF   610              </xsl:choo se> CR LF
611            < /xsl:varia ble> CR LF   611            < /xsl:varia ble> CR LF
612   CR LF   612   CR LF
613            < xsl:variab le name="V arBreadcru mbsAsXML"> CR LF   613            < xsl:variab le name="V arBreadcru mbsAsXML"> CR LF
614              <xsl:call- template n ame="Bread crumbs"> CR LF   614              <xsl:call- template n ame="Bread crumbs"> CR LF
615               <xsl:with -param nam e="ParamPa geRule" se lect="$Var PageRule"  /> CR LF   615               <xsl:with -param nam e="ParamPa geRule" se lect="$Var PageRule"  /> CR LF
616               <xsl:with -param nam e="ParamSp lit" selec t="$ParamS plit" /> CR LF   616               <xsl:with -param nam e="ParamSp lit" selec t="$ParamS plit" /> CR LF
617               <xsl:with -param nam e="ParamBr eadcrumbTO CEntry" se lect="$Par amBreadcru mbTOCEntry " /> CR LF   617               <xsl:with -param nam e="ParamBr eadcrumbTO CEntry" se lect="$Par amBreadcru mbTOCEntry " /> CR LF
618              </xsl:call -template> CR LF   618              </xsl:call -template> CR LF
619            < /xsl:varia ble> CR LF   619            < /xsl:varia ble> CR LF
620            < xsl:variab le name="V arBreadcru mbs" selec t="msxsl:n ode-set($V arBreadcru mbsAsXML)"  /> CR LF   620            < xsl:variab le name="V arBreadcru mbs" selec t="msxsl:n ode-set($V arBreadcru mbsAsXML)"  /> CR LF
621   CR LF   621   CR LF
622            < wp:wp wp:t ype="bread crumbs" wp :top="{$Va rBreadcrum bsTopGener ateOption} " wp:botto m="{$VarBr eadcrumbsB ottomGener ateOption} "> CR LF   622            < wp:wp wp:t ype="bread crumbs" wp :top="{$Va rBreadcrum bsTopGener ateOption} " wp:botto m="{$VarBr eadcrumbsB ottomGener ateOption} "> CR LF
623   CR LF   623   CR LF
624              <xsl:if te st="$VarBr eadcrumbsT opGenerate Option = ' true'"> CR LF   624              <xsl:if te st="$VarBr eadcrumbsT opGenerate Option = ' true'"> CR LF
625               <xsl:attr ibute name ="wp:top-a lign"> CR LF   625               <xsl:attr ibute name ="wp:top-a lign"> CR LF
626                <xsl:val ue-of sele ct="$VarTo pAlign" /> CR LF   626                <xsl:val ue-of sele ct="$VarTo pAlign" /> CR LF
627               </xsl:att ribute> CR LF   627               </xsl:att ribute> CR LF
628              </xsl:if> CR LF   628              </xsl:if> CR LF
629   CR LF   629   CR LF
630              <xsl:if te st="$VarBr eadcrumbsB ottomGener ateOption  = 'true'"> CR LF   630              <xsl:if te st="$VarBr eadcrumbsB ottomGener ateOption  = 'true'"> CR LF
631               <xsl:attr ibute name ="wp:botto m-align"> CR LF   631               <xsl:attr ibute name ="wp:botto m-align"> CR LF
632                <xsl:val ue-of sele ct="$VarBo ttomAlign"  /> CR LF   632                <xsl:val ue-of sele ct="$VarBo ttomAlign"  /> CR LF
633               </xsl:att ribute> CR LF   633               </xsl:att ribute> CR LF
634              </xsl:if> CR LF   634              </xsl:if> CR LF
635   CR LF   635   CR LF
636              <xsl:copy- of select= "$VarBread crumbs" /> CR LF   636              <xsl:copy- of select= "$VarBread crumbs" /> CR LF
637            < /wp:wp> CR LF   637            < /wp:wp> CR LF
638           </ xsl:if> CR LF   638           </ xsl:if> CR LF
639   CR LF   639   CR LF
640          </w p:wp> CR LF   640          </w p:wp> CR LF
641   CR LF   641   CR LF
642          <xs l:comment> CR LF   642          <xs l:comment> CR LF
643          Beg in documen t content CR LF   643          Beg in documen t content CR LF
644   </xsl:comm ent> CR LF   644   </xsl:comm ent> CR LF
645          <wp :Content> CR LF   645          <wp :Content> CR LF
646           <x sl:call-te mplate nam e="Content -Content"> CR LF   646           <x sl:call-te mplate nam e="Content -Content"> CR LF
647            < xsl:with-p aram name= "ParamCont ent" selec t="$ParamC ontent" /> CR LF   647            < xsl:with-p aram name= "ParamCont ent" selec t="$ParamC ontent" /> CR LF
648            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> CR LF   648            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> CR LF
649            < xsl:with-p aram name= "ParamCarg o" select= "$VarCargo " /> CR LF   649            < xsl:with-p aram name= "ParamCarg o" select= "$VarCargo " /> CR LF
650            < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" /> CR LF   650            < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" /> CR LF
651            < xsl:with-p aram name= "ParamTOCD ata" selec t="$ParamT OCData" /> CR LF   651            < xsl:with-p aram name= "ParamTOCD ata" selec t="$ParamT OCData" /> CR LF
652            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl it" /> CR LF   652            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl it" /> CR LF
653            < xsl:with-p aram name= "ParamRela tiveRoot"  select="$V arRelative RootURI" / > CR LF   653            < xsl:with-p aram name= "ParamRela tiveRoot"  select="$V arRelative RootURI" / > CR LF
654           </ xsl:call-t emplate> CR LF   654           </ xsl:call-t emplate> CR LF
655           <x sl:call-te mplate nam e="Content -Notes"> CR LF   655           <x sl:call-te mplate nam e="Content -Notes"> CR LF
656            < xsl:with-p aram name= "ParamNote s" select= "$VarNotes " /> CR LF   656            < xsl:with-p aram name= "ParamNote s" select= "$VarNotes " /> CR LF
657            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> CR LF   657            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> CR LF
658            < xsl:with-p aram name= "ParamCarg o" select= "$VarCargo " /> CR LF   658            < xsl:with-p aram name= "ParamCarg o" select= "$VarCargo " /> CR LF
659            < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" /> CR LF   659            < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" /> CR LF
660            < xsl:with-p aram name= "ParamTOCD ata" selec t="$ParamT OCData" /> CR LF   660            < xsl:with-p aram name= "ParamTOCD ata" selec t="$ParamT OCData" /> CR LF
661            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl it" /> CR LF   661            < xsl:with-p aram name= "ParamSpli t" select= "$ParamSpl it" /> CR LF
662            < xsl:with-p aram name= "ParamRela tiveRoot"  select="$V arRelative RootURI" / > CR LF   662            < xsl:with-p aram name= "ParamRela tiveRoot"  select="$V arRelative RootURI" / > CR LF
663           </ xsl:call-t emplate> CR LF   663           </ xsl:call-t emplate> CR LF
664          </w p:Content> CR LF   664          </w p:Content> CR LF
665         </wp :Document> CR LF   665         </wp :Document> CR LF
666        </xsl :for-each> CR LF   666        </xsl :for-each> CR LF
667       </wwex sldoc:Mapp ingContext > CR LF   667       </wwex sldoc:Mapp ingContext > CR LF
668      </xsl:v ariable> CR LF   668      </xsl:v ariable> CR LF
669      <xsl:va riable nam e="VarResu lt" select ="msxsl:no de-set($Va rResultAsX ML)" /> CR LF   669      <xsl:va riable nam e="VarResu lt" select ="msxsl:no de-set($Va rResultAsX ML)" /> CR LF
670   CR LF   670   CR LF
671      <!-- Ab orted? --> CR LF   671      <!-- Ab orted? --> CR LF
672      <!--           --> CR LF   672      <!--           --> CR LF
673      <xsl:if  test="not (wwprogres s:Abort()) "> CR LF   673      <xsl:if  test="not (wwprogres s:Abort()) "> CR LF
674       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'ut f-8'), 'xm l', '1.0',  'yes', '' , '', '',  '', '')" / > CR LF   674       <xsl:v ariable na me="VarWri teResult"  select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'ut f-8'), 'xm l', '1.0',  'yes', '' , '', '',  '', '')" / > CR LF
675      </xsl:i f> CR LF   675      </xsl:i f> CR LF
676     </xsl:if > CR LF   676     </xsl:if > CR LF
677   CR LF   677   CR LF
678     <!-- Abo rted? --> CR LF   678     <!-- Abo rted? --> CR LF
679     <!--           --> CR LF   679     <!--           --> CR LF
680     <xsl:if  test="not( wwprogress :Abort())" > CR LF   680     <xsl:if  test="not( wwprogress :Abort())" > CR LF
681      <!-- Re cord files  --> CR LF   681      <!-- Re cord files  --> CR LF
682      <!--                --> CR LF   682      <!--                --> CR LF
683      <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 }"> CR LF   683      <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 }"> CR LF
684       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  /> CR LF   684       <wwfil es:Depends  path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID=""  /> CR LF
685       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " /> CR LF   685       <wwfil es:Depends  path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " /> CR LF
686       <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 }" /> CR LF   686       <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 }" /> CR LF
687       <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}" / > CR LF   687       <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}" / > CR LF
688       <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}" /> CR LF   688       <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}" /> CR LF
689      </wwfil es:File> CR LF   689      </wwfil es:File> CR LF
690     </xsl:if > CR LF   690     </xsl:if > CR LF
691    </xsl:tem plate> CR LF   691    </xsl:tem plate> CR LF
692   </xsl:styl esheet> CR LF   692   </xsl:styl esheet> CR LF