15. Araxis Merge File Comparison Report

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

15.1 Files compared

# Location File Last Modified
1 C:\Documents and Settings\allums\Desktop\2008.1.20396.b\Formats\Microsoft HTML Help 1.x\Transforms toc.xsl Wed Sep 12 21:22:30 2007 UTC
2 C:\Documents and Settings\allums\Desktop\2008.2.20597.p2\Formats\Microsoft HTML Help 1.x\Transforms toc.xsl Tue May 20 22:06:24 2008 UTC

15.2 Comparison summary

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

15.3 Comparison options

Whitespace Differences in whitespace are significant
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

15.4 Active regular expressions

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

15.5 Comparison detail

1   <?xml vers ion="1.0"  encoding=" UTF-8"?>   1   <?xml vers ion="1.0"  encoding=" UTF-8"?>
2   <xsl:style sheet vers ion="1.0"  xmlns="htt p://www.w3 .org/MarkU p/Wilbur/H TML32.dtd"   2   <xsl:style sheet vers ion="1.0"  xmlns="htt p://www.w3 .org/MarkU p/Wilbur/H TML32.dtd"
3                                    xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform"   3                                    xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform"
4                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt"   4                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt"
5                                    xmlns:html ="http://w ww.w3.org/ MarkUp/Wil bur/HTML32 .dtd"   5                                    xmlns:html ="http://w ww.w3.org/ MarkUp/Wil bur/HTML32 .dtd"
6                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema"   6                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema"
7                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema"   7                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema"
8                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode"   8                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode"
9                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema"   9                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema"
10                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a"   10                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a"
11                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema"   11                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema"
12                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema"   12                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema"
13                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject"   13                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject"
14                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema"   14                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema"
15                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma"   15                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma"
16                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress"   16                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress"
17                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log"   17                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log"
18                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem"   18                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem"
19                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI"   19                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI"
20                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities"   20                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities"
21                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units"   21                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units"
22                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s"   22                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s"
23                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct"   23                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct"
24                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent"   24                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent"
25                                    exclude-re sult-prefi xes="xsl m sxsl html  wwtoc wwli nks wwmode  wwfiles w wdoc wwbeh aviors wws plits wwpr oject wwpa ge wwlocal e wwprogre ss wwlog w wfilesyste m wwuri ww string wwu nits wwfil esext wwpr ojext wwex sldoc"   25                                    exclude-re sult-prefi xes="xsl m sxsl html  wwtoc wwli nks wwmode  wwfiles w wdoc wwbeh aviors wws plits wwpr oject wwpa ge wwlocal e wwprogre ss wwlog w wfilesyste m wwuri ww string wwu nits wwfil esext wwpr ojext wwex sldoc"
26   >   26   >
27    <xsl:para m name="Gl obalInput"  />   27    <xsl:para m name="Gl obalInput"  />
28    <xsl:para m name="Gl obalPipeli neName" />   28    <xsl:para m name="Gl obalPipeli neName" />
29    <xsl:para m name="Gl obalProjec t" />   29    <xsl:para m name="Gl obalProjec t" />
30    <xsl:para m name="Gl obalFiles"  />   30    <xsl:para m name="Gl obalFiles"  />
31    <xsl:para m name="Pa rameterDep endsType"  />   31    <xsl:para m name="Pa rameterDep endsType"  />
32    <xsl:para m name="Pa rameterSpl itsType" / >   32    <xsl:para m name="Pa rameterSpl itsType" / >
33    <xsl:para m name="Pa rameterPro jectSplits Type" />   33    <xsl:para m name="Pa rameterPro jectSplits Type" />
34    <xsl:para m name="Pa rameterTyp e" />   34    <xsl:para m name="Pa rameterTyp e" />
35    <xsl:para m name="Pa rameterMer geType" />   35    <xsl:para m name="Pa rameterMer geType" />
36    <xsl:para m name="Pa rameterLoc aleType" / >   36    <xsl:para m name="Pa rameterLoc aleType" / >
37    <xsl:para m name="Pa rameterUIL ocaleType"  />   37    <xsl:para m name="Pa rameterUIL ocaleType"  />
38    <xsl:para m name="Pa rameterTOC SplitFileT ype" />   38    <xsl:para m name="Pa rameterTOC SplitFileT ype" />
39    <xsl:para m name="Pa rameterInd exSplitFil eType" />   39    <xsl:para m name="Pa rameterInd exSplitFil eType" />
40    <xsl:para m name="Pa rameterCHM SplitFileT ype" />   40    <xsl:para m name="Pa rameterCHM SplitFileT ype" />
41    <xsl:para m name="Pa rameterPag eTemplateU RI" />   41    <xsl:para m name="Pa rameterPag eTemplateU RI" />
42    <xsl:para m name="Pa rameterCat egory" />   42    <xsl:para m name="Pa rameterCat egory" />
43    <xsl:para m name="Pa rameterUse " />   43    <xsl:para m name="Pa rameterUse " />
44    <xsl:para m name="Pa rameterDep loy" />   44    <xsl:para m name="Pa rameterDep loy" />
45    <xsl:para m name="Pa rameterMer geCategory " />   45    <xsl:para m name="Pa rameterMer geCategory " />
46    <xsl:para m name="Pa rameterMer geUse" />   46    <xsl:para m name="Pa rameterMer geUse" />
47    <xsl:para m name="Pa rameterMer geDeploy"  />   47    <xsl:para m name="Pa rameterMer geDeploy"  />
48     48  
49     49  
50    <xsl:outp ut encodin g="UTF-8"  indent="ye s" />   50    <xsl:outp ut encodin g="UTF-8"  indent="ye s" />
51    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />   51    <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " />
52    <xsl:stri p-space el ements="*"  />   52    <xsl:stri p-space el ements="*"  />
53     53  
54     54  
55    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />   55    <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" />
56     56  
57     57  
58    <xsl:key  name="wwfi les-files- by-type" m atch="wwfi les:File"  use="@type " />   58    <xsl:key  name="wwfi les-files- by-type" m atch="wwfi les:File"  use="@type " />
59    <xsl:key  name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID,  ':', @type )" />   59    <xsl:key  name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID,  ':', @type )" />
60    <xsl:key  name="wwpr oject-form atconfigur ations-by- targetid"  match="wwp roject:For matConfigu ration" us e="@Target ID" />   60    <xsl:key  name="wwpr oject-form atconfigur ations-by- targetid"  match="wwp roject:For matConfigu ration" us e="@Target ID" />
61    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" />   61    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" />
62     62  
63     63  
64    <xsl:vari able name= "GlobalAct ionChecksu m">   64    <xsl:vari able name= "GlobalAct ionChecksu m">
65     <xsl:var iable name ="VarTrans formChecks ums">   65     <xsl:var iable name ="VarTrans formChecks ums">
66      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />   66      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />
67      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath($Param eterPageTe mplateURI) , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath($ ParameterP ageTemplat eURI)))" / >   67      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath($Param eterPageTe mplateURI) , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath($ ParameterP ageTemplat eURI)))" / >
68      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pagetempla te.xsl'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pag es/pagetem plate.xsl' )))" />   68      <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pagetempla te.xsl'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pag es/pagetem plate.xsl' )))" />
69     </xsl:va riable>   69     </xsl:va riable>
70     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />   70     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />
71    </xsl:var iable>   71    </xsl:var iable>
72     72  
73     73  
74    <!-- Loca le -->   74    <!-- Loca le -->
75    <!--         -->   75    <!--         -->
76    <xsl:vari able name= "GlobalLoc alePath">   76    <xsl:vari able name= "GlobalLoc alePath">
77     <xsl:for -each sele ct="$Globa lFiles[1]" >   77     <xsl:for -each sele ct="$Globa lFiles[1]" >
78      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />   78      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />
79     </xsl:fo r-each>   79     </xsl:fo r-each>
80    </xsl:var iable>   80    </xsl:var iable>
81    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />   81    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />
82     82  
83     83  
84    <!-- UI L ocale -->   84    <!-- UI L ocale -->
85    <!--            -->   85    <!--            -->
86    <xsl:vari able name= "GlobalUIL ocalePath" >   86    <xsl:vari able name= "GlobalUIL ocalePath" >
87     <xsl:for -each sele ct="$Globa lFiles[1]" >   87     <xsl:for -each sele ct="$Globa lFiles[1]" >
88      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterUILoca leType)[1] /@path" />   88      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterUILoca leType)[1] /@path" />
89     </xsl:fo r-each>   89     </xsl:fo r-each>
90    </xsl:var iable>   90    </xsl:var iable>
91    <xsl:vari able name= "GlobalUIL ocale" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($G lobalUILoc alePath)"  />   91    <xsl:vari able name= "GlobalUIL ocale" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($G lobalUILoc alePath)"  />
92     92  
93     93  
94    <!-- Page  Template  -->   94    <!-- Page  Template  -->
95    <!--                 -->   95    <!--                 -->
96    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />   96    <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" />
97    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />   97    <xsl:vari able name= "GlobalPag eTemplate"  select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" />
98     98  
99     99  
100    <!-- Proj ect Splits  -->   100    <!-- Proj ect Splits  -->
101    <!--                  -->   101    <!--                  -->
102    <xsl:vari able name= "GlobalPro jectSplits Path">   102    <xsl:vari able name= "GlobalPro jectSplits Path">
103     <xsl:for -each sele ct="$Globa lFiles[1]" >   103     <xsl:for -each sele ct="$Globa lFiles[1]" >
104      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tSplitsTyp e)[1]/@pat h" />   104      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tSplitsTyp e)[1]/@pat h" />
105     </xsl:fo r-each>   105     </xsl:fo r-each>
106    </xsl:var iable>   106    </xsl:var iable>
107    <xsl:vari able name= "GlobalPro jectSplits " select=" wwexsldoc: LoadXMLWit houtResolv er($Global ProjectSpl itsPath)"  />   107    <xsl:vari able name= "GlobalPro jectSplits " select=" wwexsldoc: LoadXMLWit houtResolv er($Global ProjectSpl itsPath)"  />
108     108  
109     109  
110    <!-- Sing le Quote - ->   110    <!-- Sing le Quote - ->
111    <!--               - ->   111    <!--               - ->
112    <xsl:vari able name= "GlobalSin gleQuote">   112    <xsl:vari able name= "GlobalSin gleQuote">
113     <xsl:tex t>&#39;</x sl:text>   113     <xsl:tex t>&#39;</x sl:text>
114    </xsl:var iable>   114    </xsl:var iable>
115     115  
116    <xsl:temp late match ="/">   116    <xsl:temp late match ="/">
117     <wwfiles :Files ver sion="1.0" >   117     <wwfiles :Files ver sion="1.0" >
118     118  
119      <!-- Ge nerate TOC ? -->   119      <!-- Ge nerate TOC ? -->
120      <!--                 -->   120      <!--                 -->
121      <xsl:if  test="wwp rojext:Get FormatSett ing('toc-g enerate',  'true') =  'true'">   121      <xsl:if  test="wwp rojext:Get FormatSett ing('toc-g enerate',  'true') =  'true'">
122       <!-- I terate inp ut documen ts -->   122       <!-- I terate inp ut documen ts -->
123       <!--                            -->   123       <!--                            -->
124       <xsl:f or-each se lect="$Glo balFiles[1 ]">   124       <xsl:f or-each se lect="$Glo balFiles[1 ]">
125        <xsl: variable n ame="VarFi lesByType"  select="k ey('wwfile s-files-by -type', $P arameterDe pendsType) " />   125        <xsl: variable n ame="VarFi lesByType"  select="k ey('wwfile s-files-by -type', $P arameterDe pendsType) " />
126     126  
127        <xsl: variable n ame="VarPr ogressGrou psAndMerge Start" sel ect="wwpro gress:Star t(count($V arFilesByT ype) + 1)"  />   127        <xsl: variable n ame="VarPr ogressGrou psAndMerge Start" sel ect="wwpro gress:Star t(count($V arFilesByT ype) + 1)"  />
128     128  
129        <xsl: for-each s elect="$Va rFilesByTy pe">   129        <xsl: for-each s elect="$Va rFilesByTy pe">
130         <xsl :variable  name="VarP rogressGro upTOCStart " select=" wwprogress :Start(1)"  />   130         <xsl :variable  name="VarP rogressGro upTOCStart " select=" wwprogress :Start(1)"  />
131     131  
132         <xsl :variable  name="VarF ilesDocume nt" select ="." />   132         <xsl :variable  name="VarF ilesDocume nt" select ="." />
133     133  
134         <!--  Load spli ts -->   134         <!--  Load spli ts -->
135         <!--               -->   135         <!--               -->
136         <xsl :variable  name="VarF ilesSplits " select=" key('wwfil es-files-b y-groupid- type', con cat($VarFi lesDocumen t/@groupID , ':', $Pa rameterSpl itsType))[ 1]" />   136         <xsl :variable  name="VarF ilesSplits " select=" key('wwfil es-files-b y-groupid- type', con cat($VarFi lesDocumen t/@groupID , ':', $Pa rameterSpl itsType))[ 1]" />
137         <xsl :variable  name="VarS plits" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arFilesSpl its/@path) " />   137         <xsl :variable  name="VarS plits" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arFilesSpl its/@path) " />
138     138  
139         <xsl :for-each  select="$V arSplits[1 ]">   139         <xsl :for-each  select="$V arSplits[1 ]">
140          <!- - Split -- >   140          <!- - Split -- >
141          <!- -       -- >   141          <!- -       -- >
142          <xs l:variable  name="Var Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $VarFilesD ocument/@g roupID, ': ', $Parame terTOCSpli tFileType) )[1]" />   142          <xs l:variable  name="Var Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $VarFilesD ocument/@g roupID, ': ', $Parame terTOCSpli tFileType) )[1]" />
143     143  
144          <!- - Transfor m -->   144          <!- - Transfor m -->
145          <!- -            -->   145          <!- -            -->
146          <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) " />   146          <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) " />
147          <xs l:if test= "not($VarU pToDate)">   147          <xs l:if test= "not($VarU pToDate)">
148           <x sl:variabl e name="Va rResultAsX ML">   148           <x sl:variabl e name="Va rResultAsX ML">
149            < !-- Condit ions -->   149            < !-- Condit ions -->
150            < !--             -->   150            < !--             -->
151            < xsl:variab le name="V arConditio nsAsXML">   151            < xsl:variab le name="V arConditio nsAsXML">
152              <!-- No co nditions d efined -->   152              <!-- No co nditions d efined -->
153              <!--                         -->   153              <!--                         -->
154            < /xsl:varia ble>   154            < /xsl:varia ble>
155            < xsl:variab le name="V arConditio ns" select ="msxsl:no de-set($Va rCondition sAsXML)" / >   155            < xsl:variab le name="V arConditio ns" select ="msxsl:no de-set($Va rCondition sAsXML)" / >
156     156  
157            < !-- Replac ements -->   157            < !-- Replac ements -->
158            < !--               -->   158            < !--               -->
159            < xsl:variab le name="V arReplacem entsAsXML" >   159            < xsl:variab le name="V arReplacem entsAsXML" >
160              <!-- Conte nt -->   160              <!-- Conte nt -->
161              <!--          -->   161              <!--          -->
162              <wwpage:Re placement  name="cont ent">   162              <wwpage:Re placement  name="cont ent">
163               <!-- Load  document  -->   163               <!-- Load  document  -->
164               <!--                 -->   164               <!--                 -->
165               <xsl:vari able name= "VarTOC" s elect="wwe xsldoc:Loa dXMLWithou tResolver( $VarFilesD ocument/@p ath)" />   165               <xsl:vari able name= "VarTOC" s elect="wwe xsldoc:Loa dXMLWithou tResolver( $VarFilesD ocument/@p ath)" />
166     166  
167               <xsl:call -template  name="Tabl eOfContent s">   167               <xsl:call -template  name="Tabl eOfContent s">
168                <xsl:wit h-param na me="ParamS plits" sel ect="$VarS plits" />   168                <xsl:wit h-param na me="ParamS plits" sel ect="$VarS plits" />
169                <xsl:wit h-param na me="ParamT OC" select ="$VarTOC"  />   169                <xsl:wit h-param na me="ParamT OC" select ="$VarTOC"  />
170                <xsl:wit h-param na me="ParamS plit" sele ct="$VarSp lit" />   170                <xsl:wit h-param na me="ParamS plit" sele ct="$VarSp lit" />
171               </xsl:cal l-template >   171               </xsl:cal l-template >
172              </wwpage:R eplacement >   172              </wwpage:R eplacement >
173            < /xsl:varia ble>   173            < /xsl:varia ble>
174            < xsl:variab le name="V arReplacem ents" sele ct="msxsl: node-set($ VarReplace mentsAsXML )" />   174            < xsl:variab le name="V arReplacem ents" sele ct="msxsl: node-set($ VarReplace mentsAsXML )" />
175     175  
176            < !-- Output  directory  path -->   176            < !-- Output  directory  path -->
177            < !--                         -->   177            < !--                         -->
178            < xsl:variab le name="V arOutputDi rectoryPat h" select= "wwfilesys tem:Combin e(wwprojex t:GetTarge tOutputDir ectoryPath (), wwproj ext:GetGro upName($Va rSplit/@gr oupID))" / >   178            < xsl:variab le name="V arOutputDi rectoryPat h" select= "wwfilesys tem:Combin e(wwprojex t:GetTarge tOutputDir ectoryPath (), wwproj ext:GetGro upName($Va rSplit/@gr oupID))" / >
179     179  
180            < !-- Invoke  page temp late -->   180            < !-- Invoke  page temp late -->
181            < !--                        -->   181            < !--                        -->
182            < xsl:apply- templates  select="$G lobalPageT emplate" m ode="wwmod e:pagetemp late">   182            < xsl:apply- templates  select="$G lobalPageT emplate" m ode="wwmod e:pagetemp late">
183              <xsl:with- param name ="ParamOut putDirecto ryPath" se lect="$Var OutputDire ctoryPath"  />   183              <xsl:with- param name ="ParamOut putDirecto ryPath" se lect="$Var OutputDire ctoryPath"  />
184              <xsl:with- param name ="ParamOut putPath" s elect="$Va rSplit/@pa th" />   184              <xsl:with- param name ="ParamOut putPath" s elect="$Va rSplit/@pa th" />
185              <xsl:with- param name ="ParamCon ditions" s elect="$Va rCondition s" />   185              <xsl:with- param name ="ParamCon ditions" s elect="$Va rCondition s" />
186              <xsl:with- param name ="ParamRep lacements"  select="$ VarReplace ments" />   186              <xsl:with- param name ="ParamRep lacements"  select="$ VarReplace ments" />
187            < /xsl:apply -templates >   187            < /xsl:apply -templates >
188           </ xsl:variab le>   188           </ xsl:variab le>
189           <x sl:variabl e name="Va rResult" s elect="msx sl:node-se t($VarResu ltAsXML)"  />   189           <x sl:variabl e name="Va rResult" s elect="msx sl:node-se t($VarResu ltAsXML)"  />
190           <x sl:variabl e name="Va rEncoding"  select="w wunits:Enc odingFromC odePage($G lobalLocal e/wwlocale :Locale/@c odepage)"  />   190           <x sl:variabl e name="Va rEncoding"  select="w wunits:Enc odingFromC odePage($G lobalLocal e/wwlocale :Locale/@c odepage)"  />
191           <x sl:variabl e name="Va rWriteResu lt" select ="wwexsldo c:Document ($VarResul t, $VarSpl it/@path,  $VarEncodi ng, 'html' , '3.2', ' yes', 'yes ', '', '-/ /IETF//DTD  HTML//EN' , '', '',  'text/html ')" />   191           <x sl:variabl e name="Va rWriteResu lt" select ="wwexsldo c:Document ($VarResul t, $VarSpl it/@path,  $VarEncodi ng, 'html' , '3.2', ' yes', 'yes ', '', '-/ /IETF//DTD  HTML//EN' , '', '',  'text/html ')" />
192          </x sl:if>   192          </x sl:if>
193     193  
194          <!- - Report F iles -->   194          <!- - Report F iles -->
195          <!- -               -->   195          <!- -               -->
196          <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}" >   196          <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}" >
197           <w wfiles:Dep ends path= "{$GlobalL ocalePath} " checksum ="{wwfiles ystem:GetC hecksum($G lobalLocal ePath)}" g roupID=""  documentID ="" />   197           <w wfiles:Dep ends path= "{$GlobalL ocalePath} " checksum ="{wwfiles ystem:GetC hecksum($G lobalLocal ePath)}" g roupID=""  documentID ="" />
198           <w wfiles:Dep ends path= "{$GlobalU ILocalePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalUIL ocalePath) }" groupID ="" docume ntID="" />   198           <w wfiles:Dep ends path= "{$GlobalU ILocalePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalUIL ocalePath) }" groupID ="" docume ntID="" />
199           <w wfiles:Dep ends path= "{$GlobalP ageTemplat ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lPageTempl atePath)}"  groupID=" " document ID="" />   199           <w wfiles:Dep ends path= "{$GlobalP ageTemplat ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lPageTempl atePath)}"  groupID=" " document ID="" />
200           <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}" />   200           <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}" />
201           <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 }" />   201           <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 }" />
202          </w wfiles:Fil e>   202          </w wfiles:Fil e>
203         </xs l:for-each >   203         </xs l:for-each >
204     204  
205         <xsl :variable  name="VarP rogressGro upTOCEnd"  select="ww progress:E nd()" />   205         <xsl :variable  name="VarP rogressGro upTOCEnd"  select="ww progress:E nd()" />
206        </xsl :for-each>   206        </xsl :for-each>
207     207  
208        <!--  Merge -->   208        <!--  Merge -->
209        <!--        -->   209        <!--        -->
210        <xsl: variable n ame="VarPr ogressMerg eStart" se lect="wwpr ogress:Sta rt(1)" />   210        <xsl: variable n ame="VarPr ogressMerg eStart" se lect="wwpr ogress:Sta rt(1)" />
211        <xsl: if test="c ount($Glob alProject/ wwproject: Project/ww project:Gr oups/wwpro ject:Group ) &gt; 1">   211        <xsl: if test="c ount($Glob alProject/ wwproject: Project/ww project:Gr oups/wwpro ject:Group ) &gt; 1">
212         <xsl :variable  name="VarP rojectGrou ps" select ="$GlobalP roject/wwp roject:Pro ject/wwpro ject:Group s/wwprojec t:Group" / >   212         <xsl :variable  name="VarP rojectGrou ps" select ="$GlobalP roject/wwp roject:Pro ject/wwpro ject:Group s/wwprojec t:Group" / >
213     213  
214         <xsl :variable  name="VarM ergePath"  select="ww filesystem :Combine(w wprojext:G etTargetOu tputDirect oryPath(),  concat(ww projext:Ge tFormatNam e(), '.hhc '))" />   214         <xsl :variable  name="VarM ergePath"  select="ww filesystem :Combine(w wprojext:G etTargetOu tputDirect oryPath(),  concat(ww projext:Ge tFormatNam e(), '.hhc '))" />
215     215  
216         <xsl :variable  name="VarU pToDate" s elect="wwf ilesext:Up ToDate($Va rMergePath , concat($ GlobalProj ect/wwproj ect:Projec t/@ChangeI D, ':', co unt($VarPr ojectGroup s)), '', ' ', $Global ActionChec ksum)" />   216         <xsl :variable  name="VarU pToDate" s elect="wwf ilesext:Up ToDate($Va rMergePath , concat($ GlobalProj ect/wwproj ect:Projec t/@ChangeI D, ':', co unt($VarPr ojectGroup s)), '', ' ', $Global ActionChec ksum)" />
217         <xsl :if test=" not($VarUp ToDate)">   217         <xsl :if test=" not($VarUp ToDate)">
218          <xs l:variable  name="Var ResultAsXM L">   218          <xs l:variable  name="Var ResultAsXM L">
219           <! -- Conditi ons -->   219           <! -- Conditi ons -->
220           <! --             -->   220           <! --             -->
221           <x sl:variabl e name="Va rCondition sAsXML">   221           <x sl:variabl e name="Va rCondition sAsXML">
222            < !-- No con ditions de fined -->   222            < !-- No con ditions de fined -->
223            < !--                         -->   223            < !--                         -->
224           </ xsl:variab le>   224           </ xsl:variab le>
225           <x sl:variabl e name="Va rCondition s" select= "msxsl:nod e-set($Var Conditions AsXML)" />   225           <x sl:variabl e name="Va rCondition s" select= "msxsl:nod e-set($Var Conditions AsXML)" />
226     226  
227           <! -- Replace ments -->   227           <! -- Replace ments -->
228           <! --               -->   228           <! --               -->
229           <x sl:variabl e name="Va rReplaceme ntsAsXML">   229           <x sl:variabl e name="Va rReplaceme ntsAsXML">
230            < !-- Conten t -->   230            < !-- Conten t -->
231            < !--          -->   231            < !--          -->
232            < wwpage:Rep lacement n ame="conte nt">   232            < wwpage:Rep lacement n ame="conte nt">
233              <xsl:for-e ach select ="$GlobalP roject[1]" >   233              <xsl:for-e ach select ="$GlobalP roject[1]" >
234               <!-- Merg e settings  -->   234               <!-- Merg e settings  -->
235               <!--                  -->   235               <!--                  -->
236               <xsl:vari able name= "VarFormat Configurat ion" selec t="key('ww project-fo rmatconfig urations-b y-targetid ', wwproje xt:GetForm atID())[1] " />   236               <xsl:vari able name= "VarFormat Configurat ion" selec t="key('ww project-fo rmatconfig urations-b y-targetid ', wwproje xt:GetForm atID())[1] " />
237               <xsl:vari able name= "VarMergeS ettings" s elect="$Va rFormatCon figuration /wwproject :MergeSett ings" />   237               <xsl:vari able name= "VarMergeS ettings" s elect="$Va rFormatCon figuration /wwproject :MergeSett ings" />
238     238  
239               <xsl:call -template  name="Merg eTableOfCo ntents">   239               <xsl:call -template  name="Merg eTableOfCo ntents">
240                <xsl:wit h-param na me="ParamM ergeSettin gs" select ="$VarMerg eSettings"  />   240                <xsl:wit h-param na me="ParamM ergeSettin gs" select ="$VarMerg eSettings"  />
241                <xsl:wit h-param na me="ParamP ath" selec t="$VarMer gePath" />   241                <xsl:wit h-param na me="ParamP ath" selec t="$VarMer gePath" />
242               </xsl:cal l-template >   242               </xsl:cal l-template >
243              </xsl:for- each>   243              </xsl:for- each>
244            < /wwpage:Re placement>   244            < /wwpage:Re placement>
245           </ xsl:variab le>   245           </ xsl:variab le>
246           <x sl:variabl e name="Va rReplaceme nts" selec t="msxsl:n ode-set($V arReplacem entsAsXML) " />   246           <x sl:variabl e name="Va rReplaceme nts" selec t="msxsl:n ode-set($V arReplacem entsAsXML) " />
247     247  
248           <! -- Invoke  page templ ate -->   248           <! -- Invoke  page templ ate -->
249           <! --                        -->   249           <! --                        -->
250           <x sl:apply-t emplates s elect="$Gl obalPageTe mplate" mo de="wwmode :pagetempl ate">   250           <x sl:apply-t emplates s elect="$Gl obalPageTe mplate" mo de="wwmode :pagetempl ate">
251            < xsl:with-p aram name= "ParamOutp utDirector yPath" sel ect="wwpro jext:GetTa rgetOutput DirectoryP ath()" />   251            < xsl:with-p aram name= "ParamOutp utDirector yPath" sel ect="wwpro jext:GetTa rgetOutput DirectoryP ath()" />
252            < xsl:with-p aram name= "ParamOutp utPath" se lect="$Var MergePath"  />   252            < xsl:with-p aram name= "ParamOutp utPath" se lect="$Var MergePath"  />
253            < xsl:with-p aram name= "ParamCond itions" se lect="$Var Conditions " />   253            < xsl:with-p aram name= "ParamCond itions" se lect="$Var Conditions " />
254            < xsl:with-p aram name= "ParamRepl acements"  select="$V arReplacem ents" />   254            < xsl:with-p aram name= "ParamRepl acements"  select="$V arReplacem ents" />
255           </ xsl:apply- templates>   255           </ xsl:apply- templates>
256          </x sl:variabl e>   256          </x sl:variabl e>
257          <xs l:variable  name="Var Result" se lect="msxs l:node-set ($VarResul tAsXML)" / >   257          <xs l:variable  name="Var Result" se lect="msxs l:node-set ($VarResul tAsXML)" / >
258          <xs l:variable  name="Var Encoding"  select="ww units:Enco dingFromCo dePage($Gl obalLocale /wwlocale: Locale/@co depage)" / >   258          <xs l:variable  name="Var Encoding"  select="ww units:Enco dingFromCo dePage($Gl obalLocale /wwlocale: Locale/@co depage)" / >
259          <xs l:variable  name="Var WriteResul t" select= "wwexsldoc :Document( $VarResult , $VarMerg ePath, $Va rEncoding,  'html', ' 3.2', 'yes ', 'yes',  '', '-//IE TF//DTD HT ML//EN', ' ', '', 'te xt/html')"  />   259          <xs l:variable  name="Var WriteResul t" select= "wwexsldoc :Document( $VarResult , $VarMerg ePath, $Va rEncoding,  'html', ' 3.2', 'yes ', 'yes',  '', '-//IE TF//DTD HT ML//EN', ' ', '', 'te xt/html')"  />
260         </xs l:if>   260         </xs l:if>
261     261  
262         <wwf iles:File  path="{$Va rMergePath }" type="{ $Parameter MergeType} " checksum ="{wwfiles ystem:GetC hecksum($V arMergePat h)}" proje ctchecksum ="{concat( $GlobalPro ject/wwpro ject:Proje ct/@Change ID, ':', c ount($VarP rojectGrou ps))}" gro upID="" do cumentID=" " actionch ecksum="{$ GlobalActi onChecksum }" categor y="{$Param eterMergeC ategory}"  use="{$Par ameterMerg eUse}" dep loy="{$Par ameterMerg eDeploy}">   262         <wwf iles:File  path="{$Va rMergePath }" type="{ $Parameter MergeType} " checksum ="{wwfiles ystem:GetC hecksum($V arMergePat h)}" proje ctchecksum ="{concat( $GlobalPro ject/wwpro ject:Proje ct/@Change ID, ':', c ount($VarP rojectGrou ps))}" gro upID="" do cumentID=" " actionch ecksum="{$ GlobalActi onChecksum }" categor y="{$Param eterMergeC ategory}"  use="{$Par ameterMerg eUse}" dep loy="{$Par ameterMerg eDeploy}">
263          <ww files:Depe nds path=" {$GlobalLo calePath}"  checksum= "{wwfilesy stem:GetCh ecksum($Gl obalLocale Path)}" gr oupID="" d ocumentID= "" />   263          <ww files:Depe nds path=" {$GlobalLo calePath}"  checksum= "{wwfilesy stem:GetCh ecksum($Gl obalLocale Path)}" gr oupID="" d ocumentID= "" />
264          <ww files:Depe nds path=" {$GlobalUI LocalePath }" checksu m="{wwfile system:Get Checksum($ GlobalUILo calePath)} " groupID= "" documen tID="" />   264          <ww files:Depe nds path=" {$GlobalUI LocalePath }" checksu m="{wwfile system:Get Checksum($ GlobalUILo calePath)} " groupID= "" documen tID="" />
265          <ww files:Depe nds path=" {$GlobalPa geTemplate Path}" che cksum="{ww filesystem :GetChecks um($Global PageTempla tePath)}"  groupID=""  documentI D="" />   265          <ww files:Depe nds path=" {$GlobalPa geTemplate Path}" che cksum="{ww filesystem :GetChecks um($Global PageTempla tePath)}"  groupID=""  documentI D="" />
266          <ww files:Depe nds path=" {$GlobalPr ojectSplit sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectSp litsPath)} " groupID= "" documen tID="" />   266          <ww files:Depe nds path=" {$GlobalPr ojectSplit sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectSp litsPath)} " groupID= "" documen tID="" />
267         </ww files:File >   267         </ww files:File >
268        </xsl :if>   268        </xsl :if>
269        <xsl: variable n ame="VarPr ogressMerg eEnd" sele ct="wwprog ress:End() " />   269        <xsl: variable n ame="VarPr ogressMerg eEnd" sele ct="wwprog ress:End() " />
270     270  
271        <xsl: variable n ame="VarPr ogressGrou psAndMerge End" selec t="wwprogr ess:End()"  />   271        <xsl: variable n ame="VarPr ogressGrou psAndMerge End" selec t="wwprogr ess:End()"  />
272       </xsl: for-each>   272       </xsl: for-each>
273      </xsl:i f>   273      </xsl:i f>
274     274  
275     </wwfile s:Files>   275     </wwfile s:Files>
276    </xsl:tem plate>   276    </xsl:tem plate>
277     277  
278     278  
279    <xsl:temp late name= "NewLine">   279    <xsl:temp late name= "NewLine">
280     <xsl:tex t>   280     <xsl:tex t>
281   </xsl:text >   281   </xsl:text >
282    </xsl:tem plate>   282    </xsl:tem plate>
283     283  
284     284  
285    <xsl:temp late name= "TableOfCo ntents">   285    <xsl:temp late name= "TableOfCo ntents">
286     <xsl:par am name="P aramSplits " />   286     <xsl:par am name="P aramSplits " />
287     <xsl:par am name="P aramTOC" / >   287     <xsl:par am name="P aramTOC" / >
288     <xsl:par am name="P aramSplit"  />   288     <xsl:par am name="P aramSplit"  />
289     289  
290     <xsl:cal l-template  name="New Line" />   290     <xsl:cal l-template  name="New Line" />
291     291  
292     <xsl:var iable name ="VarInden t" select= "'    '" / >   292     <xsl:var iable name ="VarInden t" select= "'    '" / >
293     293  
294     <!-- Han dle empty  TOCs -->   294     <!-- Han dle empty  TOCs -->
295     <!--                     -->   295     <!--                     -->
296     <xsl:cho ose>   296     <xsl:cho ose>
297      <xsl:wh en test="c ount($Para mTOC/wwtoc :TableOfCo ntents/wwt oc:Entry[1 ]) &gt; 0" >   297      <xsl:wh en test="c ount($Para mTOC/wwtoc :TableOfCo ntents/wwt oc:Entry[1 ]) &gt; 0" >
298       <xsl:c all-templa te name="E ntries">   298       <xsl:c all-templa te name="E ntries">
299        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " />   299        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " />
300        <xsl: with-param  name="Par amParent"  select="$P aramTOC/ww toc:TableO fContents"  />   300        <xsl: with-param  name="Par amParent"  select="$P aramTOC/ww toc:TableO fContents"  />
301        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  />   301        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  />
302        <xsl: with-param  name="Par amIndent"  select="$V arIndent"  />   302        <xsl: with-param  name="Par amIndent"  select="$V arIndent"  />
303       </xsl: call-templ ate>   303       </xsl: call-templ ate>
304      </xsl:w hen>   304      </xsl:w hen>
305     305  
306      <xsl:ot herwise>   306      <xsl:ot herwise>
307       <!-- W ithout thi s workarou nd, the HT ML Help co mpiler rep orts:                                                                                                -->   307       <!-- W ithout thi s workarou nd, the HT ML Help co mpiler rep orts:                                                                                                -->
308       <!--                                                                                                                                                               -->   308       <!--                                                                                                                                                               -->
309       <!-- H HC6000: Er ror: An in ternal fil e could no t be creat ed. Make c ertain the re is enou gh disk sp ace on the  drive whe re you are  compiling  your file . -->   309       <!-- H HC6000: Er ror: An in ternal fil e could no t be creat ed. Make c ertain the re is enou gh disk sp ace on the  drive whe re you are  compiling  your file . -->
310       <!-- H HC5007: Er ror: Fatal  navigatio nal compil ation erro r. This is  likely th e result o f an inval id content s .hhc fil e.                                 -->   310       <!-- H HC5007: Er ror: Fatal  navigatio nal compil ation erro r. This is  likely th e result o f an inval id content s .hhc fil e.                                 -->
311       <!--                                                                                                                                                               -->   311       <!--                                                                                                                                                               -->
312       <xsl:v alue-of se lect="$Var Indent" />   312       <xsl:v alue-of se lect="$Var Indent" />
313       <html: ul>   313       <html: ul>
314       <xsl:c all-templa te name="N ewLine" />   314       <xsl:c all-templa te name="N ewLine" />
315        <xsl: value-of s elect="$Va rIndent" / ><xsl:text >  </xsl:t ext>   315        <xsl: value-of s elect="$Va rIndent" / ><xsl:text >  </xsl:t ext>
316        <wwex sldoc:Less Than />li< wwexsldoc: GreaterTha n />   316        <wwex sldoc:Less Than />li< wwexsldoc: GreaterTha n />
317        <html :object ty pe="text/s itemap">   317        <html :object ty pe="text/s itemap">
318        <xsl: call-templ ate name=" NewLine" / >   318        <xsl: call-templ ate name=" NewLine" / >
319     319  
320         <xsl :value-of  select="$V arIndent"  /><xsl:tex t>         </xsl:text >   320         <xsl :value-of  select="$V arIndent"  /><xsl:tex t>         </xsl:text >
321         <htm l:param na me="Name"  value="{$G lobalLocal e/wwlocale :Locale/ww locale:Str ings/wwloc ale:String [@name = ' MapTOCStyl es']/@valu e}" />   321         <htm l:param na me="Name"  value="{$G lobalLocal e/wwlocale :Locale/ww locale:Str ings/wwloc ale:String [@name = ' MapTOCStyl es']/@valu e}" />
322         <xsl :call-temp late name= "NewLine"  />   322         <xsl :call-temp late name= "NewLine"  />
323     323  
324         <xsl :variable  name="VarP ageSplit"  select="$P aramSplits /wwsplits: Splits/wws plits:Spli t[1]" />   324         <xsl :variable  name="VarP ageSplit"  select="$P aramSplits /wwsplits: Splits/wws plits:Spli t[1]" />
325         <xsl :variable  name="VarG roupOutput DirectoryP ath" selec t="wwfiles ystem:Comb ine(wwproj ext:GetTar getOutputD irectoryPa th(), wwpr ojext:GetG roupName($ VarPageSpl it/@groupI D), 'dummy .component ')" />   325         <xsl :variable  name="VarG roupOutput DirectoryP ath" selec t="wwfiles ystem:Comb ine(wwproj ext:GetTar getOutputD irectoryPa th(), wwpr ojext:GetG roupName($ VarPageSpl it/@groupI D), 'dummy .component ')" />
326         <xsl :variable  name="VarP ageRelativ ePath" sel ect="wwfil esystem:Ge tRelativeT o($VarPage Split/@pat h, $VarGro upOutputDi rectoryPat h)" />   326         <xsl :variable  name="VarP ageRelativ ePath" sel ect="wwfil esystem:Ge tRelativeT o($VarPage Split/@pat h, $VarGro upOutputDi rectoryPat h)" />
327     327  
328         <xsl :value-of  select="$V arIndent"  /><xsl:tex t>         </xsl:text >   328         <xsl :value-of  select="$V arIndent"  /><xsl:tex t>         </xsl:text >
329         <htm l:param na me="Local"  value="{$ VarPageRel ativePath} " />   329         <htm l:param na me="Local"  value="{$ VarPageRel ativePath} " />
330         <xsl :call-temp late name= "NewLine"  />   330         <xsl :call-temp late name= "NewLine"  />
331     331  
332        <xsl: value-of s elect="$Va rIndent" / ><xsl:text >      </x sl:text>   332        <xsl: value-of s elect="$Va rIndent" / ><xsl:text >      </x sl:text>
333        </htm l:object>   333        </htm l:object>
334        <xsl: call-templ ate name=" NewLine" / >   334        <xsl: call-templ ate name=" NewLine" / >
335       <xsl:v alue-of se lect="$Var Indent" />   335       <xsl:v alue-of se lect="$Var Indent" />
336       </html :ul>   336       </html :ul>
337       <xsl:c all-templa te name="N ewLine" />   337       <xsl:c all-templa te name="N ewLine" />
338     338  
339       <!-- E mit warnin g -->   339       <!-- E mit warnin g -->
340       <!--                -->   340       <!--                -->
341       <xsl:v ariable na me="VarWar ningMapTOC Styles" se lect="wwlo g:Warning( $GlobalUIL ocale/wwlo cale:Local e/wwlocale :Strings/w wlocale:St ring[@name  = 'MapTOC Styles']/@ value)" />   341       <xsl:v ariable na me="VarWar ningMapTOC Styles" se lect="wwlo g:Warning( $GlobalUIL ocale/wwlo cale:Local e/wwlocale :Strings/w wlocale:St ring[@name  = 'MapTOC Styles']/@ value)" />
342      </xsl:o therwise>   342      </xsl:o therwise>
343     </xsl:ch oose>   343     </xsl:ch oose>
344     344  
345     <xsl:tex t>  </xsl: text>   345     <xsl:tex t>  </xsl: text>
346    </xsl:tem plate>   346    </xsl:tem plate>
347     347  
348     348  
349    <xsl:temp late name= "TOCText">   349    <xsl:temp late name= "TOCText">
350     <xsl:par am name="P aramEntry"  />   350     <xsl:par am name="P aramEntry"  />
351     351  
352     <xsl:var iable name ="VarText" >   352     <xsl:var iable name ="VarText" >
353      <xsl:ca ll-templat e name="Pa ragraph">   353      <xsl:ca ll-templat e name="Pa ragraph">
354       <xsl:w ith-param  name="Para mParagraph " select=" $ParamEntr y/wwdoc:Pa ragraph" / >   354       <xsl:w ith-param  name="Para mParagraph " select=" $ParamEntr y/wwdoc:Pa ragraph" / >
355      </xsl:c all-templa te>   355      </xsl:c all-templa te>
356     </xsl:va riable>   356     </xsl:va riable>
357     357  
358     <xsl:var iable name ="VarFixSi ngleQuotes " select=" wwstring:R eplaceWith Expression ($VarText,  '[&#8216; &#8217;]',  $GlobalSi ngleQuote) " />   358     <xsl:var iable name ="VarFixSi ngleQuotes " select=" wwstring:R eplaceWith Expression ($VarText,  '[&#8216; &#8217;]',  $GlobalSi ngleQuote) " />
359     <xsl:var iable name ="VarFixDo ubleQuotes " select=" wwstring:R eplaceWith Expression ($VarFixSi ngleQuotes , '[&#8220 ;&#8221;]' , '&amp;qu ot;')" />   359     <xsl:var iable name ="VarFixDo ubleQuotes " select=" wwstring:R eplaceWith Expression ($VarFixSi ngleQuotes , '[&#8220 ;&#8221;]' , '&amp;qu ot;')" />
360     360  
361     <xsl:val ue-of sele ct="$VarFi xDoubleQuo tes" />   361     <xsl:val ue-of sele ct="$VarFi xDoubleQuo tes" />
362    </xsl:tem plate>   362    </xsl:tem plate>
363     363  
364     364  
365    <xsl:temp late name= "Entries">   365    <xsl:temp late name= "Entries">
366     <xsl:par am name="P aramSplits " />   366     <xsl:par am name="P aramSplits " />
367     <xsl:par am name="P aramParent " />   367     <xsl:par am name="P aramParent " />
368     <xsl:par am name="P aramSplit"  />   368     <xsl:par am name="P aramSplit"  />
369     <xsl:par am name="P aramIndent " />   369     <xsl:par am name="P aramIndent " />
370     370  
371     <xsl:var iable name ="VarSubEn tries" sel ect="$Para mParent/ww toc:Entry"  />   371     <xsl:var iable name ="VarSubEn tries" sel ect="$Para mParent/ww toc:Entry"  />
372     372  
373     <xsl:for -each sele ct="$VarSu bEntries[1 ]">   373     <xsl:for -each sele ct="$VarSu bEntries[1 ]">
374      <xsl:va lue-of sel ect="$Para mIndent" / >   374      <xsl:va lue-of sel ect="$Para mIndent" / >
375      <html:u l>   375      <html:u l>
376      <xsl:ca ll-templat e name="Ne wLine" />   376      <xsl:ca ll-templat e name="Ne wLine" />
377       <xsl:f or-each se lect="$Var SubEntries ">   377       <xsl:f or-each se lect="$Var SubEntries ">
378        <xsl: variable n ame="VarEn try" selec t="." />   378        <xsl: variable n ame="VarEn try" selec t="." />
379     379  
380        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>  </xsl :text>   380        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>  </xsl :text>
381        <wwex sldoc:Less Than />li< wwexsldoc: GreaterTha n />   381        <wwex sldoc:Less Than />li< wwexsldoc: GreaterTha n />
382        <html :object ty pe="text/s itemap">   382        <html :object ty pe="text/s itemap">
383        <xsl: call-templ ate name=" NewLine" / >   383        <xsl: call-templ ate name=" NewLine" / >
384         <xsl :choose>   384         <xsl :choose>
385          <xs l:when tes t="string- length($Va rEntry/@pa th) &gt; 0 ">   385          <xs l:when tes t="string- length($Va rEntry/@pa th) &gt; 0 ">
386           <! -- Get lin k -->   386           <! -- Get lin k -->
387           <! --           -->   387           <! --           -->
388           <x sl:variabl e name="Va rRelativeL inkPath" s elect="wwf ilesystem: GetRelativ eTo($VarEn try/@path,  $ParamSpl it/@path)"  />   388           <x sl:variabl e name="Va rRelativeL inkPath" s elect="wwf ilesystem: GetRelativ eTo($VarEn try/@path,  $ParamSpl it/@path)"  />
389     389  
390           <x sl:variabl e name="Va rLink">   390           <x sl:variabl e name="Va rLink">
391            < xsl:value- of select= "$VarRelat iveLinkPat h" />   391            < xsl:value- of select= "$VarRelat iveLinkPat h" />
392            
<xsl:text> #</xsl:tex t>
  392  
