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

11.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 htmlhelp_whatisthis.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 htmlhelp_whatisthis.xsl Fri Jun 27 16:58:12 2008 UTC

11.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 9 550
Changed 8 72
Inserted 0 0
Removed 0 0

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

11.4 Active regular expressions

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

11.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:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform"   2   <xsl:style sheet vers ion="1.0"  xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform"
3                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt"   3                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt"
4                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema"   4                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema"
5                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema"   5                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema"
6                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema"   6                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema"
7                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode"   7                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode"
8                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema"   8                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema"
9                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a"   9                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a"
10                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema"   10                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema"
11                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject"   11                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject"
12                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema"   12                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema"
13                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma"   13                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma"
14                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress"   14                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress"
15                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log"   15                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log"
16                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem"   16                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem"
17                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI"   17                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI"
18                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities"   18                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities"
19                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units"   19                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units"
20                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s"   20                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s"
21                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct"   21                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct"
22                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent"   22                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent"
23                                    exclude-re sult-prefi xes="xsl m sxsl wwspl its wwtoc  wwlinks ww mode wwfil es wwdoc w wbehaviors  wwproject  wwpage ww locale wwp rogress ww log wwfile system wwu ri wwstrin g wwunits  wwfilesext  wwprojext  wwexsldoc "   23                                    exclude-re sult-prefi xes="xsl m sxsl wwspl its wwtoc  wwlinks ww mode wwfil es wwdoc w wbehaviors  wwproject  wwpage ww locale wwp rogress ww log wwfile system wwu ri wwstrin g wwunits  wwfilesext  wwprojext  wwexsldoc "
24   >   24   >
25     25  
26    <xsl:para m name="Gl obalInput"  />   26    <xsl:para m name="Gl obalInput"  />
27    <xsl:para m name="Gl obalPipeli neName" />   27    <xsl:para m name="Gl obalPipeli neName" />
28    <xsl:para m name="Gl obalProjec t" />   28    <xsl:para m name="Gl obalProjec t" />
29    <xsl:para m name="Gl obalFiles"  />   29    <xsl:para m name="Gl obalFiles"  />
30    <xsl:para m name="Pa rameterDep endsType"  />   30    <xsl:para m name="Pa rameterDep endsType"  />
31    <xsl:para m name="Pa rameterLoc aleType" / >   31    <xsl:para m name="Pa rameterLoc aleType" / >
32    <xsl:para m name="Pa rameterSpl itsType" / >   32    <xsl:para m name="Pa rameterSpl itsType" / >
33    <xsl:para m name="Pa rameterBeh aviorsType " />   33    <xsl:para m name="Pa rameterBeh aviorsType " />
34    <xsl:para m name="Pa rameterTex tType" />   34    <xsl:para m name="Pa rameterTex tType" />
35    <xsl:para m name="Pa rameterHea derType" / >   35    <xsl:para m name="Pa rameterHea derType" / >
36    <xsl:para m name="Pa rameterWha tIsThisTex tFileType"  />   36    <xsl:para m name="Pa rameterWha tIsThisTex tFileType"  />
37    <xsl:para m name="Pa rameterWha tIsThisHea derFileTyp e" />   37    <xsl:para m name="Pa rameterWha tIsThisHea derFileTyp e" />
38     38  
39     39  
40    <xsl:outp ut method= "xml" inde nt="yes" e ncoding="U TF-8" />   40    <xsl:outp ut method= "xml" inde nt="yes" e ncoding="U TF-8" />
41    <xsl:stri p-space el ements="*"  />   41    <xsl:stri p-space el ements="*"  />
42     42  
43     43  
44    <xsl:key  name="wwfi les-files- by-type" m atch="wwfi les:File"  use="@type " />   44    <xsl:key  name="wwfi les-files- by-type" m atch="wwfi les:File"  use="@type " />
45    <xsl:key  name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID,  ':', @type )" />   45    <xsl:key  name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID,  ':', @type )" />
46    <xsl:key  name="wwfi les-files- by-documen tid" match ="wwfiles: File" use= "@document ID" />   46    <xsl:key  name="wwfi les-files- by-documen tid" match ="wwfiles: File" use= "@document ID" />
47    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" />   47    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" />
48    <xsl:key  name="wwdo c-paragrap hs-by-id"  match="wwd oc:Paragra ph" use="@ id" />   48    <xsl:key  name="wwdo c-paragrap hs-by-id"  match="wwd oc:Paragra ph" use="@ id" />
49    <xsl:key  name="wwbe haviors-ma rkers-by-b ehavior" m atch="wwbe haviors:Ma rker" use= "@behavior " />   49    <xsl:key  name="wwbe haviors-ma rkers-by-b ehavior" m atch="wwbe haviors:Ma rker" use= "@behavior " />
50    <xsl:key  name="wwbe haviors-pa ragraphs-b y-id" matc h="wwbehav iors:Parag raph" use= "@id" />   50    <xsl:key  name="wwbe haviors-pa ragraphs-b y-id" matc h="wwbehav iors:Parag raph" use= "@id" />
51     51  
52     52  
53    <xsl:vari able name= "GlobalAct ionChecksu m">   53    <xsl:vari able name= "GlobalAct ionChecksu m">
54     <xsl:var iable name ="VarTrans formChecks ums">   54     <xsl:var iable name ="VarTrans formChecks ums">
55      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />   55      <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'),  ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))"  />
56     </xsl:va riable>   56     </xsl:va riable>
57     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />   57     <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)"  />
58    </xsl:var iable>   58    </xsl:var iable>
59     59  
60     60  
61    <!-- Loca le -->   61    <!-- Loca le -->
62    <!--         -->   62    <!--         -->
63    <xsl:vari able name= "GlobalLoc alePath">   63    <xsl:vari able name= "GlobalLoc alePath">
64     <xsl:for -each sele ct="$Globa lFiles[1]" >   64     <xsl:for -each sele ct="$Globa lFiles[1]" >
65      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />   65      <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" />
66     </xsl:fo r-each>   66     </xsl:fo r-each>
67    </xsl:var iable>   67    </xsl:var iable>
68    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />   68    <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" />
69     69  
70     70  
71    <xsl:temp late match ="/">   71    <xsl:temp late match ="/">
72     <wwfiles :Files ver sion="1.0" >   72     <wwfiles :Files ver sion="1.0" >
73     73  
74      <!-- It erate grou ps -->   74      <!-- It erate grou ps -->
75      <!--                  -->   75      <!--                  -->
76      <xsl:va riable nam e="VarProj ectGroups"  select="$ GlobalProj ect/wwproj ect:Projec t/wwprojec t:Groups/w wproject:G roup" />   76      <xsl:va riable nam e="VarProj ectGroups"  select="$ GlobalProj ect/wwproj ect:Projec t/wwprojec t:Groups/w wproject:G roup" />
77      <xsl:va lue-of sel ect="wwpro gress:Star t(count($V arProjectG roups))" / >   77      <xsl:va lue-of sel ect="wwpro gress:Star t(count($V arProjectG roups))" / >
78      <xsl:fo r-each sel ect="$VarP rojectGrou ps">   78      <xsl:fo r-each sel ect="$VarP rojectGrou ps">
79       <xsl:v ariable na me="VarPro jectGroup"  select=". " />   79       <xsl:v ariable na me="VarPro jectGroup"  select=". " />
80       <xsl:v alue-of se lect="wwpr ogress:Sta rt(1)" />   80       <xsl:v alue-of se lect="wwpr ogress:Sta rt(1)" />
81     81  
82       <!-- I terate fil es -->   82       <!-- I terate fil es -->
83       <!--                 -->   83       <!--                 -->
84       <xsl:f or-each se lect="$Glo balFiles[1 ]">   84       <xsl:f or-each se lect="$Glo balFiles[1 ]">
85        <xsl: variable n ame="VarDe pendsNodes " select=" key('wwfil es-files-b y-groupid- type', con cat($VarPr ojectGroup /@GroupID,  ':', $Par ameterDepe ndsType))"  />   85        <xsl: variable n ame="VarDe pendsNodes " select=" key('wwfil es-files-b y-groupid- type', con cat($VarPr ojectGroup /@GroupID,  ':', $Par ameterDepe ndsType))"  />
86        <xsl: variable n ame="VarFi lesSplits"  select="k ey('wwfile s-files-by -groupid-t ype', conc at($VarPro jectGroup/ @GroupID,  ':', $Para meterSplit sType))" / >   86        <xsl: variable n ame="VarFi lesSplits"  select="k ey('wwfile s-files-by -groupid-t ype', conc at($VarPro jectGroup/ @GroupID,  ':', $Para meterSplit sType))" / >
87     87  
88        <xsl: variable n ame="VarSp lits" sele ct="wwexsl doc:LoadXM LWithoutRe solver($Va rFilesSpli ts/@path)"  />   88        <xsl: variable n ame="VarSp lits" sele ct="wwexsl doc:LoadXM LWithoutRe solver($Va rFilesSpli ts/@path)"  />
89        <xsl: for-each s elect="$Va rSplits[1] ">   89        <xsl: for-each s elect="$Va rSplits[1] ">
90     90  
91         <xsl :variable  name="VarT extPath" s elect="key ('wwsplits -files-by- groupid-ty pe', conca t($VarProj ectGroup/@ GroupID, ' :', $Param eterWhatIs ThisTextFi leType))/@ path" />   91         <xsl :variable  name="VarT extPath" s elect="key ('wwsplits -files-by- groupid-ty pe', conca t($VarProj ectGroup/@ GroupID, ' :', $Param eterWhatIs ThisTextFi leType))/@ path" />
92         <xsl :variable  name="VarH eaderPath"  select="k ey('wwspli ts-files-b y-groupid- type', con cat($VarPr ojectGroup /@GroupID,  ':', $Par ameterWhat IsThisHead erFileType ))/@path"  />   92         <xsl :variable  name="VarH eaderPath"  select="k ey('wwspli ts-files-b y-groupid- type', con cat($VarPr ojectGroup /@GroupID,  ':', $Par ameterWhat IsThisHead erFileType ))/@path"  />
93     93  
94         <xsl :if test=" (string-le ngth($VarT extPath) & gt; 0)  and  (string-l ength($Var HeaderPath ) &gt; 0)" >   94         <xsl :if test=" (string-le ngth($VarT extPath) & gt; 0)  or  (string-l ength($Var HeaderPath ) &gt; 0)" >
95          <!- - Up-to-da te? -->   95          <!- - Up-to-da te? -->
96          <!- -              -->   96          <!- -              -->
97          <xs l:variable  name="Var TextUpToDa te" select ="wwfilese xt:UpToDat e($VarText Path, conc at($Global Project/ww project:Pr oject/@Cha ngeID, ':' , count($V arDependsN odes)), $V arProjectG roup/@Grou pID, '', $ GlobalActi onChecksum )" />   97          <xs l:variable  name="Var TextUpToDa te" select ="wwfilese xt:UpToDat e($VarText Path, conc at($Global Project/ww project:Pr oject/@Cha ngeID, ':' , count($V arDependsN odes)), $V arProjectG roup/@Grou pID, '', $ GlobalActi onChecksum )" />
98          <xs l:variable  name="Var HeaderUpTo Date" sele ct="wwfile sext:UpToD ate($VarHe aderPath,  concat($Gl obalProjec t/wwprojec t:Project/ @ChangeID,  ':', coun t($VarDepe ndsNodes)) , $VarProj ectGroup/@ GroupID, ' ', $Global ActionChec ksum)" />   98          <xs l:variable  name="Var HeaderUpTo Date" sele ct="wwfile sext:UpToD ate($VarHe aderPath,  concat($Gl obalProjec t/wwprojec t:Project/ @ChangeID,  ':', coun t($VarDepe ndsNodes)) , $VarProj ectGroup/@ GroupID, ' ', $Global ActionChec ksum)" />
99          <xs l:if test= "
not($VarTe xtUpToDate )
 or 
