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

59.1 Files compared

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

59.2 Comparison summary

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

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

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

59.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:wwxm lxsl="urn: WebWorks-X MLXSL-Outp ut-Schema" CR LF   2   <xsl:style sheet vers ion="1.0"  xmlns:wwxm lxsl="urn: WebWorks-X MLXSL-Outp ut-Schema" CR LF
3                                    xmlns:wp=" urn:WebWor ks-XMLXSL- Container- Schema" CR LF   3                                    xmlns:wp=" urn:WebWor ks-XMLXSL- Container- Schema" CR LF
4                                    xmlns:html ="http://w ww.w3.org/ 1999/xhtml " CR LF   4                                    xmlns:html ="http://w ww.w3.org/ 1999/xhtml " 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:wwin dex="urn:W ebWorks-In dex-Schema " CR LF   7                                    xmlns:wwin dex="urn:W ebWorks-In dex-Schema " 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:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF   9                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF
10                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" CR LF   10                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" CR LF
11                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" CR LF   11                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" CR LF
12                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF   12                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF
13                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF   13                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF
14                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF   14                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF
15                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF   15                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF
16                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF   16                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF
17                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF   17                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF
18                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF   18                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF
19                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF   19                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF
20                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF   20                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF
21                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF   21                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF
22                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF   22                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF
23                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF   23                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF
24                                    exclude-re sult-prefi xes="xsl m sxsl wwind ex wwlinks  wwmode ww files wwdo c wwsplits  wwproject  wwpage ww locale wwp rogress ww log wwfile system wwu ri wwstrin g wwfilese xt wwproje xt wwexsld oc wwxmlxs l" CR LF   24                                    exclude-re sult-prefi xes="xsl m sxsl wwind ex wwlinks  wwmode ww files wwdo c wwsplits  wwproject  wwpage ww locale wwp rogress ww log wwfile system wwu ri wwstrin g wwfilese xt wwproje xt wwexsld oc wwxmlxs l" CR LF
25   > CR LF   25   > CR LF
26    <xsl:para m name="Gl obalInput"  /> CR LF   26    <xsl:para m name="Gl obalInput"  /> CR LF
27    <xsl:para m name="Gl obalPipeli neName" /> CR LF   27    <xsl:para m name="Gl obalPipeli neName" /> CR LF
28    <xsl:para m name="Gl obalProjec t" /> CR LF   28    <xsl:para m name="Gl obalProjec t" /> CR LF
29    <xsl:para m name="Gl obalFiles"  /> CR LF   29    <xsl:para m name="Gl obalFiles"  /> CR LF
30    <xsl:para m name="Pa rameterDep endsType"  /> CR LF   30    <xsl:para m name="Pa rameterDep endsType"  /> CR LF
31    <xsl:para m name="Pa rameterSpl itsType" / > CR LF   31    <xsl:para m name="Pa rameterSpl itsType" / > CR LF
32    <xsl:para m name="Pa rameterTyp e" /> CR LF   32    <xsl:para m name="Pa rameterTyp e" /> CR LF
33    <xsl:para m name="Pa rameterLoc aleType" / > CR LF   33    <xsl:para m name="Pa rameterLoc aleType" / > CR LF
34    <xsl:para m name="Pa rameterTOC SplitFileT ype" /> CR LF   34    <xsl:para m name="Pa rameterTOC SplitFileT ype" /> CR LF
35    <xsl:para m name="Pa rameterInd exSplitFil eType" /> CR LF   35    <xsl:para m name="Pa rameterInd exSplitFil eType" /> CR LF
36    <xsl:para m name="Pa rameterCat egory" /> CR LF   36    <xsl:para m name="Pa rameterCat egory" /> CR LF
37    <xsl:para m name="Pa rameterUse " /> CR LF   37    <xsl:para m name="Pa rameterUse " /> CR LF
38    <xsl:para m name="Pa rameterDep loy" /> CR LF   38    <xsl:para m name="Pa rameterDep loy" /> CR LF
39   CR LF   39   CR LF
40   CR LF   40   CR LF
41    <xsl:outp ut encodin g="UTF-8"  indent="ye s" /> CR LF   41    <xsl:outp ut encodin g="UTF-8"  indent="ye s" /> CR LF
42    <xsl:stri p-space el ements="*"  /> CR LF   42    <xsl:stri p-space el ements="*"  /> CR LF
43   CR LF   43   CR LF
44   CR LF   44   CR LF
45    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" /> CR LF   45    <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" /> CR LF
46    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" /> CR LF   46    <xsl:incl ude href=" wwtransfor m:html/css _propertie s.xsl" /> CR LF
47    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" /> CR LF   47    <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" /> CR LF
48   CR LF   48   CR LF
49   CR LF   49   CR LF
50    <xsl:key  name="wwfi les-files- by-type" m atch="wwfi les:File"  use="@type " /> CR LF   50    <xsl:key  name="wwfi les-files- by-type" m atch="wwfi les:File"  use="@type " /> CR LF
51    <xsl:key  name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID,  ':', @type )" /> CR LF   51    <xsl:key  name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID,  ':', @type )" /> CR LF
52    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" /> CR LF   52    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" /> CR LF
53   CR LF   53   CR LF
54   CR LF   54   CR LF
55    <xsl:vari able name= "GlobalAct ionChecksu m"> CR LF   55    <xsl:vari able name= "GlobalAct ionChecksu m"> CR LF
56     <xsl:var iable name ="VarTrans formChecks ums"> CR LF   56     <xsl:var iable name ="VarTrans formChecks ums"> CR LF
57      <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   57      <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
58      <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   58      <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
59      <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   59      <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
60      <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   60      <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
61     </xsl:va riable> CR LF   61     </xsl:va riable> CR LF
62     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  /> CR LF   62     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  /> CR LF
63    </xsl:var iable> CR LF   63    </xsl:var iable> CR LF
64   CR LF   64   CR LF
65   CR LF   65   CR LF
66    <!-- Loca le --> CR LF   66    <!-- Loca le --> CR LF
67    <!--         --> CR LF   67    <!--         --> CR LF
68    <xsl:vari able name= "GlobalLoc alePath"> CR LF   68    <xsl:vari able name= "GlobalLoc alePath"> CR LF
69     <xsl:for -each sele ct="$Globa lFiles[1]" > CR LF   69     <xsl:for -each sele ct="$Globa lFiles[1]" > CR LF
70      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" /> CR LF   70      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" /> CR LF
71     </xsl:fo r-each> CR LF   71     </xsl:fo r-each> CR LF
72    </xsl:var iable> CR LF   72    </xsl:var iable> CR LF
73    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" /> CR LF   73    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" /> CR LF
74   CR LF   74   CR LF
75   CR LF   75   CR LF
76    <!-- Mapp ing Entry  Sets --> CR LF   76    <!-- Mapp ing Entry  Sets --> CR LF
77    <!--                      --> CR LF   77    <!--                      --> CR LF
78    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwformat: Transforms /mapentrys ets.xml')"  /> CR LF   78    <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwformat: Transforms /mapentrys ets.xml')"  /> CR LF
79    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" /> CR LF   79    <xsl:vari able name= "GlobalMap EntrySets"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" /> CR LF
80   CR LF   80   CR LF
81   CR LF   81   CR LF
82    <xsl:temp late match ="/"> CR LF   82    <xsl:temp late match ="/"> CR LF
83     <wwfiles :Files ver sion="1.0" > CR LF   83     <wwfiles :Files ver sion="1.0" > CR LF
84   CR LF   84   CR LF
85      <!-- Ge nerate Ind ex? --> CR LF   85      <!-- Ge nerate Ind ex? --> CR LF
86      <!--                   --> CR LF   86      <!--                   --> CR LF
87      <xsl:if  test="wwp rojext:Get FormatSett ing('index -generate' , 'true')  = 'true'"> CR LF   87      <xsl:if  test="wwp rojext:Get FormatSett ing('index -generate' , 'true')  = 'true'"> CR LF
88       <!-- I terate inp ut documen ts --> CR LF   88       <!-- I terate inp ut documen ts --> CR LF
89       <!--                            --> CR LF   89       <!--                            --> CR LF
90       <xsl:f or-each se lect="$Glo balFiles[1 ]"> CR LF   90       <xsl:f or-each se lect="$Glo balFiles[1 ]"> CR LF
91        <xsl: variable n ame="VarFi lesByType"  select="k ey('wwfile s-files-by -type', $P arameterDe pendsType) " /> CR LF   91        <xsl: variable n ame="VarFi lesByType"  select="k ey('wwfile s-files-by -type', $P arameterDe pendsType) " /> CR LF
92   CR LF   92   CR LF
93        <xsl: value-of s elect="wwp rogress:St art(count( $VarFilesB yType))" / > CR LF   93        <xsl: value-of s elect="wwp rogress:St art(count( $VarFilesB yType))" / > CR LF
94   CR LF   94   CR LF
95        <xsl: for-each s elect="$Va rFilesByTy pe"> CR LF   95        <xsl: for-each s elect="$Va rFilesByTy pe"> CR LF
96         <xsl :value-of  select="ww progress:S tart(1)" / > CR LF   96         <xsl :value-of  select="ww progress:S tart(1)" / > CR LF
97   CR LF   97   CR LF
98         <xsl :variable  name="VarF ilesDocume nt" select ="." /> CR LF   98         <xsl :variable  name="VarF ilesDocume nt" select ="." /> CR LF
99   CR LF   99   CR LF
100         <!--  Load spli ts --> CR LF   100         <!--  Load spli ts --> CR LF
101         <!--               --> CR LF   101         <!--               --> CR LF
102         <xsl :variable  name="VarF ilesSplits " select=" key('wwfil es-files-b y-groupid- type', con cat($VarFi lesDocumen t/@groupID , ':', $Pa rameterSpl itsType))[ 1]" /> CR LF   102         <xsl :variable  name="VarF ilesSplits " select=" key('wwfil es-files-b y-groupid- type', con cat($VarFi lesDocumen t/@groupID , ':', $Pa rameterSpl itsType))[ 1]" /> CR LF
103         <xsl :variable  name="VarS plits" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arFilesSpl its/@path) " /> CR LF   103         <xsl :variable  name="VarS plits" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arFilesSpl its/@path) " /> CR LF
104   CR LF   104   CR LF
105         <xsl :for-each  select="$V arSplits[1 ]"> CR LF   105         <xsl :for-each  select="$V arSplits[1 ]"> CR LF
106          <!- - Split -- > CR LF   106          <!- - Split -- > CR LF
107          <!- -       -- > CR LF   107          <!- -       -- > CR LF
108          <xs l:variable  name="Var Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $VarFilesD ocument/@g roupID, ': ', $Parame terIndexSp litFileTyp e))[1]" /> CR LF   108          <xs l:variable  name="Var Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $VarFilesD ocument/@g roupID, ': ', $Parame terIndexSp litFileTyp e))[1]" /> CR LF
109   CR LF   109   CR LF
110          <!- - Transfor m --> CR LF   110          <!- - Transfor m --> CR LF
111          <!- -            --> CR LF   111          <!- -            --> CR LF
112          <xs l:variable  name="Var UpToDate"  select="ww filesext:U pToDate($V arSplit/@p ath, '', $ VarFilesDo cument/@gr oupID, $Va rFilesDocu ment/@docu mentID, $G lobalActio nChecksum) " /> CR LF   112          <xs l:variable  name="Var UpToDate"  select="ww filesext:U pToDate($V arSplit/@p ath, '', $ VarFilesDo cument/@gr oupID, $Va rFilesDocu ment/@docu mentID, $G lobalActio nChecksum) " /> CR LF
113          <xs l:if test= "not($VarU pToDate)"> CR LF   113          <xs l:if test= "not($VarU pToDate)"> CR LF
114           <x sl:variabl e name="Va rResultAsX ML"> CR LF   114           <x sl:variabl e name="Va rResultAsX ML"> CR LF
115            < !-- Map co mmon chara cters --> CR LF   115            < !-- Map co mmon chara cters --> CR LF
116            < !--                         --> CR LF   116            < !--                         --> CR LF
117            < wwexsldoc: MappingCon text> CR LF   117            < wwexsldoc: MappingCon text> CR LF
118              <xsl:copy- of select= "$GlobalMa pEntrySets /wwexsldoc :MapEntryS ets/wwexsl doc:MapEnt rySet[@nam e = 'commo n']/wwexsl doc:MapEnt ry" /> CR LF   118              <xsl:copy- of select= "$GlobalMa pEntrySets /wwexsldoc :MapEntryS ets/wwexsl doc:MapEnt rySet[@nam e = 'commo n']/wwexsl doc:MapEnt ry" /> CR LF
119   CR LF   119   CR LF
120              <!-- Load  document - -> CR LF   120              <!-- Load  document - -> CR LF
121              <!--                - -> CR LF   121              <!--                - -> CR LF
122              <xsl:varia ble name=" VarIndex"  select="ww exsldoc:Lo adXMLWitho utResolver ($VarFiles Document/@ path)" /> CR LF   122              <xsl:varia ble name=" VarIndex"  select="ww exsldoc:Lo adXMLWitho utResolver ($VarFiles Document/@ path)" /> CR LF
123   CR LF   123   CR LF
124              <xsl:call- template n ame="Index "> CR LF   124              <xsl:call- template n ame="Index "> CR LF
125               <xsl:with -param nam e="ParamSp lits" sele ct="$VarSp lits" /> CR LF   125               <xsl:with -param nam e="ParamSp lits" sele ct="$VarSp lits" /> CR LF
126               <xsl:with -param nam e="ParamIn dex" selec t="$VarInd ex" /> CR LF   126               <xsl:with -param nam e="ParamIn dex" selec t="$VarInd ex" /> CR LF
127               <xsl:with -param nam e="ParamSp lit" selec t="$VarSpl it" /> CR LF   127               <xsl:with -param nam e="ParamSp lit" selec t="$VarSpl it" /> CR LF
128              </xsl:call -template> CR LF   128              </xsl:call -template> CR LF
129            < /wwexsldoc :MappingCo ntext> CR LF   129            < /wwexsldoc :MappingCo ntext> CR LF
130           </ xsl:variab le> CR LF   130           </ xsl:variab le> CR LF
131           <x sl:variabl e name="Va rResult" s elect="msx sl:node-se t($VarResu ltAsXML)"  /> CR LF   131           <x sl:variabl e name="Va rResult" s elect="msx sl:node-se t($VarResu ltAsXML)"  /> CR LF
132           <x sl:variabl e name="Va rWriteResu lt" select ="wwexsldo c:Document ($VarResul t, $VarSpl it/@path,  wwprojext: GetFormatS etting('en coding', ' utf-8'), ' xml', '1.0 ', 'yes',  '', '', '' , '', '')"  /> CR LF   132           <x sl:variabl e name="Va rWriteResu lt" select ="wwexsldo c:Document ($VarResul t, $VarSpl it/@path,  wwprojext: GetFormatS etting('en coding', ' utf-8'), ' xml', '1.0 ', 'yes',  '', '', '' , '', '')"  /> CR LF
133          </x sl:if> CR LF   133          </x sl:if> CR LF
134   CR LF   134   CR LF
135          <!- - Report F iles --> CR LF   135          <!- - Report F iles --> CR LF
136          <!- -               --> CR LF   136          <!- -               --> CR LF
137          <ww files:File  path="{$V arSplit/@p ath}" type ="{$Parame terType}"  checksum=" {wwfilesys tem:GetChe cksum($Var Split/@pat h)}" proje ctchecksum ="" groupI D="{$VarFi lesDocumen t/@groupID }" documen tID="{$Var FilesDocum ent/@docum entID}" ac tionchecks um="{$Glob alActionCh ecksum}" c ategory="{ $Parameter Category}"  use="{$Pa rameterUse }" deploy= "{$Paramet erDeploy}" > CR LF   137          <ww files:File  path="{$V arSplit/@p ath}" type ="{$Parame terType}"  checksum=" {wwfilesys tem:GetChe cksum($Var Split/@pat h)}" proje ctchecksum ="" groupI D="{$VarFi lesDocumen t/@groupID }" documen tID="{$Var FilesDocum ent/@docum entID}" ac tionchecks um="{$Glob alActionCh ecksum}" c ategory="{ $Parameter Category}"  use="{$Pa rameterUse }" deploy= "{$Paramet erDeploy}" > CR LF
138           <w wfiles:Dep ends path= "{$GlobalL ocalePath} " checksum ="{wwfiles ystem:GetC hecksum($G lobalLocal ePath)}" g roupID=""  documentID ="" /> CR LF   138           <w wfiles:Dep ends path= "{$GlobalL ocalePath} " checksum ="{wwfiles ystem:GetC hecksum($G lobalLocal ePath)}" g roupID=""  documentID ="" /> CR LF
139           <w wfiles:Dep ends path= "{$GlobalM apEntrySet sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lMapEntryS etsPath)}"  groupID=" " document ID="" /> CR LF   139           <w wfiles:Dep ends path= "{$GlobalM apEntrySet sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lMapEntryS etsPath)}"  groupID=" " document ID="" /> CR LF
140           <w wfiles:Dep ends path= "{$VarFile sSplits/@p ath}" chec ksum="{$Va rFilesSpli ts/@checks um}" group ID="{$VarF ilesSplits /@groupID} " document ID="{$VarF ilesSplits /@document ID}" /> CR LF   140           <w wfiles:Dep ends path= "{$VarFile sSplits/@p ath}" chec ksum="{$Va rFilesSpli ts/@checks um}" group ID="{$VarF ilesSplits /@groupID} " document ID="{$VarF ilesSplits /@document ID}" /> CR LF
141           <w wfiles:Dep ends path= "{$VarFile sDocument/ @path}" ch ecksum="{$ VarFilesDo cument/@ch ecksum}" g roupID="{$ VarFilesDo cument/@gr oupID}" do cumentID=" {$VarFiles Document/@ documentID }" /> CR LF   141           <w wfiles:Dep ends path= "{$VarFile sDocument/ @path}" ch ecksum="{$ VarFilesDo cument/@ch ecksum}" g roupID="{$ VarFilesDo cument/@gr oupID}" do cumentID=" {$VarFiles Document/@ documentID }" /> CR LF
142          </w wfiles:Fil e> CR LF   142          </w wfiles:Fil e> CR LF
143         </xs l:for-each > CR LF   143         </xs l:for-each > CR LF
144   CR LF   144   CR LF
145         <xsl :value-of  select="ww progress:E nd()" /> CR LF   145         <xsl :value-of  select="ww progress:E nd()" /> CR LF
146        </xsl :for-each> CR LF   146        </xsl :for-each> CR LF
147   CR LF   147   CR LF
148        <xsl: value-of s elect="wwp rogress:En d()" /> CR LF   148        <xsl: value-of s elect="wwp rogress:En d()" /> CR LF
149       </xsl: for-each> CR LF   149       </xsl: for-each> CR LF
150      </xsl:i f> CR LF   150      </xsl:i f> CR LF
151   CR LF   151   CR LF
152     </wwfile s:Files> CR LF   152     </wwfile s:Files> CR LF
153    </xsl:tem plate> CR LF   153    </xsl:tem plate> CR LF
154   CR LF   154   CR LF
155   CR LF   155   CR LF
156    <xsl:temp late name= "Index"> CR LF   156    <xsl:temp late name= "Index"> CR LF
157     <xsl:par am name="P aramSplits " /> CR LF   157     <xsl:par am name="P aramSplits " /> CR LF
158     <xsl:par am name="P aramIndex"  /> CR LF   158     <xsl:par am name="P aramIndex"  /> CR LF
159     <xsl:par am name="P aramSplit"  /> CR LF   159     <xsl:par am name="P aramSplit"  /> CR LF
160   CR LF   160   CR LF
161     <!-- Out put direct ory path - -> CR LF   161     <!-- Out put direct ory path - -> CR LF
162     <!--                         - -> CR LF   162     <!--                         - -> CR LF
163     <xsl:var iable name ="VarOutpu tDirectory Path" sele ct="wwfile system:Com bine(wwpro jext:GetTa rgetOutput DirectoryP ath(), wwp rojext:Get GroupName( $ParamSpli t/@groupID ))" /> CR LF   163     <xsl:var iable name ="VarOutpu tDirectory Path" sele ct="wwfile system:Com bine(wwpro jext:GetTa rgetOutput DirectoryP ath(), wwp rojext:Get GroupName( $ParamSpli t/@groupID ))" /> CR LF
164   CR LF   164   CR LF
165     <!-- doc ument.xsl  path --> CR LF   165     <!-- doc ument.xsl  path --> CR LF
166     <!--                     --> CR LF   166     <!--                     --> CR LF
167     <xsl:var iable name ="VarDocum entXSLPath " select=" wwfilesyst em:Combine ($VarOutpu tDirectory Path, 'xsl ', 'docume nt.xsl')"  /> CR LF   167     <xsl:var iable name ="VarDocum entXSLPath " select=" wwfilesyst em:Combine ($VarOutpu tDirectory Path, 'xsl ', 'docume nt.xsl')"  /> CR LF
168   CR LF   168   CR LF
169     <!-- Ima ges dir -- > CR LF   169     <!-- Ima ges dir -- > CR LF
170     <!--             -- > CR LF   170     <!--             -- > CR LF
171     <xsl:var iable name ="VarImage sDir" sele ct="wwfile system:Com bine($VarO utputDirec toryPath,  'images')"  /> CR LF   171     <xsl:var iable name ="VarImage sDir" sele ct="wwfile system:Com bine($VarO utputDirec toryPath,  'images')"  /> CR LF
172   CR LF   172   CR LF
173     <!-- Scr ipts dir - -> CR LF   173     <!-- Scr ipts dir - -> CR LF
174     <!--              - -> CR LF   174     <!--              - -> CR LF
175     <xsl:var iable name ="VarScrip tsDir" sel ect="wwfil esystem:Co mbine($Var OutputDire ctoryPath,  'scripts' )" /> CR LF   175     <xsl:var iable name ="VarScrip tsDir" sel ect="wwfil esystem:Co mbine($Var OutputDire ctoryPath,  'scripts' )" /> CR LF
176   CR LF   176   CR LF
177     <!-- Web Works Root  --> CR LF   177     <!-- Web Works Root  --> CR LF
178     <!--                 --> CR LF   178     <!--                 --> CR LF
179     <xsl:var iable name ="VarRelat iveRootURI WithDummyC omponent"  select="ww uri:GetRel ativeTo(ww filesystem :Combine($ VarOutputD irectoryPa th, 'dummy .component '), $Param Split/@pat h)" /> CR LF   179     <xsl:var iable name ="VarRelat iveRootURI WithDummyC omponent"  select="ww uri:GetRel ativeTo(ww filesystem :Combine($ VarOutputD irectoryPa th, 'dummy .component '), $Param Split/@pat h)" /> CR LF
180     <xsl:var iable name ="VarRelat iveRootURI "> CR LF   180     <xsl:var iable name ="VarRelat iveRootURI "> CR LF
181      <xsl:va riable nam e="VarStri ngLengthDi fference"  select="st ring-lengt h($VarRela tiveRootUR IWithDummy Component)  - string- length('du mmy.compon ent')" /> CR LF   181      <xsl:va riable nam e="VarStri ngLengthDi fference"  select="st ring-lengt h($VarRela tiveRootUR IWithDummy Component)  - string- length('du mmy.compon ent')" /> CR LF
182      <xsl:ch oose> CR LF   182      <xsl:ch oose> CR LF
183       <xsl:w hen test=" $VarString LengthDiff erence &lt ;= 0"> CR LF   183       <xsl:w hen test=" $VarString LengthDiff erence &lt ;= 0"> CR LF
184        <xsl: value-of s elect="''"  /> CR LF   184        <xsl: value-of s elect="''"  /> CR LF
185       </xsl: when> CR LF   185       </xsl: when> CR LF
186   CR LF   186   CR LF
187       <xsl:o therwise> CR LF   187       <xsl:o therwise> CR LF
188        <xsl: value-of s elect="sub string($Va rRelativeR ootURIWith DummyCompo nent, 1, $ VarStringL engthDiffe rence)" /> CR LF   188        <xsl: value-of s elect="sub string($Va rRelativeR ootURIWith DummyCompo nent, 1, $ VarStringL engthDiffe rence)" /> CR LF
189       </xsl: otherwise> CR LF   189       </xsl: otherwise> CR LF
190      </xsl:c hoose> CR LF   190      </xsl:c hoose> CR LF
191     </xsl:va riable> CR LF   191     </xsl:va riable> CR LF
192   CR LF   192   CR LF
193     <!-- Pag e Rule --> CR LF   193     <!-- Pag e Rule --> CR LF
194     <!--            --> CR LF   194     <!--            --> CR LF
195     <xsl:var iable name ="VarPageR ule" selec t="wwproje xt:GetRule ('Page', $ ParamSplit /@stylenam e)" /> CR LF   195     <xsl:var iable name ="VarPageR ule" selec t="wwproje xt:GetRule ('Page', $ ParamSplit /@stylenam e)" /> CR LF
196   CR LF   196   CR LF
197     <!-- CSS  Path --> CR LF   197     <!-- CSS  Path --> CR LF
198     <!--           --> CR LF   198     <!--           --> CR LF
199   CR LF   199   CR LF
200     <!-- Spl it files - -> CR LF   200     <!-- Spl it files - -> CR LF
201     <!--              - -> CR LF   201     <!--              - -> CR LF
202     <xsl:for -each sele ct="$Param Splits[1]" > CR LF   202     <xsl:for -each sele ct="$Param Splits[1]" > CR LF
203      <!-- TO C --> CR LF   203      <!-- TO C --> CR LF
204      <!--      --> CR LF   204      <!--      --> CR LF
205      <xsl:va riable nam e="VarTOCS plitFile"  select="ke y('wwsplit s-files-by -groupid-t ype', conc at($ParamS plit/@grou pID, ':',  $Parameter TOCSplitFi leType))[1 ]" /> CR LF   205      <xsl:va riable nam e="VarTOCS plitFile"  select="ke y('wwsplit s-files-by -groupid-t ype', conc at($ParamS plit/@grou pID, ':',  $Parameter TOCSplitFi leType))[1 ]" /> CR LF
206   CR LF   206   CR LF
207      <!-- In dex --> CR LF   207      <!-- In dex --> CR LF
208      <!--        --> CR LF   208      <!--        --> CR LF
209      <xsl:va riable nam e="VarInde xSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erIndexSpl itFileType ))[1]" /> CR LF   209      <xsl:va riable nam e="VarInde xSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erIndexSpl itFileType ))[1]" /> CR LF
210   CR LF   210   CR LF
211      <!-- Pr evious --> CR LF   211      <!-- Pr evious --> CR LF
212      <!--           --> CR LF   212      <!--           --> CR LF
213      <xsl:va riable nam e="VarPoss iblePrevio usSplits"  select="$P aramSplit/ preceding- sibling::w wsplits:Sp lit[1]" /> CR LF   213      <xsl:va riable nam e="VarPoss iblePrevio usSplits"  select="$P aramSplit/ preceding- sibling::w wsplits:Sp lit[1]" /> CR LF
214      <xsl:va riable nam e="VarPrev iousSplit"  select="( $VarPossib lePrevious Splits[cou nt($VarPos siblePrevi ousSplits)  = 1] | $V arTOCSplit File[(coun t($VarPoss iblePrevio usSplits)  = 0) and ( count($Par amSplit |  $VarTOCSpl itFile) =  2)])" /> CR LF   214      <xsl:va riable nam e="VarPrev iousSplit"  select="( $VarPossib lePrevious Splits[cou nt($VarPos siblePrevi ousSplits)  = 1] | $V arTOCSplit File[(coun t($VarPoss iblePrevio usSplits)  = 0) and ( count($Par amSplit |  $VarTOCSpl itFile) =  2)])" /> CR LF
215   CR LF   215   CR LF
216      <!-- Ne xt --> CR LF   216      <!-- Ne xt --> CR LF
217      <!--       --> CR LF   217      <!--       --> CR LF
218      <xsl:va riable nam e="VarPoss ibleNextSp lits" sele ct="$Param Split/foll owing-sibl ing::wwspl its:Split[ 1]" /> CR LF   218      <xsl:va riable nam e="VarPoss ibleNextSp lits" sele ct="$Param Split/foll owing-sibl ing::wwspl its:Split[ 1]" /> CR LF
219      <xsl:va riable nam e="VarNext Split" sel ect="($Var PossibleNe xtSplits[c ount($VarP ossibleNex tSplits) =  1] | $Var IndexSplit File[(coun t($VarPoss ibleNextSp lits) = 0)  and (coun t($ParamSp lit | $Var IndexSplit File) = 2) ])" /> CR LF   219      <xsl:va riable nam e="VarNext Split" sel ect="($Var PossibleNe xtSplits[c ount($VarP ossibleNex tSplits) =  1] | $Var IndexSplit File[(coun t($VarPoss ibleNextSp lits) = 0)  and (coun t($ParamSp lit | $Var IndexSplit File) = 2) ])" /> CR LF
220   CR LF   220   CR LF
221      <!-- xm l-styleshe et process ing instru ction --> CR LF   221      <!-- xm l-styleshe et process ing instru ction --> CR LF
222      <!--                                           --> CR LF   222      <!--                                           --> CR LF
223      <xsl:pr ocessing-i nstruction  name="xml -styleshee t"> CR LF   223      <xsl:pr ocessing-i nstruction  name="xml -styleshee t"> CR LF
224       <xsl:v alue-of se lect="'typ e=&quot;te xt/xsl&quo t; '"/> CR LF   224       <xsl:v alue-of se lect="'typ e=&quot;te xt/xsl&quo t; '"/> CR LF
225       <xsl:v alue-of se lect="conc at('href=& quot;', ww uri:GetRel ativeTo($V arDocument XSLPath, $ ParamSplit /@path), ' &quot;')"  /> CR LF   225       <xsl:v alue-of se lect="conc at('href=& quot;', ww uri:GetRel ativeTo($V arDocument XSLPath, $ ParamSplit /@path), ' &quot;')"  /> CR LF
226      </xsl:p rocessing- instructio n> CR LF   226      </xsl:p rocessing- instructio n> CR LF
227   CR LF   227   CR LF
228      <wp:Doc ument xmln s:wwxmlxsl ="urn:WebW orks-XMLXS L-Output-S chema" xml ns:wp="urn :WebWorks- XMLXSL-Con tainer-Sch ema"> CR LF   228      <wp:Doc ument xmln s:wwxmlxsl ="urn:WebW orks-XMLXS L-Output-S chema" xml ns:wp="urn :WebWorks- XMLXSL-Con tainer-Sch ema"> CR LF
229       <xsl:c omment> CR LF   229       <xsl:c omment> CR LF
230        Docum ent info CR LF   230        Docum ent info CR LF
231   </xsl:comm ent> CR LF   231   </xsl:comm ent> CR LF
232       <wp:wp  wp:type=" document-i nfo"> CR LF   232       <wp:wp  wp:type=" document-i nfo"> CR LF
233        <wp:w p wp:type= "page-titl e" wp:valu e="{$Param Split/@tit le}" /> CR LF   233        <wp:w p wp:type= "page-titl e" wp:valu e="{$Param Split/@tit le}" /> CR LF
234        <wp:w p wp:type= "script-di r" wp:href ="{wwuri:G etRelative To($VarScr iptsDir, $ ParamSplit /@path)}"  /> CR LF   234        <wp:w p wp:type= "script-di r" wp:href ="{wwuri:G etRelative To($VarScr iptsDir, $ ParamSplit /@path)}"  /> CR LF
235        <wp:w p wp:type= "relative- root" wp:h ref="{$Var RelativeRo otURI}" /> CR LF   235        <wp:w p wp:type= "relative- root" wp:h ref="{$Var RelativeRo otURI}" /> CR LF
236   CR LF   236   CR LF
237        <!--  body-style  --> CR LF   237        <!--  body-style  --> CR LF
238        <!--              --> CR LF   238        <!--              --> CR LF
239        <wp:w p wp:type= "body-styl e"> CR LF   239        <wp:w p wp:type= "body-styl e"> CR LF
240         <xsl :attribute  name="wp: value"> CR LF   240         <xsl :attribute  name="wp: value"> CR LF
241          <!- - CSS prop erties --> CR LF   241          <!- - CSS prop erties --> CR LF
242          <!- -                 --> CR LF   242          <!- -                 --> CR LF
243          <xs l:variable  name="Var CSSPropert iesAsXML"> CR LF   243          <xs l:variable  name="Var CSSPropert iesAsXML"> CR LF
244           <x sl:call-te mplate nam e="CSS-Tra nslateProj ectPropert ies"> CR LF   244           <x sl:call-te mplate nam e="CSS-Tra nslateProj ectPropert ies"> CR LF
245            < xsl:with-p aram name= "ParamProp erties" se lect="$Var PageRule/w wproject:P roperties/ wwproject: Property"  /> CR LF   245            < xsl:with-p aram name= "ParamProp erties" se lect="$Var PageRule/w wproject:P roperties/ wwproject: Property"  /> CR LF
246            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  /> CR LF   246            < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path"  /> CR LF
247            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> CR LF   247            < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> CR LF
248           </ xsl:call-t emplate> CR LF   248           </ xsl:call-t emplate> CR LF
249          </x sl:variabl e> CR LF   249          </x sl:variabl e> CR LF
250          <xs l:variable  name="Var CSSPropert ies" selec t="msxsl:n ode-set($V arCSSPrope rtiesAsXML )/wwprojec t:Property " /> CR LF   250          <xs l:variable  name="Var CSSPropert ies" selec t="msxsl:n ode-set($V arCSSPrope rtiesAsXML )/wwprojec t:Property " /> CR LF
251   CR LF   251   CR LF
252          <xs l:call-tem plate name ="CSS-Inli neProperti es"> CR LF   252          <xs l:call-tem plate name ="CSS-Inli neProperti es"> CR LF
253           <x sl:with-pa ram name=" ParamPrope rties" sel ect="$VarC SSProperti es[string- length(@Va lue) &gt;  0]" /> CR LF   253           <x sl:with-pa ram name=" ParamPrope rties" sel ect="$VarC SSProperti es[string- length(@Va lue) &gt;  0]" /> CR LF
254          </x sl:call-te mplate> CR LF   254          </x sl:call-te mplate> CR LF
255         </xs l:attribut e> CR LF   255         </xs l:attribut e> CR LF
256        </wp: wp> CR LF   256        </wp: wp> CR LF
257   CR LF   257   CR LF
258        <!--  Nav settin gs --> CR LF   258        <!--  Nav settin gs --> CR LF
259        <!--                --> CR LF   259        <!--                --> CR LF
260        <xsl: variable n ame="VarNa vTopGenera te" select ="$VarPage Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'n avigation- top-genera te']/@Valu e" /> CR LF   260        <xsl: variable n ame="VarNa vTopGenera te" select ="$VarPage Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'n avigation- top-genera te']/@Valu e" /> CR LF
261        <xsl: variable n ame="VarNa vTopAlign" > CR LF   261        <xsl: variable n ame="VarNa vTopAlign" > CR LF
262         <xsl :variable  name="VarN avTopAlign Hint" sele ct="$VarPa geRule/wwp roject:Pro perties/ww project:Pr operty[@Na me = 'navi gation-top -alignment ']/@Value"  /> CR LF   262         <xsl :variable  name="VarN avTopAlign Hint" sele ct="$VarPa geRule/wwp roject:Pro perties/ww project:Pr operty[@Na me = 'navi gation-top -alignment ']/@Value"  /> CR LF
263         <xsl :choose> CR LF   263         <xsl :choose> CR LF
264          <xs l:when tes t="string- length($Va rNavTopAli gnHint) &g t; 0"> CR LF   264          <xs l:when tes t="string- length($Va rNavTopAli gnHint) &g t; 0"> CR LF
265           <x sl:value-o f select=" $VarNavTop AlignHint"  /> CR LF   265           <x sl:value-o f select=" $VarNavTop AlignHint"  /> CR LF
266          </x sl:when> CR LF   266          </x sl:when> CR LF
267          <xs l:otherwis e> CR LF   267          <xs l:otherwis e> CR LF
268           <x sl:value-o f select=" 'right'" / > CR LF   268           <x sl:value-o f select=" 'right'" / > CR LF
269          </x sl:otherwi se> CR LF   269          </x sl:otherwi se> CR LF
270         </xs l:choose> CR LF   270         </xs l:choose> CR LF
271        </xsl :variable> CR LF   271        </xsl :variable> CR LF
272   CR LF   272   CR LF
273        <xsl: variable n ame="VarNa vBottomGen erate" sel ect="$VarP ageRule/ww project:Op tions/wwpr oject:Opti on[@Name =  'navigati on-bottom- generate'] /@Value" / > CR LF   273        <xsl: variable n ame="VarNa vBottomGen erate" sel ect="$VarP ageRule/ww project:Op tions/wwpr oject:Opti on[@Name =  'navigati on-bottom- generate'] /@Value" / > CR LF
274   CR LF   274   CR LF
275        <xsl: variable n ame="VarNa vBottomAli gn"> CR LF   275        <xsl: variable n ame="VarNa vBottomAli gn"> CR LF
276         <xsl :variable  name="VarN avBottomAl ignHint" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property[ @Name = 'n avigation- bottom-ali gnment']/@ Value" /> CR LF   276         <xsl :variable  name="VarN avBottomAl ignHint" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property[ @Name = 'n avigation- bottom-ali gnment']/@ Value" /> CR LF
277         <xsl :choose> CR LF   277         <xsl :choose> CR LF
278          <xs l:when tes t="string- length($Va rNavBottom AlignHint)  &gt; 0"> CR LF   278          <xs l:when tes t="string- length($Va rNavBottom AlignHint)  &gt; 0"> CR LF
279           <x sl:value-o f select=" $VarNavBot tomAlignHi nt" /> CR LF   279           <x sl:value-o f select=" $VarNavBot tomAlignHi nt" /> CR LF
280          </x sl:when> CR LF   280          </x sl:when> CR LF
281          <xs l:otherwis e> CR LF   281          <xs l:otherwis e> CR LF
282           <x sl:value-o f select=" 'left'" /> CR LF   282           <x sl:value-o f select=" 'left'" /> CR LF
283          </x sl:otherwi se> CR LF   283          </x sl:otherwi se> CR LF
284         </xs l:choose> CR LF   284         </xs l:choose> CR LF
285        </xsl :variable> CR LF   285        </xsl :variable> CR LF
286   CR LF   286   CR LF
287        <xsl: if test="( $VarNavTop Generate =  'true') o r ($VarNav BottomGene rate = 'tr ue')"> CR LF   287        <xsl: if test="( $VarNavTop Generate =  'true') o r ($VarNav BottomGene rate = 'tr ue')"> CR LF
288         <wp: wp wp:type ="navbar"  wp:top="{$ VarNavTopG enerate}"  wp:bottom= "{$VarNavB ottomGener ate}"> CR LF   288         <wp: wp wp:type ="navbar"  wp:top="{$ VarNavTopG enerate}"  wp:bottom= "{$VarNavB ottomGener ate}"> CR LF
289   CR LF   289   CR LF
290          <!- - Top nav  alignment  --> CR LF   290          <!- - Top nav  alignment  --> CR LF
291          <!- -                     --> CR LF   291          <!- -                     --> CR LF
292          <xs l:if test= "$VarNavTo pGenerate  = 'true'"> CR LF   292          <xs l:if test= "$VarNavTo pGenerate  = 'true'"> CR LF
293           <x sl:attribu te name="w p:top-alig n"> CR LF   293           <x sl:attribu te name="w p:top-alig n"> CR LF
294            < xsl:value- of select= "$VarNavTo pAlign" /> CR LF   294            < xsl:value- of select= "$VarNavTo pAlign" /> CR LF
295           </ xsl:attrib ute> CR LF   295           </ xsl:attrib ute> CR LF
296          </x sl:if> CR LF   296          </x sl:if> CR LF
297   CR LF   297   CR LF
298          <!- - Bottom n av alignme nt --> CR LF   298          <!- - Bottom n av alignme nt --> CR LF
299          <xs l:if test= "$VarNavBo ttomGenera te = 'true '"> CR LF   299          <xs l:if test= "$VarNavBo ttomGenera te = 'true '"> CR LF
300           <x sl:attribu te name="w p:bottom-a lign"> CR LF   300           <x sl:attribu te name="w p:bottom-a lign"> CR LF
301            < xsl:value- of select= "$VarNavBo ttomAlign"  /> CR LF   301            < xsl:value- of select= "$VarNavBo ttomAlign"  /> CR LF
302           </ xsl:attrib ute> CR LF   302           </ xsl:attrib ute> CR LF
303          </x sl:if> CR LF   303          </x sl:if> CR LF
304          <!- - Generate  TOC? --> CR LF   304          <!- - Generate  TOC? --> CR LF
305          <!- -                --> CR LF   305          <!- -                --> CR LF
306          <xs l:if test= "count($Va rTOCSplitF ile) = 1"> CR LF   306          <xs l:if test= "count($Va rTOCSplitF ile) = 1"> CR LF
307           <w p:wp wp:ty pe="navbar -toc"> CR LF   307           <w p:wp wp:ty pe="navbar -toc"> CR LF
308            < xsl:choose > CR LF   308            < xsl:choose > CR LF
309              <xsl:when  test="coun t($ParamSp lit | $Var TOCSplitFi le) = 1"> CR LF   309              <xsl:when  test="coun t($ParamSp lit | $Var TOCSplitFi le) = 1"> CR LF
310               <!-- Toc  current -- > CR LF   310               <!-- Toc  current -- > CR LF
311               <!--              -- > CR LF   311               <!--              -- > CR LF
312               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' tocx.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$VarTOCSp litFile/@t itle}" wp: border="0" /> CR LF   312               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' tocx.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$VarTOCSp litFile/@t itle}" wp: border="0" /> CR LF
313              </xsl:when > CR LF   313              </xsl:when > CR LF
314   CR LF   314   CR LF
315              <xsl:other wise> CR LF   315              <xsl:other wise> CR LF
316               <!-- TOC  not curren t --> CR LF   316               <!-- TOC  not curren t --> CR LF
317               <!--                   --> CR LF   317               <!--                   --> CR LF
318               <wp:GotoL ink wp:hre f="{wwuri: GetRelativ eTo($VarTO CSplitFile /@path, $P aramSplit/ @path)}"> CR LF   318               <wp:GotoL ink wp:hre f="{wwuri: GetRelativ eTo($VarTO CSplitFile /@path, $P aramSplit/ @path)}"> CR LF
319                <wp:wp w p:type="im age" wp:sr c="{wwuri: GetRelativ eTo(wwfile system:Com bine($VarI magesDir,  'toc.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$VarTOCSp litFile/@t itle}" wp: border="0"  /> CR LF   319                <wp:wp w p:type="im age" wp:sr c="{wwuri: GetRelativ eTo(wwfile system:Com bine($VarI magesDir,  'toc.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$VarTOCSp litFile/@t itle}" wp: border="0"  /> CR LF
320               </wp:Goto Link> CR LF   320               </wp:Goto Link> CR LF
321              </xsl:othe rwise> CR LF   321              </xsl:othe rwise> CR LF
322            < /xsl:choos e> CR LF   322            < /xsl:choos e> CR LF
323           </ wp:wp> CR LF   323           </ wp:wp> CR LF
324          </x sl:if> CR LF   324          </x sl:if> CR LF
325   CR LF   325   CR LF
326          <!- - Previous  --> CR LF   326          <!- - Previous  --> CR LF
327          <!- -           --> CR LF   327          <!- -           --> CR LF
328          <wp :wp wp:typ e="navbar- prev"> CR LF   328          <wp :wp wp:typ e="navbar- prev"> CR LF
329           <x sl:choose> CR LF   329           <x sl:choose> CR LF
330            < xsl:when t est="count ($VarPrevi ousSplit)  = 1"> CR LF   330            < xsl:when t est="count ($VarPrevi ousSplit)  = 1"> CR LF
331              <wp:GotoLi nk wp:href ="{wwuri:G etRelative To($VarPre viousSplit /@path, $P aramSplit/ @path)}"> CR LF   331              <wp:GotoLi nk wp:href ="{wwuri:G etRelative To($VarPre viousSplit /@path, $P aramSplit/ @path)}"> CR LF
332               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' prev.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Previou s']/@value }" wp:bord er="0" /> CR LF   332               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' prev.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Previou s']/@value }" wp:bord er="0" /> CR LF
333              </wp:GotoL ink> CR LF   333              </wp:GotoL ink> CR LF
334            < /xsl:when> CR LF   334            < /xsl:when> CR LF
335            < xsl:otherw ise> CR LF   335            < xsl:otherw ise> CR LF
336              <wp:wp wp: type="imag e" wp:src= "{wwuri:Ge tRelativeT o(wwfilesy stem:Combi ne($VarIma gesDir, 'p revx.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Previou s']/@value }" wp:bord er="0"/> CR LF   336              <wp:wp wp: type="imag e" wp:src= "{wwuri:Ge tRelativeT o(wwfilesy stem:Combi ne($VarIma gesDir, 'p revx.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Previou s']/@value }" wp:bord er="0"/> CR LF
337            < /xsl:other wise> CR LF   337            < /xsl:other wise> CR LF
338           </ xsl:choose > CR LF   338           </ xsl:choose > CR LF
339          </w p:wp> CR LF   339          </w p:wp> CR LF
340   CR LF   340   CR LF
341          <!- - Next --> CR LF   341          <!- - Next --> CR LF
342          <!- -      --> CR LF   342          <!- -      --> CR LF
343          <wp :wp wp:typ e="navbar- next"> CR LF   343          <wp :wp wp:typ e="navbar- next"> CR LF
344           <x sl:choose> CR LF   344           <x sl:choose> CR LF
345            < xsl:when t est="count ($VarNextS plit) = 1" > CR LF   345            < xsl:when t est="count ($VarNextS plit) = 1" > CR LF
346              <wp:GotoLi nk wp:href ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}"> CR LF   346              <wp:GotoLi nk wp:href ="{wwuri:G etRelative To($VarNex tSplit/@pa th, $Param Split/@pat h)}"> CR LF
347               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' next.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Next']/ @value}" w p:border=" 0" /> CR LF   347               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' next.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Next']/ @value}" w p:border=" 0" /> CR LF
348              </wp:GotoL ink> CR LF   348              </wp:GotoL ink> CR LF
349            < /xsl:when> CR LF   349            < /xsl:when> CR LF
350            < xsl:otherw ise> CR LF   350            < xsl:otherw ise> CR LF
351              <wp:wp wp: type="imag e" wp:src= "{wwuri:Ge tRelativeT o(wwfilesy stem:Combi ne($VarIma gesDir, 'n extx.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Next']/ @value}" w p:border=" 0"/> CR LF   351              <wp:wp wp: type="imag e" wp:src= "{wwuri:Ge tRelativeT o(wwfilesy stem:Combi ne($VarIma gesDir, 'n extx.gif') , $ParamSp lit/@path) }" wp:widt h="52" wp: height="24 " wp:alt=" {$GlobalLo cale/wwloc ale:Locale /wwlocale: Strings/ww locale:Str ing[@name  = 'Next']/ @value}" w p:border=" 0"/> CR LF
352            < /xsl:other wise> CR LF   352            < /xsl:other wise> CR LF
353           </ xsl:choose > CR LF   353           </ xsl:choose > CR LF
354          </w p:wp> CR LF   354          </w p:wp> CR LF
355   CR LF   355   CR LF
356          <!- - Generate  Index? -- > CR LF   356          <!- - Generate  Index? -- > CR LF
357          <!- -                  -- > CR LF   357          <!- -                  -- > CR LF
358          <xs l:if test= "count($Va rIndexSpli tFile) = 1 "> CR LF   358          <xs l:if test= "count($Va rIndexSpli tFile) = 1 "> CR LF
359           <w p:wp wp:ty pe="navbar -index"> CR LF   359           <w p:wp wp:ty pe="navbar -index"> CR LF
360            < xsl:choose > CR LF   360            < xsl:choose > CR LF
361              <xsl:when  test="coun t($ParamSp lit | $Var IndexSplit File) = 1" > CR LF   361              <xsl:when  test="coun t($ParamSp lit | $Var IndexSplit File) = 1" > CR LF
362               <!-- Inde x current  --> CR LF   362               <!-- Inde x current  --> CR LF
363               <!--                 --> CR LF   363               <!--                 --> CR LF
364               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' indexx.gif '), $Param Split/@pat h)}" wp:wi dth="52" w p:height=" 24" wp:alt ="{$VarInd exSplitFil e/@title}"  wp:border ="0"/> CR LF   364               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To(wwfiles ystem:Comb ine($VarIm agesDir, ' indexx.gif '), $Param Split/@pat h)}" wp:wi dth="52" w p:height=" 24" wp:alt ="{$VarInd exSplitFil e/@title}"  wp:border ="0"/> CR LF
365              </xsl:when > CR LF   365              </xsl:when > CR LF
366   CR LF   366   CR LF
367              <xsl:other wise> CR LF   367              <xsl:other wise> CR LF
368               <!-- Inde x not curr ent --> CR LF   368               <!-- Inde x not curr ent --> CR LF
369               <!--                 --> CR LF   369               <!--                 --> CR LF
370               <wp:GotoL ink wp:hre f="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}" > CR LF   370               <wp:GotoL ink wp:hre f="{wwuri: GetRelativ eTo($VarIn dexSplitFi le/@path,  $ParamSpli t/@path)}" > CR LF
371                <wp:wp w p:type="im age" wp:sr c="{wwuri: GetRelativ eTo(wwfile system:Com bine($VarI magesDir,  'index.gif '), $Param Split/@pat h)}" wp:wi dth="52" w p:height=" 24" wp:alt ="{$VarInd exSplitFil e/@title}"  wp:border ="0" /> CR LF   371                <wp:wp w p:type="im age" wp:sr c="{wwuri: GetRelativ eTo(wwfile system:Com bine($VarI magesDir,  'index.gif '), $Param Split/@pat h)}" wp:wi dth="52" w p:height=" 24" wp:alt ="{$VarInd exSplitFil e/@title}"  wp:border ="0" /> CR LF
372               </wp:Goto Link> CR LF   372               </wp:Goto Link> CR LF
373              </xsl:othe rwise> CR LF   373              </xsl:othe rwise> CR LF
374            < /xsl:choos e> CR LF   374            < /xsl:choos e> CR LF
375           </ wp:wp> CR LF   375           </ wp:wp> CR LF
376          </x sl:if> CR LF   376          </x sl:if> CR LF
377         </wp :wp> CR LF   377         </wp :wp> CR LF
378        </xsl :if> CR LF   378        </xsl :if> CR LF
379   CR LF   379   CR LF
380        <!--  Company in fo setting s --> CR LF   380        <!--  Company in fo setting s --> CR LF
381        <!--                          --> CR LF   381        <!--                          --> CR LF
382        <xsl: variable n ame="VarCo mpanyInfoT opGenerate " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'com pany-info- top-genera te']/@Valu e" /> CR LF   382        <xsl: variable n ame="VarCo mpanyInfoT opGenerate " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'com pany-info- top-genera te']/@Valu e" /> CR LF
383   CR LF   383   CR LF
384        <xsl: variable n ame="VarCo mpanyInfoT opAlign"> CR LF   384        <xsl: variable n ame="VarCo mpanyInfoT opAlign"> CR LF
385         <xsl :variable  name="VarC ompanyInfo TopAlignHi nt" select ="$VarPage Rule/wwpro ject:Prope rties/wwpr oject:Prop erty[@Name  = 'compan y-info-top -alignment ']/@Value"  /> CR LF   385         <xsl :variable  name="VarC ompanyInfo TopAlignHi nt" select ="$VarPage Rule/wwpro ject:Prope rties/wwpr oject:Prop erty[@Name  = 'compan y-info-top -alignment ']/@Value"  /> CR LF
386         <xsl :choose> CR LF   386         <xsl :choose> CR LF
387          <xs l:when tes t="string- length($Va rCompanyIn foTopAlign Hint) &gt;  0"> CR LF   387          <xs l:when tes t="string- length($Va rCompanyIn foTopAlign Hint) &gt;  0"> CR LF
388           <x sl:value-o f select=" $VarCompan yInfoTopAl ignHint" / > CR LF   388           <x sl:value-o f select=" $VarCompan yInfoTopAl ignHint" / > CR LF
389          </x sl:when> CR LF   389          </x sl:when> CR LF
390          <xs l:otherwis e> CR LF   390          <xs l:otherwis e> CR LF
391           <x sl:value-o f select=" 'left'" /> CR LF   391           <x sl:value-o f select=" 'left'" /> CR LF
392          </x sl:otherwi se> CR LF   392          </x sl:otherwi se> CR LF
393         </xs l:choose> CR LF   393         </xs l:choose> CR LF
394        </xsl :variable> CR LF   394        </xsl :variable> CR LF
395   CR LF   395   CR LF
396        <xsl: variable n ame="VarCo mpanyInfoB ottomGener ate" selec t="$VarPag eRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' company-in fo-bottom- generate'] /@Value" / > CR LF   396        <xsl: variable n ame="VarCo mpanyInfoB ottomGener ate" selec t="$VarPag eRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' company-in fo-bottom- generate'] /@Value" / > CR LF
397        <xsl: variable n ame="VarCo mpanyInfoB ottomAlign "> CR LF   397        <xsl: variable n ame="VarCo mpanyInfoB ottomAlign "> CR LF
398         <xsl :variable  name="VarC ompanyInfo BottomAlig nHint" sel ect="$VarP ageRule/ww project:Pr operties/w wproject:P roperty[@N ame = 'com pany-info- bottom-ali gnment']/@ Value" /> CR LF   398         <xsl :variable  name="VarC ompanyInfo BottomAlig nHint" sel ect="$VarP ageRule/ww project:Pr operties/w wproject:P roperty[@N ame = 'com pany-info- bottom-ali gnment']/@ Value" /> CR LF
399         <xsl :choose> CR LF   399         <xsl :choose> CR LF
400          <xs l:when tes t="string- length($Va rCompanyIn foBottomAl ignHint) & gt; 0"> CR LF   400          <xs l:when tes t="string- length($Va rCompanyIn foBottomAl ignHint) & gt; 0"> CR LF
401           <x sl:value-o f select=" $VarCompan yInfoBotto mAlignHint " /> CR LF   401           <x sl:value-o f select=" $VarCompan yInfoBotto mAlignHint " /> CR LF
402          </x sl:when> CR LF   402          </x sl:when> CR LF
403          <xs l:otherwis e> CR LF   403          <xs l:otherwis e> CR LF
404           <x sl:value-o f select=" 'right'" / > CR LF   404           <x sl:value-o f select=" 'right'" / > CR LF
405          </x sl:otherwi se> CR LF   405          </x sl:otherwi se> CR LF
406         </xs l:choose> CR LF   406         </xs l:choose> CR LF
407        </xsl :variable> CR LF   407        </xsl :variable> CR LF
408   CR LF   408   CR LF
409        <xsl: variable n ame="VarCo mpanyLogoS rc" select ="wwprojex t:GetForma tSetting(' company-lo go-src', ' ')" /> CR LF   409        <xsl: variable n ame="VarCo mpanyLogoS rc" select ="wwprojex t:GetForma tSetting(' company-lo go-src', ' ')" /> CR LF
410        <xsl: variable n ame="VarCo mpanyLink"  select="w wprojext:G etFormatSe tting('com pany-link' , '')" /> CR LF   410        <xsl: variable n ame="VarCo mpanyLink"  select="w wprojext:G etFormatSe tting('com pany-link' , '')" /> CR LF
411        <xsl: variable n ame="VarCo mpanyName"  select="w wprojext:G etFormatSe tting('com pany-name' , '')" /> CR LF   411        <xsl: variable n ame="VarCo mpanyName"  select="w wprojext:G etFormatSe tting('com pany-name' , '')" /> CR LF
412        <xsl: variable n ame="VarCo mpanyPhone " select=" wwprojext: GetFormatS etting('co mpany-phon e', '')" / > CR LF   412        <xsl: variable n ame="VarCo mpanyPhone " select=" wwprojext: GetFormatS etting('co mpany-phon e', '')" / > CR LF
413        <xsl: variable n ame="VarCo mpanyFax"  select="ww projext:Ge tFormatSet ting('comp any-fax',  '')" /> CR LF   413        <xsl: variable n ame="VarCo mpanyFax"  select="ww projext:Ge tFormatSet ting('comp any-fax',  '')" /> CR LF
414        <xsl: variable n ame="VarCo mpanyEmail " select=" wwprojext: GetFormatS etting('co mpany-emai l', '')" / > CR LF   414        <xsl: variable n ame="VarCo mpanyEmail " select=" wwprojext: GetFormatS etting('co mpany-emai l', '')" / > CR LF
415   CR LF   415   CR LF
416        <xsl: if test="s tring-leng th($VarCom panyLogoSr c) &gt; 0" > CR LF   416        <xsl: if test="s tring-leng th($VarCom panyLogoSr c) &gt; 0" > CR LF
417         <xsl :variable  name="VarC ompanyAbsL ogoSrc" se lect="wwfi lesystem:C ombine($Va rOutputDir ectoryPath , $VarComp anyLogoSrc )" /> CR LF   417         <xsl :variable  name="VarC ompanyAbsL ogoSrc" se lect="wwfi lesystem:C ombine($Va rOutputDir ectoryPath , $VarComp anyLogoSrc )" /> CR LF
418         <xsl :if test=" wwfilesyst em:FileExi sts($VarCo mpanyAbsLo goSrc) = ' true'"> CR LF   418         <xsl :if test=" wwfilesyst em:FileExi sts($VarCo mpanyAbsLo goSrc) = ' true'"> CR LF
419          <wp :wp wp:typ e="logo"> CR LF   419          <wp :wp wp:typ e="logo"> CR LF
420           <x sl:choose> CR LF   420           <x sl:choose> CR LF
421            < xsl:when t est="strin g-length($ VarCompany Link) &gt;  0"> CR LF   421            < xsl:when t est="strin g-length($ VarCompany Link) &gt;  0"> CR LF
422              <wp:GotoLi nk wp:href ="{$VarCom panyLink}" > CR LF   422              <wp:GotoLi nk wp:href ="{$VarCom panyLink}" > CR LF
423               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To($VarCom panyAbsLog oSrc, $Par amSplit/@p ath)}" /> CR LF   423               <wp:wp wp :type="ima ge" wp:src ="{wwuri:G etRelative To($VarCom panyAbsLog oSrc, $Par amSplit/@p ath)}" /> CR LF
424              </wp:GotoL ink> CR LF   424              </wp:GotoL ink> CR LF
425            < /xsl:when> CR LF   425            < /xsl:when> CR LF
426            < xsl:otherw ise> CR LF   426            < xsl:otherw ise> CR LF
427              <wp:wp wp: type="imag e" wp:src= "{wwuri:Ge tRelativeT o($VarComp anyAbsLogo Src, $Para mSplit/@pa th)}" /> CR LF   427              <wp:wp wp: type="imag e" wp:src= "{wwuri:Ge tRelativeT o($VarComp anyAbsLogo Src, $Para mSplit/@pa th)}" /> CR LF
428            < /xsl:other wise> CR LF   428            < /xsl:other wise> CR LF
429           </ xsl:choose > CR LF   429           </ xsl:choose > CR LF
430          </w p:wp> CR LF   430          </w p:wp> CR LF
431         </xs l:if> CR LF   431         </xs l:if> CR LF
432        </xsl :if> CR LF   432        </xsl :if> CR LF
433   CR LF   433   CR LF
434        <xsl: if test="( string-len gth($VarCo mpanyName)  &gt; 0) o r (string- length($Va rCompanyPh one) &gt;  0) or (str ing-length ($VarCompa nyFax) &gt ; 0) or (s tring-leng th($VarCom panyEmail)  &gt; 0)"> CR LF   434        <xsl: if test="( string-len gth($VarCo mpanyName)  &gt; 0) o r (string- length($Va rCompanyPh one) &gt;  0) or (str ing-length ($VarCompa nyFax) &gt ; 0) or (s tring-leng th($VarCom panyEmail)  &gt; 0)"> CR LF
435         <wp: wp wp:type ="company- info"  wp: top="{$Var CompanyInf oTopGenera te}" wp:bo ttom="{$Va rCompanyIn foBottomGe nerate}"> CR LF   435         <wp: wp wp:type ="company- info"  wp: top="{$Var CompanyInf oTopGenera te}" wp:bo ttom="{$Va rCompanyIn foBottomGe nerate}"> CR LF
436   CR LF   436   CR LF
437          <!- - Top comp any info a lignment - -> CR LF   437          <!- - Top comp any info a lignment - -> CR LF
438          <!- -                              - -> CR LF   438          <!- -                              - -> CR LF
439          <xs l:if test= "$VarCompa nyInfoTopG enerate =  'true'"> CR LF   439          <xs l:if test= "$VarCompa nyInfoTopG enerate =  'true'"> CR LF
440           <x sl:attribu te name="w p:top-alig n"> CR LF   440           <x sl:attribu te name="w p:top-alig n"> CR LF
441            < xsl:value- of select= "$VarCompa nyInfoTopA lign" /> CR LF   441            < xsl:value- of select= "$VarCompa nyInfoTopA lign" /> CR LF
442           </ xsl:attrib ute> CR LF   442           </ xsl:attrib ute> CR LF
443          </x sl:if> CR LF   443          </x sl:if> CR LF
444   CR LF   444   CR LF
445          <!- - Bottom c ompany inf o alignmen t --> CR LF   445          <!- - Bottom c ompany inf o alignmen t --> CR LF
446          <!- -                                  --> CR LF   446          <!- -                                  --> CR LF
447          <xs l:if test= "$VarCompa nyInfoBott omGenerate  = 'true'" > CR LF   447          <xs l:if test= "$VarCompa nyInfoBott omGenerate  = 'true'" > CR LF
448           <x sl:attribu te name="w p:bottom-a lign"> CR LF   448           <x sl:attribu te name="w p:bottom-a lign"> CR LF
449            < xsl:value- of select= "$VarCompa nyInfoBott omAlign" / > CR LF   449            < xsl:value- of select= "$VarCompa nyInfoBott omAlign" / > CR LF
450           </ xsl:attrib ute> CR LF   450           </ xsl:attrib ute> CR LF
451          </x sl:if> CR LF   451          </x sl:if> CR LF
452   CR LF   452   CR LF
453          <xs l:if test= "string-le ngth($VarC ompanyName ) &gt; 0"> CR LF   453          <xs l:if test= "string-le ngth($VarC ompanyName ) &gt; 0"> CR LF
454           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF   454           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF
455            < xsl:choose > CR LF   455            < xsl:choose > CR LF
456              <xsl:when  test="stri ng-length( $VarCompan yLink) &gt ; 0"> CR LF   456              <xsl:when  test="stri ng-length( $VarCompan yLink) &gt ; 0"> CR LF
457                <wp:GotoLi nk wp:href ="http://w ww.webwork s.com" wp: target=" _bl a
n k "> CR LF
  457                <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
