48. Araxis Merge File Comparison Report

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

48.1 Files compared

# Location File Last Modified
1 Q:\Formats.2008.3.20682\Wiki - MediaWiki\Transforms mediawiki.xsl Mon Oct 13 05:52:00 2008 UTC
2 Q:\Formats.2008.4.20859\Wiki - MediaWiki\Transforms mediawiki.xsl Mon Jan 19 18:02:52 2009 UTC

48.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 24 324
Changed 20 69
Inserted 1 1
Removed 0 0

48.3 Comparison options

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

48.4 Active regular expressions

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

48.5 Comparison detail

1   <?xml vers ion="1.0"  encoding=" UTF-8"?> CR LF   1   <?xml vers ion="1.0"  encoding=" UTF-8"?> CR LF
2   <xsl:style sheet vers ion="1.0"  xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" CR LF   2   <xsl:style sheet vers ion="1.0"  xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" CR LF
3                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt" CR LF   3                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt" CR LF
4                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF   4                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF
5                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema" CR LF   5                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema" CR LF
6                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" CR LF   6                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" CR LF
7                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF   7                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF
8                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" CR LF   8                                    xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" CR LF
9                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" CR LF   9                                    xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" CR LF
10                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" CR LF   10                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" CR LF
11                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema" CR LF   11                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema" CR LF
12                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF   12                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF
13                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF   13                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF
14                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF   14                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF
15                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF   15                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF
16                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF   16                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF
17                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF   17                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF
18                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF   18                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF
19                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF   19                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF
20                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF   20                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF
21                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF   21                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF
22                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF   22                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF
23                                    xmlns:wwmu ltisere="u rn:WebWork s-XSLT-Ext ension-Mul tiSearchRe place" CR LF   23                                    xmlns:wwmu ltisere="u rn:WebWork s-XSLT-Ext ension-Mul tiSearchRe place" CR LF
24                                    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 wwfilese xt wwproje xt wwexsld oc wwmulti sere" CR LF   24                                    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 wwfilese xt wwproje xt wwexsld oc wwmulti sere" CR LF
25   > CR LF   25   > CR LF
26   CR LF   26   CR LF
27    <!-- Wiki  Name Repl acements - -> CR LF   27    <!-- Wiki  Name Repl acements - -> CR LF
28    <!--                          - -> CR LF   28    <!--                          - -> CR LF
29    <xsl:vari able name= "GlobalWik iNameRepla cementsAsX ML"> CR LF   29    <xsl:vari able name= "GlobalWik iNameRepla cementsAsX ML"> CR LF
30     <wwmulti sere:Entry  match=";"  replaceme nt="_" /> CR LF   30     <wwmulti sere:Entry  match=";"  replaceme nt="_" /> CR LF
31     <wwmulti sere:Entry  match="/"  replaceme nt="_" /> CR LF   31     <wwmulti sere:Entry  match="/"  replaceme nt="_" /> CR LF
32     <wwmulti sere:Entry  match="?"  replaceme nt="_" /> CR LF   32     <wwmulti sere:Entry  match="?"  replaceme nt="_" /> CR LF
33     <wwmulti sere:Entry  match="@"  replaceme nt="_" /> CR LF   33     <wwmulti sere:Entry  match="@"  replaceme nt="_" /> CR LF
34     <wwmulti sere:Entry  match="&a mp;" repla cement="_"  /> CR LF   34     <wwmulti sere:Entry  match="&a mp;" repla cement="_"  /> CR LF
35     <wwmulti sere:Entry  match="="  replaceme nt="_" /> CR LF   35     <wwmulti sere:Entry  match="="  replaceme nt="_" /> CR LF
36     <wwmulti sere:Entry  match="+"  replaceme nt="_" /> CR LF   36     <wwmulti sere:Entry  match="+"  replaceme nt="_" /> CR LF
37     <wwmulti sere:Entry  match="$"  replaceme nt="_" /> CR LF   37     <wwmulti sere:Entry  match="$"  replaceme nt="_" /> CR LF
38     <wwmulti sere:Entry  match=","  replaceme nt="_" /> CR LF   38     <wwmulti sere:Entry  match=","  replaceme nt="_" /> CR LF
39     <wwmulti sere:Entry  match="#"  replaceme nt="_" /> CR LF   39     <wwmulti sere:Entry  match="#"  replaceme nt="_" /> CR LF
40     <wwmulti sere:Entry  match=" "  replaceme nt="_" /> CR LF   40     <wwmulti sere:Entry  match=" "  replaceme nt="_" /> CR LF
41     <wwmulti sere:Entry  match="&l t;" replac ement="_"  /> CR LF   41     <wwmulti sere:Entry  match="&l t;" replac ement="_"  /> CR LF
42     <wwmulti sere:Entry  match="&g t;" replac ement="_"  /> CR LF   42     <wwmulti sere:Entry  match="&g t;" replac ement="_"  /> CR LF
43     <wwmulti sere:Entry  match="%"  replaceme nt="_" /> CR LF   43     <wwmulti sere:Entry  match="%"  replaceme nt="_" /> CR LF
44     <wwmulti sere:Entry  match="&q uot;" repl acement="_ " /> CR LF   44     <wwmulti sere:Entry  match="&q uot;" repl acement="_ " /> CR LF
45     <wwmulti sere:Entry  match="{{ " replacem ent="_" /> CR LF   45     <wwmulti sere:Entry  match="{{ " replacem ent="_" /> CR LF
46     <wwmulti sere:Entry  match="}} " replacem ent="_" /> CR LF   46     <wwmulti sere:Entry  match="}} " replacem ent="_" /> CR LF
47     <wwmulti sere:Entry  match="|"  replaceme nt="_" /> CR LF   47     <wwmulti sere:Entry  match="|"  replaceme nt="_" /> CR LF
48     <wwmulti sere:Entry  match="\"  replaceme nt="_" /> CR LF   48     <wwmulti sere:Entry  match="\"  replaceme nt="_" /> CR LF
49     <wwmulti sere:Entry  match="^"  replaceme nt="_" /> CR LF   49     <wwmulti sere:Entry  match="^"  replaceme nt="_" /> CR LF
50     <wwmulti sere:Entry  match="["  replaceme nt="_" /> CR LF   50     <wwmulti sere:Entry  match="["  replaceme nt="_" /> CR LF
51     <wwmulti sere:Entry  match="]"  replaceme nt="_" /> CR LF   51     <wwmulti sere:Entry  match="]"  replaceme nt="_" /> CR LF
52     <wwmulti sere:Entry  match="`"  replaceme nt="_" /> CR LF   52     <wwmulti sere:Entry  match="`"  replaceme nt="_" /> CR LF
53    </xsl:var iable> CR LF   53    </xsl:var iable> CR LF
54     <xsl:varia ble name=" GlobalWiki NameReplac ements" se lect="msxs l:node-set ($GlobalWi kiNameRepl acementsAs XML) /* " /> CR LF   54     <xsl:varia ble name=" GlobalWiki NameReplac ements" se lect="msxs l:node-set ($GlobalWi kiNameRepl acementsAs XML)
" /> CR LF
55   CR LF   55   CR LF
56   CR LF   56   CR LF
57    <xsl:temp late name= "MediaWiki -ProjectRo otedLink"> CR LF   57    <xsl:temp late name= "MediaWiki -ProjectRo otedLink"> CR LF
58     <xsl:par am name="P aramLinkPa th" /> CR LF   58     <xsl:par am name="P aramLinkPa th" /> CR LF
59     <xsl:par am name="P aramTarget OutputDire ctoryPath"  /> CR LF   59     <xsl:par am name="P aramTarget OutputDire ctoryPath"  /> CR LF
60      CR LF   60      CR LF
61     <!-- Cre ate the "r ooted" pat h, which i s the part  from the  target out put direct ory to the  end of th e filename  --> CR LF   61     <!-- Cre ate the "r ooted" pat h, which i s the part  from the  target out put direct ory to the  end of th e filename  --> CR LF
62      <!--                                                                                                                  
--> CR LF
  62      <!--                                                                                                                     --> CR LF