not($VarHe aderUpToDa te)
">
  99          <xs l:if test= " ((string-l ength($Var TextPath)  &gt; 0) an not($VarTe xtUpToDate ) )  or  ((string-l ength($Var HeaderPath ) &gt; 0)  and  not($VarHe aderUpToDa te) ) ">
100           <! -- Get Ent ries -->   100           <! -- Get Ent ries -->
101           <! --              -->   101           <! --              -->
102           <x sl:variabl e name="Va rWhatIsThi sAsXML">   102           <x sl:variabl e name="Va rWhatIsThi sAsXML">
103            < xsl:for-ea ch select= "$VarDepen dsNodes">   103            < xsl:for-ea ch select= "$VarDepen dsNodes">
104              <xsl:varia ble name=" VarFilesDo cument" se lect="." / >   104              <xsl:varia ble name=" VarFilesDo cument" se lect="." / >
105     105  
106              <xsl:call- template n ame="WhatI sThisText" >   106              <xsl:call- template n ame="WhatI sThisText" >
107               <xsl:with -param nam e="ParamFi lesDocumen t" select= "$VarFiles Document"  />   107               <xsl:with -param nam e="ParamFi lesDocumen t" select= "$VarFiles Document"  />
108              </xsl:call -template>   108              </xsl:call -template>
109            < /xsl:for-e ach>   109            < /xsl:for-e ach>
110           </ xsl:variab le>   110           </ xsl:variab le>
111           <x sl:variabl e name="Va rWhatIsThi sNodes" se lect="msxs l:node-set ($VarWhatI sThisAsXML )" />   111           <x sl:variabl e name="Va rWhatIsThi sNodes" se lect="msxs l:node-set ($VarWhatI sThisAsXML )" />
112     112  
113           <! -- Text fi le -->   113           <! -- Text fi le -->
114           <! --            -->   114           <! --            -->
115           <x sl:if test ="
n o t
($VarText UpToD at e )
">
  115           <x sl:if test =" stri n g-leng t h ($VarText P at h )  &gt; 0 ">