393            
<xsl:value -of select ="$VarEntr y/@linkid"  />
  393            < xsl:if tes t="$VarEnt ry/@first  = 'false'" >
        394               <xsl:text> #</xsl:tex t>
        395               <xsl:value -of select ="$VarEntr y/@linkid"  />
        396            < /xsl:if>
394           </ xsl:variab le>   397           </ xsl:variab le>
395           <x sl:variabl e name="Va rTOCText">   398           <x sl:variabl e name="Va rTOCText">
396            < xsl:call-t emplate na me="TOCTex t">   399            < xsl:call-t emplate na me="TOCTex t">
397              <xsl:with- param name ="ParamEnt ry" select ="$VarEntr y" />   400              <xsl:with- param name ="ParamEnt ry" select ="$VarEntr y" />
398            < /xsl:call- template>   401            < /xsl:call- template>
399           </ xsl:variab le>   402           </ xsl:variab le>
400     403  
401           <x sl:value-o f select=" $ParamInde nt" /><xsl :text>         </xsl: text>   404           <x sl:value-o f select=" $ParamInde nt" /><xsl :text>         </xsl: text>
402           <h tml:param  name="Name " value="{ wwstring:R eplaceWith Expression ($VarTOCTe xt, '[&#82 16;&#8217; &#8220;&#8 221;]', '& quot;')}"  />   405           <h tml:param  name="Name " value="{ wwstring:R eplaceWith Expression ($VarTOCTe xt, '[&#82 16;&#8217; &#8220;&#8 221;]', '& quot;')}"  />
403           <x sl:call-te mplate nam e="NewLine " />   406           <x sl:call-te mplate nam e="NewLine " />
404     407  
405           <x sl:value-o f select=" $ParamInde nt" /><xsl :text>         </xsl: text>   408           <x sl:value-o f select=" $ParamInde nt" /><xsl :text>         </xsl: text>
406           <h tml:param  name="Loca l" value=" {$VarLink} " />   409           <h tml:param  name="Loca l" value=" {$VarLink} " />
407           <x sl:call-te mplate nam e="NewLine " />   410           <x sl:call-te mplate nam e="NewLine " />
408     411  
409           <! -- Window  type -->   412           <! -- Window  type -->
410           <! --              -->   413           <! --              -->
411           <x sl:variabl e name="Va rLinkSplit " select=" $ParamSpli ts/wwsplit s:Splits/w wsplits:Sp lit[@path  = $VarEntr y/@path]"  />   414           <x sl:variabl e name="Va rLinkSplit " select=" $ParamSpli ts/wwsplit s:Splits/w wsplits:Sp lit[@path  = $VarEntr y/@path]"  />
412           <x sl:if test ="string-l ength($Var LinkSplit/ @window-ty pe) &gt; 0 ">   415           <x sl:if test ="string-l ength($Var LinkSplit/ @window-ty pe) &gt; 0 ">
413            < xsl:value- of select= "$ParamInd ent" /><xs l:text>         </xsl :text>   416            < xsl:value- of select= "$ParamInd ent" /><xs l:text>         </xsl :text>
414            < html:param  name="Win dowName" v alue="{$Va rLinkSplit /@window-t ype}" />   417            < html:param  name="Win dowName" v alue="{$Va rLinkSplit /@window-t ype}" />
415            < xsl:call-t emplate na me="NewLin e" />   418            < xsl:call-t emplate na me="NewLin e" />
416           </ xsl:if>   419           </ xsl:if>
417          </x sl:when>   420          </x sl:when>
418     421  
419          <xs l:otherwis e>   422          <xs l:otherwis e>
420           <x sl:variabl e name="Va rTOCTextNo Link">   423           <x sl:variabl e name="Va rTOCTextNo Link">
421            < xsl:call-t emplate na me="TOCTex t">   424            < xsl:call-t emplate na me="TOCTex t">
422              <xsl:with- param name ="ParamEnt ry" select ="$VarEntr y" />   425              <xsl:with- param name ="ParamEnt ry" select ="$VarEntr y" />
423            < /xsl:call- template>   426            < /xsl:call- template>
424           </ xsl:variab le>   427           </ xsl:variab le>
425     428  
426           <x sl:value-o f select=" $ParamInde nt" /><xsl :text>         </xsl: text>   429           <x sl:value-o f select=" $ParamInde nt" /><xsl :text>         </xsl: text>
427           <h tml:param  name="Name " value="{ wwstring:R eplaceWith Expression ($VarTOCTe xtNoLink,  '[&#8216;& #8217;&#82 20;&#8221; ]', '&quot ;')}" />   430           <h tml:param  name="Name " value="{ wwstring:R eplaceWith Expression ($VarTOCTe xtNoLink,  '[&#8216;& #8217;&#82 20;&#8221; ]', '&quot ;')}" />
428           <x sl:call-te mplate nam e="NewLine " />   431           <x sl:call-te mplate nam e="NewLine " />
429          </x sl:otherwi se>   432          </x sl:otherwi se>
430         </xs l:choose>   433         </xs l:choose>
431     434  
432         <!--  TOC Icon  -->   435         <!--  TOC Icon  -->
433         <!--            -->   436         <!--            -->
434         <xsl :variable  name="VarT OCIconMark ers" selec t="$VarEnt ry/wwbehav iors:Parag raph/wwbeh aviors:Mar ker[@behav ior = 'toc -icon-html -help']" / >   437         <xsl :variable  name="VarT OCIconMark ers" selec t="$VarEnt ry/wwbehav iors:Parag raph/wwbeh aviors:Mar ker[@behav ior = 'toc -icon-html -help']" / >
435     438  
436         <xsl :if test=" count($Var TOCIconMar kers) &gt;  0">   439         <xsl :if test=" count($Var TOCIconMar kers) &gt;  0">
437          <xs l:variable  name="Var TOCIconMar ker" selec t="$VarTOC IconMarker s[count($V arTOCIconM arkers)]"  />   440          <xs l:variable  name="Var TOCIconMar ker" selec t="$VarTOC IconMarker s[count($V arTOCIconM arkers)]"  />
438          <xs l:variable  name="Var TOCIconTex t">   441          <xs l:variable  name="Var TOCIconTex t">
439           <x sl:for-eac h select=" $VarTOCIco nMarker//w wdoc:TextR un/wwdoc:T ext">   442           <x sl:for-eac h select=" $VarTOCIco nMarker//w wdoc:TextR un/wwdoc:T ext">
440            < xsl:value- of select= "@value" / >   443            < xsl:value- of select= "@value" / >
441           </ xsl:for-ea ch>   444           </ xsl:for-ea ch>
442          </x sl:variabl e>   445          </x sl:variabl e>
443     446  
444          <!- - Validate  value -->   447          <!- - Validate  value -->
445          <!- -                 -->   448          <!- -                 -->
446          <xs l:variable  name="Var TOCIconAsN umber" sel ect="numbe r($VarTOCI conText)"  />   449          <xs l:variable  name="Var TOCIconAsN umber" sel ect="numbe r($VarTOCI conText)"  />
447          <xs l:choose>   450          <xs l:choose>
448           <x sl:when te st="($VarT OCIconAsNu mber &gt;  0) and ($V arTOCIconA sNumber &l t; 43)">   451           <x sl:when te st="($VarT OCIconAsNu mber &gt;  0) and ($V arTOCIconA sNumber &l t; 43)">
449            < xsl:value- of select= "$ParamInd ent" /><xs l:text>         </xsl :text>   452            < xsl:value- of select= "$ParamInd ent" /><xs l:text>         </xsl :text>
450            < html:param  name="Ima geNumber"  value="{$V arTOCIconT ext}" />   453            < html:param  name="Ima geNumber"  value="{$V arTOCIconT ext}" />
451            < xsl:call-t emplate na me="NewLin e" />   454            < xsl:call-t emplate na me="NewLin e" />
452           </ xsl:when>   455           </ xsl:when>
453     456  
454           <x sl:otherwi se>   457           <x sl:otherwi se>
455            < xsl:variab le name="V arWarningI nvalidTOCI con" selec t="wwlog:W arning(con cat('Inval id TOCIcon  value: ',  $VarTOCIc onText, ':  Ignoring  marker.')) " />   458            < xsl:variab le name="V arWarningI nvalidTOCI con" selec t="wwlog:W arning(con cat('Inval id TOCIcon  value: ',  $VarTOCIc onText, ':  Ignoring  marker.')) " />
456           </ xsl:otherw ise>   459           </ xsl:otherw ise>
457          </x sl:choose>   460          </x sl:choose>
458         </xs l:if>   461         </xs l:if>
459        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>      < /xsl:text>   462        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>      < /xsl:text>
460        </htm l:object>   463        </htm l:object>
461        <xsl: call-templ ate name=" NewLine" / >   464        <xsl: call-templ ate name=" NewLine" / >
462     465  
463        <xsl: variable n ame="VarIn dent">   466        <xsl: variable n ame="VarIn dent">
464         <xsl :value-of  select="$P aramIndent " />   467         <xsl :value-of  select="$P aramIndent " />
465         <xsl :text>  </ xsl:text>   468         <xsl :text>  </ xsl:text>
466        </xsl :variable>   469        </xsl :variable>
467     470  
468        <xsl: call-templ ate name=" Entries">   471        <xsl: call-templ ate name=" Entries">
469         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" />   472         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" />
470         <xsl :with-para m name="Pa ramParent"  select="$ VarEntry"  />   473         <xsl :with-para m name="Pa ramParent"  select="$ VarEntry"  />
471         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  />   474         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  />
472         <xsl :with-para m name="Pa ramIndent"  select="$ VarIndent"  />   475         <xsl :with-para m name="Pa ramIndent"  select="$ VarIndent"  />
473        </xsl :call-temp late>   476        </xsl :call-temp late>
474       </xsl: for-each>   477       </xsl: for-each>
475      <xsl:va lue-of sel ect="$Para mIndent" / >   478      <xsl:va lue-of sel ect="$Para mIndent" / >
476      </html: ul>   479      </html: ul>
477      <xsl:ca ll-templat e name="Ne wLine" />   480      <xsl:ca ll-templat e name="Ne wLine" />
478     </xsl:fo r-each>   481     </xsl:fo r-each>
479    </xsl:tem plate>   482    </xsl:tem plate>
480     483  
481     484  
482    <xsl:temp late name= "Paragraph ">   485    <xsl:temp late name= "Paragraph ">
483     <xsl:par am name="P aramParagr aph" />   486     <xsl:par am name="P aramParagr aph" />
484     487  
485     <xsl:var iable name ="VarText" >   488     <xsl:var iable name ="VarText" >
486      <xsl:fo r-each sel ect="$Para mParagraph /wwdoc:Num ber/wwdoc: Text | $Pa ramParagra ph/wwdoc:T extRun/wwd oc:Text">   489      <xsl:fo r-each sel ect="$Para mParagraph /wwdoc:Num ber/wwdoc: Text | $Pa ramParagra ph/wwdoc:T extRun/wwd oc:Text">
487       <xsl:v alue-of se lect="@val ue" />   490       <xsl:v alue-of se lect="@val ue" />
488      </xsl:f or-each>   491      </xsl:f or-each>
489     </xsl:va riable>   492     </xsl:va riable>
490     <xsl:val ue-of sele ct="normal ize-space( $VarText)"  />   493     <xsl:val ue-of sele ct="normal ize-space( $VarText)"  />
491    </xsl:tem plate>   494    </xsl:tem plate>
492     495  
493     496  
494    <xsl:temp late name= "MergeTabl eOfContent s">   497    <xsl:temp late name= "MergeTabl eOfContent s">
495     <xsl:par am name="P aramMergeS ettings" / >   498     <xsl:par am name="P aramMergeS ettings" / >
496     <xsl:par am name="P aramPath"  />   499     <xsl:par am name="P aramPath"  />
497     500  
498     <xsl:cal l-template  name="New Line" />   501     <xsl:cal l-template  name="New Line" />
499     502  
500     <xsl:val ue-of sele ct="'    ' " />   503     <xsl:val ue-of sele ct="'    ' " />
501     <html:ul >   504     <html:ul >
502     <xsl:cal l-template  name="New Line" />   505     <xsl:cal l-template  name="New Line" />
503     506  
504      <xsl:ap ply-templa tes select ="$ParamMe rgeSetting s/wwprojec t:*" mode= "wwmode:me rge">   507      <xsl:ap ply-templa tes select ="$ParamMe rgeSetting s/wwprojec t:*" mode= "wwmode:me rge">
505       <xsl:w ith-param  name="Para mPath" sel ect="$Para mPath" />   508       <xsl:w ith-param  name="Para mPath" sel ect="$Para mPath" />
506       <xsl:w ith-param  name="Para mIndent" s elect="'       '" />   509       <xsl:w ith-param  name="Para mIndent" s elect="'       '" />
507      </xsl:a pply-templ ates>   510      </xsl:a pply-templ ates>
508     511  
509     <xsl:val ue-of sele ct="'    ' " />   512     <xsl:val ue-of sele ct="'    ' " />
510     </html:u l>   513     </html:u l>
511     <xsl:cal l-template  name="New Line" />   514     <xsl:cal l-template  name="New Line" />
512     515  
513     <xsl:tex t>  </xsl: text>   516     <xsl:tex t>  </xsl: text>
514    </xsl:tem plate>   517    </xsl:tem plate>
515     518  
516     519  
517    <xsl:temp late match ="wwprojec t:TOC" mod e="wwmode: merge">   520    <xsl:temp late match ="wwprojec t:TOC" mod e="wwmode: merge">
518     <xsl:par am name="P aramPath"  />   521     <xsl:par am name="P aramPath"  />
519     <xsl:par am name="P aramIndent " />   522     <xsl:par am name="P aramIndent " />
520     <xsl:par am name="P aramTOC" s elect="."  />   523     <xsl:par am name="P aramTOC" s elect="."  />
521     524  
522     <xsl:val ue-of sele ct="$Param Indent" />   525     <xsl:val ue-of sele ct="$Param Indent" />
523     <wwexsld oc:LessTha n />li<wwe xsldoc:Gre aterThan / >   526     <wwexsld oc:LessTha n />li<wwe xsldoc:Gre aterThan / >
524     <html:ob ject type= "text/site map">   527     <html:ob ject type= "text/site map">
525     <xsl:cal l-template  name="New Line" />   528     <xsl:cal l-template  name="New Line" />
526     529  
527      <xsl:va lue-of sel ect="$Para mIndent" / ><xsl:text >      </x sl:text>   530      <xsl:va lue-of sel ect="$Para mIndent" / ><xsl:text >      </x sl:text>
528      <html:p aram name= "Name" val ue="{$Para mTOC/@Name }" />   531      <html:p aram name= "Name" val ue="{$Para mTOC/@Name }" />
529      <xsl:ca ll-templat e name="Ne wLine" />   532      <xsl:ca ll-templat e name="Ne wLine" />
530     533  
531     <xsl:val ue-of sele ct="$Param Indent" /> <xsl:text>     </xsl: text>   534     <xsl:val ue-of sele ct="$Param Indent" /> <xsl:text>     </xsl: text>
532     </html:o bject>   535     </html:o bject>
533     <xsl:cal l-template  name="New Line" />   536     <xsl:cal l-template  name="New Line" />
534     537  
535     <xsl:val ue-of sele ct="$Param Indent" />   538     <xsl:val ue-of sele ct="$Param Indent" />
536     <html:ul >   539     <html:ul >
537      <xsl:va riable nam e="VarInde nt">   540      <xsl:va riable nam e="VarInde nt">
538       <xsl:v alue-of se lect="$Par amIndent"  />   541       <xsl:v alue-of se lect="$Par amIndent"  />
539       <xsl:t ext>  </xs l:text>   542       <xsl:t ext>  </xs l:text>
540      </xsl:v ariable>   543      </xsl:v ariable>
541     544  
542      <xsl:ca ll-templat e name="Ne wLine" />   545      <xsl:ca ll-templat e name="Ne wLine" />
543       <xsl:a pply-templ ates mode= "wwmode:me rge">   546       <xsl:a pply-templ ates mode= "wwmode:me rge">
544        <xsl: with-param  name="Par amPath" se lect="$Par amPath" />   547        <xsl: with-param  name="Par amPath" se lect="$Par amPath" />
545        <xsl: with-param  name="Par amIndent"  select="$V arIndent"  />   548        <xsl: with-param  name="Par amIndent"  select="$V arIndent"  />
546       </xsl: apply-temp lates>   549       </xsl: apply-temp lates>
547     550  
548     <xsl:val ue-of sele ct="$Param Indent" />   551     <xsl:val ue-of sele ct="$Param Indent" />
549     </html:u l>   552     </html:u l>
550     <xsl:cal l-template  name="New Line" />   553     <xsl:cal l-template  name="New Line" />
551    </xsl:tem plate>   554    </xsl:tem plate>
552     555  
553     556  
554    <xsl:temp late match ="wwprojec t:MergeGro up" mode=" wwmode:mer ge">   557    <xsl:temp late match ="wwprojec t:MergeGro up" mode=" wwmode:mer ge">
555     <xsl:par am name="P aramPath"  />   558     <xsl:par am name="P aramPath"  />
556     <xsl:par am name="P aramIndent " />   559     <xsl:par am name="P aramIndent " />
557     <xsl:par am name="P aramMergeG roup" sele ct="." />   560     <xsl:par am name="P aramMergeG roup" sele ct="." />
558     561  
559     <xsl:for -each sele ct="$Globa lProject[1 ]">   562     <xsl:for -each sele ct="$Globa lProject[1 ]">
560      <xsl:va riable nam e="VarGrou pName" sel ect="wwpro jext:GetGr oupName($P aramMergeG roup/@Grou pID)" />   563      <xsl:va riable nam e="VarGrou pName" sel ect="wwpro jext:GetGr oupName($P aramMergeG roup/@Grou pID)" />
561     564  
562      <xsl:va riable nam e="VarTitl e">   565      <xsl:va riable nam e="VarTitl e">
563       <xsl:c hoose>   566       <xsl:c hoose>
564        <xsl: when test= "string-le ngth($Para mMergeGrou p/@Title)  &gt; 0">   567        <xsl: when test= "string-le ngth($Para mMergeGrou p/@Title)  &gt; 0">
565         <xsl :value-of  select="$P aramMergeG roup/@Titl e" />   568         <xsl :value-of  select="$P aramMergeG roup/@Titl e" />
566        </xsl :when>   569        </xsl :when>
567     570  
568        <xsl: otherwise>   571        <xsl: otherwise>
569         <xsl :value-of  select="$V arGroupNam e" />   572         <xsl :value-of  select="$V arGroupNam e" />
570        </xsl :otherwise >   573        </xsl :otherwise >
571       </xsl: choose>   574       </xsl: choose>
572      </xsl:v ariable>   575      </xsl:v ariable>
573     576  
574      <xsl:fo r-each sel ect="$Glob alProjectS plits[1]">   577      <xsl:fo r-each sel ect="$Glob alProjectS plits[1]">
575       <xsl:v ariable na me="VarCHM Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $ParamMerg eGroup/@Gr oupID, ':' , $Paramet erCHMSplit FileType)) [1]" />   578       <xsl:v ariable na me="VarCHM Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $ParamMerg eGroup/@Gr oupID, ':' , $Paramet erCHMSplit FileType)) [1]" />
576       <xsl:v ariable na me="VarTOC Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $ParamMerg eGroup/@Gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" />   579       <xsl:v ariable na me="VarTOC Split" sel ect="key(' wwsplits-f iles-by-gr oupid-type ', concat( $ParamMerg eGroup/@Gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" />
577       <xsl:v ariable na me="VarCHM RelativePa th" select ="wwfilesy stem:GetFi leName($Va rCHMSplit/ @path)" />   580       <xsl:v ariable na me="VarCHM RelativePa th" select ="wwfilesy stem:GetFi leName($Va rCHMSplit/ @path)" />
578       <xsl:v ariable na me="VarGro upOutputDi rectoryPat h" select= "wwfilesys tem:Combin e(wwprojex t:GetTarge tOutputDir ectoryPath (), $VarGr oupName, ' dummy.comp onent')" / >   581       <xsl:v ariable na me="VarGro upOutputDi rectoryPat h" select= "wwfilesys tem:Combin e(wwprojex t:GetTarge tOutputDir ectoryPath (), $VarGr oupName, ' dummy.comp onent')" / >
579       <xsl:v ariable na me="VarTOC RelativePa th" select ="wwfilesy stem:GetRe lativeTo($ VarTOCSpli t/@path, $ VarGroupOu tputDirect oryPath)"  />   582       <xsl:v ariable na me="VarTOC RelativePa th" select ="wwfilesy stem:GetRe lativeTo($ VarTOCSpli t/@path, $ VarGroupOu tputDirect oryPath)"  />
580     583  
581       <xsl:v ariable na me="VarTOC Reference"  select="c oncat($Var CHMRelativ ePath, ':: /', $VarTO CRelativeP ath)" />   584       <xsl:v ariable na me="VarTOC Reference"  select="c oncat($Var CHMRelativ ePath, ':: /', $VarTO CRelativeP ath)" />
582     585  
583       <xsl:v alue-of se lect="$Par amIndent"  />   586       <xsl:v alue-of se lect="$Par amIndent"  />
584       <wwexs ldoc:LessT han />li<w wexsldoc:G reaterThan  />   587       <wwexs ldoc:LessT han />li<w wexsldoc:G reaterThan  />
585       <html: object typ e="text/si temap">   588       <html: object typ e="text/si temap">
586       <xsl:c all-templa te name="N ewLine" />   589       <xsl:c all-templa te name="N ewLine" />
587     590  
588        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>      < /xsl:text>   591        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>      < /xsl:text>
589        <html :param nam e="Name" v alue="{$Va rTitle}" / >   592        <html :param nam e="Name" v alue="{$Va rTitle}" / >
590        <xsl: call-templ ate name=" NewLine" / >   593        <xsl: call-templ ate name=" NewLine" / >
591     594  
592       <xsl:v alue-of se lect="$Par amIndent"  /><xsl:tex t>    </xs l:text>   595       <xsl:v alue-of se lect="$Par amIndent"  /><xsl:tex t>    </xs l:text>
593       </html :object>   596       </html :object>
594       <xsl:c all-templa te name="N ewLine" />   597       <xsl:c all-templa te name="N ewLine" />
595     598  
596       <xsl:v alue-of se lect="$Par amIndent"  /><xsl:tex t>    </xs l:text>   599       <xsl:v alue-of se lect="$Par amIndent"  /><xsl:tex t>    </xs l:text>
597       <html: object typ e="text/si temap">   600       <html: object typ e="text/si temap">
598       <xsl:c all-templa te name="N ewLine" />   601       <xsl:c all-templa te name="N ewLine" />
599     602  
600        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>      < /xsl:text>   603        <xsl: value-of s elect="$Pa ramIndent"  /><xsl:te xt>      < /xsl:text>
601        <html :param nam e="Merge"  value="{$V arTOCRefer ence}" />   604        <html :param nam e="Merge"  value="{$V arTOCRefer ence}" />
602        <xsl: call-templ ate name=" NewLine" / >   605        <xsl: call-templ ate name=" NewLine" / >
603     606  
604       <xsl:v alue-of se lect="$Par amIndent"  /><xsl:tex t>    </xs l:text>   607       <xsl:v alue-of se lect="$Par amIndent"  /><xsl:tex t>    </xs l:text>
605       </html :object>   608       </html :object>
606       <xsl:c all-templa te name="N ewLine" />   609       <xsl:c all-templa te name="N ewLine" />
607      </xsl:f or-each>   610      </xsl:f or-each>
608     </xsl:fo r-each>   611     </xsl:fo r-each>
609    </xsl:tem plate>   612    </xsl:tem plate>
610   </xsl:styl esheet>   613   </xsl:styl esheet>