458                <xsl:val ue-of sele ct="$VarCo mpanyName"  /> CR LF   458                <xsl:val ue-of sele ct="$VarCo mpanyName"  /> CR LF
459               </wp:Goto Link> CR LF   459               </wp:Goto Link> CR LF
460              </xsl:when > CR LF   460              </xsl:when > CR LF
461              <xsl:other wise> CR LF   461              <xsl:other wise> CR LF
462               <xsl:valu e-of selec t="$VarCom panyName"  /> CR LF   462               <xsl:valu e-of selec t="$VarCom panyName"  /> CR LF
463              </xsl:othe rwise> CR LF   463              </xsl:othe rwise> CR LF
464            < /xsl:choos e> CR LF   464            < /xsl:choos e> CR LF
465           </ wp:wp> CR LF   465           </ wp:wp> CR LF
466          </x sl:if> CR LF   466          </x sl:if> CR LF
467   CR LF   467   CR LF
468          <xs l:if test= "string-le ngth($VarC ompanyPhon e) &gt; 0" > CR LF   468          <xs l:if test= "string-le ngth($VarC ompanyPhon e) &gt; 0" > CR LF
469           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF   469           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF
470            < xsl:value- of select= "$VarCompa nyPhone" / > CR LF   470            < xsl:value- of select= "$VarCompa nyPhone" / > CR LF
471           </ wp:wp> CR LF   471           </ wp:wp> CR LF
472          </x sl:if> CR LF   472          </x sl:if> CR LF
473   CR LF   473   CR LF
474          <xs l:if test= "string-le ngth($VarC ompanyFax)  &gt; 0"> CR LF   474          <xs l:if test= "string-le ngth($VarC ompanyFax)  &gt; 0"> CR LF
475           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF   475           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF
476            < xsl:value- of select= "$VarCompa nyFax" /> CR LF   476            < xsl:value- of select= "$VarCompa nyFax" /> CR LF
477           </ wp:wp> CR LF   477           </ wp:wp> CR LF
478          </x sl:if> CR LF   478          </x sl:if> CR LF
479   CR LF   479   CR LF
480          <xs l:if test= "string-le ngth($VarC ompanyEmai l) &gt; 0" > CR LF   480          <xs l:if test= "string-le ngth($VarC ompanyEmai l) &gt; 0" > CR LF
481           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF   481           <w p:wp wp:ty pe="compan y-info-ite m"> CR LF
482            < wp:GotoLin k wp:href= "{concat(' mailto:',  $VarCompan yEmail)}"> CR LF   482            < wp:GotoLin k wp:href= "{concat(' mailto:',  $VarCompan yEmail)}"> CR LF
483              <xsl:value -of select ="$VarComp anyEmail"  /> CR LF   483              <xsl:value -of select ="$VarComp anyEmail"  /> CR LF
484            < /wp:GotoLi nk> CR LF   484            < /wp:GotoLi nk> CR LF
485           </ wp:wp> CR LF   485           </ wp:wp> CR LF
486          </x sl:if> CR LF   486          </x sl:if> CR LF
487         </wp :wp> CR LF   487         </wp :wp> CR LF
488        </xsl :if> CR LF   488        </xsl :if> CR LF
489       </wp:w p> CR LF   489       </wp:w p> CR LF
490       <!-- C SS file -- > CR LF   490       <!-- C SS file -- > CR LF
491       <!--           -- > CR LF   491       <!--           -- > CR LF
492   CR LF   492   CR LF
493       <xsl:c omment> CR LF   493       <xsl:c omment> CR LF
494        Begin  document  content CR LF   494        Begin  document  content CR LF
495       </xsl: comment> CR LF   495       </xsl: comment> CR LF
496       <wp:Co ntent> CR LF   496       <wp:Co ntent> CR LF
497        <xsl: call-templ ate name=" Content-Co ntent"> CR LF   497        <xsl: call-templ ate name=" Content-Co ntent"> CR LF
498         <xsl :with-para m name="Pa ramContent " select=" $ParamInde x" /> CR LF   498         <xsl :with-para m name="Pa ramContent " select=" $ParamInde x" /> CR LF
499         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   499         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
500         <xsl :with-para m name="Pa ramBehavio rs" select ="$ParamIn dex/wwmode :EmptySele ction" /> CR LF   500         <xsl :with-para m name="Pa ramBehavio rs" select ="$ParamIn dex/wwmode :EmptySele ction" /> CR LF
501         <xsl :with-para m name="Pa ramLinks"  select="$P aramIndex/ wwmode:Emp tySelectio n" /> CR LF   501         <xsl :with-para m name="Pa ramLinks"  select="$P aramIndex/ wwmode:Emp tySelectio n" /> CR LF
502         <xsl :with-para m name="Pa ramTOCData " select=" $ParamInde x/wwmode:E mptySelect ion" /> CR LF   502         <xsl :with-para m name="Pa ramTOCData " select=" $ParamInde x/wwmode:E mptySelect ion" /> CR LF
503         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   503         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
504        </xsl :call-temp late> CR LF   504        </xsl :call-temp late> CR LF
505       </wp:C ontent> CR LF   505       </wp:C ontent> CR LF
506      </wp:Do cument> CR LF   506      </wp:Do cument> CR LF
507     </xsl:fo r-each> CR LF   507     </xsl:fo r-each> CR LF
508    </xsl:tem plate> CR LF   508    </xsl:tem plate> CR LF
509   CR LF   509   CR LF
510   CR LF   510   CR LF
511    <xsl:temp late name= "Content-C ontent"> CR LF   511    <xsl:temp late name= "Content-C ontent"> CR LF
512     <xsl:par am name="P aramConten t" /> CR LF   512     <xsl:par am name="P aramConten t" /> CR LF
513     <xsl:par am name="P aramSplits " /> CR LF   513     <xsl:par am name="P aramSplits " /> CR LF
514     <xsl:par am name="P aramSplit"  /> CR LF   514     <xsl:par am name="P aramSplit"  /> CR LF
515   CR LF   515   CR LF
516     <wp:wp w p:type="in dex-title" > CR LF   516     <wp:wp w p:type="in dex-title" > CR LF
517      <xsl:va lue-of sel ect="$Para mSplit/@ti tle" /> CR LF   517      <xsl:va lue-of sel ect="$Para mSplit/@ti tle" /> CR LF
518     </wp:wp> CR LF   518     </wp:wp> CR LF
519   CR LF   519   CR LF
520     <xsl:cal l-template  name="Sec tions"> CR LF   520     <xsl:cal l-template  name="Sec tions"> CR LF
521      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   521      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
522      <xsl:wi th-param n ame="Param Index" sel ect="$Para mContent/w windex:Ind ex" /> CR LF   522      <xsl:wi th-param n ame="Param Index" sel ect="$Para mContent/w windex:Ind ex" /> CR LF
523      <xsl:wi th-param n ame="Param Level" sel ect="1" /> CR LF   523      <xsl:wi th-param n ame="Param Level" sel ect="1" /> CR LF
524     </xsl:ca ll-templat e> CR LF   524     </xsl:ca ll-templat e> CR LF
525    </xsl:tem plate> CR LF   525    </xsl:tem plate> CR LF
526   CR LF   526   CR LF
527   CR LF   527   CR LF
528    <xsl:temp late name= "Sections" > CR LF   528    <xsl:temp late name= "Sections" > CR LF
529     <xsl:par am name="P aramSplit"  /> CR LF   529     <xsl:par am name="P aramSplit"  /> CR LF
530     <xsl:par am name="P aramIndex"  /> CR LF   530     <xsl:par am name="P aramIndex"  /> CR LF
531     <xsl:par am name="P aramLevel"  /> CR LF   531     <xsl:par am name="P aramLevel"  /> CR LF
532   CR LF   532   CR LF
533     <xsl:for -each sele ct="$Param Index/wwin dex:Sectio n"> CR LF   533     <xsl:for -each sele ct="$Param Index/wwin dex:Sectio n"> CR LF
534      <xsl:va riable nam e="VarSect ion" selec t="." /> CR LF   534      <xsl:va riable nam e="VarSect ion" selec t="." /> CR LF
535   CR LF   535   CR LF
536       <xsl:c all-templa te name="G roups"> CR LF   536       <xsl:c all-templa te name="G roups"> CR LF
537        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   537        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
538        <xsl: with-param  name="Par amSection"  select="$ VarSection " /> CR LF   538        <xsl: with-param  name="Par amSection"  select="$ VarSection " /> CR LF
539        <xsl: with-param  name="Par amLevel" s elect="$Pa ramLevel"  /> CR LF   539        <xsl: with-param  name="Par amLevel" s elect="$Pa ramLevel"  /> CR LF
540       </xsl: call-templ ate> CR LF   540       </xsl: call-templ ate> CR LF
541   CR LF   541   CR LF
542     </xsl:fo r-each> CR LF   542     </xsl:fo r-each> CR LF
543    </xsl:tem plate> CR LF   543    </xsl:tem plate> CR LF
544   CR LF   544   CR LF
545   CR LF   545   CR LF
546    <xsl:temp late name= "Groups"> CR LF   546    <xsl:temp late name= "Groups"> CR LF
547     <xsl:par am name="P aramSplit"  /> CR LF   547     <xsl:par am name="P aramSplit"  /> CR LF
548     <xsl:par am name="P aramSectio n" /> CR LF   548     <xsl:par am name="P aramSectio n" /> CR LF
549     <xsl:par am name="P aramLevel"  /> CR LF   549     <xsl:par am name="P aramLevel"  /> CR LF
550   CR LF   550   CR LF
551     <xsl:for -each sele ct="$Param Section/ww index:Grou p"> CR LF   551     <xsl:for -each sele ct="$Param Section/ww index:Grou p"> CR LF
552      <xsl:va riable nam e="VarGrou p" select= "." /> CR LF   552      <xsl:va riable nam e="VarGrou p" select= "." /> CR LF
553   CR LF   553   CR LF
554      <wp:wp  wp:type="i ndex-group "> CR LF   554      <wp:wp  wp:type="i ndex-group "> CR LF
555       <xsl:v alue-of se lect="$Var Group/@nam e" /> CR LF   555       <xsl:v alue-of se lect="$Var Group/@nam e" /> CR LF
556      </wp:wp > CR LF   556      </wp:wp > CR LF
557   CR LF   557   CR LF
558      <xsl:ca ll-templat e name="En tries"> CR LF   558      <xsl:ca ll-templat e name="En tries"> CR LF
559       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF   559       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF
560       <xsl:w ith-param  name="Para mParent" s elect="$Va rGroup" /> CR LF   560       <xsl:w ith-param  name="Para mParent" s elect="$Va rGroup" /> CR LF
561       <xsl:w ith-param  name="Para mLevel" se lect="$Par amLevel" / > CR LF   561       <xsl:w ith-param  name="Para mLevel" se lect="$Par amLevel" / > CR LF
562      </xsl:c all-templa te> CR LF   562      </xsl:c all-templa te> CR LF
563   CR LF   563   CR LF
564     </xsl:fo r-each> CR LF   564     </xsl:fo r-each> CR LF
565    </xsl:tem plate> CR LF   565    </xsl:tem plate> CR LF
566   CR LF   566   CR LF
567   CR LF   567   CR LF
568    <xsl:temp late name= "Entries"> CR LF   568    <xsl:temp late name= "Entries"> CR LF
569     <xsl:par am name="P aramSplit"  /> CR LF   569     <xsl:par am name="P aramSplit"  /> CR LF
570     <xsl:par am name="P aramParent " /> CR LF   570     <xsl:par am name="P aramParent " /> CR LF
571     <xsl:par am name="P aramLevel"  /> CR LF   571     <xsl:par am name="P aramLevel"  /> CR LF
572   CR LF   572   CR LF
573     <xsl:for -each sele ct="$Param Parent/wwi ndex:Entry "> CR LF   573     <xsl:for -each sele ct="$Param Parent/wwi ndex:Entry "> CR LF
574      <xsl:va riable nam e="VarEntr y" select= "." /> CR LF   574      <xsl:va riable nam e="VarEntr y" select= "." /> CR LF
575   CR LF   575   CR LF
576      <xsl:va riable nam e="VarSee"  select="$ VarEntry/w windex:See [1]" /> CR LF   576      <xsl:va riable nam e="VarSee"  select="$ VarEntry/w windex:See [1]" /> CR LF
577   CR LF   577   CR LF
578      <xsl:ch oose> CR LF   578      <xsl:ch oose> CR LF
579       <xsl:w hen test=" count($Var See) = 1"> CR LF   579       <xsl:w hen test=" count($Var See) = 1"> CR LF
580        <!--  See/See Al so --> CR LF   580        <!--  See/See Al so --> CR LF
581        <!--                --> CR LF   581        <!--                --> CR LF
582        <wp:w p wp:type= "index-par a" wp:leve l="{$Param Level}"> CR LF   582        <wp:w p wp:type= "index-par a" wp:leve l="{$Param Level}"> CR LF
583         <wp: GotoLink> CR LF   583         <wp: GotoLink> CR LF
584          <xs l:attribut e name="wp :href"> CR LF   584          <xs l:attribut e name="wp :href"> CR LF
585           <x sl:text>#< /xsl:text> CR LF   585           <x sl:text>#< /xsl:text> CR LF
586           <x sl:value-o f select=" $VarSee/@e ntryID" /> CR LF   586           <x sl:value-o f select=" $VarSee/@e ntryID" /> CR LF
587          </x sl:attribu te> CR LF   587          </x sl:attribu te> CR LF
588   CR LF   588   CR LF
589          <xs l:call-tem plate name ="Content" > CR LF   589          <xs l:call-tem plate name ="Content" > CR LF
590           <x sl:with-pa ram name=" ParamConte nt" select ="$VarEntr y/wwdoc:Co ntent[1]"  /> CR LF   590           <x sl:with-pa ram name=" ParamConte nt" select ="$VarEntr y/wwdoc:Co ntent[1]"  /> CR LF
591          </x sl:call-te mplate> CR LF   591          </x sl:call-te mplate> CR LF
592         </wp :GotoLink> CR LF   592         </wp :GotoLink> CR LF
593        </wp: wp> CR LF   593        </wp: wp> CR LF
594       </xsl: when> CR LF   594       </xsl: when> CR LF
595   CR LF   595   CR LF
596       <xsl:o therwise> CR LF   596       <xsl:o therwise> CR LF
597        <!--  Regular en try --> CR LF   597        <!--  Regular en try --> CR LF
598        <!--                 --> CR LF   598        <!--                 --> CR LF
599        <xsl: variable n ame="VarLi nks" selec t="$VarEnt ry/wwindex :Link" /> CR LF   599        <xsl: variable n ame="VarLi nks" selec t="$VarEnt ry/wwindex :Link" /> CR LF
600   CR LF   600   CR LF
601        <xsl: choose> CR LF   601        <xsl: choose> CR LF
602         <xsl :when test ="count($V arLinks) =  0"> CR LF   602         <xsl :when test ="count($V arLinks) =  0"> CR LF
603          <!- - Emit ent ry without  any links  --> CR LF   603          <!- - Emit ent ry without  any links  --> CR LF
604          <!- -                                 --> CR LF   604          <!- -                                 --> CR LF
605          <wp :wp wp:typ e="index-p ara" wp:le vel="{$Par amLevel}"> CR LF   605          <wp :wp wp:typ e="index-p ara" wp:le vel="{$Par amLevel}"> CR LF
606           <x sl:choose> CR LF   606           <x sl:choose> CR LF
607            < xsl:when t est="strin g-length($ VarEntry/@ id) &gt; 0 "> CR LF   607            < xsl:when t est="strin g-length($ VarEntry/@ id) &gt; 0 "> CR LF
608              <wp:GotoLi nk wp:name ="{$VarEnt ry/@id}"> CR LF   608              <wp:GotoLi nk wp:name ="{$VarEnt ry/@id}"> CR LF
609               <xsl:call -template  name="Cont ent"> CR LF   609               <xsl:call -template  name="Cont ent"> CR LF
610                <xsl:wit h-param na me="ParamC ontent" se lect="$Var Entry/wwdo c:Content[ 1]" /> CR LF   610                <xsl:wit h-param na me="ParamC ontent" se lect="$Var Entry/wwdo c:Content[ 1]" /> CR LF
611               </xsl:cal l-template > CR LF   611               </xsl:cal l-template > CR LF
612              </wp:GotoL ink> CR LF   612              </wp:GotoL ink> CR LF
613            < /xsl:when> CR LF   613            < /xsl:when> CR LF
614   CR LF   614   CR LF
615            < xsl:otherw ise> CR LF   615            < xsl:otherw ise> CR LF
616              <xsl:call- template n ame="Conte nt"> CR LF   616              <xsl:call- template n ame="Conte nt"> CR LF
617               <xsl:with -param nam e="ParamCo ntent" sel ect="$VarE ntry/wwdoc :Content[1 ]" /> CR LF   617               <xsl:with -param nam e="ParamCo ntent" sel ect="$VarE ntry/wwdoc :Content[1 ]" /> CR LF
618              </xsl:call -template> CR LF   618              </xsl:call -template> CR LF
619            < /xsl:other wise> CR LF   619            < /xsl:other wise> CR LF
620           </ xsl:choose > CR LF   620           </ xsl:choose > CR LF
621          </w p:wp> CR LF   621          </w p:wp> CR LF
622         </xs l:when> CR LF   622         </xs l:when> CR LF
623   CR LF   623   CR LF
624         <xsl :when test ="(count($ VarLinks)  = 1) and ( count($Var Links[1]/w wdoc:Conte nt[1]) = 0 )"> CR LF   624         <xsl :when test ="(count($ VarLinks)  = 1) and ( count($Var Links[1]/w wdoc:Conte nt[1]) = 0 )"> CR LF
625          <!- - Wrap lin k directly  around en try --> CR LF   625          <!- - Wrap lin k directly  around en try --> CR LF
626          <!- -                                    --> CR LF   626          <!- -                                    --> CR LF
627          <xs l:variable  name="Var Link" sele ct="$VarLi nks[1]" /> CR LF   627          <xs l:variable  name="Var Link" sele ct="$VarLi nks[1]" /> CR LF
628          <wp :wp wp:typ e="index-p ara" wp:le vel="{$Par amLevel}"> CR LF   628          <wp :wp wp:typ e="index-p ara" wp:le vel="{$Par amLevel}"> CR LF
629           <x sl:variabl e name="Va rRelativeL inkPath" s elect="wwu ri:GetRela tiveTo($Va rLink/@hre f, $ParamS plit/@path )" /> CR LF   629           <x sl:variabl e name="Va rRelativeL inkPath" s elect="wwu ri:GetRela tiveTo($Va rLink/@hre f, $ParamS plit/@path )" /> CR LF
630   CR LF   630   CR LF
631           <w p:GotoLink > CR LF   631           <w p:GotoLink > CR LF
632            < xsl:if tes t="string- length($Va rEntry/@id ) &gt; 0"> CR LF   632            < xsl:if tes t="string- length($Va rEntry/@id ) &gt; 0"> CR LF
633              <xsl:attri bute name= "wp:name"> CR LF   633              <xsl:attri bute name= "wp:name"> CR LF
634               <xsl:valu e-of selec t="$VarEnt ry/@id" /> CR LF   634               <xsl:valu e-of selec t="$VarEnt ry/@id" /> CR LF
635              </xsl:attr ibute> CR LF   635              </xsl:attr ibute> CR LF
636            < /xsl:if> CR LF   636            < /xsl:if> CR LF
637            < xsl:attrib ute name=" wp:href"> CR LF   637            < xsl:attrib ute name=" wp:href"> CR LF
638              <xsl:value -of select ="$VarRela tiveLinkPa th" /> CR LF   638              <xsl:value -of select ="$VarRela tiveLinkPa th" /> CR LF
639              <xsl:if te st="$VarLi nk/@first  != 'true'" > CR LF   639              <xsl:if te st="$VarLi nk/@first  != 'true'" > CR LF
640               <xsl:text >#</xsl:te xt> CR LF   640               <xsl:text >#</xsl:te xt> CR LF
641               <xsl:valu e-of selec t="$VarLin k/@anchor"  /> CR LF   641               <xsl:valu e-of selec t="$VarLin k/@anchor"  /> CR LF
642              </xsl:if> CR LF   642              </xsl:if> CR LF
643            < /xsl:attri bute> CR LF   643            < /xsl:attri bute> CR LF
644   CR LF   644   CR LF
645            < xsl:call-t emplate na me="Conten t"> CR LF   645            < xsl:call-t emplate na me="Conten t"> CR LF
646              <xsl:with- param name ="ParamCon tent" sele ct="$VarEn try/wwdoc: Content[1] " /> CR LF   646              <xsl:with- param name ="ParamCon tent" sele ct="$VarEn try/wwdoc: Content[1] " /> CR LF
647            < /xsl:call- template> CR LF   647            < /xsl:call- template> CR LF
648           </ wp:GotoLin k> CR LF   648           </ wp:GotoLin k> CR LF
649          </w p:wp> CR LF   649          </w p:wp> CR LF
650         </xs l:when> CR LF   650         </xs l:when> CR LF
651   CR LF   651   CR LF
652         <xsl :otherwise > CR LF   652         <xsl :otherwise > CR LF
653          <!- - Emit ent ry followe d by links  --> CR LF   653          <!- - Emit ent ry followe d by links  --> CR LF
654          <!- -                                 --> CR LF   654          <!- -                                 --> CR LF
655          <wp :wp wp:typ e="index-p ara" wp:le vel="{$Par amLevel}"> CR LF   655          <wp :wp wp:typ e="index-p ara" wp:le vel="{$Par amLevel}"> CR LF
656           <x sl:choose> CR LF   656           <x sl:choose> CR LF
657            < xsl:when t est="strin g-length($ VarEntry/@ id) &gt; 0 "> CR LF   657            < xsl:when t est="strin g-length($ VarEntry/@ id) &gt; 0 "> CR LF
658              <wp:GotoLi nk wp:name ="{$VarEnt ry/@id}"> CR LF   658              <wp:GotoLi nk wp:name ="{$VarEnt ry/@id}"> CR LF
659               <xsl:call -template  name="Cont ent"> CR LF   659               <xsl:call -template  name="Cont ent"> CR LF
660                <xsl:wit h-param na me="ParamC ontent" se lect="$Var Entry/wwdo c:Content[ 1]" /> CR LF   660                <xsl:wit h-param na me="ParamC ontent" se lect="$Var Entry/wwdo c:Content[ 1]" /> CR LF
661               </xsl:cal l-template > CR LF   661               </xsl:cal l-template > CR LF
662              </wp:GotoL ink> CR LF   662              </wp:GotoL ink> CR LF
663            < /xsl:when> CR LF   663            < /xsl:when> CR LF
664   CR LF   664   CR LF
665            < xsl:otherw ise> CR LF   665            < xsl:otherw ise> CR LF
666              <xsl:call- template n ame="Conte nt"> CR LF   666              <xsl:call- template n ame="Conte nt"> CR LF
667               <xsl:with -param nam e="ParamCo ntent" sel ect="$VarE ntry/wwdoc :Content[1 ]" /> CR LF   667               <xsl:with -param nam e="ParamCo ntent" sel ect="$VarE ntry/wwdoc :Content[1 ]" /> CR LF
668              </xsl:call -template> CR LF   668              </xsl:call -template> CR LF
669            < /xsl:other wise> CR LF   669            < /xsl:other wise> CR LF
670           </ xsl:choose > CR LF   670           </ xsl:choose > CR LF
671   CR LF   671   CR LF
672           <! -- Links - -> CR LF   672           <! -- Links - -> CR LF
673           <! --       - -> CR LF   673           <! --       - -> CR LF
674           <x sl:for-eac h select=" $VarLinks" > CR LF   674           <x sl:for-eac h select=" $VarLinks" > CR LF
675            < xsl:variab le name="V arLink" se lect="." / > CR LF   675            < xsl:variab le name="V arLink" se lect="." / > CR LF
676   CR LF   676   CR LF
677            < !-- Space  things out  a bit --> CR LF   677            < !-- Space  things out  a bit --> CR LF
678            < !--                          --> CR LF   678            < !--                          --> CR LF
679            < xsl:if tes t="positio n() &gt; 1 "> CR LF   679            < xsl:if tes t="positio n() &gt; 1 "> CR LF
680              <xsl:text> ,</xsl:tex t> CR LF   680              <xsl:text> ,</xsl:tex t> CR LF
681            < /xsl:if> CR LF   681            < /xsl:if> CR LF
682            < xsl:text>  </xsl:text > CR LF   682            < xsl:text>  </xsl:text > CR LF
683   CR LF   683   CR LF
684            < xsl:variab le name="V arRelative LinkPath"  select="ww uri:GetRel ativeTo($V arLink/@hr ef, $Param Split/@pat h)" /> CR LF   684            < xsl:variab le name="V arRelative LinkPath"  select="ww uri:GetRel ativeTo($V arLink/@hr ef, $Param Split/@pat h)" /> CR LF
685   CR LF   685   CR LF
686            < xsl:choose > CR LF   686            < xsl:choose > CR LF
687              <xsl:when  test="coun t($VarLink /wwdoc:Con tent[1]) =  1"> CR LF   687              <xsl:when  test="coun t($VarLink /wwdoc:Con tent[1]) =  1"> CR LF
688               <!-- Link  has expli cit text t o show --> CR LF   688               <!-- Link  has expli cit text t o show --> CR LF
689               <!--                                   --> CR LF   689               <!--                                   --> CR LF
690               <xsl:vari able name= "VarLinkSe e" select= "$VarLink/ wwdoc:See[ 1]" /> CR LF   690               <xsl:vari able name= "VarLinkSe e" select= "$VarLink/ wwdoc:See[ 1]" /> CR LF
691               <xsl:choo se> CR LF   691               <xsl:choo se> CR LF
692                <xsl:whe n test="co unt($VarLi nkSee) = 1 "> CR LF   692                <xsl:whe n test="co unt($VarLi nkSee) = 1 "> CR LF
693                 <!-- Se e/See Also  link redi rect --> CR LF   693                 <!-- Se e/See Also  link redi rect --> CR LF
694                 <!--                               --> CR LF   694                 <!--                               --> CR LF
695                 <wp:Got oLink> CR LF   695                 <wp:Got oLink> CR LF
696                  <xsl:a ttribute n ame="wp:hr ef"> CR LF   696                  <xsl:a ttribute n ame="wp:hr ef"> CR LF
697                   <xsl: text>#</xs l:text> CR LF   697                   <xsl: text>#</xs l:text> CR LF
698                   <xsl: value-of s elect="$Va rLinkSee/@ entryID" / > CR LF   698                   <xsl: value-of s elect="$Va rLinkSee/@ entryID" / > CR LF
699                  </xsl: attribute> CR LF   699                  </xsl: attribute> CR LF
700   CR LF   700   CR LF
701                  <xsl:c all-templa te name="C ontent"> CR LF   701                  <xsl:c all-templa te name="C ontent"> CR LF
702                   <xsl: with-param  name="Par amContent"  select="$ VarLink/ww doc:Conten t[1]" /> CR LF   702                   <xsl: with-param  name="Par amContent"  select="$ VarLink/ww doc:Conten t[1]" /> CR LF
703                  </xsl: call-templ ate> CR LF   703                  </xsl: call-templ ate> CR LF
704                 </wp:Go toLink> CR LF   704                 </wp:Go toLink> CR LF
705                </xsl:wh en> CR LF   705                </xsl:wh en> CR LF
706   CR LF   706   CR LF
707                <xsl:oth erwise> CR LF   707                <xsl:oth erwise> CR LF
708                 <!-- Wr ap link ar ound conte nt --> CR LF   708                 <!-- Wr ap link ar ound conte nt --> CR LF
709                 <!--                             --> CR LF   709                 <!--                             --> CR LF
710                 <wp:Got oLink> CR LF   710                 <wp:Got oLink> CR LF
711                  <xsl:a ttribute n ame="wp:hr ef"> CR LF   711                  <xsl:a ttribute n ame="wp:hr ef"> CR LF
712                   <xsl: value-of s elect="$Va rRelativeL inkPath" / > CR LF   712                   <xsl: value-of s elect="$Va rRelativeL inkPath" / > CR LF
713                   <xsl: if test="$ VarLink/@f irst != 't rue'"> CR LF   713                   <xsl: if test="$ VarLink/@f irst != 't rue'"> CR LF
714                    <xsl :text>#</x sl:text> CR LF   714                    <xsl :text>#</x sl:text> CR LF
715                    <xsl :value-of  select="$V arLink/@an chor" /> CR LF   715                    <xsl :value-of  select="$V arLink/@an chor" /> CR LF
716                   </xsl :if> CR LF   716                   </xsl :if> CR LF
717                  </xsl: attribute> CR LF   717                  </xsl: attribute> CR LF
718   CR LF   718   CR LF
719                  <xsl:c all-templa te name="C ontent"> CR LF   719                  <xsl:c all-templa te name="C ontent"> CR LF
720                   <xsl: with-param  name="Par amContent"  select="$ VarLink/ww doc:Conten t[1]" /> CR LF   720                   <xsl: with-param  name="Par amContent"  select="$ VarLink/ww doc:Conten t[1]" /> CR LF
721                  </xsl: call-templ ate> CR LF   721                  </xsl: call-templ ate> CR LF
722                 </wp:Go toLink> CR LF   722                 </wp:Go toLink> CR LF
723                </xsl:ot herwise> CR LF   723                </xsl:ot herwise> CR LF
724               </xsl:cho ose> CR LF   724               </xsl:cho ose> CR LF
725              </xsl:when > CR LF   725              </xsl:when > CR LF
726   CR LF   726   CR LF
727              <xsl:other wise> CR LF   727              <xsl:other wise> CR LF
728               <!-- Emit  numbered  entry --> CR LF   728               <!-- Emit  numbered  entry --> CR LF
729               <!--                       --> CR LF   729               <!--                       --> CR LF
730               <wp:GotoL ink> CR LF   730               <wp:GotoL ink> CR LF
731                <xsl:att ribute nam e="wp:href "> CR LF   731                <xsl:att ribute nam e="wp:href "> CR LF
732                 <xsl:va lue-of sel ect="$VarR elativeLin kPath" /> CR LF   732                 <xsl:va lue-of sel ect="$VarR elativeLin kPath" /> CR LF
733                 <xsl:if  test="$Va rLink/@fir st != 'tru e'"> CR LF   733                 <xsl:if  test="$Va rLink/@fir st != 'tru e'"> CR LF
734                  <xsl:t ext>#</xsl :text> CR LF   734                  <xsl:t ext>#</xsl :text> CR LF
735                  <xsl:v alue-of se lect="$Var Link/@anch or" /> CR LF   735                  <xsl:v alue-of se lect="$Var Link/@anch or" /> CR LF
736                 </xsl:i f> CR LF   736                 </xsl:i f> CR LF
737                </xsl:at tribute> CR LF   737                </xsl:at tribute> CR LF
738   CR LF   738   CR LF
739                <xsl:val ue-of sele ct="positi on()" /> CR LF   739                <xsl:val ue-of sele ct="positi on()" /> CR LF
740               </wp:Goto Link> CR LF   740               </wp:Goto Link> CR LF
741              </xsl:othe rwise> CR LF   741              </xsl:othe rwise> CR LF
742            < /xsl:choos e> CR LF   742            < /xsl:choos e> CR LF
743           </ xsl:for-ea ch> CR LF   743           </ xsl:for-ea ch> CR LF
744          </w p:wp> CR LF   744          </w p:wp> CR LF
745         </xs l:otherwis e> CR LF   745         </xs l:otherwis e> CR LF
746        </xsl :choose> CR LF   746        </xsl :choose> CR LF
747       </xsl: otherwise> CR LF   747       </xsl: otherwise> CR LF
748      </xsl:c hoose> CR LF   748      </xsl:c hoose> CR LF
749   CR LF   749   CR LF
750      <!-- Pr ocess chil dren --> CR LF   750      <!-- Pr ocess chil dren --> CR LF
751      <!--                    --> CR LF   751      <!--                    --> CR LF
752      <xsl:fo r-each sel ect="$VarE ntry/wwind ex:Entry[1 ]"> CR LF   752      <xsl:fo r-each sel ect="$VarE ntry/wwind ex:Entry[1 ]"> CR LF
753   CR LF   753   CR LF
754       <xsl:c all-templa te name="E ntries"> CR LF   754       <xsl:c all-templa te name="E ntries"> CR LF
755        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   755        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
756        <xsl: with-param  name="Par amParent"  select="$V arEntry" / > CR LF   756        <xsl: with-param  name="Par amParent"  select="$V arEntry" / > CR LF
757        <xsl: with-param  name="Par amLevel" s elect="$Pa ramLevel +  1" /> CR LF   757        <xsl: with-param  name="Par amLevel" s elect="$Pa ramLevel +  1" /> CR LF
758       </xsl: call-templ ate> CR LF   758       </xsl: call-templ ate> CR LF
759   CR LF   759   CR LF
760      </xsl:f or-each> CR LF   760      </xsl:f or-each> CR LF
761     </xsl:fo r-each> CR LF   761     </xsl:fo r-each> CR LF
762    </xsl:tem plate> CR LF   762    </xsl:tem plate> CR LF
763   CR LF   763   CR LF
764   CR LF   764   CR LF
765    <xsl:temp late name= "Content"> CR LF   765    <xsl:temp late name= "Content"> CR LF
766     <xsl:par am name="P aramConten t" /> CR LF   766     <xsl:par am name="P aramConten t" /> CR LF
767   CR LF   767   CR LF
768     <!-- Sim ple proces sing for n ow --> CR LF   768     <!-- Sim ple proces sing for n ow --> CR LF
769     <!--                              --> CR LF   769     <!--                              --> CR LF
770     <xsl:for -each sele ct="$Param Content/ww doc:TextRu n/wwdoc:Te xt"> CR LF   770     <xsl:for -each sele ct="$Param Content/ww doc:TextRu n/wwdoc:Te xt"> CR LF
771      <xsl:va lue-of sel ect="@valu e" /> CR LF   771      <xsl:va lue-of sel ect="@valu e" /> CR LF
772     </xsl:fo r-each> CR LF   772     </xsl:fo r-each> CR LF
773    </xsl:tem plate> CR LF   773    </xsl:tem plate> CR LF
774   </xsl:styl esheet> CR LF   774   </xsl:styl esheet> CR LF