116            < xsl: var i able   nam e
="
Var WhatIsThis Text AsXML ">
  116            < xsl:
i f   t e st =" not($ Var
Text UpToDate) ">
117              <xsl: c a ll-templ a t e name=" W r ite WhatIsThis Text
">
  117              <xsl: v a ri a bl e name=" Va r
WhatIsThis Text AsXML ">
118               <xsl: with -
p
a ram  name=" Pa r amNodes" s elec t ="$Var WhatIsThis Nod e s "  / >
  118               <xsl: call - tem p l a te  name=" W r i t e WhatIsThis T e xt "
>
119             
</xsl:call -template>
  119                <xsl:wit h-param na me="ParamN odes" sele ct="$VarWh atIsThisNo des" />
120            
</xsl:vari able>
  120                </xsl:call -template>
121            
<xsl:varia ble name=" VarWhatIsT hisText" s elect="msx sl:node-se t($VarWhat IsThisText AsXML)" />
  121               </xsl:vari able>
122            
<xsl:varia ble name=" VarEncodin g" select= "wwunits:E ncodingFro mCodePage( $GlobalLoc ale/wwloca le:Locale/ @codepage) " />
  122               <xsl:varia ble name=" VarWhatIsT hisText" s elect="msx sl:node-se t($VarWhat IsThisText AsXML)" />