63      <xsl:varia ble name=" VarProject RootedPath WithExtens ion" selec t="wwuri:U nescape(ww uri:GetRel ativeTo($P aramLinkPa th, $ P ar amTa r g e tOutput DirectoryP ath))" /> CR LF   63     <xsl:var iable name ="VarRefer enceDirect oryPath"> CR LF
    64      <xsl:va riable nam e="VarProj ectGroups"  select="$ GlobalProj ect/wwproj ect:Projec t/wwprojec t:Groups/w wproject:G roup" /> CR LF
    65      <xsl:ch oose> CR LF
    66       <!-- E liminate g roup name  from singl e group pr ojects --> CR LF
    67       <!--                                                      --> CR LF
    68       <xsl:w hen test=" count($Var ProjectGro ups[2]) =  0"> CR LF
    69        <xsl: value-of s elect="wwf ilesystem: Combine(ww filesystem :GetDirect oryName($P aramTarget OutputDire ctoryPath) , $VarProj ectGroups[ 1]/@Name,  'dummy.com ponent')"  /> CR LF
    70       </xsl: when> CR LF
    71   CR LF
    72       <!-- Q ualify gro up names - -> CR LF
    73       <!--                       - -> CR LF
    74       <xsl:o therwise> CR LF
    75        <xsl: value-of s elect="$Pa ramTargetO utputDirec toryPath"  /> CR LF
    76       </xsl: otherwise> CR LF
    77      </xsl:c hoose> CR LF
    78     </xsl:va riable> CR LF
    79      <xsl:varia ble name=" VarProject RootedPath WithExtens ion" selec t="wwuri:U nescape(ww uri:GetRel ativeTo($P aramLinkPa th, $ V ar Refe r