123            
<xsl:varia ble name=" VarWriteWh atIsThisTe xt" select ="wwexsldo c:Document ($VarWhatI sThisText,  $VarTextP ath, $VarE ncoding, ' text')" />
  123               <xsl:varia ble name=" VarEncodin g" select= "wwunits:E ncodingFro mCodePage( $GlobalLoc ale/wwloca le:Locale/ @codepage) " />
        124               <xsl:varia ble name=" VarWriteWh atIsThisTe xt" select ="wwexsldo c:Document ($VarWhatI sThisText,  $VarTextP ath, $VarE ncoding, ' text')" />
        125            < /xsl:if>
124           </ xsl:if>   126           </ xsl:if>
125     127  
126           <! -- Header  file -->   128           <! -- Header  file -->
127           <! --              -->   129           <! --              -->
128           <x sl:if test ="
n o t
($VarHeade r UpToD at e )
">
  130           <x sl:if test =" stri n g-leng t h ($VarHeade r P at h )  &gt; 0 ">
129            < xsl: var i able   nam e
="
Var WhatIsThis Header AsXML ">
  131            < xsl:
i f   t e st =" not($ Var
Header UpToDate) ">
130              <xsl: c a ll-templ a t e name=" W r ite WhatIsThis Header
">
  132              <xsl: v a ri a bl e name=" Va r
WhatIsThis Header AsXML ">
131               <xsl: with -
p
a ram  name=" Pa r amNodes" s elec t ="$Var WhatIsThis No de s "  / >
  133               <xsl: call - tem p l a te  name=" W r i t e WhatIsThis Hea de r "
>
132             
</xsl:call -template>
  134                <xsl:wit h-param na me="ParamN odes" sele ct="$VarWh atIsThisNo des" />
133            
</xsl:vari able>
  135                </xsl:call -template>
134            
<xsl:varia ble name=" VarWhatIsT hisHeader"  select="m sxsl:node- set($VarWh atIsThisHe aderAsXML) " />
  136               </xsl:vari able>
135            
<xsl:varia ble name=" VarEncodin g" select= "wwunits:E ncodingFro mCodePage( $GlobalLoc ale/wwloca le:Locale/ @codepage) " />
  137               <xsl:varia ble name=" VarWhatIsT hisHeader"  select="m sxsl:node- set($VarWh atIsThisHe aderAsXML) " />
136            
<xsl:varia ble name=" VarWriterW hatIsThisH eader" sel ect="wwexs ldoc:Docum ent($VarWh atIsThisHe ader, $Var HeaderPath , $VarEnco ding, 'tex t')" />
  138               <xsl:varia ble name=" VarEncodin g" select= "wwunits:E ncodingFro mCodePage( $GlobalLoc ale/wwloca le:Locale/ @codepage) " />
        139               <xsl:varia ble name=" VarWriterW hatIsThisH eader" sel ect="wwexs ldoc:Docum ent($VarWh atIsThisHe ader, $Var HeaderPath , $VarEnco ding, 'tex t')" />
        140            < /xsl:if>
137           </ xsl:if>   141           </ xsl:if>
138          </x sl:if>   142          </x sl:if>
139     143  
140          <!- - Record t ext file - ->   144          <!- - Record t ext file - ->
141          <!- -                   - ->   145          <!- -                   - ->
142          
<wwfiles:F ile path=" {$VarTextP ath}" type ="{$Parame terTextTyp e}" checks um="{wwfil esystem:Ge tChecksum( $VarTextPa th)}" proj ectchecksu m="{concat ($GlobalPr oject/wwpr oject:Proj ect/@Chang eID, ':',  count($Var DependsNod es))}" gro upID="{$Va rProjectGr oup/@Group ID}" docum entID="" a ctioncheck sum="{$Glo balActionC hecksum}">
  146          <xs l:if test= "string-le ngth($VarT extPath) & gt; 0">
143           
<wwfiles:D epends pat h="{$Globa lLocalePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalLoc alePath)}"  groupID=" " document ID="" />
  147             <wwfiles:F ile path=" {$VarTextP ath}" type ="{$Parame terTextTyp e}" checks um="{wwfil esystem:Ge tChecksum( $VarTextPa th)}" proj ectchecksu m="{concat ($GlobalPr oject/wwpr oject:Proj ect/@Chang eID, ':',  count($Var DependsNod es))}" gro upID="{$Va rProjectGr oup/@Group ID}" docum entID="" a ctioncheck sum="{$Glo balActionC hecksum}">
        148              <wwfiles:D epends pat h="{$Globa lLocalePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalLoc alePath)}"  groupID=" " document ID="" />
144     149  
145           
<xsl:for-e ach select ="$VarDepe ndsNodes">
  150              <xsl:for-e ach select ="$VarDepe ndsNodes">
146            
<wwfiles:D epends pat h="{@path} " checksum ="{@checks um}" group ID="{@grou pID}" docu mentID="{@ documentID }" />
  151               <wwfiles:D epends pat h="{@path} " checksum ="{@checks um}" group ID="{@grou pID}" docu mentID="{@ documentID }" />
147           </ xs l
: for- e ach >
  152            < /xsl:for-e ach>
148          </ wwfile s
: F i le >
  153           </ wwfi l es : Fil e
>
        154          </ x s l :
i f >
149     155  
150          <!- - Record h eader file  -->   156          <!- - Record h eader file  -->
151          <!- -                      -->   157          <!- -                      -->
152          
<wwfiles:F ile path=" {$VarHeade rPath}" ty pe="{$Para meterHeade rType}" ch ecksum="{w wfilesyste m:GetCheck sum($VarHe aderPath)} " projectc hecksum="{ concat($Gl obalProjec t/wwprojec t:Project/ @ChangeID,  ':', coun t($VarDepe ndsNodes)) }" groupID ="{$VarPro jectGroup/ @GroupID}"  documentI D="" actio nchecksum= "{$GlobalA ctionCheck sum}">
  158          <xs l:if test= "string-le ngth($VarH eaderPath)  &gt; 0">
153           
<wwfiles:D epends pat h="{$Globa lLocalePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalLoc alePath)}"  groupID=" " document ID="" />
  159             <wwfiles:F ile path=" {$VarHeade rPath}" ty pe="{$Para meterHeade rType}" ch ecksum="{w wfilesyste m:GetCheck sum($VarHe aderPath)} " projectc hecksum="{ concat($Gl obalProjec t/wwprojec t:Project/ @ChangeID,  ':', coun t($VarDepe ndsNodes)) }" groupID ="{$VarPro jectGroup/ @GroupID}"  documentI D="" actio nchecksum= "{$GlobalA ctionCheck sum}">
        160              <wwfiles:D epends pat h="{$Globa lLocalePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalLoc alePath)}"  groupID=" " document ID="" />
154     161  
155           
<xsl:for-e ach select ="$VarDepe ndsNodes">
  162              <xsl:for-e ach select ="$VarDepe ndsNodes">
156            
<wwfiles:D epends pat h="{@path} " checksum ="{@checks um}" group ID="{@grou pID}" docu mentID="{@ documentID }" />
  163               <wwfiles:D epends pat h="{@path} " checksum ="{@checks um}" group ID="{@grou pID}" docu mentID="{@ documentID }" />
157           </ xs l
: for- e ach >
  164            < /xsl:for-e ach>
158          </ wwfile s
: F i le >
  165           </ wwfi l es : Fil e
>
        166          </ x s l :