e nce DirectoryP ath))" /> CR LF
64     <xsl:var iable name ="VarFileN ameWithout Extension"  select="w wfilesyste m:GetFileN ameWithout Extension( $VarProjec tRootedPat hWithExten sion)" /> CR LF   80     <xsl:var iable name ="VarFileN ameWithout Extension"  select="w wfilesyste m:GetFileN ameWithout Extension( $VarProjec tRootedPat hWithExten sion)" /> CR LF
65     <xsl:var iable name ="VarProje ctRootedDi rectory" s elect="wws tring:Repl ace(wwfile system:Get DirectoryN ame($VarPr ojectRoote dPathWithE xtension),  '\', ':') " /> CR LF   81     <xsl:var iable name ="VarProje ctRootedDi rectory" s elect="wws tring:Repl ace(wwfile system:Get DirectoryN ame($VarPr ojectRoote dPathWithE xtension),  '\', ':') " /> CR LF
66   CR LF   82   CR LF
67      <xsl:varia ble name=" VarWikiDep loymentPre fix" selec t="wwmulti sere:Repla ceAllInStr ing( wwprojext: GetForm a tSetting(' w iki -d eployment -p refix ') , $GlobalW ikiNameRep lacements
)" /> CR LF
  83     <xsl:var iable name ="VarWikiD eploymentP refixSetti ng"> CR LF
    84      <xsl:if  test="wwp rojext:Get FormatSett ing('wiki- deployment -prefix')  != 'none'" > CR LF
    85       <xsl:v alue-of se lect="wwpr ojext:GetF ormatSetti ng('wiki-d eployment- prefix')"  /> CR LF
    86      </xsl:i f> CR LF
    87     </xsl:va riable> CR LF
    88      <xsl:varia ble name=" VarWikiDep loymentPre fix" selec t="wwmulti sere:Repla ceAllInStr ing( $V a rW iki D eployment P refix Setting , $GlobalW ikiNameRep lacements /* )" /> CR LF