i f >
159         </xs l:if>   167         </xs l:if>
160        </xsl :for-each>   168        </xsl :for-each>
161       </xsl: for-each>   169       </xsl: for-each>
162       <xsl:v alue-of se lect="wwpr ogress:End ()" />   170       <xsl:v alue-of se lect="wwpr ogress:End ()" />
163      </xsl:f or-each>   171      </xsl:f or-each>
164      <xsl:va lue-of sel ect="wwpro gress:End( )" />   172      <xsl:va lue-of sel ect="wwpro gress:End( )" />
165     </wwfile s:Files>   173     </wwfile s:Files>
166    </xsl:tem plate>   174    </xsl:tem plate>
167     175  
168    <xsl:temp late name= "WhatIsThi sText">   176    <xsl:temp late name= "WhatIsThi sText">
169     <xsl:par am name="P aramFilesD ocument" / >   177     <xsl:par am name="P aramFilesD ocument" / >
170     178  
171     <xsl:for -each sele ct="$Globa lFiles[1]" >   179     <xsl:for -each sele ct="$Globa lFiles[1]" >
172      <xsl:va riable nam e="VarFile sBehaviors " select=" key('wwfil es-files-b y-document id', $Para mFilesDocu ment/@docu mentID)[@t ype = $Par ameterBeha viorsType] " />   180      <xsl:va riable nam e="VarFile sBehaviors " select=" key('wwfil es-files-b y-document id', $Para mFilesDocu ment/@docu mentID)[@t ype = $Par ameterBeha viorsType] " />
173     181  
174      <!-- Lo ad behavio rs -->   182      <!-- Lo ad behavio rs -->
175      <!--                  -->   183      <!--                  -->
176      <xsl:va riable nam e="VarBeha viors" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arFilesBeh aviors/@pa th)" />   184      <xsl:va riable nam e="VarBeha viors" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arFilesBeh aviors/@pa th)" />
177     185  
178      <!-- Fi nd paragra phs to pro cess -->   186      <!-- Fi nd paragra phs to pro cess -->
179      <!--                               -->   187      <!--                               -->
180      <xsl:va riable nam e="VarBeha viorsParag raphsAsXML ">   188      <xsl:va riable nam e="VarBeha viorsParag raphsAsXML ">
181       <xsl:f or-each se lect="$Var Behaviors[ 1]">   189       <xsl:f or-each se lect="$Var Behaviors[ 1]">
182        <xsl: variable n ame="VarWh atIsThisID Markers" s elect="key ('wwbehavi ors-marker s-by-behav ior', 'wha tis-this-i d')" />   190        <xsl: variable n ame="VarWh atIsThisID Markers" s elect="key ('wwbehavi ors-marker s-by-behav ior', 'wha tis-this-i d')" />
183     191  
184        <xsl: for-each s elect="$Va rWhatIsThi sIDMarkers ">   192        <xsl: for-each s elect="$Va rWhatIsThi sIDMarkers ">
185         <xsl :variable  name="VarW hatIsThisI DMarker" s elect="."  />   193         <xsl :variable  name="VarW hatIsThisI DMarker" s elect="."  />
186     194  
187         <!--  Copy pare nt paragra ph -->   195         <!--  Copy pare nt paragra ph -->
188         <!--                          -->   196         <!--                          -->
189         <xsl :copy-of s elect="$Va rWhatIsThi sIDMarker/ .." />   197         <xsl :copy-of s elect="$Va rWhatIsThi sIDMarker/ .." />
190        </xsl :for-each>   198        </xsl :for-each>
191       </xsl: for-each>   199       </xsl: for-each>
192      </xsl:v ariable>   200      </xsl:v ariable>
193      <xsl:va riable nam e="VarBeha viorsParag raphs" sel ect="msxsl :node-set( $VarBehavi orsParagra phsAsXML)/ wwbehavior s:Paragrap h" />   201      <xsl:va riable nam e="VarBeha viorsParag raphs" sel ect="msxsl :node-set( $VarBehavi orsParagra phsAsXML)/ wwbehavior s:Paragrap h" />
194     202  
195      <!-- An ything to  process? - ->   203      <!-- An ything to  process? - ->
196      <!--                        - ->   204      <!--                        - ->
197      <xsl:fo r-each sel ect="$VarB ehaviorsPa ragraphs[1 ]">   205      <xsl:fo r-each sel ect="$VarB ehaviorsPa ragraphs[1 ]">
198       <!-- D etermine u nique para graphs to  process -- >   206       <!-- D etermine u nique para graphs to  process -- >
199       <!--                                            -- >   207       <!--                                            -- >
200       <xsl:v ariable na me="VarUni queBehavio rsParagrap hsAsXML">   208       <xsl:v ariable na me="VarUni queBehavio rsParagrap hsAsXML">
201        <xsl: for-each s elect="$Va rBehaviors Paragraphs ">   209        <xsl: for-each s elect="$Va rBehaviors Paragraphs ">
202         <xsl :variable  name="VarP aragraphTo Process" s elect="."  />   210         <xsl :variable  name="VarP aragraphTo Process" s elect="."  />
203     211  
204         <xsl :variable  name="VarB ehaviorsPa ragraphsWi thID" sele ct="key('w wbehaviors -paragraph s-by-id',  $VarParagr aphToProce ss/@id)" / >   212         <xsl :variable  name="VarB ehaviorsPa ragraphsWi thID" sele ct="key('w wbehaviors -paragraph s-by-id',  $VarParagr aphToProce ss/@id)" / >
205         <xsl :if test=" count($Var ParagraphT oProcess |  $VarBehav iorsParagr aphsWithID [1]) = 1">   213         <xsl :if test=" count($Var ParagraphT oProcess |  $VarBehav iorsParagr aphsWithID [1]) = 1">
206          <xs l:copy-of  select="$V arParagrap hToProcess " />   214          <xs l:copy-of  select="$V arParagrap hToProcess " />
207         </xs l:if>   215         </xs l:if>
208        </xsl :for-each>   216        </xsl :for-each>
209       </xsl: variable>   217       </xsl: variable>
210       <xsl:v ariable na me="VarUni queBehavio rsParagrap hs" select ="msxsl:no de-set($Va rUniqueBeh aviorsPara graphsAsXM L)/wwbehav iors:Parag raph" />   218       <xsl:v ariable na me="VarUni queBehavio rsParagrap hs" select ="msxsl:no de-set($Va rUniqueBeh aviorsPara graphsAsXM L)/wwbehav iors:Parag raph" />
211     219  
212       <!-- L oad the do cument -->   220       <!-- L oad the do cument -->
213       <!--                     -->   221       <!--                     -->
214       <xsl:v ariable na me="VarDoc ument" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($P aramFilesD ocument/@p ath)" />   222       <xsl:v ariable na me="VarDoc ument" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($P aramFilesD ocument/@p ath)" />
215     223  
216       <xsl:f or-each se lect="$Var UniqueBeha viorsParag raphs">   224       <xsl:f or-each se lect="$Var UniqueBeha viorsParag raphs">
217        <xsl: variable n ame="VarBe haviorsPar agraph" se lect="." / >   225        <xsl: variable n ame="VarBe haviorsPar agraph" se lect="." / >
218     226  
219        <xsl: for-each s elect="$Va rDocument[ 1]">   227        <xsl: for-each s elect="$Va rDocument[ 1]">
220         <xsl :variable  name="VarP aragraph"  select="ke y('wwdoc-p aragraphs- by-id', $V arBehavior sParagraph /@id)" />   228         <xsl :variable  name="VarP aragraph"  select="ke y('wwdoc-p aragraphs- by-id', $V arBehavior sParagraph /@id)" />
221     229  
222         <xsl :variable  name="VarC ontextRule " select=" wwprojext: GetContext Rule('Para graph', $V arParagrap h/@stylena me, $Param FilesDocum ent/@docum entID, $Va rParagraph /@id)" />   230         <xsl :variable  name="VarC ontextRule " select=" wwprojext: GetContext Rule('Para graph', $V arParagrap h/@stylena me, $Param FilesDocum ent/@docum entID, $Va rParagraph /@id)" />
223     231  
224         <xsl :variable  name="VarW hatIsThisP aragraph"  select="$V arContextR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'wh atis-this' ]/@Value"  />   232         <xsl :variable  name="VarW hatIsThisP aragraph"  select="$V arContextR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'wh atis-this' ]/@Value"  />
225     233  
226         <xsl :if test=" contains($ VarWhatIsT hisParagra ph, 'defin e')">   234         <xsl :if test=" contains($ VarWhatIsT hisParagra ph, 'defin e')">
227          <!- - Determin e WhatIsTh isID -->   235          <!- - Determin e WhatIsTh isID -->
228          <!- -                          -->   236          <!- -                          -->
229          <xs l:variable  name="Var WhatIsThis ID">   237          <xs l:variable  name="Var WhatIsThis ID">
230           <x sl:variabl e name="Va rWhatIsThi sIDMarkers " select=" $VarBehavi orsParagra ph/wwbehav iors:Marke r[@behavio r = 'whati s-this-id' ]" />   238           <x sl:variabl e name="Va rWhatIsThi sIDMarkers " select=" $VarBehavi orsParagra ph/wwbehav iors:Marke r[@behavio r = 'whati s-this-id' ]" />
231     239  
232           <! -- Take th e last mar ker -->   240           <! -- Take th e last mar ker -->
233           <! --                        -->   241           <! --                        -->
234           <x sl:if test ="count($V arWhatIsTh isIDMarker s[1]) = 1" >   242           <x sl:if test ="count($V arWhatIsTh isIDMarker s[1]) = 1" >
235            < xsl:variab le name="V arWhatIsTh isIDMarker " select=" $VarWhatIs ThisIDMark ers[count( $VarWhatIs ThisIDMark ers)]" />   243            < xsl:variab le name="V arWhatIsTh isIDMarker " select=" $VarWhatIs ThisIDMark ers[count( $VarWhatIs ThisIDMark ers)]" />
236     244  
237            < xsl:for-ea ch select= "$VarWhatI sThisIDMar ker/wwdoc: Marker/wwd oc:TextRun /wwdoc:Tex t">   245            < xsl:for-ea ch select= "$VarWhatI sThisIDMar ker/wwdoc: Marker/wwd oc:TextRun /wwdoc:Tex t">
238              <xsl:value -of select ="@value"  />   246              <xsl:value -of select ="@value"  />
239            < /xsl:for-e ach>   247            < /xsl:for-e ach>
240           </ xsl:if>   248           </ xsl:if>
241          </x sl:variabl e>   249          </x sl:variabl e>
242     250  
243          <xs l:choose>   251          <xs l:choose>
244           <x sl:when te st="string -length($V arWhatIsTh isID) &gt;  0">   252           <x sl:when te st="string -length($V arWhatIsTh isID) &gt;  0">
245            < xsl:variab le name="V arParagrap hText">   253            < xsl:variab le name="V arParagrap hText">
246              <xsl:for-e ach select ="$VarPara graph/wwdo c:TextRun/ wwdoc:Text ">   254              <xsl:for-e ach select ="$VarPara graph/wwdo c:TextRun/ wwdoc:Text ">
247               <xsl:valu e-of selec t="@value"  />   255               <xsl:valu e-of selec t="@value"  />
248              </xsl:for- each>   256              </xsl:for- each>
249            < /xsl:varia ble>   257            < /xsl:varia ble>
250     258  
251            < wwpage:Ent ry topic=" {$VarWhatI sThisID}"  text="{$Va rParagraph Text}" />   259            < wwpage:Ent ry topic=" {$VarWhatI sThisID}"  text="{$Va rParagraph Text}" />
252           </ xsl:when>   260           </ xsl:when>
253     261  
254           <x sl:otherwi se>   262           <x sl:otherwi se>
255            < xsl:value- of select= "wwlog:War ning('Mark er validat ion failur e: Unable  to validat e WhatIsTh isID marke r.  Please  verify th is marker  exists in  the source  paragraph .')" />   263            < xsl:value- of select= "wwlog:War ning('Mark er validat ion failur e: Unable  to validat e WhatIsTh isID marke r.  Please  verify th is marker  exists in  the source  paragraph .')" />
256           </ xsl:otherw ise>   264           </ xsl:otherw ise>
257          </x sl:choose>   265          </x sl:choose>
258         </xs l:if>   266         </xs l:if>
259        </xsl :for-each>   267        </xsl :for-each>
260       </xsl: for-each>   268       </xsl: for-each>
261      </xsl:f or-each>   269      </xsl:f or-each>
262     </xsl:fo r-each>   270     </xsl:fo r-each>
263    </xsl:tem plate>   271    </xsl:tem plate>
264     272  
265     273  
266    <xsl:temp late name= "WriteWhat IsThisText ">   274    <xsl:temp late name= "WriteWhat IsThisText ">
267     <xsl:par am name="P aramNodes"  />   275     <xsl:par am name="P aramNodes"  />
268     276  
269     <xsl:for -each sele ct="$Param Nodes/wwpa ge:Entry">   277     <xsl:for -each sele ct="$Param Nodes/wwpa ge:Entry">
270      <xsl:va riable nam e="VarEntr y" select= "." />   278      <xsl:va riable nam e="VarEntr y" select= "." />
271     279  
272      <!-- Wr ap in text  element t o prevent  memory yo- yo -->   280      <!-- Wr ap in text  element t o prevent  memory yo- yo -->
273      <!--                                                   -->   281      <!--                                                   -->
274      <wwexsl doc:Text>   282      <wwexsl doc:Text>
275       <xsl:t ext>.topic  </xsl:tex t>   283       <xsl:t ext>.topic  </xsl:tex t>
276       <xsl:v alue-of se lect="$Var Entry/@top ic" />   284       <xsl:v alue-of se lect="$Var Entry/@top ic" />
277       <xsl:t ext>   285       <xsl:t ext>
278   </xsl:text >   286   </xsl:text >
279       <xsl:v alue-of se lect="$Var Entry/@tex t" />   287       <xsl:v alue-of se lect="$Var Entry/@tex t" />
280       <xsl:t ext>   288       <xsl:t ext>
281   </xsl:text >   289   </xsl:text >
282      </wwexs ldoc:Text>   290      </wwexs ldoc:Text>
283     </xsl:fo r-each>   291     </xsl:fo r-each>
284    </xsl:tem plate>   292    </xsl:tem plate>
285     293  
286     294  
287    <xsl:temp late name= "WriteWhat IsThisHead er">   295    <xsl:temp late name= "WriteWhat IsThisHead er">
288     <xsl:par am name="P aramNodes"  />   296     <xsl:par am name="P aramNodes"  />
289     297  
290     <xsl:for -each sele ct="$Param Nodes/wwpa ge:Entry">   298     <xsl:for -each sele ct="$Param Nodes/wwpa ge:Entry">
291      <xsl:va riable nam e="VarEntr y" select= "." />   299      <xsl:va riable nam e="VarEntr y" select= "." />
292      <xsl:va riable nam e="VarPosi tion" sele ct="positi on()" />   300      <xsl:va riable nam e="VarPosi tion" sele ct="positi on()" />
293      <xsl:va riable nam e="VarMapN umber" sel ect="$VarP osition *  10" />   301      <xsl:va riable nam e="VarMapN umber" sel ect="$VarP osition *  10" />
294     302  
295      <!-- Wr ap in text  element t o prevent  memory yo- yo -->   303      <!-- Wr ap in text  element t o prevent  memory yo- yo -->
296      <!--                                                   -->   304      <!--                                                   -->
297      <wwexsl doc:Text>   305      <wwexsl doc:Text>
298       <xsl:t ext>#defin e </xsl:te xt>   306       <xsl:t ext>#defin e </xsl:te xt>
299       <xsl:v alue-of se lect="$Var Entry/@top ic" />   307       <xsl:v alue-of se lect="$Var Entry/@top ic" />
300       <xsl:t ext> </xsl :text>   308       <xsl:t ext> </xsl :text>
301       <xsl:v alue-of se lect="$Var MapNumber"  />   309       <xsl:v alue-of se lect="$Var MapNumber"  />
302       <xsl:t ext>   310       <xsl:t ext>
303   </xsl:text >   311   </xsl:text >
304      </wwexs ldoc:Text>   312      </wwexs ldoc:Text>
305     </xsl:fo r-each>   313     </xsl:fo r-each>
306    </xsl:tem plate>   314    </xsl:tem plate>
307   </xsl:styl esheet>   315   </xsl:styl esheet>