68      CR LF   89      CR LF
69     <xsl:var iable name ="VarResul t"> CR LF   90     <xsl:var iable name ="VarResul t"> CR LF
70      <xsl:if  test="str ing-length ($VarWikiD eploymentP refix) &gt ; 0"> CR LF   91      <xsl:if  test="str ing-length ($VarWikiD eploymentP refix) &gt ; 0"> CR LF
71       <xsl:v alue-of se lect="wwst ring:ToUpp er(substri ng($VarWik iDeploymen tPrefix, 1 , 1))" /> CR LF   92       <xsl:v alue-of se lect="wwst ring:ToUpp er(substri ng($VarWik iDeploymen tPrefix, 1 , 1))" /> CR LF
72       <xsl:v alue-of se lect="subs tring($Var WikiDeploy mentPrefix , 2)" /> CR LF   93       <xsl:v alue-of se lect="subs tring($Var WikiDeploy mentPrefix , 2)" /> CR LF
73       <xsl:t ext>:</xsl :text> CR LF   94       <xsl:t ext>:</xsl :text> CR LF
74      </xsl:i f> CR LF   95      </xsl:i f> CR LF
75       CR LF   96       CR LF
76      <!-- Em it group b it and any  subdirect ories --> CR LF   97      <!-- Em it group b it and any  subdirect ories --> CR LF
77      <!--                                           --> CR LF   98      <!--                                           --> CR LF
78       <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarP rojectRoot edDirector y, $Global WikiNameRe placements
))" mode=" wwmode:med iawiki" /> CR LF
  99      <xsl:if  test="str ing-length ($VarProje ctRootedDi rectory) & gt; 0"> CR LF
    100         <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarP rojectRoot edDirector y, $Global WikiNameRe placements /* ))" mode=" wwmode:med iawiki" /> CR LF
79       CR LF   101       CR LF
80       <xsl:text> : </xsl:text > CR LF   102         <xsl:text> - </xsl:text > CR LF
    103      </xsl:i f> CR LF
81   CR LF   104   CR LF
82       <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarF ileNameWit houtExtens ion, $Glob alWikiName Replacemen ts
))" mode=" wwmode:med iawiki" /> CR LF
  105       <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarF ileNameWit houtExtens ion, $Glob alWikiName Replacemen ts /* ))" mode=" wwmode:med iawiki" /> CR LF
83     </xsl:va riable> CR LF   106     </xsl:va riable> CR LF
84      CR LF   107      CR LF
85     <xsl:val ue-of sele ct="$VarRe sult" /> CR LF   108     <xsl:val ue-of sele ct="$VarRe sult" /> CR LF
86    </xsl:tem plate> CR LF   109    </xsl:tem plate> CR LF
87     CR LF   110     CR LF
88    <xsl:temp late name= "MediaWiki -ImageRoot edLink"> CR LF   111    <xsl:temp late name= "MediaWiki -ImageRoot edLink"> CR LF
89     <xsl:par am name="P aramLinkPa th" /> CR LF   112     <xsl:par am name="P aramLinkPa th" /> CR LF
90     <xsl:par am name="P aramTarget OutputDire ctoryPath"  /> CR LF   113     <xsl:par am name="P aramTarget OutputDire ctoryPath"  /> CR LF
91     <xsl:par am name="P aramInclud eNamespace " select=" true()" /> CR LF   114     <xsl:par am name="P aramInclud eNamespace " select=" true()" /> CR LF
92   CR LF   115   CR LF
93     <!-- Cre ate the "r ooted" pat h, which i s the part  from the  target out put direct ory to the  end of th e filename  --> CR LF   116     <!-- Cre ate the "r ooted" pat h, which i s the part  from the  target out put direct ory to the  end of th e filename  --> CR LF
94      <!--                                                                                                                  
--> CR LF
  117      <!--                                                                                                                     --> CR LF
95      <xsl:varia ble name=" VarProject RootedPath WithExtens ion" selec t="wwuri:U nescape(ww uri:GetRel ativeTo($P aramLinkPa th, $ P ar amTa r g e tOutput DirectoryP ath))" /> CR LF   118     <xsl:var iable name ="VarRefer enceDirect oryPath"> CR LF
    119      <xsl:va riable nam e="VarProj ectGroups"  select="$ GlobalProj ect/wwproj ect:Projec t/wwprojec t:Groups/w wproject:G roup" /> CR LF
    120      <xsl:ch oose> CR LF
    121       <!-- E liminate g roup name  from singl e group pr ojects --> CR LF
    122       <!--                                                      --> CR LF
    123       <xsl:w hen test=" count($Var ProjectGro ups[2]) =  0"> CR LF
    124        <xsl: value-of s elect="wwf ilesystem: Combine(ww filesystem :GetDirect oryName($P aramTarget OutputDire ctoryPath) , $VarProj ectGroups[ 1]/@Name,  'dummy.com ponent')"  /> CR LF
    125       </xsl: when> CR LF
    126   CR LF
    127       <!-- Q ualify gro up names - -> CR LF
    128       <!--                       - -> CR LF
    129       <xsl:o therwise> CR LF
    130        <xsl: value-of s elect="$Pa ramTargetO utputDirec toryPath"  /> CR LF
    131       </xsl: otherwise> CR LF
    132      </xsl:c hoose> CR LF
    133     </xsl:va riable> CR LF
    134      <xsl:varia ble name=" VarProject RootedPath WithExtens ion" selec t="wwuri:U nescape(ww uri:GetRel ativeTo($P aramLinkPa th, $ V ar Refe r
e nce DirectoryP ath))" /> CR LF
96     <xsl:var iable name ="VarFileN ame" selec t="wwfiles ystem:GetF ileName($V arProjectR ootedPathW ithExtensi on)" /> CR LF   135     <xsl:var iable name ="VarFileN ame" selec t="wwfiles ystem:GetF ileName($V arProjectR ootedPathW ithExtensi on)" /> CR LF
97     <xsl:var iable name ="VarProje ctRootedDi rectory" s elect="wws tring:Repl ace(wwfile system:Get DirectoryN ame($VarPr ojectRoote dPathWithE xtension),  '\', '-') " /> CR LF   136     <xsl:var iable name ="VarProje ctRootedDi rectory" s elect="wws tring:Repl ace(wwfile system:Get DirectoryN ame($VarPr ojectRoote dPathWithE xtension),  '\', '-') " /> CR LF
98   CR LF   137   CR LF
99      <xsl:varia ble name=" VarWikiDep loymentPre fix" selec t="wwmulti sere:Repla ceAllInStr ing( wwprojext: GetForm a tSetting(' w iki -d eployment -p refix ') , $GlobalW ikiNameRep lacements
)" /> CR LF
  138     <xsl:var iable name ="VarWikiD eploymentP refixSetti ng"> CR LF
    139      <xsl:if  test="wwp rojext:Get FormatSett ing('wiki- deployment -prefix')  != 'none'" > CR LF
    140       <xsl:v alue-of se lect="wwpr ojext:GetF ormatSetti ng('wiki-d eployment- prefix')"  /> CR LF
    141      </xsl:i f> CR LF
    142     </xsl:va riable> CR LF
    143      <xsl:varia ble name=" VarWikiDep loymentPre fix" selec t="wwmulti sere:Repla ceAllInStr ing( $V a rW iki D eployment P refix Setting , $GlobalW ikiNameRep lacements /* )" /> CR LF
100      CR LF   144      CR LF
101     <xsl:var iable name ="VarResul t"> CR LF   145     <xsl:var iable name ="VarResul t"> CR LF
102      <!-- Em it Image n amespace - -> CR LF   146      <!-- Em it Image n amespace - -> CR LF
103      <!--                        - -> CR LF   147      <!--                        - -> CR LF
104      <xsl:if  test="$Pa ramInclude Namespace" > CR LF   148      <xsl:if  test="$Pa ramInclude Namespace" > CR LF
105       <xsl:t ext>Image: </xsl:text > CR LF   149       <xsl:t ext>Image: </xsl:text > CR LF
106      </xsl:i f> CR LF   150      </xsl:i f> CR LF
107   CR LF   151   CR LF
108      <xsl:if  test="str ing-length ($VarWikiD eploymentP refix) &gt ; 0"> CR LF   152      <xsl:if  test="str ing-length ($VarWikiD eploymentP refix) &gt ; 0"> CR LF
109       <xsl:v alue-of se lect="wwst ring:ToUpp er(substri ng($VarWik iDeploymen tPrefix, 1 , 1))" /> CR LF   153       <xsl:v alue-of se lect="wwst ring:ToUpp er(substri ng($VarWik iDeploymen tPrefix, 1 , 1))" /> CR LF
110       <xsl:v alue-of se lect="subs tring($Var WikiDeploy mentPrefix , 2)" /> CR LF   154       <xsl:v alue-of se lect="subs tring($Var WikiDeploy mentPrefix , 2)" /> CR LF
111       <xsl:t ext>-</xsl :text> CR LF   155       <xsl:t ext>-</xsl :text> CR LF
112      </xsl:i f> CR LF   156      </xsl:i f> CR LF
113       CR LF   157       CR LF
114      <!-- Em it group b it and any  subdirect ories --> CR LF   158      <!-- Em it group b it and any  subdirect ories --> CR LF
115      <!--                                           --> CR LF   159      <!--                                           --> CR LF
116       <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarP rojectRoot edDirector y, $Global WikiNameRe placements
))" mode=" wwmode:med iawiki" /> CR LF
  160      <xsl:if  test="str ing-length ($VarProje ctRootedDi rectory) & gt; 0"> CR LF
    161        <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarP rojectRoot edDirector y, $Global WikiNameRe placements /* ))" mode=" wwmode:med iawiki" /> CR LF
117       CR LF   162       CR LF
118      <xsl:te xt>-</xsl: text> CR LF   163       <xsl:t ext>-</xsl :text> CR LF
    164      </xsl:i f> CR LF
119   CR LF   165   CR LF
120       <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarF ileName, $ GlobalWiki NameReplac ements
))" mode=" wwmode:med iawiki" /> CR LF
  166       <xsl:apply -templates  select="m sxsl:node- set(wwmult isere:Repl aceAllInSt ring($VarF ileName, $ GlobalWiki NameReplac ements /* ))" mode=" wwmode:med iawiki" /> CR LF
121     </xsl:va riable> CR LF   167     </xsl:va riable> CR LF
122      CR LF   168      CR LF
123     <xsl:val ue-of sele ct="$VarRe sult" /> CR LF   169     <xsl:val ue-of sele ct="$VarRe sult" /> CR LF
124    </xsl:tem plate> CR LF   170    </xsl:tem plate> CR LF
125   CR LF   171   CR LF
126   CR LF   172   CR LF
127    <!-- Call  template  for synthe sizing und erscores - -> CR LF   173    <!-- Call  template  for synthe sizing und erscores - -> CR LF
128    <!--                                                - -> CR LF   174    <!--                                                - -> CR LF
129    <xsl:temp late match ="text()"  name="Medi aWiki-Synt hesizeUnde rscores" m ode="wwmod e:mediawik i"> CR LF   175    <xsl:temp late match ="text()"  name="Medi aWiki-Synt hesizeUnde rscores" m ode="wwmod e:mediawik i"> CR LF
130     <xsl:par am name="P aramOrigin alString"  select="."  /> CR LF   176     <xsl:par am name="P aramOrigin alString"  select="."  /> CR LF
131     <xsl:par am name="P aramBuilde rString" s elect="''"  /> CR LF   177     <xsl:par am name="P aramBuilde rString" s elect="''"  /> CR LF
132     <xsl:par am name="P aramCharac terIndex"  select="1"  /> CR LF   178     <xsl:par am name="P aramCharac terIndex"  select="1"  /> CR LF
133     <xsl:par am name="P aramCanApp endUndersc ore" selec t="false() " /> CR LF   179     <xsl:par am name="P aramCanApp endUndersc ore" selec t="false() " /> CR LF
134   CR LF   180   CR LF
135     <xsl:var iable name ="VarFirst Character"  select="s ubstring($ ParamOrigi nalString,  $ParamCha racterInde x, 1)" /> CR LF   181     <xsl:var iable name ="VarFirst Character"  select="s ubstring($ ParamOrigi nalString,  $ParamCha racterInde x, 1)" /> CR LF
136   CR LF   182   CR LF
137     <xsl:var iable name ="VarAppen dCharacter "> CR LF   183     <xsl:var iable name ="VarAppen dCharacter "> CR LF
138      <xsl:ch oose> CR LF   184      <xsl:ch oose> CR LF
139       <xsl:w hen test=" $VarFirstC haracter =  '_'"> CR LF   185       <xsl:w hen test=" $VarFirstC haracter =  '_'"> CR LF
140        <xsl: if test="$ ParamCanAp pendUnders core = 'tr ue'"> CR LF   186        <xsl: if test="$ ParamCanAp pendUnders core = 'tr ue'"> CR LF
141         <xsl :text>_</x sl:text> CR LF   187         <xsl :text>_</x sl:text> CR LF
142        </xsl :if> CR LF   188        </xsl :if> CR LF
143       </xsl: when> CR LF   189       </xsl: when> CR LF
144       <xsl:o therwise> CR LF   190       <xsl:o therwise> CR LF
145        <xsl: value-of s elect="$Va rFirstChar acter" /> CR LF   191        <xsl: value-of s elect="$Va rFirstChar acter" /> CR LF
146       </xsl: otherwise> CR LF   192       </xsl: otherwise> CR LF
147      </xsl:c hoose> CR LF   193      </xsl:c hoose> CR LF
148     </xsl:va riable> CR LF   194     </xsl:va riable> CR LF
149      CR LF   195      CR LF
150     <xsl:var iable name ="VarBuild erString"> CR LF   196     <xsl:var iable name ="VarBuild erString"> CR LF
151      <xsl:va lue-of sel ect="$Para mBuilderSt ring" /> CR LF   197      <xsl:va lue-of sel ect="$Para mBuilderSt ring" /> CR LF
152      <xsl:va lue-of sel ect="$VarA ppendChara cter" /> CR LF   198      <xsl:va lue-of sel ect="$VarA ppendChara cter" /> CR LF
153     </xsl:va riable> CR LF   199     </xsl:va riable> CR LF
154      CR LF   200      CR LF
155     <xsl:cho ose> CR LF   201     <xsl:cho ose> CR LF
156      <xsl:wh en test="( $ParamChar acterIndex  + 1) &gt;  string-le ngth($Para mOriginalS tring)"> CR LF   202      <xsl:wh en test="( $ParamChar acterIndex  + 1) &gt;  string-le ngth($Para mOriginalS tring)"> CR LF
157       <!-- R eturn --> CR LF   203       <!-- R eturn --> CR LF
158       <!--         --> CR LF   204       <!--         --> CR LF
159       <xsl:v alue-of se lect="$Var BuilderStr ing" /> CR LF   205       <xsl:v alue-of se lect="$Var BuilderStr ing" /> CR LF
160      </xsl:w hen> CR LF   206      </xsl:w hen> CR LF
161   CR LF   207   CR LF
162      <xsl:ot herwise> CR LF   208      <xsl:ot herwise> CR LF
163       <!-- R ecurse --> CR LF   209       <!-- R ecurse --> CR LF
164       <!--          --> CR LF   210       <!--          --> CR LF
165       <xsl:c all-templa te name="M ediaWiki-S ynthesizeU nderscores "> CR LF   211       <xsl:c all-templa te name="M ediaWiki-S ynthesizeU nderscores "> CR LF
166        <xsl: with-param  name="Par amOriginal String" se lect="$Par amOriginal String" /> CR LF   212        <xsl: with-param  name="Par amOriginal String" se lect="$Par amOriginal String" /> CR LF
167        <xsl: with-param  name="Par amBuilderS tring" sel ect="$VarB uilderStri ng" /> CR LF   213        <xsl: with-param  name="Par amBuilderS tring" sel ect="$VarB uilderStri ng" /> CR LF
168        <xsl: with-param  name="Par amCharacte rIndex" se lect="$Par amCharacte rIndex + 1 " /> CR LF   214        <xsl: with-param  name="Par amCharacte rIndex" se lect="$Par amCharacte rIndex + 1 " /> CR LF
169        <xsl: with-param  name="Par amCanAppen dUnderscor e" select= "($VarFirs tCharacter  != '_')"  /> CR LF   215        <xsl: with-param  name="Par amCanAppen dUnderscor e" select= "($VarFirs tCharacter  != '_')"  /> CR LF
170       </xsl: call-templ ate> CR LF   216       </xsl: call-templ ate> CR LF
171      </xsl:o therwise> CR LF   217      </xsl:o therwise> CR LF
172     </xsl:ch oose> CR LF   218     </xsl:ch oose> CR LF
173    </xsl:tem plate> CR LF   219    </xsl:tem plate> CR LF
174   </xsl:styl esheet> CR LF   220   </xsl:styl esheet> CR LF