53. Araxis Merge File Comparison Report

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

53.1 Files compared

# Location File Last Modified
1 Q:\Formats.2008.3.20682\Wiki - MoinMoin\Transforms content.xsl Mon Oct 13 05:51:50 2008 UTC
2 Q:\Formats.2008.4.20859\Wiki - MoinMoin\Transforms content.xsl Mon Jan 19 18:02:32 2009 UTC

53.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 20 6294
Changed 6 19
Inserted 6 32
Removed 0 0

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

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

53.5 Comparison detail

1   <?xml vers ion="1.0"  encoding=" UTF-8"?> CR LF   1   <?xml vers ion="1.0"  encoding=" UTF-8"?> CR LF
2   <xsl:style sheet vers ion="1.0"  xmlns="urn :WebWorks- Wiki-Page- Schema" CR LF   2   <xsl:style sheet vers ion="1.0"  xmlns="urn :WebWorks- Wiki-Page- Schema" CR LF
3                                    xmlns:wwwi ki="urn:We bWorks-Wik i-Page-Sch ema" CR LF   3                                    xmlns:wwwi ki="urn:We bWorks-Wik i-Page-Sch ema" CR LF
4                                    xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" CR LF   4                                    xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" CR LF
5                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt" CR LF   5                                    xmlns:msxs l="urn:sch emas-micro soft-com:x slt" CR LF
6                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF   6                                    xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" CR LF
7                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" CR LF   7                                    xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" 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:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF   10                                    xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" CR LF
11                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema" CR LF   11                                    xmlns:wwto c="urn:Web Works-Engi ne-TOC-Sch ema" CR LF
12                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" CR LF   12                                    xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" CR LF
13                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema" CR LF   13                                    xmlns:wwno tes="urn:W ebWorks-Fo otnote-Sch ema" CR LF
14                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF   14                                    xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" CR LF
15                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF   15                                    xmlns:wwpa ge="urn:We bWorks-Pag e-Template -Schema" CR LF
16                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF   16                                    xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" CR LF
17                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF   17                                    xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" CR LF
18                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF   18                                    xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" CR LF
19                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF   19                                    xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" CR LF
20                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF   20                                    xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" CR LF
21                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF   21                                    xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" CR LF
22                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units" CR LF   22                                    xmlns:wwun its="urn:W ebWorks-XS LT-Extensi on-Units" CR LF
23                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF   23                                    xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" CR LF
24                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF   24                                    xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" CR LF
25                                    xmlns:wwim aging="urn :WebWorks- XSLT-Exten sion-Imagi ng" CR LF   25                                    xmlns:wwim aging="urn :WebWorks- XSLT-Exten sion-Imagi ng" CR LF
26                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF   26                                    xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" CR LF
27                                    exclude-re sult-prefi xes="xsl m sxsl wwmod e wwlinks  wwfiles ww doc wwspli ts wwtoc w wbehaviors  wwnotes w wproject w wpage wwlo cale wwpro gress wwlo g wwfilesy stem wwuri  wwstring  wwunits ww filesext w wprojext w wimaging w wexsldoc" CR LF   27                                    exclude-re sult-prefi xes="xsl m sxsl wwmod e wwlinks  wwfiles ww doc wwspli ts wwtoc w wbehaviors  wwnotes w wproject w wpage wwlo cale wwpro gress wwlo g wwfilesy stem wwuri  wwstring  wwunits ww filesext w wprojext w wimaging w wexsldoc" CR LF
28   > CR LF   28   > CR LF
29    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" /> CR LF   29    <xsl:key  name="wwsp lits-files -by-groupi d-type" ma tch="wwspl its:File"  use="conca t(@groupID , ':', @ty pe)" /> CR LF
30    <xsl:key  name="wwsp lits-frame s-by-id" m atch="wwsp lits:Frame " use="@id " /> CR LF   30    <xsl:key  name="wwsp lits-frame s-by-id" m atch="wwsp lits:Frame " use="@id " /> CR LF
31    <xsl:key  name="wwto c-entry-by -id" match ="wwtoc:En try" use=" @id" /> CR LF   31    <xsl:key  name="wwto c-entry-by -id" match ="wwtoc:En try" use=" @id" /> CR LF
32    <xsl:key  name="wwbe haviors-pa ragraphs-b y-id" matc h="wwbehav iors:Parag raph" use= "@id" /> CR LF   32    <xsl:key  name="wwbe haviors-pa ragraphs-b y-id" matc h="wwbehav iors:Parag raph" use= "@id" /> CR LF
33    <xsl:key  name="wwbe haviors-pa ragraphs-b y-relatedt opic" matc h="wwbehav iors:Parag raph" use= "@relatedt opic" /> CR LF   33    <xsl:key  name="wwbe haviors-pa ragraphs-b y-relatedt opic" matc h="wwbehav iors:Parag raph" use= "@relatedt opic" /> CR LF
34    <xsl:key  name="wwbe haviors-fr ames-by-id " match="w wbehaviors :Frame" us e="@id" /> CR LF   34    <xsl:key  name="wwbe haviors-fr ames-by-id " match="w wbehaviors :Frame" us e="@id" /> CR LF
35    <xsl:key  name="wwbe haviors-ta bles-by-id " match="w wbehaviors :Table" us e="@id" /> CR LF   35    <xsl:key  name="wwbe haviors-ta bles-by-id " match="w wbehaviors :Table" us e="@id" /> CR LF
    36    <xsl:key  name="wwbe haviors-ma rkers-by-i d" match=" wwbehavior s:Marker"  use="@id"  /> CR LF
36    <xsl:key  name="wwdo c-paragrap hs-by-id"  match="wwd oc:Paragra ph" use="@ id" /> CR LF   37    <xsl:key  name="wwdo c-paragrap hs-by-id"  match="wwd oc:Paragra ph" use="@ id" /> CR LF
37    <xsl:key  name="wwno tes-notes- by-id" mat ch="wwnote s:Note" us e="@id" /> CR LF   38    <xsl:key  name="wwno tes-notes- by-id" mat ch="wwnote s:Note" us e="@id" /> CR LF
38    <xsl:key  name="wwfi les-files- by-path" m atch="wwfi les:File"  use="@path " /> CR LF   39    <xsl:key  name="wwfi les-files- by-path" m atch="wwfi les:File"  use="@path " /> CR LF
39    <xsl:key  name="wwpr oject-prop erty-by-na me" match= "wwproject :Property"  use="@Nam e"/> CR LF   40    <xsl:key  name="wwpr oject-prop erty-by-na me" match= "wwproject :Property"  use="@Nam e"/> CR LF
40   CR LF   41   CR LF
41   CR LF   42   CR LF
42    <xsl:vari able name= "GlobalPro cessAsPage Extensions " select=" concat(' ' , wwprojex t:GetForma tSetting(' wiki-proce ss-as-page -extension s'), ' ')"  /> CR LF   43    <xsl:vari able name= "GlobalPro cessAsPage Extensions " select=" concat(' ' , wwprojex t:GetForma tSetting(' wiki-proce ss-as-page -extension s'), ' ')"  /> CR LF
43   CR LF   44   CR LF
44   CR LF   45   CR LF
45    <xsl:temp late name= "Breadcrum bs"> CR LF   46    <xsl:temp late name= "Breadcrum bs"> CR LF
46     <xsl:par am name="P aramPageRu le" /> CR LF   47     <xsl:par am name="P aramPageRu le" /> CR LF
47     <xsl:par am name="P aramSplit"  /> CR LF   48     <xsl:par am name="P aramSplit"  /> CR LF
48     <xsl:par am name="P aramBreadc rumbTOCEnt ry" /> CR LF   49     <xsl:par am name="P aramBreadc rumbTOCEnt ry" /> CR LF
49   CR LF   50   CR LF
50     <xsl:for -each sele ct="$Param Breadcrumb TOCEntry/. ./ancestor -or-self:: wwtoc:Entr y"> CR LF   51     <xsl:for -each sele ct="$Param Breadcrumb TOCEntry/. ./ancestor -or-self:: wwtoc:Entr y"> CR LF
51      <xsl:va riable nam e="VarTOCE ntry" sele ct="." /> CR LF   52      <xsl:va riable nam e="VarTOCE ntry" sele ct="." /> CR LF
52   CR LF   53   CR LF
53      <!-- Em it entry - -> CR LF   54      <!-- Em it entry - -> CR LF
54      <!--             - -> CR LF   55      <!--             - -> CR LF
55      <xsl:ch oose> CR LF   56      <xsl:ch oose> CR LF
56       <xsl:w hen test=" string-len gth($VarTO CEntry/@pa th) &gt; 0 "> CR LF   57       <xsl:w hen test=" string-len gth($VarTO CEntry/@pa th) &gt; 0 "> CR LF
57        <!--  Entry with  link --> CR LF   58        <!--  Entry with  link --> CR LF
58        <!--                   --> CR LF   59        <!--                   --> CR LF
59        <xsl: variable n ame="VarRe lativePath "> CR LF   60        <xsl: variable n ame="VarRe lativePath "> CR LF
60         <xsl :call-temp late name= "MoinMoin- RelativePa geLink"> CR LF   61         <xsl :call-temp late name= "MoinMoin- RelativePa geLink"> CR LF
61          <xs l:with-par am name="P aramSource " select=" $ParamSpli t/@path" / > CR LF   62          <xs l:with-par am name="P aramSource " select=" $ParamSpli t/@path" / > CR LF
62          <xs l:with-par am name="P aramTarget " select=" $VarTOCEnt ry/@path"  /> CR LF   63          <xs l:with-par am name="P aramTarget " select=" $VarTOCEnt ry/@path"  /> CR LF
63         </xs l:call-tem plate> CR LF   64         </xs l:call-tem plate> CR LF
64        </xsl :variable> CR LF   65        </xsl :variable> CR LF
65   CR LF   66   CR LF
66        <xsl: text>[[</x sl:text> CR LF   67        <xsl: text>[[</x sl:text> CR LF
67        <xsl: if test="$ VarRelativ ePath != ' ../'"> CR LF   68        <xsl: if test="$ VarRelativ ePath != ' ../'"> CR LF
68          <xs l:value-of  select="$ VarRelativ ePath" /> CR LF   69          <xs l:value-of  select="$ VarRelativ ePath" /> CR LF
69        </xsl :if> CR LF   70        </xsl :if> CR LF
70        <xsl: if test="s tring-leng th($ParamB readcrumbT OCEntry/@l inkid) &gt ; 0"> CR LF   71        <xsl: if test="s tring-leng th($ParamB readcrumbT OCEntry/@l inkid) &gt ; 0"> CR LF
71         <xsl :text>#</x sl:text> CR LF   72         <xsl :text>#</x sl:text> CR LF
72         <xsl :value-of  select="$P aramBreadc rumbTOCEnt ry/@linkid " /> CR LF   73         <xsl :value-of  select="$P aramBreadc rumbTOCEnt ry/@linkid " /> CR LF
73        </xsl :if> CR LF   74        </xsl :if> CR LF
74        <xsl: text>|</xs l:text> CR LF   75        <xsl: text>|</xs l:text> CR LF
75        <xsl: call-templ ate name=" Breadcrumb Entry"> CR LF   76        <xsl: call-templ ate name=" Breadcrumb Entry"> CR LF
76         <xsl :with-para m name="Pa ramTOCEntr y" select= "$VarTOCEn try" /> CR LF   77         <xsl :with-para m name="Pa ramTOCEntr y" select= "$VarTOCEn try" /> CR LF
77        </xsl :call-temp late> CR LF   78        </xsl :call-temp late> CR LF
78        <xsl: text>]]</x sl:text> CR LF   79        <xsl: text>]]</x sl:text> CR LF
79       </xsl: when> CR LF   80       </xsl: when> CR LF
80   CR LF   81   CR LF
81       <xsl:o therwise> CR LF   82       <xsl:o therwise> CR LF
82        <!--  Entry with out link - -> CR LF   83        <!--  Entry with out link - -> CR LF
83        <!--                      - -> CR LF   84        <!--                      - -> CR LF
84        <xsl: call-templ ate name=" Breadcrumb Entry"> CR LF   85        <xsl: call-templ ate name=" Breadcrumb Entry"> CR LF
85         <xsl :with-para m name="Pa ramTOCEntr y" select= "$VarTOCEn try" /> CR LF   86         <xsl :with-para m name="Pa ramTOCEntr y" select= "$VarTOCEn try" /> CR LF
86        </xsl :call-temp late> CR LF   87        </xsl :call-temp late> CR LF
87       </xsl: otherwise> CR LF   88       </xsl: otherwise> CR LF
88      </xsl:c hoose> CR LF   89      </xsl:c hoose> CR LF
89   CR LF   90   CR LF
90      <!-- Em it separat or --> CR LF   91      <!-- Em it separat or --> CR LF
91      <!--                  --> CR LF   92      <!--                  --> CR LF
92      <xsl:va riable nam e="VarBrea dcrumbsSep arator" se lect="$Par amPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-separato r']/@Value " /> CR LF   93      <xsl:va riable nam e="VarBrea dcrumbsSep arator" se lect="$Par amPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-separato r']/@Value " /> CR LF
93      <xsl:ch oose> CR LF   94      <xsl:ch oose> CR LF
94       <xsl:w hen test=" string-len gth($VarBr eadcrumbsS eparator)  &gt; 0"> CR LF   95       <xsl:w hen test=" string-len gth($VarBr eadcrumbsS eparator)  &gt; 0"> CR LF
95        <xsl: value-of s elect="$Va rBreadcrum bsSeparato r" /> CR LF   96        <xsl: value-of s elect="$Va rBreadcrum bsSeparato r" /> CR LF
96       </xsl: when> CR LF   97       </xsl: when> CR LF
97   CR LF   98   CR LF
98       <xsl:o therwise> CR LF   99       <xsl:o therwise> CR LF
99        <xsl: text> : </ xsl:text> CR LF   100        <xsl: text> : </ xsl:text> CR LF
100       </xsl: otherwise> CR LF   101       </xsl: otherwise> CR LF
101      </xsl:c hoose> CR LF   102      </xsl:c hoose> CR LF
102     </xsl:fo r-each> CR LF   103     </xsl:fo r-each> CR LF
103   CR LF   104   CR LF
104     <!-- Col lect up te xt --> CR LF   105     <!-- Col lect up te xt --> CR LF
105     <!--                   --> CR LF   106     <!--                   --> CR LF
106     <xsl:var iable name ="VarParag raphText"> CR LF   107     <xsl:var iable name ="VarParag raphText"> CR LF
107      <xsl:ca ll-templat e name="Br eadcrumbEn try"> CR LF   108      <xsl:ca ll-templat e name="Br eadcrumbEn try"> CR LF
108       <xsl:w ith-param  name="Para mTOCEntry"  select="$ ParamBread crumbTOCEn try" /> CR LF   109       <xsl:w ith-param  name="Para mTOCEntry"  select="$ ParamBread crumbTOCEn try" /> CR LF
109      </xsl:c all-templa te> CR LF   110      </xsl:c all-templa te> CR LF
110     </xsl:va riable> CR LF   111     </xsl:va riable> CR LF
111   CR LF   112   CR LF
112     <!-- Esc ape for di splay --> CR LF   113     <!-- Esc ape for di splay --> CR LF
113     <!--                      --> CR LF   114     <!--                      --> CR LF
114     <xsl:cal l-template  name="Moi nMoin-Esca peParagrap hText"> CR LF   115     <xsl:cal l-template  name="Moi nMoin-Esca peParagrap hText"> CR LF
115      <xsl:wi th-param n ame="Param Text" sele ct="$VarPa ragraphTex t" /> CR LF   116      <xsl:wi th-param n ame="Param Text" sele ct="$VarPa ragraphTex t" /> CR LF
116     </xsl:ca ll-templat e> CR LF   117     </xsl:ca ll-templat e> CR LF
117    </xsl:tem plate> CR LF   118    </xsl:tem plate> CR LF
118   CR LF   119   CR LF
119   CR LF   120   CR LF
120    <xsl:temp late name= "Breadcrum bEntry"> CR LF   121    <xsl:temp late name= "Breadcrum bEntry"> CR LF
121     <xsl:par am name="P aramTOCEnt ry" /> CR LF   122     <xsl:par am name="P aramTOCEnt ry" /> CR LF
122   CR LF   123   CR LF
123     <xsl:for -each sele ct="$Param TOCEntry/w wdoc:Parag raph/wwdoc :Number/ww doc:Text |  $ParamTOC Entry/wwdo c:Paragrap h/wwdoc:Te xtRun/wwdo c:Text"> CR LF   124     <xsl:for -each sele ct="$Param TOCEntry/w wdoc:Parag raph/wwdoc :Number/ww doc:Text |  $ParamTOC Entry/wwdo c:Paragrap h/wwdoc:Te xtRun/wwdo c:Text"> CR LF
124      <xsl:va riable nam e="VarText " select=" ." /> CR LF   125      <xsl:va riable nam e="VarText " select=" ." /> CR LF
125   CR LF   126   CR LF
126      <xsl:va lue-of sel ect="$VarT ext/@value " /> CR LF   127      <xsl:va lue-of sel ect="$VarT ext/@value " /> CR LF
127     </xsl:fo r-each> CR LF   128     </xsl:fo r-each> CR LF
128    </xsl:tem plate> CR LF   129    </xsl:tem plate> CR LF
129   CR LF   130   CR LF
130   CR LF   131   CR LF
131    <xsl:temp late name= "Content-C ontent"> CR LF   132    <xsl:temp late name= "Content-C ontent"> CR LF
132     <xsl:par am name="P aramConten t" /> CR LF   133     <xsl:par am name="P aramConten t" /> CR LF
133     <xsl:par am name="P aramSplits " /> CR LF   134     <xsl:par am name="P aramSplits " /> CR LF
134     <xsl:par am name="P aramCargo"  /> CR LF   135     <xsl:par am name="P aramCargo"  /> CR LF
135     <xsl:par am name="P aramLinks"  /> CR LF   136     <xsl:par am name="P aramLinks"  /> CR LF
136     <xsl:par am name="P aramTOCDat a" /> CR LF   137     <xsl:par am name="P aramTOCDat a" /> CR LF
137     <xsl:par am name="P aramSplit"  /> CR LF   138     <xsl:par am name="P aramSplit"  /> CR LF
138   CR LF   139   CR LF
139     <!-- Con tent --> CR LF   140     <!-- Con tent --> CR LF
140     <!--          --> CR LF   141     <!--          --> CR LF
141     <xsl:app ly-templat es select= "$ParamCon tent" mode ="wwmode:c ontent"> CR LF   142     <xsl:app ly-templat es select= "$ParamCon tent" mode ="wwmode:c ontent"> CR LF
142      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   143      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
143      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   144      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
144      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   145      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
145      <xsl:wi th-param n ame="Param TOCData" s elect="$Pa ramTOCData " /> CR LF   146      <xsl:wi th-param n ame="Param TOCData" s elect="$Pa ramTOCData " /> CR LF
146      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   147      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
147     </xsl:ap ply-templa tes> CR LF   148     </xsl:ap ply-templa tes> CR LF
148   CR LF   149   CR LF
149     <!-- Rel ated Topic s --> CR LF   150     <!-- Rel ated Topic s --> CR LF
150     <!--                  --> CR LF   151     <!--                  --> CR LF
151     <xsl:cal l-template  name="Rel atedTopics "> CR LF   152     <xsl:cal l-template  name="Rel atedTopics "> CR LF
152      <xsl:wi th-param n ame="Param Content" s elect="$Pa ramContent " /> CR LF   153      <xsl:wi th-param n ame="Param Content" s elect="$Pa ramContent " /> CR LF
153      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   154      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
154      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   155      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
155      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   156      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
156      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   157      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
157     </xsl:ca ll-templat e> CR LF   158     </xsl:ca ll-templat e> CR LF
158    </xsl:tem plate> CR LF   159    </xsl:tem plate> CR LF
159   CR LF   160   CR LF
160   CR LF   161   CR LF
161    <xsl:temp late name= "RelatedTo pics"> CR LF   162    <xsl:temp late name= "RelatedTo pics"> CR LF
162     <xsl:par am name="P aramConten t" /> CR LF   163     <xsl:par am name="P aramConten t" /> CR LF
163     <xsl:par am name="P aramSplits " /> CR LF   164     <xsl:par am name="P aramSplits " /> CR LF
164     <xsl:par am name="P aramCargo"  /> CR LF   165     <xsl:par am name="P aramCargo"  /> CR LF
165     <xsl:par am name="P aramLinks"  /> CR LF   166     <xsl:par am name="P aramLinks"  /> CR LF
166     <xsl:par am name="P aramSplit"  /> CR LF   167     <xsl:par am name="P aramSplit"  /> CR LF
167   CR LF   168   CR LF
168     <xsl:var iable name ="VarRelat edTopicPar agraphsAsX ML"> CR LF   169     <xsl:var iable name ="VarRelat edTopicPar agraphsAsX ML"> CR LF
169      <xsl:ca ll-templat e name="Re latedTopic Paragraphs "> CR LF   170      <xsl:ca ll-templat e name="Re latedTopic Paragraphs "> CR LF
170       <xsl:w ith-param  name="Para mContent"  select="$P aramConten t" /> CR LF   171       <xsl:w ith-param  name="Para mContent"  select="$P aramConten t" /> CR LF
171       <xsl:w ith-param  name="Para mCargo" se lect="$Par amCargo" / > CR LF   172       <xsl:w ith-param  name="Para mCargo" se lect="$Par amCargo" / > CR LF
172       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF   173       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF
173      </xsl:c all-templa te> CR LF   174      </xsl:c all-templa te> CR LF
174     </xsl:va riable> CR LF   175     </xsl:va riable> CR LF
175     <xsl:var iable name ="VarRelat edTopicPar agraphs" s elect="msx sl:node-se t($VarRela tedTopicPa ragraphsAs XML)/wwdoc :Paragraph " /> CR LF   176     <xsl:var iable name ="VarRelat edTopicPar agraphs" s elect="msx sl:node-se t($VarRela tedTopicPa ragraphsAs XML)/wwdoc :Paragraph " /> CR LF
176   CR LF   177   CR LF
177     <xsl:if  test="coun t($VarRela tedTopicPa ragraphs)  &gt; 0"> CR LF   178     <xsl:if  test="coun t($VarRela tedTopicPa ragraphs)  &gt; 0"> CR LF
178      <xsl:te xt>&lt;&lt ;BR&gt;&gt ; CR LF   179      <xsl:te xt>&lt;&lt ;BR&gt;&gt ; CR LF
179   </xsl:text > CR LF   180   </xsl:text > CR LF
180      <xsl:te xt>---- CR LF   181      <xsl:te xt>---- CR LF
181   </xsl:text > CR LF   182   </xsl:text > CR LF
182   CR LF   183   CR LF
183      <!-- Ti tle --> CR LF   184      <!-- Ti tle --> CR LF
184      <!--        --> CR LF   185      <!--        --> CR LF
185      <xsl:te xt> ::</xs l:text> CR LF   186      <xsl:te xt> ::</xs l:text> CR LF
186      <xsl:va lue-of sel ect="$Glob alLocale/w wlocale:Lo cale/wwloc ale:String s/wwlocale :String[@n ame = 'Rel atedTopics ']/@value"  /> CR LF   187      <xsl:va lue-of sel ect="$Glob alLocale/w wlocale:Lo cale/wwloc ale:String s/wwlocale :String[@n ame = 'Rel atedTopics ']/@value"  /> CR LF
187      <xsl:te xt> CR LF   188      <xsl:te xt> CR LF
188   </xsl:text > CR LF   189   </xsl:text > CR LF
189   CR LF   190   CR LF
190      <!-- Re lated Topi c Entries  --> CR LF   191      <!-- Re lated Topi c Entries  --> CR LF
191      <!--                          --> CR LF   192      <!--                          --> CR LF
192      <xsl:fo r-each sel ect="$VarR elatedTopi cParagraph s"> CR LF   193      <xsl:fo r-each sel ect="$VarR elatedTopi cParagraph s"> CR LF
193       <xsl:v ariable na me="VarRel atedTopicP aragraph"  select="."  /> CR LF   194       <xsl:v ariable na me="VarRel atedTopicP aragraph"  select="."  /> CR LF
194   CR LF   195   CR LF
195       <xsl:v ariable na me="VarCon textRule"  select="ww projext:Ge tContextRu le('Paragr aph', $Var RelatedTop icParagrap h/@stylena me, $Param Split/@doc umentID, $ VarRelated TopicParag raph/@id)"  /> CR LF   196       <xsl:v ariable na me="VarCon textRule"  select="ww projext:Ge tContextRu le('Paragr aph', $Var RelatedTop icParagrap h/@stylena me, $Param Split/@doc umentID, $ VarRelated TopicParag raph/@id)"  /> CR LF
196       <xsl:v ariable na me="VarPar agraphBeha vior" sele ct="$Param Cargo/wwbe haviors:Be haviors[1] " /> CR LF   197       <xsl:v ariable na me="VarPar agraphBeha vior" sele ct="$Param Cargo/wwbe haviors:Be haviors[1] " /> CR LF
197   CR LF   198   CR LF
198       <!-- R elated Top ic Paragra ph --> CR LF   199       <!-- R elated Top ic Paragra ph --> CR LF
199       <!--                            --> CR LF   200       <!--                            --> CR LF
200       <xsl:t ext> :: </ xsl:text> CR LF   201       <xsl:t ext> :: </ xsl:text> CR LF
201       <xsl:c all-templa te name="P aragraph-N ormal-Cont ent"> CR LF   202       <xsl:c all-templa te name="P aragraph-N ormal-Cont ent"> CR LF
202        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF   203        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF
203        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF   204        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF
204        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF   205        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF
205        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   206        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
206        <xsl: with-param  name="Par amParagrap h" select= "$VarRelat edTopicPar agraph" /> CR LF   207        <xsl: with-param  name="Par amParagrap h" select= "$VarRelat edTopicPar agraph" /> CR LF
207        <xsl: with-param  name="Par amStyleNam e" select= "$VarRelat edTopicPar agraph/@st ylename" / > CR LF   208        <xsl: with-param  name="Par amStyleNam e" select= "$VarRelat edTopicPar agraph/@st ylename" / > CR LF
208        <xsl: with-param  name="Par amContextR ule" selec t="$VarCon textRule"  /> CR LF   209        <xsl: with-param  name="Par amContextR ule" selec t="$VarCon textRule"  /> CR LF
209        <xsl: with-param  name="Par amParagrap hBehavior"  select="$ VarParagra phBehavior " /> CR LF   210        <xsl: with-param  name="Par amParagrap hBehavior"  select="$ VarParagra phBehavior " /> CR LF
210       </xsl: call-templ ate> CR LF   211       </xsl: call-templ ate> CR LF
211       <xsl:t ext> CR LF   212       <xsl:t ext> CR LF
212   </xsl:text > CR LF   213   </xsl:text > CR LF
213      </xsl:f or-each> CR LF   214      </xsl:f or-each> CR LF
214     </xsl:if > CR LF   215     </xsl:if > CR LF
215    </xsl:tem plate> CR LF   216    </xsl:tem plate> CR LF
216   CR LF   217   CR LF
217   CR LF   218   CR LF
218    <xsl:temp late name= "RelatedTo picParagra phs"> CR LF   219    <xsl:temp late name= "RelatedTo picParagra phs"> CR LF
219     <xsl:par am name="P aramConten t" /> CR LF   220     <xsl:par am name="P aramConten t" /> CR LF
220     <xsl:par am name="P aramCargo"  /> CR LF   221     <xsl:par am name="P aramCargo"  /> CR LF
221     <xsl:par am name="P aramSplit"  /> CR LF   222     <xsl:par am name="P aramSplit"  /> CR LF
222   CR LF   223   CR LF
223     <xsl:for -each sele ct="$Param Cargo/wwbe haviors:Be haviors[1] "> CR LF   224     <xsl:for -each sele ct="$Param Cargo/wwbe haviors:Be haviors[1] "> CR LF
224      <xsl:va riable nam e="VarRela tedTopicBe haviorPara graphs" se lect="key( 'wwbehavio rs-paragra phs-by-rel atedtopic' , 'define' ) | key('w wbehaviors -paragraph s-by-relat edtopic',  'define-no -output')"  /> CR LF   225      <xsl:va riable nam e="VarRela tedTopicBe haviorPara graphs" se lect="key( 'wwbehavio rs-paragra phs-by-rel atedtopic' , 'define' ) | key('w wbehaviors -paragraph s-by-relat edtopic',  'define-no -output')"  /> CR LF
225   CR LF   226   CR LF
226      <xsl:fo r-each sel ect="$VarR elatedTopi cBehaviorP aragraphs[ (@document position & gt;= $Para mSplit/@do cumentstar tposition)  and (@doc umentposit ion &lt;=  $ParamSpli t/@documen tendpositi on)]"> CR LF   227      <xsl:fo r-each sel ect="$VarR elatedTopi cBehaviorP aragraphs[ (@document position & gt;= $Para mSplit/@do cumentstar tposition)  and (@doc umentposit ion &lt;=  $ParamSpli t/@documen tendpositi on)]"> CR LF
227       <xsl:v ariable na me="VarBeh aviorParag raph" sele ct="." /> CR LF   228       <xsl:v ariable na me="VarBeh aviorParag raph" sele ct="." /> CR LF
228   CR LF   229   CR LF
229       <xsl:f or-each se lect="$Par amContent[ 1]"> CR LF   230       <xsl:f or-each se lect="$Par amContent[ 1]"> CR LF
230        <xsl: for-each s elect="key ('wwdoc-pa ragraphs-b y-id', $Va rBehaviorP aragraph/@ id)[1]"> CR LF   231        <xsl: for-each s elect="key ('wwdoc-pa ragraphs-b y-id', $Va rBehaviorP aragraph/@ id)[1]"> CR LF
231         <xsl :variable  name="VarP aragraph"  select="."  /> CR LF   232         <xsl :variable  name="VarP aragraph"  select="."  /> CR LF
232   CR LF   233   CR LF
233         <!--  Paragraph  has link?  --> CR LF   234         <!--  Paragraph  has link?  --> CR LF
234         <!--                        --> CR LF   235         <!--                        --> CR LF
235         <xsl :variable  name="VarC hildLinks"  select="$ VarParagra ph//wwdoc: Link[count ($VarParag raph | anc estor::wwd oc:Paragra ph[1]) = 1 ]" /> CR LF   236         <xsl :variable  name="VarC hildLinks"  select="$ VarParagra ph//wwdoc: Link[count ($VarParag raph | anc estor::wwd oc:Paragra ph[1]) = 1 ]" /> CR LF
236         <xsl :variable  name="VarC hildLinksC ount" sele ct="count( $VarChildL inks)" /> CR LF   237         <xsl :variable  name="VarC hildLinksC ount" sele ct="count( $VarChildL inks)" /> CR LF
237         <xsl :if test=" $VarChildL inksCount  &gt; 0"> CR LF   238         <xsl :if test=" $VarChildL inksCount  &gt; 0"> CR LF
238          <!- - Emit par agraph --> CR LF   239          <!- - Emit par agraph --> CR LF
239          <!- -                 --> CR LF   240          <!- -                 --> CR LF
240          <ww doc:Paragr aph> CR LF   241          <ww doc:Paragr aph> CR LF
241           <x sl:copy-of  select="$ VarParagra ph/@*" /> CR LF   242           <x sl:copy-of  select="$ VarParagra ph/@*" /> CR LF
242   CR LF   243   CR LF
243           <! -- Insure  link is de fined --> CR LF   244           <! -- Insure  link is de fined --> CR LF
244           <! --                          --> CR LF   245           <! --                          --> CR LF
245           <x sl:if test ="count($V arParagrap h/wwdoc:Li nk) = 0"> CR LF   246           <x sl:if test ="count($V arParagrap h/wwdoc:Li nk) = 0"> CR LF
246            < xsl:copy-o f select=" $VarChildL inks[1]" / > CR LF   247            < xsl:copy-o f select=" $VarChildL inks[1]" / > CR LF
247           </ xsl:if> CR LF   248           </ xsl:if> CR LF
248   CR LF   249   CR LF
249           <x sl:copy-of  select="$ VarParagra ph/*" /> CR LF   250           <x sl:copy-of  select="$ VarParagra ph/*" /> CR LF
250          </w wdoc:Parag raph> CR LF   251          </w wdoc:Parag raph> CR LF
251         </xs l:if> CR LF   252         </xs l:if> CR LF
252        </xsl :for-each> CR LF   253        </xsl :for-each> CR LF
253       </xsl: for-each> CR LF   254       </xsl: for-each> CR LF
254      </xsl:f or-each> CR LF   255      </xsl:f or-each> CR LF
255     </xsl:fo r-each> CR LF   256     </xsl:fo r-each> CR LF
256    </xsl:tem plate> CR LF   257    </xsl:tem plate> CR LF
257   CR LF   258   CR LF
258   CR LF   259   CR LF
259    <xsl:temp late name= "Content-N otes"> CR LF   260    <xsl:temp late name= "Content-N otes"> CR LF
260     <xsl:par am name="P aramNotes"  /> CR LF   261     <xsl:par am name="P aramNotes"  /> CR LF
261     <xsl:par am name="P aramSplits " /> CR LF   262     <xsl:par am name="P aramSplits " /> CR LF
262     <xsl:par am name="P aramCargo"  /> CR LF   263     <xsl:par am name="P aramCargo"  /> CR LF
263     <xsl:par am name="P aramLinks"  /> CR LF   264     <xsl:par am name="P aramLinks"  /> CR LF
264     <xsl:par am name="P aramTOCDat a" /> CR LF   265     <xsl:par am name="P aramTOCDat a" /> CR LF
265     <xsl:par am name="P aramSplit"  /> CR LF   266     <xsl:par am name="P aramSplit"  /> CR LF
266   CR LF   267   CR LF
267     <xsl:if  test="coun t($ParamNo tes[1]) =  1"> CR LF   268     <xsl:if  test="coun t($ParamNo tes[1]) =  1"> CR LF
268      <xsl:te xt>---- CR LF   269      <xsl:te xt>---- CR LF
269   </xsl:text > CR LF   270   </xsl:text > CR LF
270   CR LF   271   CR LF
271      <xsl:fo r-each sel ect="$Para mNotes"> CR LF   272      <xsl:fo r-each sel ect="$Para mNotes"> CR LF
272       <xsl:v ariable na me="VarNot e" select= "." /> CR LF   273       <xsl:v ariable na me="VarNot e" select= "." /> CR LF
273   CR LF   274   CR LF
274       <xsl:v ariable na me="VarNot eNumber" s elect="$Pa ramCargo/w wnotes:Not eNumbering /wwnotes:N ote[@id =  $VarNote/@ id]/@numbe r" /> CR LF   275       <xsl:v ariable na me="VarNot eNumber" s elect="$Pa ramCargo/w wnotes:Not eNumbering /wwnotes:N ote[@id =  $VarNote/@ id]/@numbe r" /> CR LF
275   CR LF   276   CR LF
276       <xsl:i f test="st ring-lengt h($VarNote Number) &g t; 0"> CR LF   277       <xsl:i f test="st ring-lengt h($VarNote Number) &g t; 0"> CR LF
277        <!--  Footnote n umber --> CR LF   278        <!--  Footnote n umber --> CR LF
278        <!--                   --> CR LF   279        <!--                   --> CR LF
279        <wwex sldoc:Text  disable-o utput-esca ping="yes" >&lt;&lt;A nchor(<xsl :value-of  select="$V arNote/@id " />)&gt;& gt;</wwexs ldoc:Text> CR LF   280        <wwex sldoc:Text  disable-o utput-esca ping="yes" >&lt;&lt;A nchor(<xsl :value-of  select="$V arNote/@id " />)&gt;& gt;</wwexs ldoc:Text> CR LF
280        <xsl: text>[[#</ xsl:text> CR LF   281        <xsl: text>[[#</ xsl:text> CR LF
281        <xsl: text>wwfoo tnote_inli ne_</xsl:t ext> CR LF   282        <xsl: text>wwfoo tnote_inli ne_</xsl:t ext> CR LF
282        <xsl: value-of s elect="$Va rNote/@id"  /> CR LF   283        <xsl: value-of s elect="$Va rNote/@id"  /> CR LF
283        <xsl: text>|</xs l:text> CR LF   284        <xsl: text>|</xs l:text> CR LF
284        <xsl: value-of s elect="$Va rNoteNumbe r" /> CR LF   285        <xsl: value-of s elect="$Va rNoteNumbe r" /> CR LF
285        <xsl: text>]] </ xsl:text> CR LF   286        <xsl: text>]] </ xsl:text> CR LF
286   CR LF   287   CR LF
287        <!--  Footnote t ext --> CR LF   288        <!--  Footnote t ext --> CR LF
288        <!--                 --> CR LF   289        <!--                 --> CR LF
289        <xsl: apply-temp lates sele ct="$VarNo te/*" mode ="wwmode:c ontent"> CR LF   290        <xsl: apply-temp lates sele ct="$VarNo te/*" mode ="wwmode:c ontent"> CR LF
290         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   291         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
291         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF   292         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF
292         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   293         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
293         <xsl :with-para m name="Pa ramTOCData " select=" $ParamTOCD ata" /> CR LF   294         <xsl :with-para m name="Pa ramTOCData " select=" $ParamTOCD ata" /> CR LF
294         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   295         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
295        </xsl :apply-tem plates> CR LF   296        </xsl :apply-tem plates> CR LF
296       </xsl: if> CR LF   297       </xsl: if> CR LF
297      </xsl:f or-each> CR LF   298      </xsl:f or-each> CR LF
298     </xsl:if > CR LF   299     </xsl:if > CR LF
299    </xsl:tem plate> CR LF   300    </xsl:tem plate> CR LF
300   CR LF   301   CR LF
301   CR LF   302   CR LF
302    <xsl:temp late name= "Notes-Num ber"> CR LF   303    <xsl:temp late name= "Notes-Num ber"> CR LF
303     <xsl:par am name="P aramNotes"  /> CR LF   304     <xsl:par am name="P aramNotes"  /> CR LF
304   CR LF   305   CR LF
305     <wwnotes :NoteNumbe ring versi on="1.0"> CR LF   306     <wwnotes :NoteNumbe ring versi on="1.0"> CR LF
306      <xsl:fo r-each sel ect="$Para mNotes"> CR LF   307      <xsl:fo r-each sel ect="$Para mNotes"> CR LF
307       <xsl:v ariable na me="VarNot e" select= "." /> CR LF   308       <xsl:v ariable na me="VarNot e" select= "." /> CR LF
308   CR LF   309   CR LF
309       <wwnot es:Note id ="{$VarNot e/@id}" nu mber="{pos ition()}"  /> CR LF   310       <wwnot es:Note id ="{$VarNot e/@id}" nu mber="{pos ition()}"  /> CR LF
310      </xsl:f or-each> CR LF   311      </xsl:f or-each> CR LF
311     </wwnote s:NoteNumb ering> CR LF   312     </wwnote s:NoteNumb ering> CR LF
312    </xsl:tem plate> CR LF   313    </xsl:tem plate> CR LF
313   CR LF   314   CR LF
314   CR LF   315   CR LF
315    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:content" > CR LF   316    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:content" > CR LF
316     <xsl:par am name="P aramSplits " /> CR LF   317     <xsl:par am name="P aramSplits " /> CR LF
317     <xsl:par am name="P aramCargo"  /> CR LF   318     <xsl:par am name="P aramCargo"  /> CR LF
318     <xsl:par am name="P aramLinks"  /> CR LF   319     <xsl:par am name="P aramLinks"  /> CR LF
319     <xsl:par am name="P aramTOCDat a" /> CR LF   320     <xsl:par am name="P aramTOCDat a" /> CR LF
320     <xsl:par am name="P aramSplit"  /> CR LF   321     <xsl:par am name="P aramSplit"  /> CR LF
321   CR LF   322   CR LF
322     <xsl:var iable name ="VarParag raph" sele ct="." /> CR LF   323     <xsl:var iable name ="VarParag raph" sele ct="." /> CR LF
323   CR LF   324   CR LF
324     <!-- Abo rted? --> CR LF   325     <!-- Abo rted? --> CR LF
325     <!--           --> CR LF   326     <!--           --> CR LF
326     <xsl:if  test="not( wwprogress :Abort())" > CR LF   327     <xsl:if  test="not( wwprogress :Abort())" > CR LF
327      <xsl:va riable nam e="VarCont extRule" s elect="wwp rojext:Get ContextRul e('Paragra ph', $VarP aragraph/@ stylename,  $ParamSpl it/@docume ntID, $Var Paragraph/ @id)" /> CR LF   328      <xsl:va riable nam e="VarCont extRule" s elect="wwp rojext:Get ContextRul e('Paragra ph', $VarP aragraph/@ stylename,  $ParamSpl it/@docume ntID, $Var Paragraph/ @id)" /> CR LF
328      <xsl:va riable nam e="VarGene rateOutput Option" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'gene rate-outpu t']/@Value " /> CR LF   329      <xsl:va riable nam e="VarGene rateOutput Option" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'gene rate-outpu t']/@Value " /> CR LF
329      <xsl:va riable nam e="VarGene rateOutput " select=" (string-le ngth($VarG enerateOut putOption)  = 0) or ( $VarGenera teOutputOp tion != 'f alse')" /> CR LF   330      <xsl:va riable nam e="VarGene rateOutput " select=" (string-le ngth($VarG enerateOut putOption)  = 0) or ( $VarGenera teOutputOp tion != 'f alse')" /> CR LF
330      <xsl:if  test="$Va rGenerateO utput"> CR LF   331      <xsl:if  test="$Va rGenerateO utput"> CR LF
331       <!-- R elated Top ic Only or  Popup Onl y? --> CR LF   332       <!-- R elated Top ic Only or  Popup Onl y? --> CR LF
332       <!--                                       --> CR LF   333       <!--                                       --> CR LF
333       <xsl:f or-each se lect="$Par amCargo/ww behaviors: Behaviors[ 1]"> CR LF   334       <xsl:f or-each se lect="$Par amCargo/ww behaviors: Behaviors[ 1]"> CR LF
334        <xsl: variable n ame="VarPa ragraphBeh avior" sel ect="key(' wwbehavior s-paragrap hs-by-id',  $VarParag raph/@id)[ 1]" /> CR LF   335        <xsl: variable n ame="VarPa ragraphBeh avior" sel ect="key(' wwbehavior s-paragrap hs-by-id',  $VarParag raph/@id)[ 1]" /> CR LF
335        <xsl: variable n ame="VarIn PopupPage"  select="c ount($Para mCargo/wwb ehaviors:P opupPage)  &gt; 0" /> CR LF   336        <xsl: variable n ame="VarIn PopupPage"  select="c ount($Para mCargo/wwb ehaviors:P opupPage)  &gt; 0" /> CR LF
336        <xsl: variable n ame="VarPo pupOnly" s elect="($V arParagrap hBehavior/ @popup = ' define-no- output') o r ($VarPar agraphBeha vior/@popu p = 'appen d-no-outpu t')" /> CR LF   337        <xsl: variable n ame="VarPo pupOnly" s elect="($V arParagrap hBehavior/ @popup = ' define-no- output') o r ($VarPar agraphBeha vior/@popu p = 'appen d-no-outpu t')" /> CR LF
337        <xsl: variable n ame="VarRe latedTopic Only" sele ct="$VarPa ragraphBeh avior/@rel atedtopic  = 'define- no-output' " /> CR LF   338        <xsl: variable n ame="VarRe latedTopic Only" sele ct="$VarPa ragraphBeh avior/@rel atedtopic  = 'define- no-output' " /> CR LF
338   CR LF   339   CR LF
339        <xsl: if test="$ VarInPopup Page or (n ot($VarPop upOnly) an d not($Var RelatedTop icOnly))"> CR LF   340        <xsl: if test="$ VarInPopup Page or (n ot($VarPop upOnly) an d not($Var RelatedTop icOnly))"> CR LF
340         <!--  Paragraph  --> CR LF   341         <!--  Paragraph  --> CR LF
341         <!--             --> CR LF   342         <!--             --> CR LF
342         <xsl :call-temp late name= "Paragraph "> CR LF   343         <xsl :call-temp late name= "Paragraph "> CR LF
343          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> CR LF   344          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> CR LF
344          <xs l:with-par am name="P aramCargo"  select="$ ParamCargo " /> CR LF   345          <xs l:with-par am name="P aramCargo"  select="$ ParamCargo " /> CR LF
345          <xs l:with-par am name="P aramLinks"  select="$ ParamLinks " /> CR LF   346          <xs l:with-par am name="P aramLinks"  select="$ ParamLinks " /> CR LF
346          <xs l:with-par am name="P aramSplit"  select="$ ParamSplit " /> CR LF   347          <xs l:with-par am name="P aramSplit"  select="$ ParamSplit " /> CR LF
347          <xs l:with-par am name="P aramParagr aph" selec t="$VarPar agraph" /> CR LF   348          <xs l:with-par am name="P aramParagr aph" selec t="$VarPar agraph" /> CR LF
348          <xs l:with-par am name="P aramStyleN ame" selec t="$VarPar agraph/@st ylename" / > CR LF   349          <xs l:with-par am name="P aramStyleN ame" selec t="$VarPar agraph/@st ylename" / > CR LF
349          <xs l:with-par am name="P aramContex tRule" sel ect="$VarC ontextRule " /> CR LF   350          <xs l:with-par am name="P aramContex tRule" sel ect="$VarC ontextRule " /> CR LF
350          <xs l:with-par am name="P aramParagr aphBehavio r" select= "$VarParag raphBehavi or" /> CR LF   351          <xs l:with-par am name="P aramParagr aphBehavio r" select= "$VarParag raphBehavi or" /> CR LF
351         </xs l:call-tem plate> CR LF   352         </xs l:call-tem plate> CR LF
352   CR LF   353   CR LF
353         <!--  MiniTOC - -> CR LF   354         <!--  MiniTOC - -> CR LF
354         <!--          - -> CR LF   355         <!--          - -> CR LF
355         <xsl :if test=" not($VarIn PopupPage) "> CR LF   356         <xsl :if test=" not($VarIn PopupPage) "> CR LF
356          <xs l:variable  name="Var MiniTOCSub Levels" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'mini toc-sublev els']/@Val ue" /> CR LF   357          <xs l:variable  name="Var MiniTOCSub Levels" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'mini toc-sublev els']/@Val ue" /> CR LF
357          <xs l:variable  name="Var MiniTOCSub LevelsNume ricPrefix"  select="w wunits:Num ericPrefix ($VarMiniT OCSubLevel s)" /> CR LF   358          <xs l:variable  name="Var MiniTOCSub LevelsNume ricPrefix"  select="w wunits:Num ericPrefix ($VarMiniT OCSubLevel s)" /> CR LF
358          <xs l:variable  name="Var MiniTOCSub LevelsGrea terThanZer o" select= "(string-l ength($Var MiniTOCSub LevelsNume ricPrefix)  &gt; 0) a nd (number ($VarMiniT OCSubLevel sNumericPr efix) &gt;  0)" /> CR LF   359          <xs l:variable  name="Var MiniTOCSub LevelsGrea terThanZer o" select= "(string-l ength($Var MiniTOCSub LevelsNume ricPrefix)  &gt; 0) a nd (number ($VarMiniT OCSubLevel sNumericPr efix) &gt;  0)" /> CR LF
359          <xs l:if test= "($VarMini TOCSubLeve lsGreaterT hanZero) o r ($VarMin iTOCSubLev els = 'all ')"> CR LF   360          <xs l:if test= "($VarMini TOCSubLeve lsGreaterT hanZero) o r ($VarMin iTOCSubLev els = 'all ')"> CR LF
360           <x sl:for-eac h select=" $ParamTOCD ata[1]"> CR LF   361           <x sl:for-eac h select=" $ParamTOCD ata[1]"> CR LF
361            < xsl:variab le name="V arTOCEntry " select=" key('wwtoc -entry-by- id', $VarP aragraph/@ id)[@docum entID = $P aramSplit/ @documentI D]" /> CR LF   362            < xsl:variab le name="V arTOCEntry " select=" key('wwtoc -entry-by- id', $VarP aragraph/@ id)[@docum entID = $P aramSplit/ @documentI D]" /> CR LF
362            < xsl:for-ea ch select= "$VarTOCEn try[1]"> CR LF   363            < xsl:for-ea ch select= "$VarTOCEn try[1]"> CR LF
363              <xsl:call- template n ame="MiniT OC"> CR LF   364              <xsl:call- template n ame="MiniT OC"> CR LF
364               <xsl:with -param nam e="ParamSp lit" selec t="$ParamS plit" /> CR LF   365               <xsl:with -param nam e="ParamSp lit" selec t="$ParamS plit" /> CR LF
365               <xsl:with -param nam e="ParamTO CEntry" se lect="$Var TOCEntry[1 ]" /> CR LF   366               <xsl:with -param nam e="ParamTO CEntry" se lect="$Var TOCEntry[1 ]" /> CR LF
366               <xsl:with -param nam e="ParamEm itTOCEntry " select=" false()" / > CR LF   367               <xsl:with -param nam e="ParamEm itTOCEntry " select=" false()" / > CR LF
367               <xsl:with -param nam e="ParamMi niTOCSubLe vels" sele ct="$VarMi niTOCSubLe vels" /> CR LF   368               <xsl:with -param nam e="ParamMi niTOCSubLe vels" sele ct="$VarMi niTOCSubLe vels" /> CR LF
368              </xsl:call -template> CR LF   369              </xsl:call -template> CR LF
369            < /xsl:for-e ach> CR LF   370            < /xsl:for-e ach> CR LF
370           </ xsl:for-ea ch> CR LF   371           </ xsl:for-ea ch> CR LF
371          </x sl:if> CR LF   372          </x sl:if> CR LF
372         </xs l:if> CR LF   373         </xs l:if> CR LF
373        </xsl :if> CR LF   374        </xsl :if> CR LF
374       </xsl: for-each> CR LF   375       </xsl: for-each> CR LF
375      </xsl:i f> CR LF   376      </xsl:i f> CR LF
376     </xsl:if > CR LF   377     </xsl:if > CR LF
377    </xsl:tem plate> CR LF   378    </xsl:tem plate> CR LF
378   CR LF   379   CR LF
379   CR LF   380   CR LF
380    <xsl:temp late name= "MiniTOC"> CR LF   381    <xsl:temp late name= "MiniTOC"> CR LF
381     <xsl:par am name="P aramSplit"  /> CR LF   382     <xsl:par am name="P aramSplit"  /> CR LF
382     <xsl:par am name="P aramTOCEnt ry" /> CR LF   383     <xsl:par am name="P aramTOCEnt ry" /> CR LF
383     <xsl:par am name="P aramEmitTO CEntry" /> CR LF   384     <xsl:par am name="P aramEmitTO CEntry" /> CR LF
384     <xsl:par am name="P aramMiniTO CSubLevels " /> CR LF   385     <xsl:par am name="P aramMiniTO CSubLevels " /> CR LF
385   CR LF   386   CR LF
386     <xsl:if  test="($Pa ramEmitTOC Entry = tr ue()) or ( count($Par amTOCEntry /wwtoc:Ent ry[1]) = 1 )"> CR LF   387     <xsl:if  test="($Pa ramEmitTOC Entry = tr ue()) or ( count($Par amTOCEntry /wwtoc:Ent ry[1]) = 1 )"> CR LF
387      <!-- Wr ap inside  a block -- > CR LF   388      <!-- Wr ap inside  a block -- > CR LF
388      <!--                       -- > CR LF   389      <!--                       -- > CR LF
389      <xsl:te xt>{{{{{#! wiki CR LF   390      <xsl:te xt>{{{{{#! wiki CR LF
390   </xsl:text > CR LF   391   </xsl:text > CR LF
391       <!-- E mit top-le vel entry?  --> CR LF   392       <!-- E mit top-le vel entry?  --> CR LF
392       <!--                          --> CR LF   393       <!--                          --> CR LF
393       <xsl:c hoose> CR LF   394       <xsl:c hoose> CR LF
394        <xsl: when test= "$ParamEmi tTOCEntry  = true()"> CR LF   395        <xsl: when test= "$ParamEmi tTOCEntry  = true()"> CR LF
395         <!--  Paragraph  --> CR LF   396         <!--  Paragraph  --> CR LF
396         <!--             --> CR LF   397         <!--             --> CR LF
397         <xsl :text> . < /xsl:text> CR LF   398         <xsl :text> . < /xsl:text> CR LF
398         <xsl :variable  name="VarP aragraphTe xt"> CR LF   399         <xsl :variable  name="VarP aragraphTe xt"> CR LF
399          <xs l:call-tem plate name ="MiniTOCP aragraph"> CR LF   400          <xs l:call-tem plate name ="MiniTOCP aragraph"> CR LF
400           <x sl:with-pa ram name=" ParamParag raph" sele ct="$Param TOCEntry/w wdoc:Parag raph" /> CR LF   401           <x sl:with-pa ram name=" ParamParag raph" sele ct="$Param TOCEntry/w wdoc:Parag raph" /> CR LF
401          </x sl:call-te mplate> CR LF   402          </x sl:call-te mplate> CR LF
402         </xs l:variable > CR LF   403         </xs l:variable > CR LF
403         <xsl :call-temp late name= "MoinMoin- EscapePara graphText" > CR LF   404         <xsl :call-temp late name= "MoinMoin- EscapePara graphText" > CR LF
404          <xs l:with-par am name="P aramText"  select="$V arParagrap hText" /> CR LF   405          <xs l:with-par am name="P aramText"  select="$V arParagrap hText" /> CR LF
405         </xs l:call-tem plate> CR LF   406         </xs l:call-tem plate> CR LF
406         <xsl :text> CR LF   407         <xsl :text> CR LF
407   </xsl:text > CR LF   408   </xsl:text > CR LF
408   CR LF   409   CR LF
409         <!--  Children  --> CR LF   410         <!--  Children  --> CR LF
410         <!--            --> CR LF   411         <!--            --> CR LF
411         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF   412         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF
412          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramSplit/@ path" /> CR LF   413          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramSplit/@ path" /> CR LF
413          <xs l:with-par am name="P aramParent " select=" $ParamTOCE ntry" /> CR LF   414          <xs l:with-par am name="P aramParent " select=" $ParamTOCE ntry" /> CR LF
414          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls" /> CR LF   415          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls" /> CR LF
415          <xs l:with-par am name="P aramLevel"  select="2 " /> CR LF   416          <xs l:with-par am name="P aramLevel"  select="2 " /> CR LF
416         </xs l:call-tem plate> CR LF   417         </xs l:call-tem plate> CR LF
417        </xsl :when> CR LF   418        </xsl :when> CR LF
418   CR LF   419   CR LF
419        <xsl: otherwise> CR LF   420        <xsl: otherwise> CR LF
420         <!--  Children  --> CR LF   421         <!--  Children  --> CR LF
421         <!--            --> CR LF   422         <!--            --> CR LF
422         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF   423         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF
423          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramSplit/@ path" /> CR LF   424          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramSplit/@ path" /> CR LF
424          <xs l:with-par am name="P aramParent " select=" $ParamTOCE ntry" /> CR LF   425          <xs l:with-par am name="P aramParent " select=" $ParamTOCE ntry" /> CR LF
425          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls" /> CR LF   426          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls" /> CR LF
426          <xs l:with-par am name="P aramLevel"  select="1 " /> CR LF   427          <xs l:with-par am name="P aramLevel"  select="1 " /> CR LF
427         </xs l:call-tem plate> CR LF   428         </xs l:call-tem plate> CR LF
428        </xsl :otherwise > CR LF   429        </xsl :otherwise > CR LF
429       </xsl: choose> CR LF   430       </xsl: choose> CR LF
430      <xsl:te xt>}}}}} CR LF   431      <xsl:te xt>}}}}} CR LF
431   CR LF   432   CR LF
432   </xsl:text > CR LF   433   </xsl:text > CR LF
433     </xsl:if > CR LF   434     </xsl:if > CR LF
434    </xsl:tem plate> CR LF   435    </xsl:tem plate> CR LF
435   CR LF   436   CR LF
436   CR LF   437   CR LF
437    <xsl:temp late name= "MiniTOCEn tries"> CR LF   438    <xsl:temp late name= "MiniTOCEn tries"> CR LF
438     <xsl:par am name="P aramRefere ncePath" / > CR LF   439     <xsl:par am name="P aramRefere ncePath" / > CR LF
439     <xsl:par am name="P aramParent " /> CR LF   440     <xsl:par am name="P aramParent " /> CR LF
440     <xsl:par am name="P aramMiniTO CSubLevels " /> CR LF   441     <xsl:par am name="P aramMiniTO CSubLevels " /> CR LF
441     <xsl:par am name="P aramLevel"  /> CR LF   442     <xsl:par am name="P aramLevel"  /> CR LF
442   CR LF   443   CR LF
443     <xsl:var iable name ="VarSubEn tries" sel ect="$Para mParent/ww toc:Entry"  /> CR LF   444     <xsl:var iable name ="VarSubEn tries" sel ect="$Para mParent/ww toc:Entry"  /> CR LF
444   CR LF   445   CR LF
445     <xsl:for -each sele ct="$VarSu bEntries[1 ]"> CR LF   446     <xsl:for -each sele ct="$VarSu bEntries[1 ]"> CR LF
446      <xsl:fo r-each sel ect="$VarS ubEntries" > CR LF   447      <xsl:fo r-each sel ect="$VarS ubEntries" > CR LF
447       <xsl:v ariable na me="VarEnt ry" select ="." /> CR LF   448       <xsl:v ariable na me="VarEnt ry" select ="." /> CR LF
448   CR LF   449   CR LF
449       <!-- E mit on lin e --> CR LF   450       <!-- E mit on lin e --> CR LF
450       <!--                --> CR LF   451       <!--                --> CR LF
451       <xsl:c all-templa te name="S paces"> CR LF   452       <xsl:c all-templa te name="S paces"> CR LF
452        <xsl: with-param  name="Par amSpacesTo Emit" sele ct="$Param Level" /> CR LF   453        <xsl: with-param  name="Par amSpacesTo Emit" sele ct="$Param Level" /> CR LF
453       </xsl: call-templ ate> CR LF   454       </xsl: call-templ ate> CR LF
454       <xsl:t ext>. </xs l:text> CR LF   455       <xsl:t ext>. </xs l:text> CR LF
455   CR LF   456   CR LF
456       <xsl:c hoose> CR LF   457       <xsl:c hoose> CR LF
457        <xsl: when test= "string-le ngth($VarE ntry/@path ) &gt; 0"> CR LF   458        <xsl: when test= "string-le ngth($VarE ntry/@path ) &gt; 0"> CR LF
458         <!--  Get link  --> CR LF   459         <!--  Get link  --> CR LF
459         <!--            --> CR LF   460         <!--            --> CR LF
460         <xsl :variable  name="VarR elativeLin kPath"> CR LF   461         <xsl :variable  name="VarR elativeLin kPath"> CR LF
461          <xs l:call-tem plate name ="MoinMoin -RelativeP ageLink"> CR LF   462          <xs l:call-tem plate name ="MoinMoin -RelativeP ageLink"> CR LF
462           <x sl:with-pa ram name=" ParamSourc e" select= "$ParamRef erencePath " /> CR LF   463           <x sl:with-pa ram name=" ParamSourc e" select= "$ParamRef erencePath " /> CR LF
463           <x sl:with-pa ram name=" ParamTarge t" select= "$VarEntry /@path" /> CR LF   464           <x sl:with-pa ram name=" ParamTarge t" select= "$VarEntry /@path" /> CR LF
464          </x sl:call-te mplate> CR LF   465          </x sl:call-te mplate> CR LF
465         </xs l:variable > CR LF   466         </xs l:variable > CR LF
466   CR LF   467   CR LF
467         <xsl :text>[[</ xsl:text> CR LF   468         <xsl :text>[[</ xsl:text> CR LF
468         <xsl :if test=" $VarRelati veLinkPath  != '../'" > CR LF   469         <xsl :if test=" $VarRelati veLinkPath  != '../'" > CR LF
469          <xs l:value-of  select="$ VarRelativ eLinkPath"  /> CR LF   470          <xs l:value-of  select="$ VarRelativ eLinkPath"  /> CR LF
470         </xs l:if> CR LF   471         </xs l:if> CR LF
471         <xsl :if test=" string-len gth($VarEn try/@linki d) &gt; 0" > CR LF   472         <xsl :if test=" string-len gth($VarEn try/@linki d) &gt; 0" > CR LF
472          <xs l:text>#</ xsl:text> CR LF   473          <xs l:text>#</ xsl:text> CR LF
473          <xs l:value-of  select="$ VarEntry/@ linkid" /> CR LF   474          <xs l:value-of  select="$ VarEntry/@ linkid" /> CR LF
474         </xs l:if> CR LF   475         </xs l:if> CR LF
475         <xsl :text>|</x sl:text> CR LF   476         <xsl :text>|</x sl:text> CR LF
476         <xsl :call-temp late name= "MiniTOCPa ragraph"> CR LF   477         <xsl :call-temp late name= "MiniTOCPa ragraph"> CR LF
477          <xs l:with-par am name="P aramParagr aph" selec t="$VarEnt ry/wwdoc:P aragraph"  /> CR LF   478          <xs l:with-par am name="P aramParagr aph" selec t="$VarEnt ry/wwdoc:P aragraph"  /> CR LF
478         </xs l:call-tem plate> CR LF   479         </xs l:call-tem plate> CR LF
479         <xsl :text>]]</ xsl:text> CR LF   480         <xsl :text>]]</ xsl:text> CR LF
480        </xsl :when> CR LF   481        </xsl :when> CR LF
481   CR LF   482   CR LF
482        <xsl: otherwise> CR LF   483        <xsl: otherwise> CR LF
483         <xsl :variable  name="VarP aragraphTe xt"> CR LF   484         <xsl :variable  name="VarP aragraphTe xt"> CR LF
484          <xs l:call-tem plate name ="MiniTOCP aragraph"> CR LF   485          <xs l:call-tem plate name ="MiniTOCP aragraph"> CR LF
485           <x sl:with-pa ram name=" ParamParag raph" sele ct="$VarEn try/wwdoc: Paragraph"  /> CR LF   486           <x sl:with-pa ram name=" ParamParag raph" sele ct="$VarEn try/wwdoc: Paragraph"  /> CR LF
486          </x sl:call-te mplate> CR LF   487          </x sl:call-te mplate> CR LF
487         </xs l:variable > CR LF   488         </xs l:variable > CR LF
488         <xsl :call-temp late name= "MoinMoin- EscapePara graphText" > CR LF   489         <xsl :call-temp late name= "MoinMoin- EscapePara graphText" > CR LF
489          <xs l:with-par am name="P aramText"  select="$V arParagrap hText" /> CR LF   490          <xs l:with-par am name="P aramText"  select="$V arParagrap hText" /> CR LF
490         </xs l:call-tem plate> CR LF   491         </xs l:call-tem plate> CR LF
491        </xsl :otherwise > CR LF   492        </xsl :otherwise > CR LF
492       </xsl: choose> CR LF   493       </xsl: choose> CR LF
493       <xsl:t ext> CR LF   494       <xsl:t ext> CR LF
494   </xsl:text > CR LF   495   </xsl:text > CR LF
495   CR LF   496   CR LF
496       <!-- R ecurse --> CR LF   497       <!-- R ecurse --> CR LF
497       <!--          --> CR LF   498       <!--          --> CR LF
498       <xsl:c hoose> CR LF   499       <xsl:c hoose> CR LF
499        <xsl: when test= "$ParamMin iTOCSubLev els = 'all '"> CR LF   500        <xsl: when test= "$ParamMin iTOCSubLev els = 'all '"> CR LF
500         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF   501         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF
501          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramReferen cePath" /> CR LF   502          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramReferen cePath" /> CR LF
502          <xs l:with-par am name="P aramParent " select=" $VarEntry"  /> CR LF   503          <xs l:with-par am name="P aramParent " select=" $VarEntry"  /> CR LF
503          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls" /> CR LF   504          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls" /> CR LF
504          <xs l:with-par am name="P aramLevel"  select="$ ParamLevel  + 1" /> CR LF   505          <xs l:with-par am name="P aramLevel"  select="$ ParamLevel  + 1" /> CR LF
505         </xs l:call-tem plate> CR LF   506         </xs l:call-tem plate> CR LF
506        </xsl :when> CR LF   507        </xsl :when> CR LF
507   CR LF   508   CR LF
508        <xsl: when test= "($ParamMi niTOCSubLe vels - 1)  &gt; 0"> CR LF   509        <xsl: when test= "($ParamMi niTOCSubLe vels - 1)  &gt; 0"> CR LF
509         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF   510         <xsl :call-temp late name= "MiniTOCEn tries"> CR LF
510          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramReferen cePath" /> CR LF   511          <xs l:with-par am name="P aramRefere ncePath" s elect="$Pa ramReferen cePath" /> CR LF
511          <xs l:with-par am name="P aramParent " select=" $VarEntry"  /> CR LF   512          <xs l:with-par am name="P aramParent " select=" $VarEntry"  /> CR LF
512          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls - 1" /> CR LF   513          <xs l:with-par am name="P aramMiniTO CSubLevels " select=" $ParamMini TOCSubLeve ls - 1" /> CR LF
513          <xs l:with-par am name="P aramLevel"  select="$ ParamLevel  + 1" /> CR LF   514          <xs l:with-par am name="P aramLevel"  select="$ ParamLevel  + 1" /> CR LF
514         </xs l:call-tem plate> CR LF   515         </xs l:call-tem plate> CR LF
515        </xsl :when> CR LF   516        </xsl :when> CR LF
516       </xsl: choose> CR LF   517       </xsl: choose> CR LF
517      </xsl:f or-each> CR LF   518      </xsl:f or-each> CR LF
518     </xsl:fo r-each> CR LF   519     </xsl:fo r-each> CR LF
519    </xsl:tem plate> CR LF   520    </xsl:tem plate> CR LF
520   CR LF   521   CR LF
521   CR LF   522   CR LF
522    <xsl:temp late name= "MiniTOCPa ragraph"> CR LF   523    <xsl:temp late name= "MiniTOCPa ragraph"> CR LF
523     <xsl:par am name="P aramParagr aph" /> CR LF   524     <xsl:par am name="P aramParagr aph" /> CR LF
524   CR LF   525   CR LF
525     <xsl:for -each sele ct="$Param Paragraph/ wwdoc:Numb er/wwdoc:T ext | $Par amParagrap h/wwdoc:Te xtRun/wwdo c:Text"> CR LF   526     <xsl:for -each sele ct="$Param Paragraph/ wwdoc:Numb er/wwdoc:T ext | $Par amParagrap h/wwdoc:Te xtRun/wwdo c:Text"> CR LF
526      <xsl:va lue-of sel ect="@valu e" /> CR LF   527      <xsl:va lue-of sel ect="@valu e" /> CR LF
527     </xsl:fo r-each> CR LF   528     </xsl:fo r-each> CR LF
528    </xsl:tem plate> CR LF   529    </xsl:tem plate> CR LF
529   CR LF   530   CR LF
530   CR LF   531   CR LF
531    <xsl:temp late name= "Paragraph "> CR LF   532    <xsl:temp late name= "Paragraph "> CR LF
532     <xsl:par am name="P aramSplits " /> CR LF   533     <xsl:par am name="P aramSplits " /> CR LF
533     <xsl:par am name="P aramCargo"  /> CR LF   534     <xsl:par am name="P aramCargo"  /> CR LF
534     <xsl:par am name="P aramLinks"  /> CR LF   535     <xsl:par am name="P aramLinks"  /> CR LF
535     <xsl:par am name="P aramSplit"  /> CR LF   536     <xsl:par am name="P aramSplit"  /> CR LF
536     <xsl:par am name="P aramParagr aph" /> CR LF   537     <xsl:par am name="P aramParagr aph" /> CR LF
537     <xsl:par am name="P aramStyleN ame" /> CR LF   538     <xsl:par am name="P aramStyleN ame" /> CR LF
538     <xsl:par am name="P aramContex tRule" /> CR LF   539     <xsl:par am name="P aramContex tRule" /> CR LF
539     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF   540     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF
540   CR LF   541   CR LF
541     <!-- Pre serve empt y? --> CR LF   542     <!-- Pre serve empt y? --> CR LF
542     <!--                   --> CR LF   543     <!--                   --> CR LF
543     <xsl:var iable name ="VarPrese rveEmptyOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'pres erve-empty ']/@Value"  /> CR LF   544     <xsl:var iable name ="VarPrese rveEmptyOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'pres erve-empty ']/@Value"  /> CR LF
544     <xsl:var iable name ="VarPrese rveEmpty"  select="(s tring-leng th($VarPre serveEmpty Option) =  0) or ($Va rPreserveE mptyOption  = 'true') " /> CR LF   545     <xsl:var iable name ="VarPrese rveEmpty"  select="(s tring-leng th($VarPre serveEmpty Option) =  0) or ($Va rPreserveE mptyOption  = 'true') " /> CR LF
545   CR LF   546   CR LF
546     <!-- Non -empty tex t runs --> CR LF   547     <!-- Non -empty tex t runs --> CR LF
547     <!--                       --> CR LF   548     <!--                       --> CR LF
548      <xsl:varia ble name=" VarTextRun s" select= "$ParamPar agraph/wwd oc:TextRun [count(chi ld::wwdoc: Text[1] |  child::wwd oc:Frame[1 ] | child: :wwdoc:Not e[1] | chi ld::wwdoc: LineBreak[ 1]
) &gt; 0]"  /> CR LF
  549      <xsl:varia ble name=" VarTextRun s" select= "$ParamPar agraph/wwd oc:TextRun [count(chi ld::wwdoc: Text[1] |  child::wwd oc:Frame[1 ] | child: :wwdoc:Not e[1] | chi ld::wwdoc: LineBreak[ 1]  | child:: wwdoc:Mark er[1] ) &gt; 0]"  /> CR LF
549   CR LF   550   CR LF
550     <!-- Pro cess this  paragraph  at all? -- > CR LF   551     <!-- Pro cess this  paragraph  at all? -- > CR LF
551     <!--                                   -- > CR LF   552     <!--                                   -- > CR LF
552     <xsl:if  test="($Va rPreserveE mpty) or ( count($Var TextRuns[1 ]) = 1)"> CR LF   553     <xsl:if  test="($Va rPreserveE mpty) or ( count($Var TextRuns[1 ]) = 1)"> CR LF
553      <!-- Pa ss-through ? --> CR LF   554      <!-- Pa ss-through ? --> CR LF
554      <!--                 --> CR LF   555      <!--                 --> CR LF
555      <xsl:va riable nam e="VarPass Through"> CR LF   556      <xsl:va riable nam e="VarPass Through"> CR LF
    557       <xsl:v ariable na me="VarPas sThroughOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'pass -through'] /@Value" / > CR LF
    558   CR LF
    559       <xsl:c hoose> CR LF
    560        <xsl: when test= "$VarPassT hroughOpti on = 'true '"> CR LF
    561         <xsl :value-of  select="tr ue()" /> CR LF
    562        </xsl :when> CR LF
    563   CR LF
    564        <xsl: otherwise> CR LF
556       <xsl:c all-templa te name="C onditions- PassThroug h"> CR LF   565         <xsl :call-temp late name= "Condition s-PassThro ugh"> CR LF
557        <xsl: with-param  name="Par amConditio ns" select ="$ParamPa ragraph/ww doc:Condit ions" /> CR LF   566          <xs l:with-par am name="P aramCondit ions" sele ct="$Param Paragraph/ wwdoc:Cond itions" /> CR LF
558       </xsl: call-templ ate> CR LF   567         </xs l:call-tem plate> CR LF
    568        </xsl :otherwise > CR LF
    569       </xsl: choose> CR LF
559      </xsl:v ariable> CR LF   570      </xsl:v ariable> CR LF
560   CR LF   571   CR LF
561      <xsl:ch oose> CR LF   572      <xsl:ch oose> CR LF
562       <!-- P ass-throug h --> CR LF   573       <!-- P ass-throug h --> CR LF
563       <!--                --> CR LF   574       <!--                --> CR LF
564       <xsl:w hen test=" $VarPassTh rough = 't rue'"> CR LF   575       <xsl:w hen test=" $VarPassTh rough = 't rue'"> CR LF
565        <!--  Use number ing? --> CR LF   576        <!--  Use number ing? --> CR LF
566        <!--                  --> CR LF   577        <!--                  --> CR LF
567        <xsl: variable n ame="VarUs eNumbering Option" se lect="$Par amContextR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'us e-numberin g']/@Value " /> CR LF   578        <xsl: variable n ame="VarUs eNumbering Option" se lect="$Par amContextR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'us e-numberin g']/@Value " /> CR LF
568        <xsl: variable n ame="VarUs eNumbering " select=" (string-le ngth($VarU seNumberin gOption) =  0) or ($V arUseNumbe ringOption  = 'true') " /> CR LF   579        <xsl: variable n ame="VarUs eNumbering " select=" (string-le ngth($VarU seNumberin gOption) =  0) or ($V arUseNumbe ringOption  = 'true') " /> CR LF
569        <xsl: choose> CR LF   580        <xsl: choose> CR LF
570         <xsl :when test ="$VarUseN umbering"> CR LF   581         <xsl :when test ="$VarUseN umbering"> CR LF
571          <xs l:apply-te mplates se lect="$Par amParagrap h" mode="w wmode:pass through-wi th-numberi ng" /> CR LF   582          <xs l:apply-te mplates se lect="$Par amParagrap h" mode="w wmode:pass through-wi th-numberi ng" /> CR LF
572         </xs l:when> CR LF   583         </xs l:when> CR LF
573   CR LF   584   CR LF
574         <xsl :otherwise > CR LF   585         <xsl :otherwise > CR LF
575          <xs l:apply-te mplates se lect="$Par amParagrap h" mode="w wmode:pass through" / > CR LF   586          <xs l:apply-te mplates se lect="$Par amParagrap h" mode="w wmode:pass through" / > CR LF
576         </xs l:otherwis e> CR LF   587         </xs l:otherwis e> CR LF
577        </xsl :choose> CR LF   588        </xsl :choose> CR LF
578       </xsl: when> CR LF   589       </xsl: when> CR LF
579   CR LF   590   CR LF
580       <!-- O ther parag raph behav ior --> CR LF   591       <!-- O ther parag raph behav ior --> CR LF
581       <!--                             --> CR LF   592       <!--                             --> CR LF
582       <xsl:o therwise> CR LF   593       <xsl:o therwise> CR LF
583        <!--  Parser blo ck? --> CR LF   594        <!--  Parser blo ck? --> CR LF
584        <!--                 --> CR LF   595        <!--                 --> CR LF
585        <xsl: variable n ame="VarWi kiParserBl ockOption"  select="$ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'wiki-pars er-block'] /@Value" / > CR LF   596        <xsl: variable n ame="VarWi kiParserBl ockOption"  select="$ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'wiki-pars er-block'] /@Value" / > CR LF
586        <xsl: variable n ame="VarWi kiParserBl ock" selec t="$VarWik iParserBlo ckOption =  'true'" / > CR LF   597        <xsl: variable n ame="VarWi kiParserBl ock" selec t="$VarWik iParserBlo ckOption =  'true'" / > CR LF
587   CR LF   598   CR LF
588        <xsl: choose> CR LF   599        <xsl: choose> CR LF
589         <!--  Parser bl ock --> CR LF   600         <!--  Parser bl ock --> CR LF
590         <!--                --> CR LF   601         <!--                --> CR LF
591         <xsl :when test ="$VarWiki ParserBloc k"> CR LF   602         <xsl :when test ="$VarWiki ParserBloc k"> CR LF
592          <xs l:call-tem plate name ="Paragrap h-ParserBl ock"> CR LF   603          <xs l:call-tem plate name ="Paragrap h-ParserBl ock"> CR LF
593           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF   604           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF
594           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF   605           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF
595           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF   606           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF
596           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF   607           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF
597           <x sl:with-pa ram name=" ParamParag raph" sele ct="$Param Paragraph"  /> CR LF   608           <x sl:with-pa ram name=" ParamParag raph" sele ct="$Param Paragraph"  /> CR LF
598           <x sl:with-pa ram name=" ParamStyle Name" sele ct="$Param StyleName"  /> CR LF   609           <x sl:with-pa ram name=" ParamStyle Name" sele ct="$Param StyleName"  /> CR LF
599           <x sl:with-pa ram name=" ParamConte xtRule" se lect="$Par amContextR ule" /> CR LF   610           <x sl:with-pa ram name=" ParamConte xtRule" se lect="$Par amContextR ule" /> CR LF
600           <x sl:with-pa ram name=" ParamParag raphBehavi or" select ="$ParamPa ragraphBeh avior" /> CR LF   611           <x sl:with-pa ram name=" ParamParag raphBehavi or" select ="$ParamPa ragraphBeh avior" /> CR LF
601          </x sl:call-te mplate> CR LF   612          </x sl:call-te mplate> CR LF
602         </xs l:when> CR LF   613         </xs l:when> CR LF
603   CR LF   614   CR LF
604         <!--  Other par agraph beh avior --> CR LF   615         <!--  Other par agraph beh avior --> CR LF
605         <!--                             --> CR LF   616         <!--                             --> CR LF
606         <xsl :otherwise > CR LF   617         <xsl :otherwise > CR LF
607          <!- - Comment?  --> CR LF   618          <!- - Comment?  --> CR LF
608          <!- -           --> CR LF   619          <!- -           --> CR LF
609          <xs l:variable  name="Var WikiCommen tOption" s elect="$Pa ramContext Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'w iki-commen t']/@Value " /> CR LF   620          <xs l:variable  name="Var WikiCommen tOption" s elect="$Pa ramContext Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'w iki-commen t']/@Value " /> CR LF
610          <xs l:variable  name="Var WikiCommen t" select= "$VarWikiC ommentOpti on = 'true '" /> CR LF   621          <xs l:variable  name="Var WikiCommen t" select= "$VarWikiC ommentOpti on = 'true '" /> CR LF
611   CR LF   622   CR LF
612          <xs l:choose> CR LF   623          <xs l:choose> CR LF
613           <! -- Comment  --> CR LF   624           <! -- Comment  --> CR LF
614           <! --          --> CR LF   625           <! --          --> CR LF
615           <x sl:when te st="$VarWi kiComment" > CR LF   626           <x sl:when te st="$VarWi kiComment" > CR LF
616            < xsl:call-t emplate na me="Paragr aph-Commen t"> CR LF   627            < xsl:call-t emplate na me="Paragr aph-Commen t"> CR LF
617              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" /> CR LF   628              <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" /> CR LF
618              <xsl:with- param name ="ParamCar go" select ="$ParamCa rgo" /> CR LF   629              <xsl:with- param name ="ParamCar go" select ="$ParamCa rgo" /> CR LF
619              <xsl:with- param name ="ParamLin ks" select ="$ParamLi nks" /> CR LF   630              <xsl:with- param name ="ParamLin ks" select ="$ParamLi nks" /> CR LF
620              <xsl:with- param name ="ParamSpl it" select ="$ParamSp lit" /> CR LF   631              <xsl:with- param name ="ParamSpl it" select ="$ParamSp lit" /> CR LF
621              <xsl:with- param name ="ParamPar agraph" se lect="$Par amParagrap h" /> CR LF   632              <xsl:with- param name ="ParamPar agraph" se lect="$Par amParagrap h" /> CR LF
622              <xsl:with- param name ="ParamSty leName" se lect="$Par amStyleNam e" /> CR LF   633              <xsl:with- param name ="ParamSty leName" se lect="$Par amStyleNam e" /> CR LF
623              <xsl:with- param name ="ParamCon textRule"  select="$P aramContex tRule" /> CR LF   634              <xsl:with- param name ="ParamCon textRule"  select="$P aramContex tRule" /> CR LF
624              <xsl:with- param name ="ParamPar agraphBeha vior" sele ct="$Param ParagraphB ehavior" / > CR LF   635              <xsl:with- param name ="ParamPar agraphBeha vior" sele ct="$Param ParagraphB ehavior" / > CR LF
625            < /xsl:call- template> CR LF   636            < /xsl:call- template> CR LF
626           </ xsl:when> CR LF   637           </ xsl:when> CR LF
627   CR LF   638   CR LF
628           <! -- Other p aragraph b ehavior -- > CR LF   639           <! -- Other p aragraph b ehavior -- > CR LF
629           <! --                            -- > CR LF   640           <! --                            -- > CR LF
630           <x sl:otherwi se> CR LF   641           <x sl:otherwi se> CR LF
631            < !-- Headin g level? - -> CR LF   642            < !-- Headin g level? - -> CR LF
632            < !--                 - -> CR LF   643            < !--                 - -> CR LF
633            < xsl:variab le name="V arWikiHead ingLevelOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'wiki -heading-l evel']/@Va lue" /> CR LF   644            < xsl:variab le name="V arWikiHead ingLevelOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'wiki -heading-l evel']/@Va lue" /> CR LF
634            < xsl:variab le name="V arWikiHead ingLevelAs Text"> CR LF   645            < xsl:variab le name="V arWikiHead ingLevelAs Text"> CR LF
635              <xsl:choos e> CR LF   646              <xsl:choos e> CR LF
636               <xsl:when  test="$Va rWikiHeadi ngLevelOpt ion = 'non e'"> CR LF   647               <xsl:when  test="$Va rWikiHeadi ngLevelOpt ion = 'non e'"> CR LF
637                <xsl:val ue-of sele ct="0" /> CR LF   648                <xsl:val ue-of sele ct="0" /> CR LF
638               </xsl:whe n> CR LF   649               </xsl:whe n> CR LF
639   CR LF   650   CR LF
640               <xsl:when  test="num ber($VarWi kiHeadingL evelOption ) &gt; 0"> CR LF   651               <xsl:when  test="num ber($VarWi kiHeadingL evelOption ) &gt; 0"> CR LF
641                <xsl:val ue-of sele ct="$VarWi kiHeadingL evelOption " /> CR LF   652                <xsl:val ue-of sele ct="$VarWi kiHeadingL evelOption " /> CR LF
642               </xsl:whe n> CR LF   653               </xsl:whe n> CR LF
643   CR LF   654   CR LF
644               <xsl:othe rwise> CR LF   655               <xsl:othe rwise> CR LF
645                <xsl:val ue-of sele ct="0" /> CR LF   656                <xsl:val ue-of sele ct="0" /> CR LF
646               </xsl:oth erwise> CR LF   657               </xsl:oth erwise> CR LF
647              </xsl:choo se> CR LF   658              </xsl:choo se> CR LF
648            < /xsl:varia ble> CR LF   659            < /xsl:varia ble> CR LF
649            < xsl:variab le name="V arWikiHead ingLevel"  select="nu mber($VarW ikiHeading LevelAsTex t)" /> CR LF   660            < xsl:variab le name="V arWikiHead ingLevel"  select="nu mber($VarW ikiHeading LevelAsTex t)" /> CR LF
650   CR LF   661   CR LF
651            < xsl:choose > CR LF   662            < xsl:choose > CR LF
652              <!-- Headi ng level - -> CR LF   663              <!-- Headi ng level - -> CR LF
653              <!--                - -> CR LF   664              <!--                - -> CR LF
654              <xsl:when  test="$Var WikiHeadin gLevel &gt ; 0"> CR LF   665              <xsl:when  test="$Var WikiHeadin gLevel &gt ; 0"> CR LF
655               <xsl:call -template  name="Para graph-Head ing"> CR LF   666               <xsl:call -template  name="Para graph-Head ing"> CR LF
656                <xsl:wit h-param na me="ParamS plits" sel ect="$Para mSplits" / > CR LF   667                <xsl:wit h-param na me="ParamS plits" sel ect="$Para mSplits" / > CR LF
657                <xsl:wit h-param na me="ParamC argo" sele ct="$Param Cargo" /> CR LF   668                <xsl:wit h-param na me="ParamC argo" sele ct="$Param Cargo" /> CR LF
658                <xsl:wit h-param na me="ParamL inks" sele ct="$Param Links" /> CR LF   669                <xsl:wit h-param na me="ParamL inks" sele ct="$Param Links" /> CR LF
659                <xsl:wit h-param na me="ParamS plit" sele ct="$Param Split" /> CR LF   670                <xsl:wit h-param na me="ParamS plit" sele ct="$Param Split" /> CR LF
660                <xsl:wit h-param na me="ParamP aragraph"  select="$P aramParagr aph" /> CR LF   671                <xsl:wit h-param na me="ParamP aragraph"  select="$P aramParagr aph" /> CR LF
661                <xsl:wit h-param na me="ParamS tyleName"  select="$P aramStyleN ame" /> CR LF   672                <xsl:wit h-param na me="ParamS tyleName"  select="$P aramStyleN ame" /> CR LF
662                <xsl:wit h-param na me="ParamC ontextRule " select=" $ParamCont extRule" / > CR LF   673                <xsl:wit h-param na me="ParamC ontextRule " select=" $ParamCont extRule" / > CR LF
663                <xsl:wit h-param na me="ParamP aragraphBe havior" se lect="$Par amParagrap hBehavior"  /> CR LF   674                <xsl:wit h-param na me="ParamP aragraphBe havior" se lect="$Par amParagrap hBehavior"  /> CR LF
664                <xsl:wit h-param na me="ParamW ikiHeading Level" sel ect="$VarW ikiHeading Level" /> CR LF   675                <xsl:wit h-param na me="ParamW ikiHeading Level" sel ect="$VarW ikiHeading Level" /> CR LF
665               </xsl:cal l-template > CR LF   676               </xsl:cal l-template > CR LF
666              </xsl:when > CR LF   677              </xsl:when > CR LF
667   CR LF   678   CR LF
668              <!-- Body  paragraph  --> CR LF   679              <!-- Body  paragraph  --> CR LF
669              <!--                  --> CR LF   680              <!--                  --> CR LF
670              <xsl:other wise> CR LF   681              <xsl:other wise> CR LF
671               <xsl:call -template  name="Para graph-Norm al"> CR LF   682               <xsl:call -template  name="Para graph-Norm al"> CR LF
672                <xsl:wit h-param na me="ParamS plits" sel ect="$Para mSplits" / > CR LF   683                <xsl:wit h-param na me="ParamS plits" sel ect="$Para mSplits" / > CR LF
673                <xsl:wit h-param na me="ParamC argo" sele ct="$Param Cargo" /> CR LF   684                <xsl:wit h-param na me="ParamC argo" sele ct="$Param Cargo" /> CR LF
674                <xsl:wit h-param na me="ParamL inks" sele ct="$Param Links" /> CR LF   685                <xsl:wit h-param na me="ParamL inks" sele ct="$Param Links" /> CR LF
675                <xsl:wit h-param na me="ParamS plit" sele ct="$Param Split" /> CR LF   686                <xsl:wit h-param na me="ParamS plit" sele ct="$Param Split" /> CR LF
676                <xsl:wit h-param na me="ParamP aragraph"  select="$P aramParagr aph" /> CR LF   687                <xsl:wit h-param na me="ParamP aragraph"  select="$P aramParagr aph" /> CR LF
677                <xsl:wit h-param na me="ParamS tyleName"  select="$P aramStyleN ame" /> CR LF   688                <xsl:wit h-param na me="ParamS tyleName"  select="$P aramStyleN ame" /> CR LF
678                <xsl:wit h-param na me="ParamC ontextRule " select=" $ParamCont extRule" / > CR LF   689                <xsl:wit h-param na me="ParamC ontextRule " select=" $ParamCont extRule" / > CR LF
679                <xsl:wit h-param na me="ParamP aragraphBe havior" se lect="$Par amParagrap hBehavior"  /> CR LF   690                <xsl:wit h-param na me="ParamP aragraphBe havior" se lect="$Par amParagrap hBehavior"  /> CR LF
680               </xsl:cal l-template > CR LF   691               </xsl:cal l-template > CR LF
681              </xsl:othe rwise> CR LF   692              </xsl:othe rwise> CR LF
682            < /xsl:choos e> CR LF   693            < /xsl:choos e> CR LF
683           </ xsl:otherw ise> CR LF   694           </ xsl:otherw ise> CR LF
684          </x sl:choose> CR LF   695          </x sl:choose> CR LF
685         </xs l:otherwis e> CR LF   696         </xs l:otherwis e> CR LF
686        </xsl :choose> CR LF   697        </xsl :choose> CR LF
687       </xsl: otherwise> CR LF   698       </xsl: otherwise> CR LF
688      </xsl:c hoose> CR LF   699      </xsl:c hoose> CR LF
689     </xsl:if > CR LF   700     </xsl:if > CR LF
690    </xsl:tem plate> CR LF   701    </xsl:tem plate> CR LF
691   CR LF   702   CR LF
692   CR LF   703   CR LF
693    <xsl:temp late name= "Paragraph -ParserBlo ck"> CR LF   704    <xsl:temp late name= "Paragraph -ParserBlo ck"> CR LF
694     <xsl:par am name="P aramSplits " /> CR LF   705     <xsl:par am name="P aramSplits " /> CR LF
695     <xsl:par am name="P aramCargo"  /> CR LF   706     <xsl:par am name="P aramCargo"  /> CR LF
696     <xsl:par am name="P aramLinks"  /> CR LF   707     <xsl:par am name="P aramLinks"  /> CR LF
697     <xsl:par am name="P aramSplit"  /> CR LF   708     <xsl:par am name="P aramSplit"  /> CR LF
698     <xsl:par am name="P aramParagr aph" /> CR LF   709     <xsl:par am name="P aramParagr aph" /> CR LF
699     <xsl:par am name="P aramStyleN ame" /> CR LF   710     <xsl:par am name="P aramStyleN ame" /> CR LF
700     <xsl:par am name="P aramContex tRule" /> CR LF   711     <xsl:par am name="P aramContex tRule" /> CR LF
701     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF   712     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF
702   CR LF   713   CR LF
703     <!-- Par ser block  type and o ptions --> CR LF   714     <!-- Par ser block  type and o ptions --> CR LF
704     <!--                                  --> CR LF   715     <!--                                  --> CR LF
705     <xsl:var iable name ="VarWikiP arserBlock Format" se lect="$Par amContextR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'wi ki-parser- block-form at']/@Valu e" /> CR LF   716     <xsl:var iable name ="VarWikiP arserBlock Format" se lect="$Par amContextR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'wi ki-parser- block-form at']/@Valu e" /> CR LF
706     <xsl:var iable name ="VarWikiP arserBlock Options" s elect="$Pa ramContext Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'w iki-parser -block-opt ions']/@Va lue" /> CR LF   717     <xsl:var iable name ="VarWikiP arserBlock Options" s elect="$Pa ramContext Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 'w iki-parser -block-opt ions']/@Va lue" /> CR LF
707   CR LF   718   CR LF
708     <!-- Par ser block  prefix --> CR LF   719     <!-- Par ser block  prefix --> CR LF
709     <!--                       --> CR LF   720     <!--                       --> CR LF
710     <xsl:tex t>{{{{{</x sl:text> CR LF   721     <xsl:tex t>{{{{{</x sl:text> CR LF
711     <xsl:if  test="(str ing-length ($VarWikiP arserBlock Format) &g t; 0) and  (($VarWiki ParserBloc kFormat !=  'plain')  or (string -length($V arWikiPars erBlockOpt ions) &gt;  0))"> CR LF   722     <xsl:if  test="(str ing-length ($VarWikiP arserBlock Format) &g t; 0) and  (($VarWiki ParserBloc kFormat !=  'plain')  or (string -length($V arWikiPars erBlockOpt ions) &gt;  0))"> CR LF
712      <xsl:te xt>#!</xsl :text> CR LF   723      <xsl:te xt>#!</xsl :text> CR LF
713      <xsl:va lue-of sel ect="$VarW ikiParserB lockFormat " /> CR LF   724      <xsl:va lue-of sel ect="$VarW ikiParserB lockFormat " /> CR LF
714     </xsl:if > CR LF   725     </xsl:if > CR LF
715     <xsl:if  test="stri ng-length( $VarWikiPa rserBlockO ptions) &g t; 0"> CR LF   726     <xsl:if  test="stri ng-length( $VarWikiPa rserBlockO ptions) &g t; 0"> CR LF
716      <xsl:te xt> </xsl: text> CR LF   727      <xsl:te xt> </xsl: text> CR LF
717      <xsl:va lue-of sel ect="$VarW ikiParserB lockOption s" /> CR LF   728      <xsl:va lue-of sel ect="$VarW ikiParserB lockOption s" /> CR LF
718     </xsl:if > CR LF   729     </xsl:if > CR LF
719     <xsl:tex t> CR LF   730     <xsl:tex t> CR LF
720   </xsl:text > CR LF   731   </xsl:text > CR LF
721   CR LF   732   CR LF
722     <!-- Par agraph --> CR LF   733     <!-- Par agraph --> CR LF
723     <!--            --> CR LF   734     <!--            --> CR LF
724   CR LF   735   CR LF
725     <!-- Use  numbering ? --> CR LF   736     <!-- Use  numbering ? --> CR LF
726     <!--                  --> CR LF   737     <!--                  --> CR LF
727     <xsl:var iable name ="VarUseNu mberingOpt ion" selec t="$ParamC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'use-n umbering'] /@Value" / > CR LF   738     <xsl:var iable name ="VarUseNu mberingOpt ion" selec t="$ParamC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'use-n umbering'] /@Value" / > CR LF
728     <xsl:var iable name ="VarUseNu mbering" s elect="(st ring-lengt h($VarUseN umberingOp tion) = 0)  or ($VarU seNumberin gOption =  'true')" / > CR LF   739     <xsl:var iable name ="VarUseNu mbering" s elect="(st ring-lengt h($VarUseN umberingOp tion) = 0)  or ($VarU seNumberin gOption =  'true')" / > CR LF
729     <xsl:cho ose> CR LF   740     <xsl:cho ose> CR LF
730      <xsl:wh en test="$ VarUseNumb ering"> CR LF   741      <xsl:wh en test="$ VarUseNumb ering"> CR LF
731       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough-with- numbering"  /> CR LF   742       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough-with- numbering"  /> CR LF
732      </xsl:w hen> CR LF   743      </xsl:w hen> CR LF
733   CR LF   744   CR LF
734      <xsl:ot herwise> CR LF   745      <xsl:ot herwise> CR LF
735       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough" /> CR LF   746       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough" /> CR LF
736      </xsl:o therwise> CR LF   747      </xsl:o therwise> CR LF
737     </xsl:ch oose> CR LF   748     </xsl:ch oose> CR LF
738   CR LF   749   CR LF
739     <!-- Par ser block  suffix --> CR LF   750     <!-- Par ser block  suffix --> CR LF
740     <!--                       --> CR LF   751     <!--                       --> CR LF
741     <xsl:tex t> CR LF   752     <xsl:tex t> CR LF
742   </xsl:text > CR LF   753   </xsl:text > CR LF
743     <xsl:tex t>}}}}}</x sl:text> CR LF   754     <xsl:tex t>}}}}}</x sl:text> CR LF
744     <xsl:tex t> CR LF   755     <xsl:tex t> CR LF
745   CR LF   756   CR LF
746   </xsl:text > CR LF   757   </xsl:text > CR LF
747    </xsl:tem plate> CR LF   758    </xsl:tem plate> CR LF
748   CR LF   759   CR LF
749   CR LF   760   CR LF
750    <xsl:temp late name= "Paragraph -Comment"> CR LF   761    <xsl:temp late name= "Paragraph -Comment"> CR LF
751     <xsl:par am name="P aramSplits " /> CR LF   762     <xsl:par am name="P aramSplits " /> CR LF
752     <xsl:par am name="P aramCargo"  /> CR LF   763     <xsl:par am name="P aramCargo"  /> CR LF
753     <xsl:par am name="P aramLinks"  /> CR LF   764     <xsl:par am name="P aramLinks"  /> CR LF
754     <xsl:par am name="P aramSplit"  /> CR LF   765     <xsl:par am name="P aramSplit"  /> CR LF
755     <xsl:par am name="P aramParagr aph" /> CR LF   766     <xsl:par am name="P aramParagr aph" /> CR LF
756     <xsl:par am name="P aramStyleN ame" /> CR LF   767     <xsl:par am name="P aramStyleN ame" /> CR LF
757     <xsl:par am name="P aramContex tRule" /> CR LF   768     <xsl:par am name="P aramContex tRule" /> CR LF
758     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF   769     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF
759   CR LF   770   CR LF
760     <!-- Com ment prefi x --> CR LF   771     <!-- Com ment prefi x --> CR LF
761     <!--                  --> CR LF   772     <!--                  --> CR LF
762     <xsl:tex t>/* </xsl :text> CR LF   773     <xsl:tex t>/* </xsl :text> CR LF
763   CR LF   774   CR LF
764     <!-- Par agraph --> CR LF   775     <!-- Par agraph --> CR LF
765     <!--            --> CR LF   776     <!--            --> CR LF
766     <xsl:cal l-template  name="Par agraph-Nor mal-Conten t"> CR LF   777     <xsl:cal l-template  name="Par agraph-Nor mal-Conten t"> CR LF
767      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   778      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
768      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   779      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
769      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   780      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
770      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   781      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
771      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF   782      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF
772      <xsl:wi th-param n ame="Param StyleName"  select="$ ParamStyle Name" /> CR LF   783      <xsl:wi th-param n ame="Param StyleName"  select="$ ParamStyle Name" /> CR LF
773      <xsl:wi th-param n ame="Param ContextRul e" select= "$ParamCon textRule"  /> CR LF   784      <xsl:wi th-param n ame="Param ContextRul e" select= "$ParamCon textRule"  /> CR LF
774      <xsl:wi th-param n ame="Param ParagraphB ehavior" s elect="$Pa ramParagra phBehavior " /> CR LF   785      <xsl:wi th-param n ame="Param ParagraphB ehavior" s elect="$Pa ramParagra phBehavior " /> CR LF
775     </xsl:ca ll-templat e> CR LF   786     </xsl:ca ll-templat e> CR LF
776   CR LF   787   CR LF
777     <!-- Com ment suffi x --> CR LF   788     <!-- Com ment suffi x --> CR LF
778     <!--                  --> CR LF   789     <!--                  --> CR LF
779     <xsl:tex t> */</xsl :text> CR LF   790     <xsl:tex t> */</xsl :text> CR LF
780   CR LF   791   CR LF
781     <!-- End  paragraph  --> CR LF   792     <!-- End  paragraph  --> CR LF
782     <!--                 --> CR LF   793     <!--                 --> CR LF
783     <xsl:tex t> CR LF   794     <xsl:tex t> CR LF
784   CR LF   795   CR LF
785   </xsl:text > CR LF   796   </xsl:text > CR LF
786    </xsl:tem plate> CR LF   797    </xsl:tem plate> CR LF
787   CR LF   798   CR LF
788   CR LF   799   CR LF
789    <xsl:temp late name= "Paragraph -Heading"> CR LF   800    <xsl:temp late name= "Paragraph -Heading"> CR LF
790     <xsl:par am name="P aramSplits " /> CR LF   801     <xsl:par am name="P aramSplits " /> CR LF
791     <xsl:par am name="P aramCargo"  /> CR LF   802     <xsl:par am name="P aramCargo"  /> CR LF
792     <xsl:par am name="P aramLinks"  /> CR LF   803     <xsl:par am name="P aramLinks"  /> CR LF
793     <xsl:par am name="P aramSplit"  /> CR LF   804     <xsl:par am name="P aramSplit"  /> CR LF
794     <xsl:par am name="P aramParagr aph" /> CR LF   805     <xsl:par am name="P aramParagr aph" /> CR LF
795     <xsl:par am name="P aramStyleN ame" /> CR LF   806     <xsl:par am name="P aramStyleN ame" /> CR LF
796     <xsl:par am name="P aramContex tRule" /> CR LF   807     <xsl:par am name="P aramContex tRule" /> CR LF
797     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF   808     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF
798     <xsl:par am name="P aramWikiHe adingLevel " /> CR LF   809     <xsl:par am name="P aramWikiHe adingLevel " /> CR LF
799   CR LF   810   CR LF
800     <!-- Det ermine pre fix/suffix  --> CR LF   811     <!-- Det ermine pre fix/suffix  --> CR LF
801     <!--                            --> CR LF   812     <!--                            --> CR LF
802     <xsl:var iable name ="VarHeadi ngPrefixSu ffix"> CR LF   813     <xsl:var iable name ="VarHeadi ngPrefixSu ffix"> CR LF
803      <xsl:ca ll-templat e name="Mo inMoin-Rep eatString" > CR LF   814      <xsl:ca ll-templat e name="Mo inMoin-Rep eatString" > CR LF
804       <xsl:w ith-param  name="Para mStringToR eport" sel ect="'='"  /> CR LF   815       <xsl:w ith-param  name="Para mStringToR eport" sel ect="'='"  /> CR LF
805       <xsl:w ith-param  name="Para mCount" se lect="$Par amWikiHead ingLevel"  /> CR LF   816       <xsl:w ith-param  name="Para mCount" se lect="$Par amWikiHead ingLevel"  /> CR LF
806      </xsl:c all-templa te> CR LF   817      </xsl:c all-templa te> CR LF
807     </xsl:va riable> CR LF   818     </xsl:va riable> CR LF
808   CR LF   819   CR LF
809     <!-- Anc hor destin ation --> CR LF   820     <!-- Anc hor destin ation --> CR LF
810     <!--                      --> CR LF   821     <!--                      --> CR LF
811     <wwexsld oc:Text di sable-outp ut-escapin g="yes">&l t;&lt;Anch or(<xsl:va lue-of sel ect="$Para mParagraph /@id" />)& gt;&gt;</w wexsldoc:T ext> CR LF   822     <wwexsld oc:Text di sable-outp ut-escapin g="yes">&l t;&lt;Anch or(<xsl:va lue-of sel ect="$Para mParagraph /@id" />)& gt;&gt;</w wexsldoc:T ext> CR LF
812     <xsl:tex t> CR LF   823     <xsl:tex t> CR LF
813   </xsl:text > CR LF   824   </xsl:text > CR LF
814   CR LF   825   CR LF
815     <!-- Hea ding prefi x --> CR LF   826     <!-- Hea ding prefi x --> CR LF
816     <!--                  --> CR LF   827     <!--                  --> CR LF
817     <xsl:val ue-of sele ct="$VarHe adingPrefi xSuffix" / > CR LF   828     <xsl:val ue-of sele ct="$VarHe adingPrefi xSuffix" / > CR LF
818     <xsl:tex t> </xsl:t ext> CR LF   829     <xsl:tex t> </xsl:t ext> CR LF
819   CR LF   830   CR LF
820     <!-- Par agraph --> CR LF   831     <!-- Par agraph --> CR LF
821     <!--            --> CR LF   832     <!--            --> CR LF
822   CR LF   833   CR LF
823     <!-- Use  numbering ? --> CR LF   834     <!-- Use  numbering ? --> CR LF
824     <!--                  --> CR LF   835     <!--                  --> CR LF
825     <xsl:var iable name ="VarUseNu mberingOpt ion" selec t="$ParamC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'use-n umbering'] /@Value" / > CR LF   836     <xsl:var iable name ="VarUseNu mberingOpt ion" selec t="$ParamC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'use-n umbering'] /@Value" / > CR LF
826     <xsl:var iable name ="VarUseNu mbering" s elect="(st ring-lengt h($VarUseN umberingOp tion) = 0)  or ($VarU seNumberin gOption =  'true')" / > CR LF   837     <xsl:var iable name ="VarUseNu mbering" s elect="(st ring-lengt h($VarUseN umberingOp tion) = 0)  or ($VarU seNumberin gOption =  'true')" / > CR LF
827     <xsl:cho ose> CR LF   838     <xsl:cho ose> CR LF
828      <xsl:wh en test="$ VarUseNumb ering"> CR LF   839      <xsl:wh en test="$ VarUseNumb ering"> CR LF
829       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough-with- numbering"  /> CR LF   840       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough-with- numbering"  /> CR LF
830      </xsl:w hen> CR LF   841      </xsl:w hen> CR LF
831   CR LF   842   CR LF
832      <xsl:ot herwise> CR LF   843      <xsl:ot herwise> CR LF
833       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough" /> CR LF   844       <xsl:a pply-templ ates selec t="$ParamP aragraph"  mode="wwmo de:passthr ough" /> CR LF
834      </xsl:o therwise> CR LF   845      </xsl:o therwise> CR LF
835     </xsl:ch oose> CR LF   846     </xsl:ch oose> CR LF
836   CR LF   847   CR LF
837     <!-- Hea ding suffi x --> CR LF   848     <!-- Hea ding suffi x --> CR LF
838     <!--                  --> CR LF   849     <!--                  --> CR LF
839     <xsl:tex t> </xsl:t ext> CR LF   850     <xsl:tex t> </xsl:t ext> CR LF
840     <xsl:val ue-of sele ct="$VarHe adingPrefi xSuffix" / > CR LF   851     <xsl:val ue-of sele ct="$VarHe adingPrefi xSuffix" / > CR LF
841     <xsl:tex t> CR LF   852     <xsl:tex t> CR LF
842   CR LF   853   CR LF
843   </xsl:text > CR LF   854   </xsl:text > CR LF
844    </xsl:tem plate> CR LF   855    </xsl:tem plate> CR LF
845   CR LF   856   CR LF
846   CR LF   857   CR LF
847    <xsl:temp late name= "Paragraph -Normal"> CR LF   858    <xsl:temp late name= "Paragraph -Normal"> CR LF
848     <xsl:par am name="P aramSplits " /> CR LF   859     <xsl:par am name="P aramSplits " /> CR LF
849     <xsl:par am name="P aramCargo"  /> CR LF   860     <xsl:par am name="P aramCargo"  /> CR LF
850     <xsl:par am name="P aramLinks"  /> CR LF   861     <xsl:par am name="P aramLinks"  /> CR LF
851     <xsl:par am name="P aramSplit"  /> CR LF   862     <xsl:par am name="P aramSplit"  /> CR LF
852     <xsl:par am name="P aramParagr aph" /> CR LF   863     <xsl:par am name="P aramParagr aph" /> CR LF
853     <xsl:par am name="P aramStyleN ame" /> CR LF   864     <xsl:par am name="P aramStyleN ame" /> CR LF
854     <xsl:par am name="P aramContex tRule" /> CR LF   865     <xsl:par am name="P aramContex tRule" /> CR LF
855     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF   866     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF
856   CR LF   867   CR LF
857     <!-- Par agraph con tent --> CR LF   868     <!-- Par agraph con tent --> CR LF
858     <!--                     --> CR LF   869     <!--                     --> CR LF
859     <xsl:cal l-template  name="Par agraph-Nor mal-Conten t"> CR LF   870     <xsl:cal l-template  name="Par agraph-Nor mal-Conten t"> CR LF
860      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   871      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
861      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   872      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
862      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   873      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
863      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   874      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
864      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF   875      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF
865      <xsl:wi th-param n ame="Param StyleName"  select="$ ParamStyle Name" /> CR LF   876      <xsl:wi th-param n ame="Param StyleName"  select="$ ParamStyle Name" /> CR LF
866      <xsl:wi th-param n ame="Param ContextRul e" select= "$ParamCon textRule"  /> CR LF   877      <xsl:wi th-param n ame="Param ContextRul e" select= "$ParamCon textRule"  /> CR LF
867      <xsl:wi th-param n ame="Param ParagraphB ehavior" s elect="$Pa ramParagra phBehavior " /> CR LF   878      <xsl:wi th-param n ame="Param ParagraphB ehavior" s elect="$Pa ramParagra phBehavior " /> CR LF
868     </xsl:ca ll-templat e> CR LF   879     </xsl:ca ll-templat e> CR LF
869   CR LF   880   CR LF
870     <!-- End  paragraph  --> CR LF   881     <!-- End  paragraph  --> CR LF
871     <!--                 --> CR LF   882     <!--                 --> CR LF
872     <xsl:tex t> CR LF   883     <xsl:tex t> CR LF
873   CR LF   884   CR LF
874   </xsl:text > CR LF   885   </xsl:text > CR LF
875    </xsl:tem plate> CR LF   886    </xsl:tem plate> CR LF
876   CR LF   887   CR LF
877   CR LF   888   CR LF
878    <xsl:temp late name= "Paragraph -Normal-Co ntent"> CR LF   889    <xsl:temp late name= "Paragraph -Normal-Co ntent"> CR LF
879     <xsl:par am name="P aramSplits " /> CR LF   890     <xsl:par am name="P aramSplits " /> CR LF
880     <xsl:par am name="P aramCargo"  /> CR LF   891     <xsl:par am name="P aramCargo"  /> CR LF
881     <xsl:par am name="P aramLinks"  /> CR LF   892     <xsl:par am name="P aramLinks"  /> CR LF
882     <xsl:par am name="P aramSplit"  /> CR LF   893     <xsl:par am name="P aramSplit"  /> CR LF
883     <xsl:par am name="P aramParagr aph" /> CR LF   894     <xsl:par am name="P aramParagr aph" /> CR LF
884     <xsl:par am name="P aramStyleN ame" /> CR LF   895     <xsl:par am name="P aramStyleN ame" /> CR LF
885     <xsl:par am name="P aramContex tRule" /> CR LF   896     <xsl:par am name="P aramContex tRule" /> CR LF
886     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF   897     <xsl:par am name="P aramParagr aphBehavio r" /> CR LF
887   CR LF   898   CR LF
888     <!-- Use  character  styles? - -> CR LF   899     <!-- Use  character  styles? - -> CR LF
889     <!--                         - -> CR LF   900     <!--                         - -> CR LF
890     <xsl:var iable name ="VarUseCh aracterSty lesOption"  select="$ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'use-chara cter-style s']/@Value " /> CR LF   901     <xsl:var iable name ="VarUseCh aracterSty lesOption"  select="$ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'use-chara cter-style s']/@Value " /> CR LF
891     <xsl:var iable name ="VarUseCh aracterSty les" selec t="(string -length($V arUseChara cterStyles Option) =  0) or ($Va rUseCharac terStylesO ption = 't rue')" /> CR LF   902     <xsl:var iable name ="VarUseCh aracterSty les" selec t="(string -length($V arUseChara cterStyles Option) =  0) or ($Va rUseCharac terStylesO ption = 't rue')" /> CR LF
892   CR LF   903   CR LF
893     <!-- Pre serve empt y? --> CR LF   904     <!-- Pre serve empt y? --> CR LF
894     <!--                   --> CR LF   905     <!--                   --> CR LF
895     <xsl:var iable name ="VarPrese rveEmptyOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'pres erve-empty ']/@Value"  /> CR LF   906     <xsl:var iable name ="VarPrese rveEmptyOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'pres erve-empty ']/@Value"  /> CR LF
896     <xsl:var iable name ="VarPrese rveEmpty"  select="(s tring-leng th($VarPre serveEmpty Option) =  0) or ($Va rPreserveE mptyOption  = 'true') " /> CR LF   907     <xsl:var iable name ="VarPrese rveEmpty"  select="(s tring-leng th($VarPre serveEmpty Option) =  0) or ($Va rPreserveE mptyOption  = 'true') " /> CR LF
897   CR LF   908   CR LF
898     <!-- Res olve proje ct propert ies --> CR LF   909     <!-- Res olve proje ct propert ies --> CR LF
899     <!--                               --> CR LF   910     <!--                               --> CR LF
900     <xsl:var iable name ="VarResol vedPropert iesAsXML"> CR LF   911     <xsl:var iable name ="VarResol vedPropert iesAsXML"> CR LF
901      <xsl:ca ll-templat e name="Pr operties-R esolveCont extRule"> CR LF   912      <xsl:ca ll-templat e name="Pr operties-R esolveCont extRule"> CR LF
902       <xsl:w ith-param  name="Para mDocumentC ontext" se lect="$Par amParagrap h" /> CR LF   913       <xsl:w ith-param  name="Para mDocumentC ontext" se lect="$Par amParagrap h" /> CR LF
903       <xsl:w ith-param  name="Para mPropertie s" select= "$ParamCon textRule/w wproject:P roperties/ wwproject: Property"  /> CR LF   914       <xsl:w ith-param  name="Para mPropertie s" select= "$ParamCon textRule/w wproject:P roperties/ wwproject: Property"  /> CR LF
904       <xsl:w ith-param  name="Para mStyleName " select=" $ParamPara graph/@sty lename" /> CR LF   915       <xsl:w ith-param  name="Para mStyleName " select=" $ParamPara graph/@sty lename" /> CR LF
905       <xsl:w ith-param  name="Para mStyleType " select=" 'Paragraph '" /> CR LF   916       <xsl:w ith-param  name="Para mStyleType " select=" 'Paragraph '" /> CR LF
906       <xsl:w ith-param  name="Para mContextSt yle" selec t="$ParamP aragraph/w wdoc:Style " /> CR LF   917       <xsl:w ith-param  name="Para mContextSt yle" selec t="$ParamP aragraph/w wdoc:Style " /> CR LF
907      </xsl:c all-templa te> CR LF   918      </xsl:c all-templa te> CR LF
908     </xsl:va riable> CR LF   919     </xsl:va riable> CR LF
909     <xsl:var iable name ="VarResol vedPropert ies" selec t="msxsl:n ode-set($V arResolved Properties AsXML)/wwp roject:Pro perty" /> CR LF   920     <xsl:var iable name ="VarResol vedPropert ies" selec t="msxsl:n ode-set($V arResolved Properties AsXML)/wwp roject:Pro perty" /> CR LF
910   CR LF   921   CR LF
911     <!-- Emi t indent o r numberin g --> CR LF   922     <!-- Emi t indent o r numberin g --> CR LF
912     <!--                             --> CR LF   923     <!--                             --> CR LF
913     <xsl:cal l-template  name="Par agraph-Ind entOrNumbe r"> CR LF   924     <xsl:cal l-template  name="Par agraph-Ind entOrNumbe r"> CR LF
914      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   925      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
915      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   926      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
916      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   927      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
917      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   928      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
918      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF   929      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF
919      <xsl:wi th-param n ame="Param ContextRul e" select= "$ParamCon textRule"  /> CR LF   930      <xsl:wi th-param n ame="Param ContextRul e" select= "$ParamCon textRule"  /> CR LF
920     </xsl:ca ll-templat e> CR LF   931     </xsl:ca ll-templat e> CR LF
921   CR LF   932   CR LF
922     <!-- Tex t Runs --> CR LF   933     <!-- Tex t Runs --> CR LF
923     <!--            --> CR LF   934     <!--            --> CR LF
924     <xsl:cal l-template  name="Par agraphText Runs"> CR LF   935     <xsl:cal l-template  name="Par agraphText Runs"> CR LF
925      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   936      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
926      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   937      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
927      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   938      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
928      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   939      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
929      <xsl:wi th-param n ame="Param PreserveEm pty" selec t="$VarPre serveEmpty " /> CR LF   940      <xsl:wi th-param n ame="Param PreserveEm pty" selec t="$VarPre serveEmpty " /> CR LF
930      <xsl:wi th-param n ame="Param UseCharact erStyles"  select="$V arUseChara cterStyles " /> CR LF   941      <xsl:wi th-param n ame="Param UseCharact erStyles"  select="$V arUseChara cterStyles " /> CR LF
931      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF   942      <xsl:wi th-param n ame="Param Paragraph"  select="$ ParamParag raph" /> CR LF
932      <xsl:wi th-param n ame="Param ParagraphP roperties"  select="$ VarResolve dPropertie s" /> CR LF   943      <xsl:wi th-param n ame="Param ParagraphP roperties"  select="$ VarResolve dPropertie s" /> CR LF
933     </xsl:ca ll-templat e> CR LF   944     </xsl:ca ll-templat e> CR LF
934    </xsl:tem plate> CR LF   945    </xsl:tem plate> CR LF
935   CR LF   946   CR LF
936   CR LF   947   CR LF
937    <xsl:temp late name= "Paragraph -IndentOrN umber"> CR LF   948    <xsl:temp late name= "Paragraph -IndentOrN umber"> CR LF
938     <xsl:par am name="P aramSplits " /> CR LF   949     <xsl:par am name="P aramSplits " /> CR LF
939     <xsl:par am name="P aramCargo"  /> CR LF   950     <xsl:par am name="P aramCargo"  /> CR LF
940     <xsl:par am name="P aramLinks"  /> CR LF   951     <xsl:par am name="P aramLinks"  /> CR LF
941     <xsl:par am name="P aramSplit"  /> CR LF   952     <xsl:par am name="P aramSplit"  /> CR LF
942     <xsl:par am name="P aramParagr aph" /> CR LF   953     <xsl:par am name="P aramParagr aph" /> CR LF
943     <xsl:par am name="P aramContex tRule" /> CR LF   954     <xsl:par am name="P aramContex tRule" /> CR LF
944   CR LF   955   CR LF
945     <!-- Use  numbering ? --> CR LF   956     <!-- Use  numbering ? --> CR LF
946     <!--                  --> CR LF   957     <!--                  --> CR LF
947     <xsl:var iable name ="VarUseNu mberingOpt ion" selec t="$ParamC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'use-n umbering'] /@Value" / > CR LF   958     <xsl:var iable name ="VarUseNu mberingOpt ion" selec t="$ParamC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'use-n umbering'] /@Value" / > CR LF
948     <xsl:var iable name ="VarUseNu mbering" s elect="(st ring-lengt h($VarUseN umberingOp tion) = 0)  or ($VarU seNumberin gOption =  'true')" / > CR LF   959     <xsl:var iable name ="VarUseNu mbering" s elect="(st ring-lengt h($VarUseN umberingOp tion) = 0)  or ($VarU seNumberin gOption =  'true')" / > CR LF
949   CR LF   960   CR LF
950     <!-- Wik i Indent - -> CR LF   961     <!-- Wik i Indent - -> CR LF
951     <!--              - -> CR LF   962     <!--              - -> CR LF
952     <xsl:var iable name ="VarWikiI ndent"> CR LF   963     <xsl:var iable name ="VarWikiI ndent"> CR LF
953      <xsl:va riable nam e="VarWiki IndentOpti on" select ="$ParamCo ntextRule/ wwproject: Options/ww project:Op tion[@Name  = 'wiki-i ndent']/@V alue" /> CR LF   964      <xsl:va riable nam e="VarWiki IndentOpti on" select ="$ParamCo ntextRule/ wwproject: Options/ww project:Op tion[@Name  = 'wiki-i ndent']/@V alue" /> CR LF
954   CR LF   965   CR LF
955      <xsl:ch oose> CR LF   966      <xsl:ch oose> CR LF
956       <xsl:w hen test=" $VarWikiIn dentOption  = 'none'" > CR LF   967       <xsl:w hen test=" $VarWikiIn dentOption  = 'none'" > CR LF
957        <xsl: value-of s elect="0"  /> CR LF   968        <xsl: value-of s elect="0"  /> CR LF
958       </xsl: when> CR LF   969       </xsl: when> CR LF
959   CR LF   970   CR LF
960       <xsl:w hen test=" number($Va rWikiInden tOption) & gt; 0"> CR LF   971       <xsl:w hen test=" number($Va rWikiInden tOption) & gt; 0"> CR LF
961        <xsl: value-of s elect="num ber($VarWi kiIndentOp tion)" /> CR LF   972        <xsl: value-of s elect="num ber($VarWi kiIndentOp tion)" /> CR LF
962       </xsl: when> CR LF   973       </xsl: when> CR LF
963   CR LF   974   CR LF
964       <xsl:o therwise> CR LF   975       <xsl:o therwise> CR LF
965        <xsl: value-of s elect="0"  /> CR LF   976        <xsl: value-of s elect="0"  /> CR LF
966       </xsl: otherwise> CR LF   977       </xsl: otherwise> CR LF
967      </xsl:c hoose> CR LF   978      </xsl:c hoose> CR LF
968     </xsl:va riable> CR LF   979     </xsl:va riable> CR LF
969   CR LF   980   CR LF
970     <!-- Wik i List Lev el --> CR LF   981     <!-- Wik i List Lev el --> CR LF
971     <!--                   --> CR LF   982     <!--                   --> CR LF
972     <xsl:var iable name ="VarWikiL istLevel"> CR LF   983     <xsl:var iable name ="VarWikiL istLevel"> CR LF
973      <xsl:va riable nam e="VarWiki ListLevelO ption" sel ect="$Para mContextRu le/wwproje ct:Options /wwproject :Option[@N ame = 'wik i-list-lev el']/@Valu e" /> CR LF   984      <xsl:va riable nam e="VarWiki ListLevelO ption" sel ect="$Para mContextRu le/wwproje ct:Options /wwproject :Option[@N ame = 'wik i-list-lev el']/@Valu e" /> CR LF
974   CR LF   985   CR LF
975      <xsl:ch oose> CR LF   986      <xsl:ch oose> CR LF
976       <xsl:w hen test=" $VarWikiLi stLevelOpt ion = 'aut o'"> CR LF   987       <xsl:w hen test=" $VarWikiLi stLevelOpt ion = 'aut o'"> CR LF
977        <xsl: variable n ame="VarPa ragraphLis tLevel" se lect="$Par amParagrap h/wwdoc:Nu mber/wwdoc :Style/wwd oc:Attribu te[@name =  'wwdoc-li st-level'] /@value" / > CR LF   988        <xsl: variable n ame="VarPa ragraphLis tLevel" se lect="$Par amParagrap h/wwdoc:Nu mber/wwdoc :Style/wwd oc:Attribu te[@name =  'wwdoc-li st-level'] /@value" / > CR LF
978   CR LF   989   CR LF
979        <xsl: choose> CR LF   990        <xsl: choose> CR LF
980         <xsl :when test ="(string- length($Va rParagraph ListLevel)  &gt; 0) a nd (number ($VarParag raphListLe vel) &gt;  0)"> CR LF   991         <xsl :when test ="(string- length($Va rParagraph ListLevel)  &gt; 0) a nd (number ($VarParag raphListLe vel) &gt;  0)"> CR LF
981          <xs l:value-of  select="n umber($Var ParagraphL istLevel)"  /> CR LF   992          <xs l:value-of  select="n umber($Var ParagraphL istLevel)"  /> CR LF
982         </xs l:when> CR LF   993         </xs l:when> CR LF
983   CR LF   994   CR LF
984         <xsl :otherwise > CR LF   995         <xsl :otherwise > CR LF
985          <xs l:value-of  select="0 " /> CR LF   996          <xs l:value-of  select="0 " /> CR LF
986         </xs l:otherwis e> CR LF   997         </xs l:otherwis e> CR LF
987        </xsl :choose> CR LF   998        </xsl :choose> CR LF
988       </xsl: when> CR LF   999       </xsl: when> CR LF
989   CR LF   1000   CR LF
990       <xsl:w hen test=" number($Va rWikiListL evelOption ) &gt; 0"> CR LF   1001       <xsl:w hen test=" number($Va rWikiListL evelOption ) &gt; 0"> CR LF
991        <xsl: value-of s elect="num ber($VarWi kiListLeve lOption)"  /> CR LF   1002        <xsl: value-of s elect="num ber($VarWi kiListLeve lOption)"  /> CR LF
992       </xsl: when> CR LF   1003       </xsl: when> CR LF
993   CR LF   1004   CR LF
994       <xsl:o therwise> CR LF   1005       <xsl:o therwise> CR LF
995        <xsl: value-of s elect="0"  /> CR LF   1006        <xsl: value-of s elect="0"  /> CR LF
996       </xsl: otherwise> CR LF   1007       </xsl: otherwise> CR LF
997      </xsl:c hoose> CR LF   1008      </xsl:c hoose> CR LF
998     </xsl:va riable> CR LF   1009     </xsl:va riable> CR LF
999   CR LF   1010   CR LF
1000     <!-- Wik i List Typ e --> CR LF   1011     <!-- Wik i List Typ e --> CR LF
1001     <!--                  --> CR LF   1012     <!--                  --> CR LF
1002     <xsl:var iable name ="VarWikiL istType"> CR LF   1013     <xsl:var iable name ="VarWikiL istType"> CR LF
1003      <xsl:va riable nam e="VarWiki ListTypeOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'wiki -list-type ']/@Value"  /> CR LF   1014      <xsl:va riable nam e="VarWiki ListTypeOp tion" sele ct="$Param ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'wiki -list-type ']/@Value"  /> CR LF
1004   CR LF   1015   CR LF
1005      <xsl:ch oose> CR LF   1016      <xsl:ch oose> CR LF
1006       <xsl:w hen test=" $VarWikiLi stTypeOpti on = 'auto '"> CR LF   1017       <xsl:w hen test=" $VarWikiLi stTypeOpti on = 'auto '"> CR LF
1007        <xsl: variable n ame="VarPa ragraphLis tType" sel ect="$Para mParagraph /wwdoc:Num ber/wwdoc: Style/wwdo c:Attribut e[@name =  'list-styl e-type']/@ value" /> CR LF   1018        <xsl: variable n ame="VarPa ragraphLis tType" sel ect="$Para mParagraph /wwdoc:Num ber/wwdoc: Style/wwdo c:Attribut e[@name =  'list-styl e-type']/@ value" /> CR LF
1008   CR LF   1019   CR LF
1009        <xsl: choose> CR LF   1020        <xsl: choose> CR LF
1010         <xsl :when test ="string-l ength($Var ParagraphL istType) & gt; 0"> CR LF   1021         <xsl :when test ="string-l ength($Var ParagraphL istType) & gt; 0"> CR LF
1011          <xs l:value-of  select="$ VarParagra phListType " /> CR LF   1022          <xs l:value-of  select="$ VarParagra phListType " /> CR LF
1012         </xs l:when> CR LF   1023         </xs l:when> CR LF
1013   CR LF   1024   CR LF
1014         <xsl :otherwise > CR LF   1025         <xsl :otherwise > CR LF
1015          <xs l:value-of  select="' '" /> CR LF   1026          <xs l:value-of  select="' '" /> CR LF
1016         </xs l:otherwis e> CR LF   1027         </xs l:otherwis e> CR LF
1017        </xsl :choose> CR LF   1028        </xsl :choose> CR LF
1018       </xsl: when> CR LF   1029       </xsl: when> CR LF
1019   CR LF   1030   CR LF
1020       <xsl:w hen test=" string-len gth($VarWi kiListType Option) &g t; 0"> CR LF   1031       <xsl:w hen test=" string-len gth($VarWi kiListType Option) &g t; 0"> CR LF
1021        <xsl: value-of s elect="$Va rWikiListT ypeOption"  /> CR LF   1032        <xsl: value-of s elect="$Va rWikiListT ypeOption"  /> CR LF
1022       </xsl: when> CR LF   1033       </xsl: when> CR LF
1023   CR LF   1034   CR LF
1024       <xsl:o therwise> CR LF   1035       <xsl:o therwise> CR LF
1025        <xsl: value-of s elect="''"  /> CR LF   1036        <xsl: value-of s elect="''"  /> CR LF
1026       </xsl: otherwise> CR LF   1037       </xsl: otherwise> CR LF
1027      </xsl:c hoose> CR LF   1038      </xsl:c hoose> CR LF
1028     </xsl:va riable> CR LF   1039     </xsl:va riable> CR LF
1029   CR LF   1040   CR LF
1030     <!-- Emi t paragrap h prefix - -> CR LF   1041     <!-- Emi t paragrap h prefix - -> CR LF
1031     <!--                         - -> CR LF   1042     <!--                         - -> CR LF
1032     <xsl:cho ose> CR LF   1043     <xsl:cho ose> CR LF
1033      <!-- Li st entry - -> CR LF   1044      <!-- Li st entry - -> CR LF
1034      <!--             - -> CR LF   1045      <!--             - -> CR LF
1035      <xsl:wh en test="( $VarUseNum bering) an d (string- length($Va rWikiListT ype) &gt;  0)"> CR LF   1046      <xsl:wh en test="( $VarUseNum bering) an d (string- length($Va rWikiListT ype) &gt;  0)"> CR LF
1036       <xsl:c all-templa te name="S paces"> CR LF   1047       <xsl:c all-templa te name="S paces"> CR LF
1037        <xsl: with-param  name="Par amSpacesTo Emit" sele ct="$VarWi kiListLeve l - 1" /> CR LF   1048        <xsl: with-param  name="Par amSpacesTo Emit" sele ct="$VarWi kiListLeve l - 1" /> CR LF
1038       </xsl: call-templ ate> CR LF   1049       </xsl: call-templ ate> CR LF
1039   CR LF   1050   CR LF
1040       <xsl:c hoose> CR LF   1051       <xsl:c hoose> CR LF
1041        <xsl: when test= "$VarWikiL istType =  'bullet'"> CR LF   1052        <xsl: when test= "$VarWikiL istType =  'bullet'"> CR LF
1042         <xsl :text> * < /xsl:text> CR LF   1053         <xsl :text> * < /xsl:text> CR LF
1043        </xsl :when> CR LF   1054        </xsl :when> CR LF
1044   CR LF   1055   CR LF
1045        <xsl: when test= "$VarWikiL istType =  'decimal'" > CR LF   1056        <xsl: when test= "$VarWikiL istType =  'decimal'" > CR LF
1046         <xsl :text> 1.  </xsl:text > CR LF   1057         <xsl :text> 1.  </xsl:text > CR LF
1047        </xsl :when> CR LF   1058        </xsl :when> CR LF
1048   CR LF   1059   CR LF
1049        <xsl: when test= "$VarWikiL istType =  'upper-alp ha'"> CR LF   1060        <xsl: when test= "$VarWikiL istType =  'upper-alp ha'"> CR LF
1050         <xsl :text> A.  </xsl:text > CR LF   1061         <xsl :text> A.  </xsl:text > CR LF
1051        </xsl :when> CR LF   1062        </xsl :when> CR LF
1052   CR LF   1063   CR LF
1053        <xsl: when test= "$VarWikiL istType =  'lower-alp ha'"> CR LF   1064        <xsl: when test= "$VarWikiL istType =  'lower-alp ha'"> CR LF
1054         <xsl :text> a.  </xsl:text > CR LF   1065         <xsl :text> a.  </xsl:text > CR LF
1055        </xsl :when> CR LF   1066        </xsl :when> CR LF
1056   CR LF   1067   CR LF
1057        <xsl: when test= "$VarWikiL istType =  'upper-rom an'"> CR LF   1068        <xsl: when test= "$VarWikiL istType =  'upper-rom an'"> CR LF
1058         <xsl :text> I.  </xsl:text > CR LF   1069         <xsl :text> I.  </xsl:text > CR LF
1059        </xsl :when> CR LF   1070        </xsl :when> CR LF
1060   CR LF   1071   CR LF
1061        <xsl: when test= "$VarWikiL istType =  'lower-rom an'"> CR LF   1072        <xsl: when test= "$VarWikiL istType =  'lower-rom an'"> CR LF
1062         <xsl :text> i.  </xsl:text > CR LF   1073         <xsl :text> i.  </xsl:text > CR LF
1063        </xsl :when> CR LF   1074        </xsl :when> CR LF
    1075   CR LF
    1076        <xsl: when test= "$VarWikiL istType =  'none'"> CR LF
    1077         <!--  Preserve  source num ber --> CR LF
    1078         <!--                           --> CR LF
    1079         <xsl :apply-tem plates sel ect="$Para mParagraph /wwdoc:Num ber/wwdoc: Text" mode ="wwmode:t extrun" /> CR LF
    1080        </xsl :when> CR LF
    1081   CR LF
    1082        <xsl: otherwise> CR LF
    1083         <!--  Do not em it a numbe r --> CR LF
    1084         <!--                         --> CR LF
    1085        </xsl :otherwise > CR LF
1064       </xsl: choose> CR LF   1086       </xsl: choose> CR LF
1065      </xsl:w hen> CR LF   1087      </xsl:w hen> CR LF
1066   CR LF   1088   CR LF
1067      <!-- In dent --> CR LF   1089      <!-- In dent --> CR LF
1068      <!--         --> CR LF   1090      <!--         --> CR LF
1069      <xsl:wh en test="$ VarWikiInd ent &gt; 0 "> CR LF   1091      <xsl:wh en test="$ VarWikiInd ent &gt; 0 "> CR LF
1070       <xsl:c all-templa te name="S paces"> CR LF   1092       <xsl:c all-templa te name="S paces"> CR LF
1071        <xsl: with-param  name="Par amSpacesTo Emit" sele ct="$VarWi kiIndent"  /> CR LF   1093        <xsl: with-param  name="Par amSpacesTo Emit" sele ct="$VarWi kiIndent"  /> CR LF
1072       </xsl: call-templ ate> CR LF   1094       </xsl: call-templ ate> CR LF
1073      </xsl:w hen> CR LF   1095      </xsl:w hen> CR LF
1074   CR LF   1096   CR LF
1075      <!-- De fault --> CR LF   1097      <!-- De fault --> CR LF
1076      <!--          --> CR LF   1098      <!--          --> CR LF
1077      <xsl:ot herwise> CR LF   1099      <xsl:ot herwise> CR LF
1078       <!-- N othing to  do --> CR LF   1100       <!-- N othing to  do --> CR LF
1079       <!--                 --> CR LF   1101       <!--                 --> CR LF
1080      </xsl:o therwise> CR LF   1102      </xsl:o therwise> CR LF
1081     </xsl:ch oose> CR LF   1103     </xsl:ch oose> CR LF
1082    </xsl:tem plate> CR LF   1104    </xsl:tem plate> CR LF
1083   CR LF   1105   CR LF
1084   CR LF   1106   CR LF
1085    <xsl:temp late name= "Paragraph TextRuns"> CR LF   1107    <xsl:temp late name= "Paragraph TextRuns"> CR LF
1086     <xsl:par am name="P aramSplits " /> CR LF   1108     <xsl:par am name="P aramSplits " /> CR LF
1087     <xsl:par am name="P aramCargo"  /> CR LF   1109     <xsl:par am name="P aramCargo"  /> CR LF
1088     <xsl:par am name="P aramLinks"  /> CR LF   1110     <xsl:par am name="P aramLinks"  /> CR LF
1089     <xsl:par am name="P aramSplit"  /> CR LF   1111     <xsl:par am name="P aramSplit"  /> CR LF
1090     <xsl:par am name="P aramPreser veEmpty" / > CR LF   1112     <xsl:par am name="P aramPreser veEmpty" / > CR LF
1091     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF   1113     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF
1092     <xsl:par am name="P aramParagr aph" /> CR LF   1114     <xsl:par am name="P aramParagr aph" /> CR LF
1093     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF   1115     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF
1094   CR LF   1116   CR LF
1095     <!-- Pre vent white space issu es with pr eformatted  text bloc ks --> CR LF   1117     <!-- Pre vent white space issu es with pr eformatted  text bloc ks --> CR LF
1096     <!--                                                               --> CR LF   1118     <!--                                                               --> CR LF
1097     <wwexsld oc:NoBreak  /> CR LF   1119     <wwexsld oc:NoBreak  /> CR LF
1098   CR LF   1120   CR LF
1099     <!-- Non -empty tex t runs --> CR LF   1121     <!-- Non -empty tex t runs --> CR LF
1100     <!--                       --> CR LF   1122     <!--                       --> CR LF
1101      <xsl:varia ble name=" VarTextRun s" select= "$ParamPar agraph/wwd oc:TextRun [count(chi ld::wwdoc: Text[1] |  child::wwd oc:Frame[1 ] | child: :wwdoc:Not e[1] | chi ld::wwdoc: LineBreak[ 1]
) &gt; 0]"  /> CR LF
  1123      <xsl:varia ble name=" VarTextRun s" select= "$ParamPar agraph/wwd oc:TextRun [count(chi ld::wwdoc: Text[1] |  child::wwd oc:Frame[1 ] | child: :wwdoc:Not e[1] | chi ld::wwdoc: LineBreak[ 1]  | child:: wwdoc:Mark er[1] ) &gt; 0]"  /> CR LF
1102   CR LF   1124   CR LF
1103     <!-- Che ck for emp ty paragra phs --> CR LF   1125     <!-- Che ck for emp ty paragra phs --> CR LF
1104     <!--                               --> CR LF   1126     <!--                               --> CR LF
1105     <xsl:cho ose> CR LF   1127     <xsl:cho ose> CR LF
1106      <xsl:wh en test="c ount($VarT extRuns[1] ) = 1"> CR LF   1128      <xsl:wh en test="c ount($VarT extRuns[1] ) = 1"> CR LF
1107       <!-- E mit anchor  --> CR LF   1129       <!-- E mit anchor  --> CR LF
1108       <!--               --> CR LF   1130       <!--               --> CR LF
1109       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &lt;&lt;An chor(<xsl: value-of s elect="$Pa ramParagra ph/@id" /> )&gt;&gt;< /wwexsldoc :Text> CR LF   1131       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &lt;&lt;An chor(<xsl: value-of s elect="$Pa ramParagra ph/@id" /> )&gt;&gt;< /wwexsldoc :Text> CR LF
1110   CR LF   1132   CR LF
1111       <!-- P aragraph h as content  --> CR LF   1133       <!-- P aragraph h as content  --> CR LF
1112       <!--                          --> CR LF   1134       <!--                          --> CR LF
1113       <xsl:f or-each se lect="$Var TextRuns"> CR LF   1135       <xsl:f or-each se lect="$Var TextRuns"> CR LF
1114        <xsl: variable n ame="VarTe xtRun" sel ect="." /> CR LF   1136        <xsl: variable n ame="VarTe xtRun" sel ect="." /> CR LF
1115   CR LF   1137   CR LF
1116        <xsl: call-templ ate name=" TextRun"> CR LF   1138        <xsl: call-templ ate name=" TextRun"> CR LF
1117         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   1139         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
1118         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF   1140         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF
1119         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   1141         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
1120         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   1142         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
1121         <xsl :with-para m name="Pa ramParagra phID" sele ct="$Param Paragraph/ @id" /> CR LF   1143         <xsl :with-para m name="Pa ramParagra phID" sele ct="$Param Paragraph/ @id" /> CR LF
1122         <xsl :with-para m name="Pa ramParagra phProperti es" select ="$ParamPa ragraphPro perties" / > CR LF   1144         <xsl :with-para m name="Pa ramParagra phProperti es" select ="$ParamPa ragraphPro perties" / > CR LF
1123         <xsl :with-para m name="Pa ramUseChar acterStyle s" select= "$ParamUse CharacterS tyles" /> CR LF   1145         <xsl :with-para m name="Pa ramUseChar acterStyle s" select= "$ParamUse CharacterS tyles" /> CR LF
1124         <xsl :with-para m name="Pa ramTextRun " select=" $VarTextRu n" /> CR LF   1146         <xsl :with-para m name="Pa ramTextRun " select=" $VarTextRu n" /> CR LF
1125         <xsl :with-para m name="Pa ramPositio n" select= "position( )" /> CR LF   1147         <xsl :with-para m name="Pa ramPositio n" select= "position( )" /> CR LF
1126        </xsl :call-temp late> CR LF   1148        </xsl :call-temp late> CR LF
1127       </xsl: for-each> CR LF   1149       </xsl: for-each> CR LF
1128      </xsl:w hen> CR LF   1150      </xsl:w hen> CR LF
1129   CR LF   1151   CR LF
1130      <xsl:ot herwise> CR LF   1152      <xsl:ot herwise> CR LF
1131       <!-- E mpty parag raph! --> CR LF   1153       <!-- E mpty parag raph! --> CR LF
1132       <!--                    --> CR LF   1154       <!--                    --> CR LF
1133       <xsl:i f test="$P aramPreser veEmpty"> CR LF   1155       <xsl:i f test="$P aramPreser veEmpty"> CR LF
1134        <!--  Emit ancho r --> CR LF   1156        <!--  Emit ancho r --> CR LF
1135        <!--               --> CR LF   1157        <!--               --> CR LF
1136        <wwex sldoc:Text  disable-o utput-esca ping="yes" >&lt;&lt;A nchor(<xsl :value-of  select="$P aramParagr aph/@id" / >)&gt;&gt; </wwexsldo c:Text> CR LF   1158        <wwex sldoc:Text  disable-o utput-esca ping="yes" >&lt;&lt;A nchor(<xsl :value-of  select="$P aramParagr aph/@id" / >)&gt;&gt; </wwexsldo c:Text> CR LF
1137        <xsl: text>&#160 ; CR LF   1159        <xsl: text>&#160 ; CR LF
1138   CR LF   1160   CR LF
1139   </xsl:text > CR LF   1161   </xsl:text > CR LF
1140       </xsl: if> CR LF   1162       </xsl: if> CR LF
1141      </xsl:o therwise> CR LF   1163      </xsl:o therwise> CR LF
1142     </xsl:ch oose> CR LF   1164     </xsl:ch oose> CR LF
1143    </xsl:tem plate> CR LF   1165    </xsl:tem plate> CR LF
1144   CR LF   1166   CR LF
1145   CR LF   1167   CR LF
1146    <xsl:temp late name= "LinkInfo" > CR LF   1168    <xsl:temp late name= "LinkInfo" > CR LF
1147     <xsl:par am name="P aramSplits " /> CR LF   1169     <xsl:par am name="P aramSplits " /> CR LF
1148     <xsl:par am name="P aramLinks"  /> CR LF   1170     <xsl:par am name="P aramLinks"  /> CR LF
1149     <xsl:par am name="P aramSplit"  /> CR LF   1171     <xsl:par am name="P aramSplit"  /> CR LF
1150     <xsl:par am name="P aramDocume ntLink" /> CR LF   1172     <xsl:par am name="P aramDocume ntLink" /> CR LF
1151   CR LF   1173   CR LF
1152     <xsl:ele ment name= "LinkInfo"  namespace ="urn:WebW orks-Engin e-Links-Sc hema"> CR LF   1174     <xsl:ele ment name= "LinkInfo"  namespace ="urn:WebW orks-Engin e-Links-Sc hema"> CR LF
1153      <xsl:if  test="cou nt($ParamD ocumentLin k) &gt; 0" > CR LF   1175      <xsl:if  test="cou nt($ParamD ocumentLin k) &gt; 0" > CR LF
1154       <!-- R esolve lin k --> CR LF   1176       <!-- R esolve lin k --> CR LF
1155       <!--                --> CR LF   1177       <!--                --> CR LF
1156       <xsl:v ariable na me="VarRes olvedLinkI nfoAsXML"> CR LF   1178       <xsl:v ariable na me="VarRes olvedLinkI nfoAsXML"> CR LF
1157        <xsl: call-templ ate name=" Links-Reso lve"> CR LF   1179        <xsl: call-templ ate name=" Links-Reso lve"> CR LF
1158         <xsl :with-para m name="Pa ramAllowBa ggage" sel ect="$Para meterAllow Baggage" / > CR LF   1180         <xsl :with-para m name="Pa ramAllowBa ggage" sel ect="$Para meterAllow Baggage" / > CR LF
1159         <xsl :with-para m name="Pa ramAllowGr oupToGroup " select=" $Parameter AllowGroup ToGroup" / > CR LF   1181         <xsl :with-para m name="Pa ramAllowGr oupToGroup " select=" $Parameter AllowGroup ToGroup" / > CR LF
1160         <xsl :with-para m name="Pa ramAllowUR L" select= "$Paramete rAllowURL"  /> CR LF   1182         <xsl :with-para m name="Pa ramAllowUR L" select= "$Paramete rAllowURL"  /> CR LF
1161         <xsl :with-para m name="Pa ramBaggage SplitFileT ype" selec t="$Parame terBaggage SplitFileT ype" /> CR LF   1183         <xsl :with-para m name="Pa ramBaggage SplitFileT ype" selec t="$Parame terBaggage SplitFileT ype" /> CR LF
1162         <xsl :with-para m name="Pa ramProject " select=" $GlobalPro ject" /> CR LF   1184         <xsl :with-para m name="Pa ramProject " select=" $GlobalPro ject" /> CR LF
1163         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   1185         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
1164         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   1186         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
1165         <xsl :with-para m name="Pa ramSplitGr oupID" sel ect="$Para mSplit/@gr oupID" /> CR LF   1187         <xsl :with-para m name="Pa ramSplitGr oupID" sel ect="$Para mSplit/@gr oupID" /> CR LF
1166         <xsl :with-para m name="Pa ramSplitDo cumentID"  select="$P aramSplit/ @documentI D" /> CR LF   1188         <xsl :with-para m name="Pa ramSplitDo cumentID"  select="$P aramSplit/ @documentI D" /> CR LF
1167         <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$Para mDocumentL ink" /> CR LF   1189         <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$Para mDocumentL ink" /> CR LF
1168        </xsl :call-temp late> CR LF   1190        </xsl :call-temp late> CR LF
1169       </xsl: variable> CR LF   1191       </xsl: variable> CR LF
1170       <xsl:v ariable na me="VarRes olvedLinkI nfo" selec t="msxsl:n ode-set($V arResolved LinkInfoAs XML)/wwlin ks:Resolve dLink" /> CR LF   1192       <xsl:v ariable na me="VarRes olvedLinkI nfo" selec t="msxsl:n ode-set($V arResolved LinkInfoAs XML)/wwlin ks:Resolve dLink" /> CR LF
1171   CR LF   1193   CR LF
1172       <!-- @ title --> CR LF   1194       <!-- @ title --> CR LF
1173       <!--         --> CR LF   1195       <!--         --> CR LF
1174       <xsl:i f test="st ring-lengt h($VarReso lvedLinkIn fo/@title)  &gt; 0"> CR LF   1196       <xsl:i f test="st ring-lengt h($VarReso lvedLinkIn fo/@title)  &gt; 0"> CR LF
1175        <xsl: attribute  name="titl e"> CR LF   1197        <xsl: attribute  name="titl e"> CR LF
1176         <xsl :value-of  select="$V arResolved LinkInfo/@ title" /> CR LF   1198         <xsl :value-of  select="$V arResolved LinkInfo/@ title" /> CR LF
1177        </xsl :attribute > CR LF   1199        </xsl :attribute > CR LF
1178       </xsl: if> CR LF   1200       </xsl: if> CR LF
1179   CR LF   1201   CR LF
1180       <!-- P rocess as  Wiki page?  --> CR LF   1202       <!-- P rocess as  Wiki page?  --> CR LF
1181       <!--                          --> CR LF   1203       <!--                          --> CR LF
1182       <xsl:v ariable na me="VarPro cessBaggag eAsWikiPag e" select= "contains( $GlobalPro cessAsPage Extensions , concat('  ', wwfile system:Get Extension( VarResolve dLinkInfo/ @path), '  '))" /> CR LF   1204       <xsl:v ariable na me="VarPro cessBaggag eAsWikiPag e" select= "contains( $GlobalPro cessAsPage Extensions , concat('  ', wwfile system:Get Extension( VarResolve dLinkInfo/ @path), '  '))" /> CR LF
1183   CR LF   1205   CR LF
1184       <xsl:c hoose> CR LF   1206       <xsl:c hoose> CR LF
1185        <!--  Baggage -- > CR LF   1207        <!--  Baggage -- > CR LF
1186        <!--          -- > CR LF   1208        <!--          -- > CR LF
1187        <xsl: when test= "($VarReso lvedLinkIn fo/@type =  'baggage' ) and not( $VarProces sBaggageAs WikiPage)" > CR LF   1209        <xsl: when test= "($VarReso lvedLinkIn fo/@type =  'baggage' ) and not( $VarProces sBaggageAs WikiPage)" > CR LF
1188         <xsl :variable  name="VarR elativePat h" select= "wwuri:Get RelativeTo ($VarResol vedLinkInf o/@path, $ ParamSplit /@path)" / > CR LF   1210         <xsl :variable  name="VarR elativePat h" select= "wwuri:Get RelativeTo ($VarResol vedLinkInf o/@path, $ ParamSplit /@path)" / > CR LF
1189   CR LF   1211   CR LF
1190         <xsl :attribute  name="hre f"> CR LF   1212         <xsl :attribute  name="hre f"> CR LF
1191          <xs l:text>att achment:.. /</xsl:tex t> CR LF   1213          <xs l:text>att achment:.. /</xsl:tex t> CR LF
1192          <xs l:value-of  select="$ VarRelativ ePath" /> CR LF   1214          <xs l:value-of  select="$ VarRelativ ePath" /> CR LF
1193         </xs l:attribut e> CR LF   1215         </xs l:attribut e> CR LF
1194   CR LF   1216   CR LF
1195         <xsl :variable  name="VarT arget" sel ect="wwpro jext:GetFo rmatSettin g('baggage -file-targ et')" /> CR LF   1217         <xsl :variable  name="VarT arget" sel ect="wwpro jext:GetFo rmatSettin g('baggage -file-targ et')" /> CR LF
1196   CR LF   1218   CR LF
1197         <xsl :if test=" (string-le ngth($VarT arget) &gt ; 0) and ( $VarTarget  != 'none' )"> CR LF   1219         <xsl :if test=" (string-le ngth($VarT arget) &gt ; 0) and ( $VarTarget  != 'none' )"> CR LF
1198          <xs l:attribut e name="ta rget"> CR LF   1220          <xs l:attribut e name="ta rget"> CR LF
1199           <x sl:value-o f select=" $VarTarget " /> CR LF   1221           <x sl:value-o f select=" $VarTarget " /> CR LF
1200          </x sl:attribu te> CR LF   1222          </x sl:attribu te> CR LF
1201         </xs l:if> CR LF   1223         </xs l:if> CR LF
1202        </xsl :when> CR LF   1224        </xsl :when> CR LF
1203   CR LF   1225   CR LF
1204        <!--  Document - -> CR LF   1226        <!--  Document - -> CR LF
1205        <!--           - -> CR LF   1227        <!--           - -> CR LF
1206        <xsl: when test= "(($VarRes olvedLinkI nfo/@type  = 'baggage ') and ($V arProcessB aggageAsWi kiPage)) o r (($VarRe solvedLink Info/@type  = 'docume nt') or ($ VarResolve dLinkInfo/ @type = 'g roup') or  ($VarResol vedLinkInf o/@type =  'project') )"> CR LF   1228        <xsl: when test= "(($VarRes olvedLinkI nfo/@type  = 'baggage ') and ($V arProcessB aggageAsWi kiPage)) o r (($VarRe solvedLink Info/@type  = 'docume nt') or ($ VarResolve dLinkInfo/ @type = 'g roup') or  ($VarResol vedLinkInf o/@type =  'project') )"> CR LF
1207         <xsl :attribute  name="hre f"> CR LF   1229         <xsl :attribute  name="hre f"> CR LF
1208          <xs l:variable  name="Var RelativePa th"> CR LF   1230          <xs l:variable  name="Var RelativePa th"> CR LF
1209           <x sl:call-te mplate nam e="MoinMoi n-Relative PageLink"> CR LF   1231           <x sl:call-te mplate nam e="MoinMoi n-Relative PageLink"> CR LF
1210            < xsl:with-p aram name= "ParamSour ce" select ="$ParamSp lit/@path"  /> CR LF   1232            < xsl:with-p aram name= "ParamSour ce" select ="$ParamSp lit/@path"  /> CR LF
1211            < xsl:with-p aram name= "ParamTarg et" select ="$VarReso lvedLinkIn fo/@path"  /> CR LF   1233            < xsl:with-p aram name= "ParamTarg et" select ="$VarReso lvedLinkIn fo/@path"  /> CR LF
1212           </ xsl:call-t emplate> CR LF   1234           </ xsl:call-t emplate> CR LF
1213          </x sl:variabl e> CR LF   1235          </x sl:variabl e> CR LF
1214   CR LF   1236   CR LF
1215          <xs l:if test= "$VarRelat ivePath !=  '../'"> CR LF   1237          <xs l:if test= "$VarRelat ivePath !=  '../'"> CR LF
1216           <x sl:value-o f select=" $VarRelati vePath" /> CR LF   1238           <x sl:value-o f select=" $VarRelati vePath" /> CR LF
1217          </x sl:if> CR LF   1239          </x sl:if> CR LF
1218          <xs l:if test= "string-le ngth($Para mDocumentL ink/@ancho r) &gt; 0" > CR LF   1240          <xs l:if test= "string-le ngth($Para mDocumentL ink/@ancho r) &gt; 0" > CR LF
1219           <x sl:text>#< /xsl:text> CR LF   1241           <x sl:text>#< /xsl:text> CR LF
1220           <x sl:value-o f select=" $VarResolv edLinkInfo /@linkid"  /> CR LF   1242           <x sl:value-o f select=" $VarResolv edLinkInfo /@linkid"  /> CR LF
1221          </x sl:if> CR LF   1243          </x sl:if> CR LF
1222         </xs l:attribut e> CR LF   1244         </xs l:attribut e> CR LF
1223        </xsl :when> CR LF   1245        </xsl :when> CR LF
1224   CR LF   1246   CR LF
1225        <!--  URL --> CR LF   1247        <!--  URL --> CR LF
1226        <!--      --> CR LF   1248        <!--      --> CR LF
1227        <xsl: when test= "$VarResol vedLinkInf o/@type =  'url'"> CR LF   1249        <xsl: when test= "$VarResol vedLinkInf o/@type =  'url'"> CR LF
1228         <xsl :attribute  name="hre f"> CR LF   1250         <xsl :attribute  name="hre f"> CR LF
1229          <xs l:value-of  select="$ VarResolve dLinkInfo/ @url" /> CR LF   1251          <xs l:value-of  select="$ VarResolve dLinkInfo/ @url" /> CR LF
1230         </xs l:attribut e> CR LF   1252         </xs l:attribut e> CR LF
1231   CR LF   1253   CR LF
1232         <!--  External  URL Target  --> CR LF   1254         <!--  External  URL Target  --> CR LF
1233         <!--                        --> CR LF   1255         <!--                        --> CR LF
1234         <xsl :if test=" not(wwuri: IsFile($Va rResolvedL inkInfo/@u rl))"> CR LF   1256         <xsl :if test=" not(wwuri: IsFile($Va rResolvedL inkInfo/@u rl))"> CR LF
1235          <xs l:variable  name="Var Target" se lect="wwpr ojext:GetF ormatSetti ng('extern al-url-tar get')" /> CR LF   1257          <xs l:variable  name="Var Target" se lect="wwpr ojext:GetF ormatSetti ng('extern al-url-tar get')" /> CR LF
1236   CR LF   1258   CR LF
1237          <xs l:if test= "(string-l ength($Var Target) &g t; 0) and  ($VarTarge t != 'none ')"> CR LF   1259          <xs l:if test= "(string-l ength($Var Target) &g t; 0) and  ($VarTarge t != 'none ')"> CR LF
1238           <x sl:attribu te name="t arget"> CR LF   1260           <x sl:attribu te name="t arget"> CR LF
1239            < xsl:value- of select= "$VarTarge t" /> CR LF   1261            < xsl:value- of select= "$VarTarge t" /> CR LF
1240           </ xsl:attrib ute> CR LF   1262           </ xsl:attrib ute> CR LF
1241          </x sl:if> CR LF   1263          </x sl:if> CR LF
1242         </xs l:if> CR LF   1264         </xs l:if> CR LF
1243        </xsl :when> CR LF   1265        </xsl :when> CR LF
1244       </xsl: choose> CR LF   1266       </xsl: choose> CR LF
1245      </xsl:i f> CR LF   1267      </xsl:i f> CR LF
1246     </xsl:el ement> CR LF   1268     </xsl:el ement> CR LF
1247    </xsl:tem plate> CR LF   1269    </xsl:tem plate> CR LF
1248   CR LF   1270   CR LF
1249   CR LF   1271   CR LF
1250    <xsl:temp late name= "TextRun"> CR LF   1272    <xsl:temp late name= "TextRun"> CR LF
1251     <xsl:par am name="P aramSplits " /> CR LF   1273     <xsl:par am name="P aramSplits " /> CR LF
1252     <xsl:par am name="P aramCargo"  /> CR LF   1274     <xsl:par am name="P aramCargo"  /> CR LF
1253     <xsl:par am name="P aramLinks"  /> CR LF   1275     <xsl:par am name="P aramLinks"  /> CR LF
1254     <xsl:par am name="P aramSplit"  /> CR LF   1276     <xsl:par am name="P aramSplit"  /> CR LF
1255     <xsl:par am name="P aramParagr aphID" /> CR LF   1277     <xsl:par am name="P aramParagr aphID" /> CR LF
1256     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF   1278     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF
1257     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF   1279     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF
1258     <xsl:par am name="P aramTextRu n" /> CR LF   1280     <xsl:par am name="P aramTextRu n" /> CR LF
1259     <xsl:par am name="P aramPositi on" /> CR LF   1281     <xsl:par am name="P aramPositi on" /> CR LF
1260   CR LF   1282   CR LF
1261     <!-- Get  rule --> CR LF   1283     <!-- Get  rule --> CR LF
1262     <!--           --> CR LF   1284     <!--           --> CR LF
1263     <xsl:var iable name ="VarRule"  select="w wprojext:G etRule('Ch aracter',  $ParamText Run/@style name)" /> CR LF   1285     <xsl:var iable name ="VarRule"  select="w wprojext:G etRule('Ch aracter',  $ParamText Run/@style name)" /> CR LF
1264   CR LF   1286   CR LF
1265     <!-- Gen erate outp ut? --> CR LF   1287     <!-- Gen erate outp ut? --> CR LF
1266     <!---                   --> CR LF   1288     <!---                   --> CR LF
1267     <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'ge nerate-out put']/@Val ue" /> CR LF   1289     <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'ge nerate-out put']/@Val ue" /> CR LF
1268     <xsl:var iable name ="VarGener ateOutput"  select="( string-len gth($VarGe nerateOutp utOption)  = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> CR LF   1290     <xsl:var iable name ="VarGener ateOutput"  select="( string-len gth($VarGe nerateOutp utOption)  = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> CR LF
1269     <xsl:if  test="$Var GenerateOu tput"> CR LF   1291     <xsl:if  test="$Var GenerateOu tput"> CR LF
1270      <!-- Pa ss-through ? --> CR LF   1292      <!-- Pa ss-through ? --> CR LF
1271      <!--                 --> CR LF   1293      <!--                 --> CR LF
1272      <xsl:va riable nam e="VarPass Through"> CR LF   1294      <xsl:va riable nam e="VarPass Through"> CR LF
    1295       <xsl:v ariable na me="VarPas sThroughOp tion" sele ct="$VarRu le/wwproje ct:Options /wwproject :Option[@N ame = 'pas s-through' ]/@Value"  /> CR LF
    1296   CR LF
    1297       <xsl:c hoose> CR LF
    1298        <xsl: when test= "$VarPassT hroughOpti on = 'true '"> CR LF
    1299         <xsl :value-of  select="tr ue()" /> CR LF
    1300        </xsl :when> CR LF
    1301   CR LF
    1302        <xsl: otherwise> CR LF
1273       <xsl:c all-templa te name="C onditions- PassThroug h"> CR LF   1303         <xsl :call-temp late name= "Condition s-PassThro ugh"> CR LF
1274        <xsl: with-param  name="Par amConditio ns" select ="$ParamTe xtRun/wwdo c:Conditio ns" /> CR LF   1304          <xs l:with-par am name="P aramCondit ions" sele ct="$Param TextRun/ww doc:Condit ions" /> CR LF
1275       </xsl: call-templ ate> CR LF   1305         </xs l:call-tem plate> CR LF
    1306        </xsl :otherwise > CR LF
    1307       </xsl: choose> CR LF
1276      </xsl:v ariable> CR LF   1308      </xsl:v ariable> CR LF
1277   CR LF   1309   CR LF
1278      <xsl:ch oose> CR LF   1310      <xsl:ch oose> CR LF
1279       <xsl:w hen test=" $VarPassTh rough = 't rue'"> CR LF   1311       <xsl:w hen test=" $VarPassTh rough = 't rue'"> CR LF
1280        <xsl: apply-temp lates sele ct="$Param TextRun" m ode="wwmod e:passthro ugh" /> CR LF   1312        <xsl: apply-temp lates sele ct="$Param TextRun" m ode="wwmod e:passthro ugh" /> CR LF
1281       </xsl: when> CR LF   1313       </xsl: when> CR LF
1282   CR LF   1314   CR LF
1283       <xsl:o therwise> CR LF   1315       <xsl:o therwise> CR LF
1284        <!--  Comment? - -> CR LF   1316        <!--  Comment? - -> CR LF
1285        <!--           - -> CR LF   1317        <!--           - -> CR LF
1286        <xsl: variable n ame="VarWi kiCommentO ption" sel ect="$VarR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'wi ki-comment ']/@Value"  /> CR LF   1318        <xsl: variable n ame="VarWi kiCommentO ption" sel ect="$VarR ule/wwproj ect:Option s/wwprojec t:Option[@ Name = 'wi ki-comment ']/@Value"  /> CR LF
1287        <xsl: variable n ame="VarWi kiComment"  select="$ VarWikiCom mentOption  = 'true'"  /> CR LF   1319        <xsl: variable n ame="VarWi kiComment"  select="$ VarWikiCom mentOption  = 'true'"  /> CR LF
1288   CR LF   1320   CR LF
1289        <xsl: choose> CR LF   1321        <xsl: choose> CR LF
1290         <!--  Comment - -> CR LF   1322         <!--  Comment - -> CR LF
1291         <!--          - -> CR LF   1323         <!--          - -> CR LF
1292         <xsl :when test ="$VarWiki Comment"> CR LF   1324         <xsl :when test ="$VarWiki Comment"> CR LF
1293          <xs l:call-tem plate name ="TextRun- Comment"> CR LF   1325          <xs l:call-tem plate name ="TextRun- Comment"> CR LF
1294           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF   1326           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF
1295           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF   1327           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF
1296           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF   1328           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF
1297           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF   1329           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF
1298           <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amParagrap hID" /> CR LF   1330           <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amParagrap hID" /> CR LF
1299           <x sl:with-pa ram name=" ParamParag raphProper ties" sele ct="$Param ParagraphP roperties"  /> CR LF   1331           <x sl:with-pa ram name=" ParamParag raphProper ties" sele ct="$Param ParagraphP roperties"  /> CR LF
1300           <x sl:with-pa ram name=" ParamUseCh aracterSty les" selec t="$ParamU seCharacte rStyles" / > CR LF   1332           <x sl:with-pa ram name=" ParamUseCh aracterSty les" selec t="$ParamU seCharacte rStyles" / > CR LF
1301           <x sl:with-pa ram name=" ParamTextR un" select ="$ParamTe xtRun" /> CR LF   1333           <x sl:with-pa ram name=" ParamTextR un" select ="$ParamTe xtRun" /> CR LF
1302           <x sl:with-pa ram name=" ParamRule"  select="$ VarRule" / > CR LF   1334           <x sl:with-pa ram name=" ParamRule"  select="$ VarRule" / > CR LF
1303           <x sl:with-pa ram name=" ParamPosit ion" selec t="$ParamP osition" / > CR LF   1335           <x sl:with-pa ram name=" ParamPosit ion" selec t="$ParamP osition" / > CR LF
1304          </x sl:call-te mplate> CR LF   1336          </x sl:call-te mplate> CR LF
1305         </xs l:when> CR LF   1337         </xs l:when> CR LF
1306   CR LF   1338   CR LF
1307         <!--  Normal be havior --> CR LF   1339         <!--  Normal be havior --> CR LF
1308         <!--                   --> CR LF   1340         <!--                   --> CR LF
1309         <xsl :otherwise > CR LF   1341         <xsl :otherwise > CR LF
1310          <xs l:call-tem plate name ="TextRun- Normal"> CR LF   1342          <xs l:call-tem plate name ="TextRun- Normal"> CR LF
1311           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF   1343           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF
1312           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF   1344           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF
1313           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF   1345           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF
1314           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF   1346           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF
1315           <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amParagrap hID" /> CR LF   1347           <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amParagrap hID" /> CR LF
1316           <x sl:with-pa ram name=" ParamParag raphProper ties" sele ct="$Param ParagraphP roperties"  /> CR LF   1348           <x sl:with-pa ram name=" ParamParag raphProper ties" sele ct="$Param ParagraphP roperties"  /> CR LF
1317           <x sl:with-pa ram name=" ParamUseCh aracterSty les" selec t="$ParamU seCharacte rStyles" / > CR LF   1349           <x sl:with-pa ram name=" ParamUseCh aracterSty les" selec t="$ParamU seCharacte rStyles" / > CR LF
1318           <x sl:with-pa ram name=" ParamTextR un" select ="$ParamTe xtRun" /> CR LF   1350           <x sl:with-pa ram name=" ParamTextR un" select ="$ParamTe xtRun" /> CR LF
1319           <x sl:with-pa ram name=" ParamRule"  select="$ VarRule" / > CR LF   1351           <x sl:with-pa ram name=" ParamRule"  select="$ VarRule" / > CR LF
1320           <x sl:with-pa ram name=" ParamPosit ion" selec t="$ParamP osition" / > CR LF   1352           <x sl:with-pa ram name=" ParamPosit ion" selec t="$ParamP osition" / > CR LF
1321          </x sl:call-te mplate> CR LF   1353          </x sl:call-te mplate> CR LF
1322         </xs l:otherwis e> CR LF   1354         </xs l:otherwis e> CR LF
1323        </xsl :choose> CR LF   1355        </xsl :choose> CR LF
1324       </xsl: otherwise> CR LF   1356       </xsl: otherwise> CR LF
1325      </xsl:c hoose> CR LF   1357      </xsl:c hoose> CR LF
1326     </xsl:if > CR LF   1358     </xsl:if > CR LF
1327    </xsl:tem plate> CR LF   1359    </xsl:tem plate> CR LF
1328   CR LF   1360   CR LF
1329   CR LF   1361   CR LF
1330    <xsl:temp late name= "TextRun-C omment"> CR LF   1362    <xsl:temp late name= "TextRun-C omment"> CR LF
1331     <xsl:par am name="P aramSplits " /> CR LF   1363     <xsl:par am name="P aramSplits " /> CR LF
1332     <xsl:par am name="P aramCargo"  /> CR LF   1364     <xsl:par am name="P aramCargo"  /> CR LF
1333     <xsl:par am name="P aramLinks"  /> CR LF   1365     <xsl:par am name="P aramLinks"  /> CR LF
1334     <xsl:par am name="P aramSplit"  /> CR LF   1366     <xsl:par am name="P aramSplit"  /> CR LF
1335     <xsl:par am name="P aramParagr aphID" /> CR LF   1367     <xsl:par am name="P aramParagr aphID" /> CR LF
1336     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF   1368     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF
1337     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF   1369     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF
1338     <xsl:par am name="P aramTextRu n" /> CR LF   1370     <xsl:par am name="P aramTextRu n" /> CR LF
1339     <xsl:par am name="P aramRule"  /> CR LF   1371     <xsl:par am name="P aramRule"  /> CR LF
1340     <xsl:par am name="P aramPositi on" /> CR LF   1372     <xsl:par am name="P aramPositi on" /> CR LF
1341   CR LF   1373   CR LF
1342     <!-- Com ment prefi x --> CR LF   1374     <!-- Com ment prefi x --> CR LF
1343     <!--                  --> CR LF   1375     <!--                  --> CR LF
1344     <xsl:tex t>/* </xsl :text> CR LF   1376     <xsl:tex t>/* </xsl :text> CR LF
1345   CR LF   1377   CR LF
1346     <xsl:cal l-template  name="Tex tRun-Norma l"> CR LF   1378     <xsl:cal l-template  name="Tex tRun-Norma l"> CR LF
1347      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   1379      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
1348      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   1380      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
1349      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   1381      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
1350      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   1382      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
1351      <xsl:wi th-param n ame="Param ParagraphI D" select= "$ParamPar agraphID"  /> CR LF   1383      <xsl:wi th-param n ame="Param ParagraphI D" select= "$ParamPar agraphID"  /> CR LF
1352      <xsl:wi th-param n ame="Param ParagraphP roperties"  select="$ ParamParag raphProper ties" /> CR LF   1384      <xsl:wi th-param n ame="Param ParagraphP roperties"  select="$ ParamParag raphProper ties" /> CR LF
1353      <xsl:wi th-param n ame="Param UseCharact erStyles"  select="$P aramUseCha racterStyl es" /> CR LF   1385      <xsl:wi th-param n ame="Param UseCharact erStyles"  select="$P aramUseCha racterStyl es" /> CR LF
1354      <xsl:wi th-param n ame="Param TextRun" s elect="$Pa ramTextRun " /> CR LF   1386      <xsl:wi th-param n ame="Param TextRun" s elect="$Pa ramTextRun " /> CR LF
1355      <xsl:wi th-param n ame="Param Rule" sele ct="$Param Rule" /> CR LF   1387      <xsl:wi th-param n ame="Param Rule" sele ct="$Param Rule" /> CR LF
1356      <xsl:wi th-param n ame="Param Position"  select="$P aramPositi on" /> CR LF   1388      <xsl:wi th-param n ame="Param Position"  select="$P aramPositi on" /> CR LF
1357     </xsl:ca ll-templat e> CR LF   1389     </xsl:ca ll-templat e> CR LF
1358   CR LF   1390   CR LF
1359     <!-- Com ment suffi x --> CR LF   1391     <!-- Com ment suffi x --> CR LF
1360     <!--                  --> CR LF   1392     <!--                  --> CR LF
1361     <xsl:tex t> */</xsl :text> CR LF   1393     <xsl:tex t> */</xsl :text> CR LF
1362    </xsl:tem plate> CR LF   1394    </xsl:tem plate> CR LF
1363   CR LF   1395   CR LF
1364   CR LF   1396   CR LF
1365    <xsl:temp late name= "TextRun-N ormal"> CR LF   1397    <xsl:temp late name= "TextRun-N ormal"> CR LF
1366     <xsl:par am name="P aramSplits " /> CR LF   1398     <xsl:par am name="P aramSplits " /> CR LF
1367     <xsl:par am name="P aramCargo"  /> CR LF   1399     <xsl:par am name="P aramCargo"  /> CR LF
1368     <xsl:par am name="P aramLinks"  /> CR LF   1400     <xsl:par am name="P aramLinks"  /> CR LF
1369     <xsl:par am name="P aramSplit"  /> CR LF   1401     <xsl:par am name="P aramSplit"  /> CR LF
1370     <xsl:par am name="P aramParagr aphID" /> CR LF   1402     <xsl:par am name="P aramParagr aphID" /> CR LF
1371     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF   1403     <xsl:par am name="P aramParagr aphPropert ies" /> CR LF
1372     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF   1404     <xsl:par am name="P aramUseCha racterStyl es" /> CR LF
1373     <xsl:par am name="P aramTextRu n" /> CR LF   1405     <xsl:par am name="P aramTextRu n" /> CR LF
1374     <xsl:par am name="P aramRule"  /> CR LF   1406     <xsl:par am name="P aramRule"  /> CR LF
1375     <xsl:par am name="P aramPositi on" /> CR LF   1407     <xsl:par am name="P aramPositi on" /> CR LF
1376   CR LF   1408   CR LF
1377     <!-- Det ermine pro perties -- > CR LF   1409     <!-- Det ermine pro perties -- > CR LF
1378     <!--                        -- > CR LF   1410     <!--                        -- > CR LF
1379     <xsl:var iable name ="VarPrope rtiesAsXML "> CR LF   1411     <xsl:var iable name ="VarPrope rtiesAsXML "> CR LF
1380      <xsl:ch oose> CR LF   1412      <xsl:ch oose> CR LF
1381       <!-- H andle char acter styl e --> CR LF   1413       <!-- H andle char acter styl e --> CR LF
1382       <!--                           --> CR LF   1414       <!--                           --> CR LF
1383       <xsl:w hen test=" ($ParamUse CharacterS tyles) and  ((string- length($Pa ramTextRun /@stylenam e) &gt; 0)  or (count ($ParamTex tRun/wwdoc :Style) =  1))"> CR LF   1415       <xsl:w hen test=" ($ParamUse CharacterS tyles) and  ((string- length($Pa ramTextRun /@stylenam e) &gt; 0)  or (count ($ParamTex tRun/wwdoc :Style) =  1))"> CR LF
1384        <!--  Get overri de rule -- > CR LF   1416        <!--  Get overri de rule -- > CR LF
1385        <!--                     -- > CR LF   1417        <!--                     -- > CR LF
1386        <xsl: variable n ame="VarCo ntextRule"  select="w wprojext:G etContextR ule('Chara cter', $Pa ramTextRun /@stylenam e, $ParamS plit/@docu mentID, $P aramTextRu n/@id)" /> CR LF   1418        <xsl: variable n ame="VarCo ntextRule"  select="w wprojext:G etContextR ule('Chara cter', $Pa ramTextRun /@stylenam e, $ParamS plit/@docu mentID, $P aramTextRu n/@id)" /> CR LF
1387   CR LF   1419   CR LF
1388        <!--  Resolve pr oject prop erties --> CR LF   1420        <!--  Resolve pr oject prop erties --> CR LF
1389        <!--                               --> CR LF   1421        <!--                               --> CR LF
1390        <xsl: variable n ame="VarRe solvedProp ertiesAsXM L"> CR LF   1422        <xsl: variable n ame="VarRe solvedProp ertiesAsXM L"> CR LF
1391         <xsl :call-temp late name= "Propertie s-ResolveC ontextRule "> CR LF   1423         <xsl :call-temp late name= "Propertie s-ResolveC ontextRule "> CR LF
1392          <xs l:with-par am name="P aramDocume ntContext"  select="$ ParamTextR un" /> CR LF   1424          <xs l:with-par am name="P aramDocume ntContext"  select="$ ParamTextR un" /> CR LF
1393          <xs l:with-par am name="P aramProper ties" sele ct="$VarCo ntextRule/ wwproject: Properties /wwproject :Property  | $ParamPa ragraphPro perties" / > CR LF   1425          <xs l:with-par am name="P aramProper ties" sele ct="$VarCo ntextRule/ wwproject: Properties /wwproject :Property  | $ParamPa ragraphPro perties" / > CR LF
1394          <xs l:with-par am name="P aramStyleN ame" selec t="$ParamT extRun/@st ylename" / > CR LF   1426          <xs l:with-par am name="P aramStyleN ame" selec t="$ParamT extRun/@st ylename" / > CR LF
1395          <xs l:with-par am name="P aramStyleT ype" selec t="'Charac ter'" /> CR LF   1427          <xs l:with-par am name="P aramStyleT ype" selec t="'Charac ter'" /> CR LF
1396          <xs l:with-par am name="P aramContex tStyle" se lect="$Par amTextRun/ wwdoc:Styl e" /> CR LF   1428          <xs l:with-par am name="P aramContex tStyle" se lect="$Par amTextRun/ wwdoc:Styl e" /> CR LF
1397         </xs l:call-tem plate> CR LF   1429         </xs l:call-tem plate> CR LF
1398        </xsl :variable> CR LF   1430        </xsl :variable> CR LF
1399        <xsl: variable n ame="VarRe solvedProp erties" se lect="msxs l:node-set ($VarResol vedPropert iesAsXML)/ wwproject: Property"  /> CR LF   1431        <xsl: variable n ame="VarRe solvedProp erties" se lect="msxs l:node-set ($VarResol vedPropert iesAsXML)/ wwproject: Property"  /> CR LF
1400   CR LF   1432   CR LF
1401        <!--  Emit uniqu e properti es --> CR LF   1433        <!--  Emit uniqu e properti es --> CR LF
1402        <!--                           --> CR LF   1434        <!--                           --> CR LF
1403        <xsl: for-each s elect="$Va rResolvedP roperties" > CR LF   1435        <xsl: for-each s elect="$Va rResolvedP roperties" > CR LF
1404         <xsl :variable  name="VarR esolvedPro perty" sel ect="." /> CR LF   1436         <xsl :variable  name="VarR esolvedPro perty" sel ect="." /> CR LF
1405   CR LF   1437   CR LF
1406         <xsl :copy-of s elect="$Va rResolvedP roperty" / > CR LF   1438         <xsl :copy-of s elect="$Va rResolvedP roperty" / > CR LF
1407        </xsl :for-each> CR LF   1439        </xsl :for-each> CR LF
1408        <xsl: for-each s elect="$Pa ramParagra phProperti es"> CR LF   1440        <xsl: for-each s elect="$Pa ramParagra phProperti es"> CR LF
1409         <xsl :variable  name="VarP aragraphPr operty" se lect="." / > CR LF   1441         <xsl :variable  name="VarP aragraphPr operty" se lect="." / > CR LF
1410   CR LF   1442   CR LF
1411         <xsl :if test=" count($Var ResolvedPr operties[@ Name = $Va rParagraph Property/@ Name]) = 0 "> CR LF   1443         <xsl :if test=" count($Var ResolvedPr operties[@ Name = $Va rParagraph Property/@ Name]) = 0 "> CR LF
1412          <xs l:copy-of  select="$V arParagrap hProperty"  /> CR LF   1444          <xs l:copy-of  select="$V arParagrap hProperty"  /> CR LF
1413         </xs l:if> CR LF   1445         </xs l:if> CR LF
1414        </xsl :for-each> CR LF   1446        </xsl :for-each> CR LF
1415       </xsl: when> CR LF   1447       </xsl: when> CR LF
1416   CR LF   1448   CR LF
1417       <!-- H andle para graph styl e --> CR LF   1449       <!-- H andle para graph styl e --> CR LF
1418       <!--                           --> CR LF   1450       <!--                           --> CR LF
1419       <xsl:w hen test=" count($Par amParagrap hPropertie s[1]) &gt;  0"> CR LF   1451       <xsl:w hen test=" count($Par amParagrap hPropertie s[1]) &gt;  0"> CR LF
1420        <xsl: for-each s elect="$Pa ramParagra phProperti es"> CR LF   1452        <xsl: for-each s elect="$Pa ramParagra phProperti es"> CR LF
1421         <xsl :variable  name="VarP aragraphPr operty" se lect="." / > CR LF   1453         <xsl :variable  name="VarP aragraphPr operty" se lect="." / > CR LF
1422   CR LF   1454   CR LF
1423         <xsl :copy-of s elect="$Va rParagraph Property"  /> CR LF   1455         <xsl :copy-of s elect="$Va rParagraph Property"  /> CR LF
1424        </xsl :for-each> CR LF   1456        </xsl :for-each> CR LF
1425       </xsl: when> CR LF   1457       </xsl: when> CR LF
1426      </xsl:c hoose> CR LF   1458      </xsl:c hoose> CR LF
1427     </xsl:va riable> CR LF   1459     </xsl:va riable> CR LF
1428     <xsl:var iable name ="VarPrope rties" sel ect="msxsl :node-set( $VarProper tiesAsXML) /wwproject :Property"  /> CR LF   1460     <xsl:var iable name ="VarPrope rties" sel ect="msxsl :node-set( $VarProper tiesAsXML) /wwproject :Property"  /> CR LF
1429   CR LF   1461   CR LF
1430     <xsl:cho ose> CR LF   1462     <xsl:cho ose> CR LF
1431      <!-- Ha ndle prope rties --> CR LF   1463      <!-- Ha ndle prope rties --> CR LF
1432      <!--                           --> CR LF   1464      <!--                           --> CR LF
1433      <xsl:wh en test="c ount($VarP roperties[ 1]) &gt; 0 "> CR LF   1465      <xsl:wh en test="c ount($VarP roperties[ 1]) &gt; 0 "> CR LF
1434       <!-- E mit style  prefix --> CR LF   1466       <!-- E mit style  prefix --> CR LF
1435       <!--                     --> CR LF   1467       <!--                     --> CR LF
1436       <xsl:c all-templa te name="M oinMoin-St yle-Prefix "> CR LF   1468       <xsl:c all-templa te name="M oinMoin-St yle-Prefix "> CR LF
1437        <xsl: with-param  name="Par amProperti es" select ="$VarProp erties" /> CR LF   1469        <xsl: with-param  name="Par amProperti es" select ="$VarProp erties" /> CR LF
1438       </xsl: call-templ ate> CR LF   1470       </xsl: call-templ ate> CR LF
1439   CR LF   1471   CR LF
1440       <!-- H andle pass through ca ses --> CR LF   1472       <!-- H andle pass through ca ses --> CR LF
1441       <!--                             --> CR LF   1473       <!--                             --> CR LF
1442       <xsl:v ariable na me="VarUse Passthroug hAsText"> CR LF   1474       <xsl:v ariable na me="VarUse Passthroug hAsText"> CR LF
1443        <xsl: call-templ ate name=" MoinMoin-S tyle-UsePa ssthrough" > CR LF   1475        <xsl: call-templ ate name=" MoinMoin-S tyle-UsePa ssthrough" > CR LF
1444         <xsl :with-para m name="Pa ramPropert ies" selec t="$VarPro perties" / > CR LF   1476         <xsl :with-para m name="Pa ramPropert ies" selec t="$VarPro perties" / > CR LF
1445        </xsl :call-temp late> CR LF   1477        </xsl :call-temp late> CR LF
1446       </xsl: variable> CR LF   1478       </xsl: variable> CR LF
1447       <xsl:v ariable na me="VarUse Passthroug h" select= "$VarUsePa ssthroughA sText = 't rue'" /> CR LF   1479       <xsl:v ariable na me="VarUse Passthroug h" select= "$VarUsePa ssthroughA sText = 't rue'" /> CR LF
1448       <xsl:c hoose> CR LF   1480       <xsl:c hoose> CR LF
1449        <!--  Passthroug h --> CR LF   1481        <!--  Passthroug h --> CR LF
1450        <!--               --> CR LF   1482        <!--               --> CR LF
1451        <xsl: when test= "$VarUsePa ssthrough" > CR LF   1483        <xsl: when test= "$VarUsePa ssthrough" > CR LF
1452         <xsl :apply-tem plates sel ect="$Para mTextRun"  mode="wwmo de:passthr ough" /> CR LF   1484         <xsl :apply-tem plates sel ect="$Para mTextRun"  mode="wwmo de:passthr ough" /> CR LF
1453        </xsl :when> CR LF   1485        </xsl :when> CR LF
1454   CR LF   1486   CR LF
1455        <!--  Normal --> CR LF   1487        <!--  Normal --> CR LF
1456        <!--         --> CR LF   1488        <!--         --> CR LF
1457        <xsl: otherwise> CR LF   1489        <xsl: otherwise> CR LF
1458         <xsl :call-temp late name= "TextRunCh ildren"> CR LF   1490         <xsl :call-temp late name= "TextRunCh ildren"> CR LF
1459          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> CR LF   1491          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> CR LF
1460          <xs l:with-par am name="P aramCargo"  select="$ ParamCargo " /> CR LF   1492          <xs l:with-par am name="P aramCargo"  select="$ ParamCargo " /> CR LF
1461          <xs l:with-par am name="P aramLinks"  select="$ ParamLinks " /> CR LF   1493          <xs l:with-par am name="P aramLinks"  select="$ ParamLinks " /> CR LF
1462          <xs l:with-par am name="P aramSplit"  select="$ ParamSplit " /> CR LF   1494          <xs l:with-par am name="P aramSplit"  select="$ ParamSplit " /> CR LF
1463          <xs l:with-par am name="P aramParagr aphID" sel ect="$Para mParagraph ID" /> CR LF   1495          <xs l:with-par am name="P aramParagr aphID" sel ect="$Para mParagraph ID" /> CR LF
1464          <xs l:with-par am name="P aramTextRu n" select= "$ParamTex tRun" /> CR LF   1496          <xs l:with-par am name="P aramTextRu n" select= "$ParamTex tRun" /> CR LF
1465          <xs l:with-par am name="P aramPositi on" select ="$ParamPo sition" /> CR LF   1497          <xs l:with-par am name="P aramPositi on" select ="$ParamPo sition" /> CR LF
1466         </xs l:call-tem plate> CR LF   1498         </xs l:call-tem plate> CR LF
1467        </xsl :otherwise > CR LF   1499        </xsl :otherwise > CR LF
1468       </xsl: choose> CR LF   1500       </xsl: choose> CR LF
1469   CR LF   1501   CR LF
1470       <!-- E mit style  suffix --> CR LF   1502       <!-- E mit style  suffix --> CR LF
1471       <!--                     --> CR LF   1503       <!--                     --> CR LF
1472       <xsl:c all-templa te name="M oinMoin-St yle-Suffix "> CR LF   1504       <xsl:c all-templa te name="M oinMoin-St yle-Suffix "> CR LF
1473        <xsl: with-param  name="Par amProperti es" select ="$VarProp erties" /> CR LF   1505        <xsl: with-param  name="Par amProperti es" select ="$VarProp erties" /> CR LF
1474       </xsl: call-templ ate> CR LF   1506       </xsl: call-templ ate> CR LF
1475      </xsl:w hen> CR LF   1507      </xsl:w hen> CR LF
1476   CR LF   1508   CR LF
1477      <!-- No  style --> CR LF   1509      <!-- No  style --> CR LF
1478      <!--           --> CR LF   1510      <!--           --> CR LF
1479      <xsl:ot herwise> CR LF   1511      <xsl:ot herwise> CR LF
1480       <xsl:c all-templa te name="T extRunChil dren"> CR LF   1512       <xsl:c all-templa te name="T extRunChil dren"> CR LF
1481        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF   1513        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF
1482        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF   1514        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF
1483        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF   1515        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF
1484        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   1516        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
1485        <xsl: with-param  name="Par amParagrap hID" selec t="$ParamP aragraphID " /> CR LF   1517        <xsl: with-param  name="Par amParagrap hID" selec t="$ParamP aragraphID " /> CR LF
1486        <xsl: with-param  name="Par amTextRun"  select="$ ParamTextR un" /> CR LF   1518        <xsl: with-param  name="Par amTextRun"  select="$ ParamTextR un" /> CR LF
1487        <xsl: with-param  name="Par amPosition " select=" $ParamPosi tion" /> CR LF   1519        <xsl: with-param  name="Par amPosition " select=" $ParamPosi tion" /> CR LF
1488       </xsl: call-templ ate> CR LF   1520       </xsl: call-templ ate> CR LF
1489      </xsl:o therwise> CR LF   1521      </xsl:o therwise> CR LF
1490     </xsl:ch oose> CR LF   1522     </xsl:ch oose> CR LF
1491    </xsl:tem plate> CR LF   1523    </xsl:tem plate> CR LF
1492   CR LF   1524   CR LF
1493   CR LF   1525   CR LF
1494    <xsl:temp late name= "TextRunCh ildren"> CR LF   1526    <xsl:temp late name= "TextRunCh ildren"> CR LF
1495     <xsl:par am name="P aramSplits " /> CR LF   1527     <xsl:par am name="P aramSplits " /> CR LF
1496     <xsl:par am name="P aramCargo"  /> CR LF   1528     <xsl:par am name="P aramCargo"  /> CR LF
1497     <xsl:par am name="P aramLinks"  /> CR LF   1529     <xsl:par am name="P aramLinks"  /> CR LF
1498     <xsl:par am name="P aramSplit"  /> CR LF   1530     <xsl:par am name="P aramSplit"  /> CR LF
1499     <xsl:par am name="P aramParagr aphID" /> CR LF   1531     <xsl:par am name="P aramParagr aphID" /> CR LF
1500     <xsl:par am name="P aramTextRu n" /> CR LF   1532     <xsl:par am name="P aramTextRu n" /> CR LF
1501     <xsl:par am name="P aramPositi on" /> CR LF   1533     <xsl:par am name="P aramPositi on" /> CR LF
1502   CR LF   1534   CR LF
1503     <!-- For ce anchor  on same li ne as cont aining spa n --> CR LF   1535     <!-- For ce anchor  on same li ne as cont aining spa n --> CR LF
1504     <!--                                                   --> CR LF   1536     <!--                                                   --> CR LF
1505     <wwexsld oc:NoBreak  /> CR LF   1537     <wwexsld oc:NoBreak  /> CR LF
1506   CR LF   1538   CR LF
1507     <!-- Lin k? --> CR LF   1539     <!-- Lin k? --> CR LF
1508     <!--        --> CR LF   1540     <!--        --> CR LF
1509     <xsl:var iable name ="VarLinkI nfoAsXML"> CR LF   1541     <xsl:var iable name ="VarLinkI nfoAsXML"> CR LF
1510      <xsl:ca ll-templat e name="Li nkInfo"> CR LF   1542      <xsl:ca ll-templat e name="Li nkInfo"> CR LF
1511       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF   1543       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF
1512       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF   1544       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF
1513       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF   1545       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF
1514       <xsl:w ith-param  name="Para mDocumentL ink" selec t="$ParamT extRun/wwd oc:Link" / > CR LF   1546       <xsl:w ith-param  name="Para mDocumentL ink" selec t="$ParamT extRun/wwd oc:Link" / > CR LF
1515      </xsl:c all-templa te> CR LF   1547      </xsl:c all-templa te> CR LF
1516     </xsl:va riable> CR LF   1548     </xsl:va riable> CR LF
1517     <xsl:var iable name ="VarLinkI nfo" selec t="msxsl:n ode-set($V arLinkInfo AsXML)/wwl inks:LinkI nfo" /> CR LF   1549     <xsl:var iable name ="VarLinkI nfo" selec t="msxsl:n ode-set($V arLinkInfo AsXML)/wwl inks:LinkI nfo" /> CR LF
1518   CR LF   1550   CR LF
1519     <!-- Han dle links  and first  textrun an chor --> CR LF   1551     <!-- Han dle links  and first  textrun an chor --> CR LF
1520     <!--                                           --> CR LF   1552     <!--                                           --> CR LF
1521     <xsl:cho ose> CR LF   1553     <xsl:cho ose> CR LF
1522      <xsl:wh en test="s tring-leng th($VarLin kInfo/@hre f) &gt; 0" > CR LF   1554      <xsl:wh en test="s tring-leng th($VarLin kInfo/@hre f) &gt; 0" > CR LF
1523       <xsl:t ext>[[</xs l:text> CR LF   1555       <xsl:t ext>[[</xs l:text> CR LF
1524       <xsl:v alue-of se lect="$Var LinkInfo/@ href" /> CR LF   1556       <xsl:v alue-of se lect="$Var LinkInfo/@ href" /> CR LF
1525       <xsl:t ext>|</xsl :text> CR LF   1557       <xsl:t ext>|</xsl :text> CR LF
1526     CR LF   1558     CR LF
1527       <!-- L ink text - -> CR LF   1559       <!-- L ink text - -> CR LF
1528       <!--            - -> CR LF   1560       <!--            - -> CR LF
1529       <xsl:a pply-templ ates selec t="$ParamT extRun" mo de="wwmode :linktext"  /> CR LF   1561       <xsl:a pply-templ ates selec t="$ParamT extRun" mo de="wwmode :linktext"  /> CR LF
1530     CR LF   1562     CR LF
1531       <!-- L ink option s --> CR LF   1563       <!-- L ink option s --> CR LF
1532       <!--                --> CR LF   1564       <!--                --> CR LF
1533       <xsl:v ariable na me="VarLin kOptions"> CR LF   1565       <xsl:v ariable na me="VarLin kOptions"> CR LF
1534        <xsl: if test="s tring-leng th($VarLin kInfo/@tit le) &gt; 0 "> CR LF   1566        <xsl: if test="s tring-leng th($VarLin kInfo/@tit le) &gt; 0 "> CR LF
1535         <xsl :text>titl e=&quot;</ xsl:text> CR LF   1567         <xsl :text>titl e=&quot;</ xsl:text> CR LF
1536         <xsl :value-of  select="$V arLinkInfo /@title" / > CR LF   1568         <xsl :value-of  select="$V arLinkInfo /@title" / > CR LF
1537         <xsl :text>&quo t;,</xsl:t ext> CR LF   1569         <xsl :text>&quo t;,</xsl:t ext> CR LF
1538        </xsl :if> CR LF   1570        </xsl :if> CR LF
1539        <xsl: if test="s tring-leng th($VarLin kInfo/@tar get) &gt;  0"> CR LF   1571        <xsl: if test="s tring-leng th($VarLin kInfo/@tar get) &gt;  0"> CR LF
1540         <xsl :text>targ et=&quot;< /xsl:text> CR LF   1572         <xsl :text>targ et=&quot;< /xsl:text> CR LF
1541         <xsl :value-of  select="$V arLinkInfo /@target"  /> CR LF   1573         <xsl :value-of  select="$V arLinkInfo /@target"  /> CR LF
1542         <xsl :text>&quo t;,</xsl:t ext> CR LF   1574         <xsl :text>&quo t;,</xsl:t ext> CR LF
1543        </xsl :if> CR LF   1575        </xsl :if> CR LF
1544       </xsl: variable> CR LF   1576       </xsl: variable> CR LF
1545       <xsl:i f test="st ring-lengt h($VarLink Options) & gt; 0"> CR LF   1577       <xsl:i f test="st ring-lengt h($VarLink Options) & gt; 0"> CR LF
1546        <xsl: text>|</xs l:text> CR LF   1578        <xsl: text>|</xs l:text> CR LF
1547        <xsl: value-of s elect="$Va rLinkOptio ns" /> CR LF   1579        <xsl: value-of s elect="$Va rLinkOptio ns" /> CR LF
1548       </xsl: if> CR LF   1580       </xsl: if> CR LF
1549   CR LF   1581   CR LF
1550       <xsl:t ext>]]</xs l:text> CR LF   1582       <xsl:t ext>]]</xs l:text> CR LF
1551      </xsl:w hen> CR LF   1583      </xsl:w hen> CR LF
1552   CR LF   1584   CR LF
1553      <xsl:ot herwise> CR LF   1585      <xsl:ot herwise> CR LF
1554       <xsl:a pply-templ ates selec t="$ParamT extRun/*"  mode="wwmo de:textrun "> CR LF   1586       <xsl:a pply-templ ates selec t="$ParamT extRun/*"  mode="wwmo de:textrun "> CR LF
1555        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF   1587        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF
1556        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF   1588        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF
1557        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF   1589        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF
1558        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   1590        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
1559       </xsl: apply-temp lates> CR LF   1591       </xsl: apply-temp lates> CR LF
1560      </xsl:o therwise> CR LF   1592      </xsl:o therwise> CR LF
1561     </xsl:ch oose> CR LF   1593     </xsl:ch oose> CR LF
1562   CR LF   1594   CR LF
1563     <!-- For ce anchor  on same li ne as cont aining spa n --> CR LF   1595     <!-- For ce anchor  on same li ne as cont aining spa n --> CR LF
1564     <!--                                                   --> CR LF   1596     <!--                                                   --> CR LF
1565     <wwexsld oc:NoBreak  /> CR LF   1597     <wwexsld oc:NoBreak  /> CR LF
1566    </xsl:tem plate> CR LF   1598    </xsl:tem plate> CR LF
1567   CR LF   1599   CR LF
1568   CR LF   1600   CR LF
1569    <xsl:temp late match ="wwdoc:No te" mode=" wwmode:tex trun"> CR LF   1601    <xsl:temp late match ="wwdoc:No te" mode=" wwmode:tex trun"> CR LF
1570     <xsl:par am name="P aramSplits " /> CR LF   1602     <xsl:par am name="P aramSplits " /> CR LF
1571     <xsl:par am name="P aramCargo"  /> CR LF   1603     <xsl:par am name="P aramCargo"  /> CR LF
1572     <xsl:par am name="P aramLinks"  /> CR LF   1604     <xsl:par am name="P aramLinks"  /> CR LF
1573     <xsl:par am name="P aramSplit"  /> CR LF   1605     <xsl:par am name="P aramSplit"  /> CR LF
1574   CR LF   1606   CR LF
1575     <xsl:var iable name ="VarConte xt" select ="." /> CR LF   1607     <xsl:var iable name ="VarConte xt" select ="." /> CR LF
1576   CR LF   1608   CR LF
1577     <!-- Imp lement not es --> CR LF   1609     <!-- Imp lement not es --> CR LF
1578     <!--                   --> CR LF   1610     <!--                   --> CR LF
1579     <xsl:for -each sele ct="$Param Cargo/wwno tes:NoteNu mbering[1] "> CR LF   1611     <xsl:for -each sele ct="$Param Cargo/wwno tes:NoteNu mbering[1] "> CR LF
1580      <xsl:va riable nam e="VarNote Number" se lect="key( 'wwnotes-n otes-by-id ', $VarCon text/@id)/ @number" / > CR LF   1612      <xsl:va riable nam e="VarNote Number" se lect="key( 'wwnotes-n otes-by-id ', $VarCon text/@id)/ @number" / > CR LF
1581   CR LF   1613   CR LF
1582      <!-- Fo otnote num ber --> CR LF   1614      <!-- Fo otnote num ber --> CR LF
1583      <!--                   --> CR LF   1615      <!--                   --> CR LF
1584      <wwexsl doc:Text d isable-out put-escapi ng="yes">& lt;&lt;Anc hor(wwfoot note_inlin e_<xsl:val ue-of sele ct="$VarCo ntext/@id"  />)&gt;&g t;</wwexsl doc:Text> CR LF   1616      <wwexsl doc:Text d isable-out put-escapi ng="yes">& lt;&lt;Anc hor(wwfoot note_inlin e_<xsl:val ue-of sele ct="$VarCo ntext/@id"  />)&gt;&g t;</wwexsl doc:Text> CR LF
1585      <xsl:te xt>[[#</xs l:text> CR LF   1617      <xsl:te xt>[[#</xs l:text> CR LF
1586      <xsl:va lue-of sel ect="$VarC ontext/@id " /> CR LF   1618      <xsl:va lue-of sel ect="$VarC ontext/@id " /> CR LF
1587      <xsl:te xt>|</xsl: text> CR LF   1619      <xsl:te xt>|</xsl: text> CR LF
1588      <xsl:va lue-of sel ect="$VarN oteNumber"  /> CR LF   1620      <xsl:va lue-of sel ect="$VarN oteNumber"  /> CR LF
1589      <xsl:te xt>]]</xsl :text> CR LF   1621      <xsl:te xt>]]</xsl :text> CR LF
1590     </xsl:fo r-each> CR LF   1622     </xsl:fo r-each> CR LF
1591    </xsl:tem plate> CR LF   1623    </xsl:tem plate> CR LF
1592   CR LF   1624   CR LF
1593   CR LF   1625   CR LF
1594    <xsl:temp late match ="wwdoc:Li neBreak" m ode="wwmod e:textrun" > CR LF   1626    <xsl:temp late match ="wwdoc:Li neBreak" m ode="wwmod e:textrun" > CR LF
1595     <xsl:par am name="P aramSplits " /> CR LF   1627     <xsl:par am name="P aramSplits " /> CR LF
1596     <xsl:par am name="P aramCargo"  /> CR LF   1628     <xsl:par am name="P aramCargo"  /> CR LF
1597     <xsl:par am name="P aramLinks"  /> CR LF   1629     <xsl:par am name="P aramLinks"  /> CR LF
1598     <xsl:par am name="P aramSplit"  /> CR LF   1630     <xsl:par am name="P aramSplit"  /> CR LF
1599   CR LF   1631   CR LF
1600     <xsl:tex t>&lt;&lt; BR&gt;&gt; </xsl:text > CR LF   1632     <xsl:tex t>&lt;&lt; BR&gt;&gt; </xsl:text > CR LF
1601    </xsl:tem plate> CR LF   1633    </xsl:tem plate> CR LF
1602   CR LF   1634   CR LF
1603   CR LF   1635   CR LF
1604    <xsl:temp late match ="wwdoc:In dexMarker"  mode="wwm ode:textru n"> CR LF   1636    <xsl:temp late match ="wwdoc:In dexMarker"  mode="wwm ode:textru n"> CR LF
1605     <xsl:par am name="P aramSplits " /> CR LF   1637     <xsl:par am name="P aramSplits " /> CR LF
1606     <xsl:par am name="P aramCargo"  /> CR LF   1638     <xsl:par am name="P aramCargo"  /> CR LF
1607     <xsl:par am name="P aramLinks"  /> CR LF   1639     <xsl:par am name="P aramLinks"  /> CR LF
1608     <xsl:par am name="P aramSplit"  /> CR LF   1640     <xsl:par am name="P aramSplit"  /> CR LF
1609   CR LF   1641   CR LF
1610     <!-- Ign ore index  markers -- > CR LF   1642     <!-- Ign ore index  markers -- > CR LF
1611     <!--                        -- > CR LF   1643     <!--                        -- > CR LF
1612    </xsl:tem plate> CR LF   1644    </xsl:tem plate> CR LF
1613   CR LF   1645   CR LF
1614   CR LF   1646   CR LF
1615    <xsl:temp late match ="wwdoc:Ma rker" mode ="wwmode:t extrun"> CR LF   1647    <xsl:temp late match ="wwdoc:Ma rker" mode ="wwmode:t extrun"> CR LF
1616     <xsl:par am name="P aramSplits " /> CR LF   1648     <xsl:par am name="P aramSplits " /> CR LF
1617     <xsl:par am name="P aramCargo"  /> CR LF   1649     <xsl:par am name="P aramCargo"  /> CR LF
1618     <xsl:par am name="P aramLinks"  /> CR LF   1650     <xsl:par am name="P aramLinks"  /> CR LF
1619     <xsl:par am name="P aramSplit"  /> CR LF   1651     <xsl:par am name="P aramSplit"  /> CR LF
1620   CR LF   1652   CR LF
1621      <!--  Igno r e  marker s  --> CR LF   1653     <xsl:var iable name ="VarMarke r" select= "." /> CR LF
1622      <!--                 
--> CR LF
  1654   CR LF
    1655      <!--  Pass-th r ough  marker ?  --> CR LF
    1656      <!--                         --> CR LF
    1657     <xsl:for -each sele ct="$Param Cargo/wwbe haviors:Be haviors[1] "> CR LF
    1658      <xsl:va riable nam e="VarMark erBehavior " select=" key('wwbeh aviors-mar kers-by-id ', $VarMar ker/@id)[1 ]" /> CR LF
    1659   CR LF
    1660      <xsl:if  test="$Va rMarkerBeh avior/@beh avior = 'p ass-throug h'"> CR LF
    1661       <!-- P ass-throug h --> CR LF
    1662       <!--                --> CR LF
    1663       <xsl:a pply-templ ates selec t="$VarMar ker/wwdoc: TextRun" m ode="wwmod e:passthro ugh" /> CR LF
    1664      </xsl:i f> CR LF
    1665     </xsl:fo r-each> CR LF
1623    </xsl:tem plate> CR LF   1666    </xsl:tem plate> CR LF
1624   CR LF   1667   CR LF
1625   CR LF   1668   CR LF
1626    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:tex trun"> CR LF   1669    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:tex trun"> CR LF
1627     <xsl:par am name="P aramText"  select="."  /> CR LF   1670     <xsl:par am name="P aramText"  select="."  /> CR LF
1628     <xsl:par am name="P aramSplits " /> CR LF   1671     <xsl:par am name="P aramSplits " /> CR LF
1629     <xsl:par am name="P aramCargo"  /> CR LF   1672     <xsl:par am name="P aramCargo"  /> CR LF
1630     <xsl:par am name="P aramLinks"  /> CR LF   1673     <xsl:par am name="P aramLinks"  /> CR LF
1631     <xsl:par am name="P aramSplit"  /> CR LF   1674     <xsl:par am name="P aramSplit"  /> CR LF
1632   CR LF   1675   CR LF
1633     <xsl:cal l-template  name="Moi nMoin-Esca peParagrap hText"> CR LF   1676     <xsl:cal l-template  name="Moi nMoin-Esca peParagrap hText"> CR LF
1634      <xsl:wi th-param n ame="Param Text" sele ct="$Param Text/@valu e" /> CR LF   1677      <xsl:wi th-param n ame="Param Text" sele ct="$Param Text/@valu e" /> CR LF
1635     </xsl:ca ll-templat e> CR LF   1678     </xsl:ca ll-templat e> CR LF
1636    </xsl:tem plate> CR LF   1679    </xsl:tem plate> CR LF
1637   CR LF   1680   CR LF
1638   CR LF   1681   CR LF
1639    <xsl:temp late match ="wwdoc:Ta ble" mode= "wwmode:co ntent"> CR LF   1682    <xsl:temp late match ="wwdoc:Ta ble" mode= "wwmode:co ntent"> CR LF
1640     <xsl:par am name="P aramSplits " /> CR LF   1683     <xsl:par am name="P aramSplits " /> CR LF
1641     <xsl:par am name="P aramCargo"  /> CR LF   1684     <xsl:par am name="P aramCargo"  /> CR LF
1642     <xsl:par am name="P aramLinks"  /> CR LF   1685     <xsl:par am name="P aramLinks"  /> CR LF
1643     <xsl:par am name="P aramTOCDat a" /> CR LF   1686     <xsl:par am name="P aramTOCDat a" /> CR LF
1644     <xsl:par am name="P aramSplit"  /> CR LF   1687     <xsl:par am name="P aramSplit"  /> CR LF
1645   CR LF   1688   CR LF
1646     <xsl:var iable name ="VarTable " select=" ." /> CR LF   1689     <xsl:var iable name ="VarTable " select=" ." /> CR LF
1647   CR LF   1690   CR LF
1648     <!-- Abo rted? --> CR LF   1691     <!-- Abo rted? --> CR LF
1649     <!--           --> CR LF   1692     <!--           --> CR LF
1650     <xsl:if  test="not( wwprogress :Abort())" > CR LF   1693     <xsl:if  test="not( wwprogress :Abort())" > CR LF
1651      <xsl:va riable nam e="VarCont extRule" s elect="wwp rojext:Get ContextRul e('Table',  $VarTable /@stylenam e, $ParamS plit/@docu mentID, $V arTable/@i d)" /> CR LF   1694      <xsl:va riable nam e="VarCont extRule" s elect="wwp rojext:Get ContextRul e('Table',  $VarTable /@stylenam e, $ParamS plit/@docu mentID, $V arTable/@i d)" /> CR LF
1652      <xsl:va riable nam e="VarGene rateOutput Option" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'gene rate-outpu t']/@Value " /> CR LF   1695      <xsl:va riable nam e="VarGene rateOutput Option" se lect="$Var ContextRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'gene rate-outpu t']/@Value " /> CR LF
1653      <xsl:va riable nam e="VarGene rateOutput " select=" (string-le ngth($VarG enerateOut putOption)  = 0) or ( $VarGenera teOutputOp tion != 'f alse')" /> CR LF   1696      <xsl:va riable nam e="VarGene rateOutput " select=" (string-le ngth($VarG enerateOut putOption)  = 0) or ( $VarGenera teOutputOp tion != 'f alse')" /> CR LF
1654      <xsl:if  test="$Va rGenerateO utput"> CR LF   1697      <xsl:if  test="$Va rGenerateO utput"> CR LF
1655   CR LF   1698   CR LF
1656       <!-- G et behavio r --> CR LF   1699       <!-- G et behavio r --> CR LF
1657       <!--                --> CR LF   1700       <!--                --> CR LF
1658       <xsl:f or-each se lect="$Par amCargo/ww behaviors: Behaviors[ 1]"> CR LF   1701       <xsl:f or-each se lect="$Par amCargo/ww behaviors: Behaviors[ 1]"> CR LF
1659        <xsl: variable n ame="VarTa bleBehavio r" select= "key('wwbe haviors-ta bles-by-id ', $VarTab le/@id)[1] " /> CR LF   1702        <xsl: variable n ame="VarTa bleBehavio r" select= "key('wwbe haviors-ta bles-by-id ', $VarTab le/@id)[1] " /> CR LF
1660   CR LF   1703   CR LF
1661        <xsl: variable n ame="VarIn TablePage"  select="c ount($Para mCargo/wwb ehaviors:T ablePage)  &gt; 0" /> CR LF   1704        <xsl: variable n ame="VarIn TablePage"  select="c ount($Para mCargo/wwb ehaviors:T ablePage)  &gt; 0" /> CR LF
1662        <xsl: choose> CR LF   1705        <xsl: choose> CR LF
1663         <!--  Table Cel l Content  --> CR LF   1706         <!--  Table Cel l Content  --> CR LF
1664         <!--                       --> CR LF   1707         <!--                       --> CR LF
1665         <xsl :when test ="$VarInTa blePage"> CR LF   1708         <xsl :when test ="$VarInTa blePage"> CR LF
1666          <xs l:call-tem plate name ="Table-Ce ll-Content "> CR LF   1709          <xs l:call-tem plate name ="Table-Ce ll-Content "> CR LF
1667           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF   1710           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF
1668           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF   1711           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF
1669           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF   1712           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF
1670           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> CR LF   1713           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> CR LF
1671           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF   1714           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF
1672           <x sl:with-pa ram name=" ParamTable " select=" $VarTable"  /> CR LF   1715           <x sl:with-pa ram name=" ParamTable " select=" $VarTable"  /> CR LF
1673           <x sl:with-pa ram name=" ParamStyle Name" sele ct="$VarTa ble/@style name" /> CR LF   1716           <x sl:with-pa ram name=" ParamStyle Name" sele ct="$VarTa ble/@style name" /> CR LF
1674           <x sl:with-pa ram name=" ParamConte xtRule" se lect="$Var ContextRul e" /> CR LF   1717           <x sl:with-pa ram name=" ParamConte xtRule" se lect="$Var ContextRul e" /> CR LF
1675           <x sl:with-pa ram name=" ParamTable Behavior"  select="$V arTableBeh avior" /> CR LF   1718           <x sl:with-pa ram name=" ParamTable Behavior"  select="$V arTableBeh avior" /> CR LF
1676          </x sl:call-te mplate> CR LF   1719          </x sl:call-te mplate> CR LF
1677         </xs l:when> CR LF   1720         </xs l:when> CR LF
1678   CR LF   1721   CR LF
1679         <!--  Table Str ucture --> CR LF   1722         <!--  Table Str ucture --> CR LF
1680         <!--                   --> CR LF   1723         <!--                   --> CR LF
1681         <xsl :otherwise > CR LF   1724         <xsl :otherwise > CR LF
1682          <xs l:call-tem plate name ="Table-St ructure"> CR LF   1725          <xs l:call-tem plate name ="Table-St ructure"> CR LF
1683           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF   1726           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF
1684           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF   1727           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF
1685           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF   1728           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF
1686           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> CR LF   1729           <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> CR LF
1687           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF   1730           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF
1688           <x sl:with-pa ram name=" ParamTable " select=" $VarTable"  /> CR LF   1731           <x sl:with-pa ram name=" ParamTable " select=" $VarTable"  /> CR LF
1689           <x sl:with-pa ram name=" ParamStyle Name" sele ct="$VarTa ble/@style name" /> CR LF   1732           <x sl:with-pa ram name=" ParamStyle Name" sele ct="$VarTa ble/@style name" /> CR LF
1690           <x sl:with-pa ram name=" ParamConte xtRule" se lect="$Var ContextRul e" /> CR LF   1733           <x sl:with-pa ram name=" ParamConte xtRule" se lect="$Var ContextRul e" /> CR LF
1691           <x sl:with-pa ram name=" ParamTable Behavior"  select="$V arTableBeh avior" /> CR LF   1734           <x sl:with-pa ram name=" ParamTable Behavior"  select="$V arTableBeh avior" /> CR LF
1692          </x sl:call-te mplate> CR LF   1735          </x sl:call-te mplate> CR LF
1693         </xs l:otherwis e> CR LF   1736         </xs l:otherwis e> CR LF
1694        </xsl :choose> CR LF   1737        </xsl :choose> CR LF
1695       </xsl: for-each> CR LF   1738       </xsl: for-each> CR LF
1696      </xsl:i f> CR LF   1739      </xsl:i f> CR LF
1697     </xsl:if > CR LF   1740     </xsl:if > CR LF
1698    </xsl:tem plate> CR LF   1741    </xsl:tem plate> CR LF
1699   CR LF   1742   CR LF
1700   CR LF   1743   CR LF
1701    <xsl:temp late name= "Table-Cel l-Content" > CR LF   1744    <xsl:temp late name= "Table-Cel l-Content" > CR LF
1702     <xsl:par am name="P aramSplits " /> CR LF   1745     <xsl:par am name="P aramSplits " /> CR LF
1703     <xsl:par am name="P aramCargo"  /> CR LF   1746     <xsl:par am name="P aramCargo"  /> CR LF
1704     <xsl:par am name="P aramLinks"  /> CR LF   1747     <xsl:par am name="P aramLinks"  /> CR LF
1705     <xsl:par am name="P aramTOCDat a" /> CR LF   1748     <xsl:par am name="P aramTOCDat a" /> CR LF
1706     <xsl:par am name="P aramSplit"  /> CR LF   1749     <xsl:par am name="P aramSplit"  /> CR LF
1707     <xsl:par am name="P aramTable"  /> CR LF   1750     <xsl:par am name="P aramTable"  /> CR LF
1708     <xsl:par am name="P aramStyleN ame" /> CR LF   1751     <xsl:par am name="P aramStyleN ame" /> CR LF
1709     <xsl:par am name="P aramContex tRule" /> CR LF   1752     <xsl:par am name="P aramContex tRule" /> CR LF
1710     <xsl:par am name="P aramTableB ehavior" / > CR LF   1753     <xsl:par am name="P aramTableB ehavior" / > CR LF
1711   CR LF   1754   CR LF
1712     <!-- Not es --> CR LF   1755     <!-- Not es --> CR LF
1713     <!--        --> CR LF   1756     <!--        --> CR LF
1714     <xsl:var iable name ="VarNotes " select=" $ParamTabl e//wwdoc:N ote[not(an cestor::ww doc:Frame) ]" /> CR LF   1757     <xsl:var iable name ="VarNotes " select=" $ParamTabl e//wwdoc:N ote[not(an cestor::ww doc:Frame) ]" /> CR LF
1715   CR LF   1758   CR LF
1716     <!-- Not e numberin g --> CR LF   1759     <!-- Not e numberin g --> CR LF
1717     <!--                  --> CR LF   1760     <!--                  --> CR LF
1718     <xsl:var iable name ="VarNoteN umberingAs XML"> CR LF   1761     <xsl:var iable name ="VarNoteN umberingAs XML"> CR LF
1719      <xsl:ca ll-templat e name="No tes-Number "> CR LF   1762      <xsl:ca ll-templat e name="No tes-Number "> CR LF
1720       <xsl:w ith-param  name="Para mNotes" se lect="$Var Notes" /> CR LF   1763       <xsl:w ith-param  name="Para mNotes" se lect="$Var Notes" /> CR LF
1721      </xsl:c all-templa te> CR LF   1764      </xsl:c all-templa te> CR LF
1722     </xsl:va riable> CR LF   1765     </xsl:va riable> CR LF
1723     <xsl:var iable name ="VarNoteN umbering"  select="ms xsl:node-s et($VarNot eNumbering AsXML)" /> CR LF   1766     <xsl:var iable name ="VarNoteN umbering"  select="ms xsl:node-s et($VarNot eNumbering AsXML)" /> CR LF
1724   CR LF   1767   CR LF
1725     <!-- Car go for rec ursion --> CR LF   1768     <!-- Car go for rec ursion --> CR LF
1726     <!--                       --> CR LF   1769     <!--                       --> CR LF
1727     <xsl:var iable name ="VarCargo " select=" $ParamCarg o/*[local- name() !=  'NoteNumbe ring']/..  | $VarNote Numbering"  /> CR LF   1770     <xsl:var iable name ="VarCargo " select=" $ParamCarg o/*[local- name() !=  'NoteNumbe ring']/..  | $VarNote Numbering"  /> CR LF
1728   CR LF   1771   CR LF
1729     <!-- Pro cess table  sections  --> CR LF   1772     <!-- Pro cess table  sections  --> CR LF
1730     <!--                           --> CR LF   1773     <!--                           --> CR LF
1731     <xsl:for -each sele ct="$Param Table/wwdo c:TableHea d | $Param Table/wwdo c:TableBod y | $Param Table/wwdo c:TableFoo t"> CR LF   1774     <xsl:for -each sele ct="$Param Table/wwdo c:TableHea d | $Param Table/wwdo c:TableBod y | $Param Table/wwdo c:TableFoo t"> CR LF
1732      <xsl:va riable nam e="VarSect ion" selec t="." /> CR LF   1775      <xsl:va riable nam e="VarSect ion" selec t="." /> CR LF
1733   CR LF   1776   CR LF
1734      <!-- Pr ocess sect ion rows - -> CR LF   1777      <!-- Pr ocess sect ion rows - -> CR LF
1735      <!--                        - -> CR LF   1778      <!--                        - -> CR LF
1736      <xsl:fo r-each sel ect="$VarS ection/wwd oc:TableRo w"> CR LF   1779      <xsl:fo r-each sel ect="$VarS ection/wwd oc:TableRo w"> CR LF
1737       <xsl:v ariable na me="VarTab leRow" sel ect="." /> CR LF   1780       <xsl:v ariable na me="VarTab leRow" sel ect="." /> CR LF
1738   CR LF   1781   CR LF
1739       <!-- P rocess row  cells --> CR LF   1782       <!-- P rocess row  cells --> CR LF
1740       <!--                     --> CR LF   1783       <!--                     --> CR LF
1741       <xsl:f or-each se lect="$Var TableRow/w wdoc:Table Cell"> CR LF   1784       <xsl:f or-each se lect="$Var TableRow/w wdoc:Table Cell"> CR LF
1742        <xsl: variable n ame="VarTa bleCell" s elect="."  /> CR LF   1785        <xsl: variable n ame="VarTa bleCell" s elect="."  /> CR LF
1743   CR LF   1786   CR LF
1744        <!--  Mark cell  content st art --> CR LF   1787        <!--  Mark cell  content st art --> CR LF
1745        <!--                            --> CR LF   1788        <!--                            --> CR LF
1746        <xsl: text>WEBWO RKS_CELL_C ONTENT_STA RT_</xsl:t ext> CR LF   1789        <xsl: text>WEBWO RKS_CELL_C ONTENT_STA RT_</xsl:t ext> CR LF
1747        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF   1790        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF
1748        <xsl: text> CR LF   1791        <xsl: text> CR LF
1749   </xsl:text > CR LF   1792   </xsl:text > CR LF
1750   CR LF   1793   CR LF
1751        <!--  Process ce ll content  --> CR LF   1794        <!--  Process ce ll content  --> CR LF
1752        <!--                         --> CR LF   1795        <!--                         --> CR LF
1753        <xsl: apply-temp lates sele ct="$VarTa bleCell/*"  mode="wwm ode:conten t"> CR LF   1796        <xsl: apply-temp lates sele ct="$VarTa bleCell/*"  mode="wwm ode:conten t"> CR LF
1754         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   1797         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
1755         <xsl :with-para m name="Pa ramCargo"  select="$V arCargo" / > CR LF   1798         <xsl :with-para m name="Pa ramCargo"  select="$V arCargo" / > CR LF
1756         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   1799         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
1757         <xsl :with-para m name="Pa ramTOCData " select=" $ParamTOCD ata" /> CR LF   1800         <xsl :with-para m name="Pa ramTOCData " select=" $ParamTOCD ata" /> CR LF
1758         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   1801         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
1759        </xsl :apply-tem plates> CR LF   1802        </xsl :apply-tem plates> CR LF
1760   CR LF   1803   CR LF
1761        <!--  Mark cell  content en d --> CR LF   1804        <!--  Mark cell  content en d --> CR LF
1762        <!--                          --> CR LF   1805        <!--                          --> CR LF
1763        <xsl: text>WEBWO RKS_CELL_C ONTENT_END _</xsl:tex t> CR LF   1806        <xsl: text>WEBWO RKS_CELL_C ONTENT_END _</xsl:tex t> CR LF
1764        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF   1807        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF
1765        <xsl: text> CR LF   1808        <xsl: text> CR LF
1766   </xsl:text > CR LF   1809   </xsl:text > CR LF
1767       </xsl: for-each> CR LF   1810       </xsl: for-each> CR LF
1768      </xsl:f or-each> CR LF   1811      </xsl:f or-each> CR LF
1769     </xsl:fo r-each> CR LF   1812     </xsl:fo r-each> CR LF
1770   CR LF   1813   CR LF
1771     <!-- Tab le Footnot es --> CR LF   1814     <!-- Tab le Footnot es --> CR LF
1772     <!--                   --> CR LF   1815     <!--                   --> CR LF
1773     <xsl:if  test="coun t($VarNote s) &gt; 0" > CR LF   1816     <xsl:if  test="coun t($VarNote s) &gt; 0" > CR LF
1774      <!-- Ma rk table f ootnotes s tart --> CR LF   1817      <!-- Ma rk table f ootnotes s tart --> CR LF
1775      <!--                               --> CR LF   1818      <!--                               --> CR LF
1776      <xsl:te xt>WEBWORK S_TABLE_FO OTNOTES_ST ART_</xsl: text> CR LF   1819      <xsl:te xt>WEBWORK S_TABLE_FO OTNOTES_ST ART_</xsl: text> CR LF
1777      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   1820      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
1778      <xsl:te xt> CR LF   1821      <xsl:te xt> CR LF
1779   </xsl:text > CR LF   1822   </xsl:text > CR LF
1780   CR LF   1823   CR LF
1781      <xsl:ca ll-templat e name="Co ntent-Note s"> CR LF   1824      <xsl:ca ll-templat e name="Co ntent-Note s"> CR LF
1782       <xsl:w ith-param  name="Para mNotes" se lect="$Var Notes" /> CR LF   1825       <xsl:w ith-param  name="Para mNotes" se lect="$Var Notes" /> CR LF
1783       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF   1826       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF
1784       <xsl:w ith-param  name="Para mCargo" se lect="$Var Cargo" /> CR LF   1827       <xsl:w ith-param  name="Para mCargo" se lect="$Var Cargo" /> CR LF
1785       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF   1828       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF
1786       <xsl:w ith-param  name="Para mTOCData"  select="$P aramTOCDat a" /> CR LF   1829       <xsl:w ith-param  name="Para mTOCData"  select="$P aramTOCDat a" /> CR LF
1787       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF   1830       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF
1788      </xsl:c all-templa te> CR LF   1831      </xsl:c all-templa te> CR LF
1789   CR LF   1832   CR LF
1790      <!-- Ma rk table f ootnotes e nd --> CR LF   1833      <!-- Ma rk table f ootnotes e nd --> CR LF
1791      <!--                             --> CR LF   1834      <!--                             --> CR LF
1792      <xsl:te xt>WEBWORK S_TABLE_FO OTNOTES_EN D_</xsl:te xt> CR LF   1835      <xsl:te xt>WEBWORK S_TABLE_FO OTNOTES_EN D_</xsl:te xt> CR LF
1793      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   1836      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
1794      <xsl:te xt> CR LF   1837      <xsl:te xt> CR LF
1795   </xsl:text > CR LF   1838   </xsl:text > CR LF
1796     </xsl:if > CR LF   1839     </xsl:if > CR LF
1797   CR LF   1840   CR LF
1798     <!-- Cap tion --> CR LF   1841     <!-- Cap tion --> CR LF
1799     <!--          --> CR LF   1842     <!--          --> CR LF
1800     <xsl:for -each sele ct="$Param Table/wwdo c:Caption[ 1]"> CR LF   1843     <xsl:for -each sele ct="$Param Table/wwdo c:Caption[ 1]"> CR LF
1801      <xsl:va riable nam e="VarCapt ion" selec t="." /> CR LF   1844      <xsl:va riable nam e="VarCapt ion" selec t="." /> CR LF
1802   CR LF   1845   CR LF
1803      <!-- Ma rk caption  content s tart --> CR LF   1846      <!-- Ma rk caption  content s tart --> CR LF
1804      <!--                               --> CR LF   1847      <!--                               --> CR LF
1805      <xsl:te xt>WEBWORK S_CAPTION_ CONTENT_ST ART_</xsl: text> CR LF   1848      <xsl:te xt>WEBWORK S_CAPTION_ CONTENT_ST ART_</xsl: text> CR LF
1806      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   1849      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
1807      <xsl:te xt> CR LF   1850      <xsl:te xt> CR LF
1808   </xsl:text > CR LF   1851   </xsl:text > CR LF
1809   CR LF   1852   CR LF
1810      <xsl:ap ply-templa tes select ="$VarCapt ion/*" mod e="wwmode: content"> CR LF   1853      <xsl:ap ply-templa tes select ="$VarCapt ion/*" mod e="wwmode: content"> CR LF
1811       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF   1854       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF
1812       <xsl:w ith-param  name="Para mCargo" se lect="$Par amCargo" / > CR LF   1855       <xsl:w ith-param  name="Para mCargo" se lect="$Par amCargo" / > CR LF
1813       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF   1856       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF
1814       <xsl:w ith-param  name="Para mTOCData"  select="$P aramTOCDat a" /> CR LF   1857       <xsl:w ith-param  name="Para mTOCData"  select="$P aramTOCDat a" /> CR LF
1815       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF   1858       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF
1816      </xsl:a pply-templ ates> CR LF   1859      </xsl:a pply-templ ates> CR LF
1817   CR LF   1860   CR LF
1818      <!-- Ma rk caption  content e nd --> CR LF   1861      <!-- Ma rk caption  content e nd --> CR LF
1819      <!--                             --> CR LF   1862      <!--                             --> CR LF
1820      <xsl:te xt>WEBWORK S_CAPTION_ CONTENT_EN D_</xsl:te xt> CR LF   1863      <xsl:te xt>WEBWORK S_CAPTION_ CONTENT_EN D_</xsl:te xt> CR LF
1821      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   1864      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
1822      <xsl:te xt> CR LF   1865      <xsl:te xt> CR LF
1823   </xsl:text > CR LF   1866   </xsl:text > CR LF
1824     </xsl:fo r-each> CR LF   1867     </xsl:fo r-each> CR LF
1825    </xsl:tem plate> CR LF   1868    </xsl:tem plate> CR LF
1826   CR LF   1869   CR LF
1827   CR LF   1870   CR LF
1828    <xsl:temp late name= "Table-Str ucture"> CR LF   1871    <xsl:temp late name= "Table-Str ucture"> CR LF
1829     <xsl:par am name="P aramSplits " /> CR LF   1872     <xsl:par am name="P aramSplits " /> CR LF
1830     <xsl:par am name="P aramCargo"  /> CR LF   1873     <xsl:par am name="P aramCargo"  /> CR LF
1831     <xsl:par am name="P aramLinks"  /> CR LF   1874     <xsl:par am name="P aramLinks"  /> CR LF
1832     <xsl:par am name="P aramTOCDat a" /> CR LF   1875     <xsl:par am name="P aramTOCDat a" /> CR LF
1833     <xsl:par am name="P aramSplit"  /> CR LF   1876     <xsl:par am name="P aramSplit"  /> CR LF
1834     <xsl:par am name="P aramTable"  /> CR LF   1877     <xsl:par am name="P aramTable"  /> CR LF
1835     <xsl:par am name="P aramStyleN ame" /> CR LF   1878     <xsl:par am name="P aramStyleN ame" /> CR LF
1836     <xsl:par am name="P aramContex tRule" /> CR LF   1879     <xsl:par am name="P aramContex tRule" /> CR LF
1837     <xsl:par am name="P aramTableB ehavior" / > CR LF   1880     <xsl:par am name="P aramTableB ehavior" / > CR LF
1838   CR LF   1881   CR LF
1839     <!-- Det ermine inc lude page  path --> CR LF   1882     <!-- Det ermine inc lude page  path --> CR LF
1840     <!--                                --> CR LF   1883     <!--                                --> CR LF
1841     <xsl:var iable name ="VarInclu dePagePath "> CR LF   1884     <xsl:var iable name ="VarInclu dePagePath "> CR LF
1842      <xsl:va riable nam e="VarSpli tsTable" s elect="$Pa ramSplit/w wsplits:Ta ble[@id =  $ParamTabl e/@id]" /> CR LF   1885      <xsl:va riable nam e="VarSpli tsTable" s elect="$Pa ramSplit/w wsplits:Ta ble[@id =  $ParamTabl e/@id]" /> CR LF
1843   CR LF   1886   CR LF
1844      <xsl:ca ll-templat e name="Mo inMoin-Rel ativePageL ink"> CR LF   1887      <xsl:ca ll-templat e name="Mo inMoin-Rel ativePageL ink"> CR LF
1845       <xsl:w ith-param  name="Para mSource" s elect="$Pa ramSplit/@ path" /> CR LF   1888       <xsl:w ith-param  name="Para mSource" s elect="$Pa ramSplit/@ path" /> CR LF
1846       <xsl:w ith-param  name="Para mTarget" s elect="$Va rSplitsTab le/@path"  /> CR LF   1889       <xsl:w ith-param  name="Para mTarget" s elect="$Va rSplitsTab le/@path"  /> CR LF
1847      </xsl:c all-templa te> CR LF   1890      </xsl:c all-templa te> CR LF
1848     </xsl:va riable> CR LF   1891     </xsl:va riable> CR LF
1849   CR LF   1892   CR LF
1850     <!-- Not es --> CR LF   1893     <!-- Not es --> CR LF
1851     <!--        --> CR LF   1894     <!--        --> CR LF
1852     <xsl:var iable name ="VarNotes " select=" $ParamTabl e//wwdoc:N ote[not(an cestor::ww doc:Frame) ]" /> CR LF   1895     <xsl:var iable name ="VarNotes " select=" $ParamTabl e//wwdoc:N ote[not(an cestor::ww doc:Frame) ]" /> CR LF
1853   CR LF   1896   CR LF
1854     <!-- Not e numberin g --> CR LF   1897     <!-- Not e numberin g --> CR LF
1855     <!--                  --> CR LF   1898     <!--                  --> CR LF
1856     <xsl:var iable name ="VarNoteN umberingAs XML"> CR LF   1899     <xsl:var iable name ="VarNoteN umberingAs XML"> CR LF
1857      <xsl:ca ll-templat e name="No tes-Number "> CR LF   1900      <xsl:ca ll-templat e name="No tes-Number "> CR LF
1858       <xsl:w ith-param  name="Para mNotes" se lect="$Var Notes" /> CR LF   1901       <xsl:w ith-param  name="Para mNotes" se lect="$Var Notes" /> CR LF
1859      </xsl:c all-templa te> CR LF   1902      </xsl:c all-templa te> CR LF
1860     </xsl:va riable> CR LF   1903     </xsl:va riable> CR LF
1861     <xsl:var iable name ="VarNoteN umbering"  select="ms xsl:node-s et($VarNot eNumbering AsXML)" /> CR LF   1904     <xsl:var iable name ="VarNoteN umbering"  select="ms xsl:node-s et($VarNot eNumbering AsXML)" /> CR LF
1862   CR LF   1905   CR LF
1863     <!-- Car go for rec ursion --> CR LF   1906     <!-- Car go for rec ursion --> CR LF
1864     <!--                       --> CR LF   1907     <!--                       --> CR LF
1865     <xsl:var iable name ="VarCargo " select=" $ParamCarg o/*[local- name() !=  'NoteNumbe ring']/..  | $VarNote Numbering"  /> CR LF   1908     <xsl:var iable name ="VarCargo " select=" $ParamCarg o/*[local- name() !=  'NoteNumbe ring']/..  | $VarNote Numbering"  /> CR LF
1866   CR LF   1909   CR LF
1867     <!-- Res olve proje ct propert ies --> CR LF   1910     <!-- Res olve proje ct propert ies --> CR LF
1868     <!--                               --> CR LF   1911     <!--                               --> CR LF
1869     <xsl:var iable name ="VarResol vedPropert iesAsXML"> CR LF   1912     <xsl:var iable name ="VarResol vedPropert iesAsXML"> CR LF
1870      <xsl:ca ll-templat e name="Pr operties-R esolveCont extRule"> CR LF   1913      <xsl:ca ll-templat e name="Pr operties-R esolveCont extRule"> CR LF
1871       <xsl:w ith-param  name="Para mDocumentC ontext" se lect="$Par amTable" / > CR LF   1914       <xsl:w ith-param  name="Para mDocumentC ontext" se lect="$Par amTable" / > CR LF
1872       <xsl:w ith-param  name="Para mPropertie s" select= "$ParamCon textRule/w wproject:P roperties/ wwproject: Property"  /> CR LF   1915       <xsl:w ith-param  name="Para mPropertie s" select= "$ParamCon textRule/w wproject:P roperties/ wwproject: Property"  /> CR LF
1873       <xsl:w ith-param  name="Para mStyleName " select=" $ParamTabl e/@stylena me" /> CR LF   1916       <xsl:w ith-param  name="Para mStyleName " select=" $ParamTabl e/@stylena me" /> CR LF
1874       <xsl:w ith-param  name="Para mStyleType " select=" 'Table'" / > CR LF   1917       <xsl:w ith-param  name="Para mStyleType " select=" 'Table'" / > CR LF
1875       <xsl:w ith-param  name="Para mContextSt yle" selec t="$ParamT able/wwdoc :Style" /> CR LF   1918       <xsl:w ith-param  name="Para mContextSt yle" selec t="$ParamT able/wwdoc :Style" /> CR LF
1876      </xsl:c all-templa te> CR LF   1919      </xsl:c all-templa te> CR LF
1877     </xsl:va riable> CR LF   1920     </xsl:va riable> CR LF
1878     <xsl:var iable name ="VarResol vedPropert ies" selec t="msxsl:n ode-set($V arResolved Properties AsXML)/wwp roject:Pro perty" /> CR LF   1921     <xsl:var iable name ="VarResol vedPropert ies" selec t="msxsl:n ode-set($V arResolved Properties AsXML)/wwp roject:Pro perty" /> CR LF
1879   CR LF   1922   CR LF
1880     <!-- CSS  propertie s --> CR LF   1923     <!-- CSS  propertie s --> CR LF
1881     <!--                  --> CR LF   1924     <!--                  --> CR LF
1882     <xsl:var iable name ="VarCSSPr opertiesAs XML"> CR LF   1925     <xsl:var iable name ="VarCSSPr opertiesAs XML"> CR LF
1883      <xsl:ca ll-templat e name="CS S-Translat eProjectPr operties"> CR LF   1926      <xsl:ca ll-templat e name="CS S-Translat eProjectPr operties"> CR LF
1884       <xsl:w ith-param  name="Para mPropertie s" select= "$VarResol vedPropert ies" /> CR LF   1927       <xsl:w ith-param  name="Para mPropertie s" select= "$VarResol vedPropert ies" /> CR LF
1885       <xsl:w ith-param  name="Para mFromAbsol uteURI" se lect="$Par amSplit/@p ath" /> CR LF   1928       <xsl:w ith-param  name="Para mFromAbsol uteURI" se lect="$Par amSplit/@p ath" /> CR LF
1886       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF   1929       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF
1887      </xsl:c all-templa te> CR LF   1930      </xsl:c all-templa te> CR LF
1888     </xsl:va riable> CR LF   1931     </xsl:va riable> CR LF
1889     <xsl:var iable name ="VarCSSPr operties"  select="ms xsl:node-s et($VarCSS Properties AsXML)/wwp roject:Pro perty" /> CR LF   1932     <xsl:var iable name ="VarCSSPr operties"  select="ms xsl:node-s et($VarCSS Properties AsXML)/wwp roject:Pro perty" /> CR LF
1890   CR LF   1933   CR LF
1891     <!-- Tab le class - -> CR LF   1934     <!-- Tab le class - -> CR LF
1892     <!--              - -> CR LF   1935     <!--              - -> CR LF
1893     <xsl:var iable name ="VarClass Attribute" > CR LF   1936     <xsl:var iable name ="VarClass Attribute" > CR LF
1894      <!-- Ad ditional C SS classes  --> CR LF   1937      <!-- Ad ditional C SS classes  --> CR LF
1895      <!--                           --> CR LF   1938      <!--                           --> CR LF
1896      <xsl:va riable nam e="VarAddi tionalCSSC lassesOpti on" select ="normaliz e-space($P aramContex tRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' additional -css-class es']/@Valu e)" /> CR LF   1939      <xsl:va riable nam e="VarAddi tionalCSSC lassesOpti on" select ="normaliz e-space($P aramContex tRule/wwpr oject:Opti ons/wwproj ect:Option [@Name = ' additional -css-class es']/@Valu e)" /> CR LF
1897      <xsl:if  test="str ing-length ($VarAddit ionalCSSCl assesOptio n) &gt; 0" > CR LF   1940      <xsl:if  test="str ing-length ($VarAddit ionalCSSCl assesOptio n) &gt; 0" > CR LF
1898       <xsl:v alue-of se lect="$Var Additional CSSClasses Option" /> CR LF   1941       <xsl:v alue-of se lect="$Var Additional CSSClasses Option" /> CR LF
1899      </xsl:i f> CR LF   1942      </xsl:i f> CR LF
1900     </xsl:va riable> CR LF   1943     </xsl:va riable> CR LF
1901   CR LF   1944   CR LF
1902     <!-- Sty le attribu te --> CR LF   1945     <!-- Sty le attribu te --> CR LF
1903     <!--                   --> CR LF   1946     <!--                   --> CR LF
1904     <xsl:var iable name ="VarStyle Attribute" > CR LF   1947     <xsl:var iable name ="VarStyle Attribute" > CR LF
1905      <xsl:ca ll-templat e name="CS S-InlinePr operties"> CR LF   1948      <xsl:ca ll-templat e name="CS S-InlinePr operties"> CR LF
1906       <xsl:w ith-param  name="Para mPropertie s" select= "$VarCSSPr operties[( @Name != ' vertical-a lign')]" / > CR LF   1949       <xsl:w ith-param  name="Para mPropertie s" select= "$VarCSSPr operties[( @Name != ' vertical-a lign')]" / > CR LF
1907      </xsl:c all-templa te> CR LF   1950      </xsl:c all-templa te> CR LF
1908     </xsl:va riable> CR LF   1951     </xsl:va riable> CR LF
1909   CR LF   1952   CR LF
1910     <!-- Tab le vertica l alignmen t --> CR LF   1953     <!-- Tab le vertica l alignmen t --> CR LF
1911     <!--                             --> CR LF   1954     <!--                             --> CR LF
1912     <xsl:var iable name ="VarTable VerticalAl ignment"> CR LF   1955     <xsl:var iable name ="VarTable VerticalAl ignment"> CR LF
1913      <xsl:va riable nam e="VarTabl eVerticalA lignmentHi nt" select ="$VarReso lvedProper ties[@Name  = 'vertic al-align'] /@Value" / > CR LF   1956      <xsl:va riable nam e="VarTabl eVerticalA lignmentHi nt" select ="$VarReso lvedProper ties[@Name  = 'vertic al-align'] /@Value" / > CR LF
1914      <xsl:ch oose> CR LF   1957      <xsl:ch oose> CR LF
1915       <xsl:w hen test=" string-len gth($VarTa bleVertica lAlignment Hint) &gt;  0"> CR LF   1958       <xsl:w hen test=" string-len gth($VarTa bleVertica lAlignment Hint) &gt;  0"> CR LF
1916        <xsl: value-of s elect="$Va rTableVert icalAlignm entHint" / > CR LF   1959        <xsl: value-of s elect="$Va rTableVert icalAlignm entHint" / > CR LF
1917       </xsl: when> CR LF   1960       </xsl: when> CR LF
1918       <xsl:o therwise> CR LF   1961       <xsl:o therwise> CR LF
1919        <xsl: value-of s elect="''"  /> CR LF   1962        <xsl: value-of s elect="''"  /> CR LF
1920       </xsl: otherwise> CR LF   1963       </xsl: otherwise> CR LF
1921      </xsl:c hoose> CR LF   1964      </xsl:c hoose> CR LF
1922     </xsl:va riable> CR LF   1965     </xsl:va riable> CR LF
1923   CR LF   1966   CR LF
1924     <!-- Cap tion Side  --> CR LF   1967     <!-- Cap tion Side  --> CR LF
1925     <!--                --> CR LF   1968     <!--                --> CR LF
1926     <xsl:var iable name ="VarCapti onSide"> CR LF   1969     <xsl:var iable name ="VarCapti onSide"> CR LF
1927      <xsl:va lue-of sel ect="$VarR esolvedPro perties[@N ame = 'cap tion-side' ]/@Value"  /> CR LF   1970      <xsl:va lue-of sel ect="$VarR esolvedPro perties[@N ame = 'cap tion-side' ]/@Value"  /> CR LF
1928     </xsl:va riable> CR LF   1971     </xsl:va riable> CR LF
1929   CR LF   1972   CR LF
1930     <!-- Det ermine tab le cell wi dths --> CR LF   1973     <!-- Det ermine tab le cell wi dths --> CR LF
1931     <!--                                --> CR LF   1974     <!--                                --> CR LF
1932     <xsl:var iable name ="VarTable CellWidths AsXML"> CR LF   1975     <xsl:var iable name ="VarTable CellWidths AsXML"> CR LF
1933      <xsl:va riable nam e="VarEmit TableWidth sOption" s elect="$Pa ramContext Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 't able-use-d ocument-ce ll-widths' ]/@Value"  /> CR LF   1976      <xsl:va riable nam e="VarEmit TableWidth sOption" s elect="$Pa ramContext Rule/wwpro ject:Optio ns/wwproje ct:Option[ @Name = 't able-use-d ocument-ce ll-widths' ]/@Value"  /> CR LF
1934      <xsl:va riable nam e="VarEmit TableWidth s" select= "$VarEmitT ableWidths Option = ' true'" /> CR LF   1977      <xsl:va riable nam e="VarEmit TableWidth s" select= "$VarEmitT ableWidths Option = ' true'" /> CR LF
1935   CR LF   1978   CR LF
1936      <xsl:if  test="$Va rEmitTable Widths"> CR LF   1979      <xsl:if  test="$Va rEmitTable Widths"> CR LF
1937       <xsl:c all-templa te name="T able-CellW idths"> CR LF   1980       <xsl:c all-templa te name="T able-CellW idths"> CR LF
1938        <xsl: with-param  name="Par amTable" s elect="$Pa ramTable"  /> CR LF   1981        <xsl: with-param  name="Par amTable" s elect="$Pa ramTable"  /> CR LF
1939       </xsl: call-templ ate> CR LF   1982       </xsl: call-templ ate> CR LF
1940      </xsl:i f> CR LF   1983      </xsl:i f> CR LF
1941     </xsl:va riable> CR LF   1984     </xsl:va riable> CR LF
1942     <xsl:var iable name ="VarTable CellWidths " select=" msxsl:node -set($VarT ableCellWi dthsAsXML) /*" /> CR LF   1985     <xsl:var iable name ="VarTable CellWidths " select=" msxsl:node -set($VarT ableCellWi dthsAsXML) /*" /> CR LF
1943   CR LF   1986   CR LF
1944     <!-- Tab le options  --> CR LF   1987     <!-- Tab le options  --> CR LF
1945     <!--                 --> CR LF   1988     <!--                 --> CR LF
1946     <xsl:var iable name ="VarTable Options"> CR LF   1989     <xsl:var iable name ="VarTable Options"> CR LF
1947      <!-- cl ass attrib ute --> CR LF   1990      <!-- cl ass attrib ute --> CR LF
1948      <!--                   --> CR LF   1991      <!--                   --> CR LF
1949      <xsl:if  test="str ing-length ($VarClass Attribute)  &gt; 0"> CR LF   1992      <xsl:if  test="str ing-length ($VarClass Attribute)  &gt; 0"> CR LF
1950       <xsl:t ext>tablec lass="</xs l:text> CR LF   1993       <xsl:t ext>tablec lass="</xs l:text> CR LF
1951       <xsl:v alue-of se lect="$Var ClassAttri bute" /> CR LF   1994       <xsl:v alue-of se lect="$Var ClassAttri bute" /> CR LF
1952       <xsl:t ext>" </xs l:text> CR LF   1995       <xsl:t ext>" </xs l:text> CR LF
1953      </xsl:i f> CR LF   1996      </xsl:i f> CR LF
1954   CR LF   1997   CR LF
1955      <!-- st yle attrib ute --> CR LF   1998      <!-- st yle attrib ute --> CR LF
1956      <!--                   --> CR LF   1999      <!--                   --> CR LF
1957      <xsl:if  test="str ing-length ($VarStyle Attribute)  &gt; 0"> CR LF   2000      <xsl:if  test="str ing-length ($VarStyle Attribute)  &gt; 0"> CR LF
1958       <xsl:t ext>tables tyle="</xs l:text> CR LF   2001       <xsl:t ext>tables tyle="</xs l:text> CR LF
1959       <xsl:v alue-of se lect="$Var StyleAttri bute" /> CR LF   2002       <xsl:v alue-of se lect="$Var StyleAttri bute" /> CR LF
1960       <xsl:t ext>" </xs l:text> CR LF   2003       <xsl:t ext>" </xs l:text> CR LF
1961      </xsl:i f> CR LF   2004      </xsl:i f> CR LF
1962     </xsl:va riable> CR LF   2005     </xsl:va riable> CR LF
1963   CR LF   2006   CR LF
1964     <!-- Cap tion on to p --> CR LF   2007     <!-- Cap tion on to p --> CR LF
1965     <!--                  --> CR LF   2008     <!--                  --> CR LF
1966     <xsl:if  test="$Var CaptionSid e = 'top'" > CR LF   2009     <xsl:if  test="$Var CaptionSid e = 'top'" > CR LF
1967      <xsl:ca ll-templat e name="Ta ble-Captio n-Include" > CR LF   2010      <xsl:ca ll-templat e name="Ta ble-Captio n-Include" > CR LF
1968       <xsl:w ith-param  name="Para mTable" se lect="$Par amTable" / > CR LF   2011       <xsl:w ith-param  name="Para mTable" se lect="$Par amTable" / > CR LF
1969       <xsl:w ith-param  name="Para mColumnCou nt" select ="count($V arTableCel lWidths)"  /> CR LF   2012       <xsl:w ith-param  name="Para mColumnCou nt" select ="count($V arTableCel lWidths)"  /> CR LF
1970       <xsl:w ith-param  name="Para mIncludePa gePath" se lect="$Var IncludePag ePath" /> CR LF   2013       <xsl:w ith-param  name="Para mIncludePa gePath" se lect="$Var IncludePag ePath" /> CR LF
1971      </xsl:c all-templa te> CR LF   2014      </xsl:c all-templa te> CR LF
1972     </xsl:if > CR LF   2015     </xsl:if > CR LF
1973   CR LF   2016   CR LF
1974     <!-- Tab le Structu re --> CR LF   2017     <!-- Tab le Structu re --> CR LF
1975     <!--                   --> CR LF   2018     <!--                   --> CR LF
1976     <xsl:for -each sele ct="$Param Table/wwdo c:TableHea d | $Param Table/wwdo c:TableBod y | $Param Table/wwdo c:TableFoo t"> CR LF   2019     <xsl:for -each sele ct="$Param Table/wwdo c:TableHea d | $Param Table/wwdo c:TableBod y | $Param Table/wwdo c:TableFoo t"> CR LF
1977      <xsl:va riable nam e="VarSect ion" selec t="." /> CR LF   2020      <xsl:va riable nam e="VarSect ion" selec t="." /> CR LF
1978      <xsl:va riable nam e="VarSect ionPositio n" select= "position( )" /> CR LF   2021      <xsl:va riable nam e="VarSect ionPositio n" select= "position( )" /> CR LF
1979   CR LF   2022   CR LF
1980      <!-- Re solve sect ion proper ties --> CR LF   2023      <!-- Re solve sect ion proper ties --> CR LF
1981      <!--                               --> CR LF   2024      <!--                               --> CR LF
1982      <xsl:va riable nam e="VarReso lvedSectio nPropertie sAsXML"> CR LF   2025      <xsl:va riable nam e="VarReso lvedSectio nPropertie sAsXML"> CR LF
1983       <xsl:c all-templa te name="P roperties- Table-Sect ion-Resolv eContextRu le"> CR LF   2026       <xsl:c all-templa te name="P roperties- Table-Sect ion-Resolv eContextRu le"> CR LF
1984        <xsl: with-param  name="Par amProperti es" select ="$ParamCo ntextRule/ wwproject: Properties /wwproject :Property"  /> CR LF   2027        <xsl: with-param  name="Par amProperti es" select ="$ParamCo ntextRule/ wwproject: Properties /wwproject :Property"  /> CR LF
1985        <xsl: with-param  name="Par amDocument Context" s elect="$Pa ramTable"  /> CR LF   2028        <xsl: with-param  name="Par amDocument Context" s elect="$Pa ramTable"  /> CR LF
1986        <xsl: with-param  name="Par amTable" s elect="$Pa ramTable"  /> CR LF   2029        <xsl: with-param  name="Par amTable" s elect="$Pa ramTable"  /> CR LF
1987        <xsl: with-param  name="Par amSection"  select="$ VarSection " /> CR LF   2030        <xsl: with-param  name="Par amSection"  select="$ VarSection " /> CR LF
1988       </xsl: call-templ ate> CR LF   2031       </xsl: call-templ ate> CR LF
1989      </xsl:v ariable> CR LF   2032      </xsl:v ariable> CR LF
1990      <xsl:va riable nam e="VarReso lvedSectio nPropertie s" select= "msxsl:nod e-set($Var ResolvedSe ctionPrope rtiesAsXML )/wwprojec t:Property " /> CR LF   2033      <xsl:va riable nam e="VarReso lvedSectio nPropertie s" select= "msxsl:nod e-set($Var ResolvedSe ctionPrope rtiesAsXML )/wwprojec t:Property " /> CR LF
1991   CR LF   2034   CR LF
1992      <!-- Pr ocess sect ion rows - -> CR LF   2035      <!-- Pr ocess sect ion rows - -> CR LF
1993      <!--                        - -> CR LF   2036      <!--                        - -> CR LF
1994      <xsl:fo r-each sel ect="$VarS ection/wwd oc:TableRo w"> CR LF   2037      <xsl:fo r-each sel ect="$VarS ection/wwd oc:TableRo w"> CR LF
1995       <xsl:v ariable na me="VarTab leRow" sel ect="." /> CR LF   2038       <xsl:v ariable na me="VarTab leRow" sel ect="." /> CR LF
1996       <xsl:v ariable na me="VarRow Position"  select="po sition()"  /> CR LF   2039       <xsl:v ariable na me="VarRow Position"  select="po sition()"  /> CR LF
1997   CR LF   2040   CR LF
1998       <!-- R ow --> CR LF   2041       <!-- R ow --> CR LF
1999       <!--      --> CR LF   2042       <!--      --> CR LF
2000       <xsl:t ext>||</xs l:text> CR LF   2043       <xsl:t ext>||</xs l:text> CR LF
2001   CR LF   2044   CR LF
2002       <!-- H andle tabl e level ve rtical ali gn at row  level --> CR LF   2045       <!-- H andle tabl e level ve rtical ali gn at row  level --> CR LF
2003       <!--                                                     --> CR LF   2046       <!--                                                     --> CR LF
2004       <xsl:v ariable na me="VarRow Options"> CR LF   2047       <xsl:v ariable na me="VarRow Options"> CR LF
2005        <xsl: if test="s tring-leng th($VarTab leVertical Alignment)  &gt; 0"> CR LF   2048        <xsl: if test="s tring-leng th($VarTab leVertical Alignment)  &gt; 0"> CR LF
2006         <xsl :text>rows tyle="vert ical-align : </xsl:te xt> CR LF   2049         <xsl :text>rows tyle="vert ical-align : </xsl:te xt> CR LF
2007         <xsl :value-of  select="$V arTableVer ticalAlign ment" /> CR LF   2050         <xsl :value-of  select="$V arTableVer ticalAlign ment" /> CR LF
2008         <xsl :text>;" < /xsl:text> CR LF   2051         <xsl :text>;" < /xsl:text> CR LF
2009        </xsl :if> CR LF   2052        </xsl :if> CR LF
2010       </xsl: variable> CR LF   2053       </xsl: variable> CR LF
2011   CR LF   2054   CR LF
2012       <!-- P rocess row  cells --> CR LF   2055       <!-- P rocess row  cells --> CR LF
2013       <!--                     --> CR LF   2056       <!--                     --> CR LF
2014       <xsl:f or-each se lect="$Var TableRow/w wdoc:Table Cell"> CR LF   2057       <xsl:f or-each se lect="$Var TableRow/w wdoc:Table Cell"> CR LF
2015        <xsl: variable n ame="VarTa bleCell" s elect="."  /> CR LF   2058        <xsl: variable n ame="VarTa bleCell" s elect="."  /> CR LF
2016        <xsl: variable n ame="VarCe llPosition " select=" position() " /> CR LF   2059        <xsl: variable n ame="VarCe llPosition " select=" position() " /> CR LF
2017   CR LF   2060   CR LF
2018        <!--  Resolve ce ll propert ies --> CR LF   2061        <!--  Resolve ce ll propert ies --> CR LF
2019        <!--                            --> CR LF   2062        <!--                            --> CR LF
2020        <xsl: variable n ame="VarRe solvedCell Properties AsXML"> CR LF   2063        <xsl: variable n ame="VarRe solvedCell Properties AsXML"> CR LF
2021         <xsl :call-temp late name= "Propertie s-Table-Ce ll-Resolve Properties "> CR LF   2064         <xsl :call-temp late name= "Propertie s-Table-Ce ll-Resolve Properties "> CR LF
2022          <xs l:with-par am name="P aramSectio nPropertie s" select= "$VarResol vedSection Properties " /> CR LF   2065          <xs l:with-par am name="P aramSectio nPropertie s" select= "$VarResol vedSection Properties " /> CR LF
2023          <xs l:with-par am name="P aramCellSt yle" selec t="$VarTab leCell/wwd oc:Style"  /> CR LF   2066          <xs l:with-par am name="P aramCellSt yle" selec t="$VarTab leCell/wwd oc:Style"  /> CR LF
2024          <xs l:with-par am name="P aramRowInd ex" select ="$VarRowP osition" / > CR LF   2067          <xs l:with-par am name="P aramRowInd ex" select ="$VarRowP osition" / > CR LF
2025          <xs l:with-par am name="P aramColumn Index" sel ect="$VarC ellPositio n" /> CR LF   2068          <xs l:with-par am name="P aramColumn Index" sel ect="$VarC ellPositio n" /> CR LF
2026         </xs l:call-tem plate> CR LF   2069         </xs l:call-tem plate> CR LF
2027   CR LF   2070   CR LF
2028         <!--  Width att ribute --> CR LF   2071         <!--  Width att ribute --> CR LF
2029         <!--                   --> CR LF   2072         <!--                   --> CR LF
2030         <xsl :for-each  select="$V arTableCel lWidths[@i d = $VarTa bleCell/@i d][1]"> CR LF   2073         <xsl :for-each  select="$V arTableCel lWidths[@i d = $VarTa bleCell/@i d][1]"> CR LF
2031          <xs l:variable  name="Var TableCellW idth" sele ct="." /> CR LF   2074          <xs l:variable  name="Var TableCellW idth" sele ct="." /> CR LF
2032   CR LF   2075   CR LF
2033          <ww project:Pr operty Nam e="width"  Value="{$V arTableCel lWidth/@wi dth}" /> CR LF   2076          <ww project:Pr operty Nam e="width"  Value="{$V arTableCel lWidth/@wi dth}" /> CR LF
2034         </xs l:for-each > CR LF   2077         </xs l:for-each > CR LF
2035        </xsl :variable> CR LF   2078        </xsl :variable> CR LF
2036        <xsl: variable n ame="VarRe solvedCell Properties " select=" msxsl:node -set($VarR esolvedCel lPropertie sAsXML)/ww project:Pr operty" /> CR LF   2079        <xsl: variable n ame="VarRe solvedCell Properties " select=" msxsl:node -set($VarR esolvedCel lPropertie sAsXML)/ww project:Pr operty" /> CR LF
2037   CR LF   2080   CR LF
2038        <!--  Valid CSS  properties  --> CR LF   2081        <!--  Valid CSS  properties  --> CR LF
2039        <!--                         --> CR LF   2082        <!--                         --> CR LF
2040        <xsl: variable n ame="VarTa bleCellCSS Properties AsXML"> CR LF   2083        <xsl: variable n ame="VarTa bleCellCSS Properties AsXML"> CR LF
2041         <xsl :call-temp late name= "CSS-Trans lateProjec tPropertie s"> CR LF   2084         <xsl :call-temp late name= "CSS-Trans lateProjec tPropertie s"> CR LF
2042          <xs l:with-par am name="P aramProper ties" sele ct="$VarRe solvedCell Properties " /> CR LF   2085          <xs l:with-par am name="P aramProper ties" sele ct="$VarRe solvedCell Properties " /> CR LF
2043          <xs l:with-par am name="P aramFromAb soluteURI"  select="$ ParamSplit /@path" /> CR LF   2086          <xs l:with-par am name="P aramFromAb soluteURI"  select="$ ParamSplit /@path" /> CR LF
2044          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> CR LF   2087          <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> CR LF
2045         </xs l:call-tem plate> CR LF   2088         </xs l:call-tem plate> CR LF
2046        </xsl :variable> CR LF   2089        </xsl :variable> CR LF
2047        <xsl: variable n ame="VarTa bleCellCSS Properties " select=" msxsl:node -set($VarT ableCellCS SPropertie sAsXML)/ww project:Pr operty" /> CR LF   2090        <xsl: variable n ame="VarTa bleCellCSS Properties " select=" msxsl:node -set($VarT ableCellCS SPropertie sAsXML)/ww project:Pr operty" /> CR LF
2048   CR LF   2091   CR LF
2049        <!--  Inline CSS  propertie s --> CR LF   2092        <!--  Inline CSS  propertie s --> CR LF
2050        <!--                          --> CR LF   2093        <!--                          --> CR LF
2051        <xsl: variable n ame="VarIn lineCSSPro perties"> CR LF   2094        <xsl: variable n ame="VarIn lineCSSPro perties"> CR LF
2052         <xsl :call-temp late name= "CSS-Inlin ePropertie s"> CR LF   2095         <xsl :call-temp late name= "CSS-Inlin ePropertie s"> CR LF
2053          <xs l:with-par am name="P aramProper ties" sele ct="$VarTa bleCellCSS Properties " /> CR LF   2096          <xs l:with-par am name="P aramProper ties" sele ct="$VarTa bleCellCSS Properties " /> CR LF
2054         </xs l:call-tem plate> CR LF   2097         </xs l:call-tem plate> CR LF
2055        </xsl :variable> CR LF   2098        </xsl :variable> CR LF
2056   CR LF   2099   CR LF
2057        <!--  Calculate  row span - -> CR LF   2100        <!--  Calculate  row span - -> CR LF
2058        <!--                      - -> CR LF   2101        <!--                      - -> CR LF
2059        <xsl: variable n ame="VarRo wSpan"> CR LF   2102        <xsl: variable n ame="VarRo wSpan"> CR LF
2060         <xsl :variable  name="VarR owSpanHint " select=" $VarTableC ell/wwdoc: Style/wwdo c:Attribut e[@name =  'row-span' ]/@value"  /> CR LF   2103         <xsl :variable  name="VarR owSpanHint " select=" $VarTableC ell/wwdoc: Style/wwdo c:Attribut e[@name =  'row-span' ]/@value"  /> CR LF
2061         <xsl :choose> CR LF   2104         <xsl :choose> CR LF
2062          <xs l:when tes t="string- length($Va rRowSpanHi nt) &gt; 0 "> CR LF   2105          <xs l:when tes t="string- length($Va rRowSpanHi nt) &gt; 0 "> CR LF
2063           <x sl:value-o f select=" $VarRowSpa nHint" /> CR LF   2106           <x sl:value-o f select=" $VarRowSpa nHint" /> CR LF
2064          </x sl:when> CR LF   2107          </x sl:when> CR LF
2065          <xs l:otherwis e> CR LF   2108          <xs l:otherwis e> CR LF
2066           <x sl:value-o f select=" '0'" /> CR LF   2109           <x sl:value-o f select=" '0'" /> CR LF
2067          </x sl:otherwi se> CR LF   2110          </x sl:otherwi se> CR LF
2068         </xs l:choose> CR LF   2111         </xs l:choose> CR LF
2069        </xsl :variable> CR LF   2112        </xsl :variable> CR LF
2070   CR LF   2113   CR LF
2071        <!--  Calculate  column spa n --> CR LF   2114        <!--  Calculate  column spa n --> CR LF
2072        <!--                          --> CR LF   2115        <!--                          --> CR LF
2073        <xsl: variable n ame="VarCo lumnSpan"> CR LF   2116        <xsl: variable n ame="VarCo lumnSpan"> CR LF
2074         <xsl :variable  name="VarC olumnSpanH int" selec t="$VarTab leCell/wwd oc:Style/w wdoc:Attri bute[@name  = 'column -span']/@v alue" /> CR LF   2117         <xsl :variable  name="VarC olumnSpanH int" selec t="$VarTab leCell/wwd oc:Style/w wdoc:Attri bute[@name  = 'column -span']/@v alue" /> CR LF
2075         <xsl :choose> CR LF   2118         <xsl :choose> CR LF
2076          <xs l:when tes t="string- length($Va rColumnSpa nHint) &gt ; 0"> CR LF   2119          <xs l:when tes t="string- length($Va rColumnSpa nHint) &gt ; 0"> CR LF
2077           <x sl:value-o f select=" $VarColumn SpanHint"  /> CR LF   2120           <x sl:value-o f select=" $VarColumn SpanHint"  /> CR LF
2078          </x sl:when> CR LF   2121          </x sl:when> CR LF
2079          <xs l:otherwis e> CR LF   2122          <xs l:otherwis e> CR LF
2080           <x sl:value-o f select=" '0'" /> CR LF   2123           <x sl:value-o f select=" '0'" /> CR LF
2081          </x sl:otherwi se> CR LF   2124          </x sl:otherwi se> CR LF
2082         </xs l:choose> CR LF   2125         </xs l:choose> CR LF
2083        </xsl :variable> CR LF   2126        </xsl :variable> CR LF
2084   CR LF   2127   CR LF
2085        <!--  Options ex ist? --> CR LF   2128        <!--  Options ex ist? --> CR LF
2086        <!--                  --> CR LF   2129        <!--                  --> CR LF
2087        <xsl: variable n ame="VarCe llOptionsE xist" sele ct="(numbe r($VarRowS pan) &gt;  0) or (num ber($VarCo lumnSpan)  &gt; 0) or  (string-l ength($Var InlineCSSP roperties)  &gt; 0)"  /> CR LF   2130        <xsl: variable n ame="VarCe llOptionsE xist" sele ct="(numbe r($VarRowS pan) &gt;  0) or (num ber($VarCo lumnSpan)  &gt; 0) or  (string-l ength($Var InlineCSSP roperties)  &gt; 0)"  /> CR LF
2088        <xsl: variable n ame="VarRo wOptionsEx ist" selec t="($VarRo wPosition  = 1) and ( string-len gth($VarRo wOptions)  &gt; 0)" / > CR LF   2131        <xsl: variable n ame="VarRo wOptionsEx ist" selec t="($VarRo wPosition  = 1) and ( string-len gth($VarRo wOptions)  &gt; 0)" / > CR LF
2089        <xsl: variable n ame="VarTa bleOptions Exist" sel ect="($Var SectionPos ition = 1)  and ($Var RowPositio n = 1) and  ($VarCell Position =  1) and (s tring-leng th($VarTab leOptions)  &gt; 0)"  /> CR LF   2132        <xsl: variable n ame="VarTa bleOptions Exist" sel ect="($Var SectionPos ition = 1)  and ($Var RowPositio n = 1) and  ($VarCell Position =  1) and (s tring-leng th($VarTab leOptions)  &gt; 0)"  /> CR LF
2090        <xsl: if test="$ VarCellOpt ionsExist  or $VarRow OptionsExi st or $Var TableOptio nsExist"> CR LF   2133        <xsl: if test="$ VarCellOpt ionsExist  or $VarRow OptionsExi st or $Var TableOptio nsExist"> CR LF
2091         <wwe xsldoc:Tex t disable- output-esc aping="yes ">&lt;</ww exsldoc:Te xt> CR LF   2134         <wwe xsldoc:Tex t disable- output-esc aping="yes ">&lt;</ww exsldoc:Te xt> CR LF
2092   CR LF   2135   CR LF
2093         <!--  Row span  --> CR LF   2136         <!--  Row span  --> CR LF
2094         <!--            --> CR LF   2137         <!--            --> CR LF
2095         <xsl :if test=" number($Va rRowSpan)  &gt; 0"> CR LF   2138         <xsl :if test=" number($Va rRowSpan)  &gt; 0"> CR LF
2096          <xs l:text>|</ xsl:text> CR LF   2139          <xs l:text>|</ xsl:text> CR LF
2097          <xs l:value-of  select="$ VarRowSpan " /> CR LF   2140          <xs l:value-of  select="$ VarRowSpan " /> CR LF
2098          <xs l:text> </ xsl:text> CR LF   2141          <xs l:text> </ xsl:text> CR LF
2099         </xs l:if> CR LF   2142         </xs l:if> CR LF
2100   CR LF   2143   CR LF
2101         <!--  Column sp an --> CR LF   2144         <!--  Column sp an --> CR LF
2102         <!--               --> CR LF   2145         <!--               --> CR LF
2103         <xsl :if test=" number($Va rColumnSpa n) &gt; 0" > CR LF   2146         <xsl :if test=" number($Va rColumnSpa n) &gt; 0" > CR LF
2104          <xs l:text>-</ xsl:text> CR LF   2147          <xs l:text>-</ xsl:text> CR LF
2105          <xs l:value-of  select="$ VarColumnS pan" /> CR LF   2148          <xs l:value-of  select="$ VarColumnS pan" /> CR LF
2106          <xs l:text> </ xsl:text> CR LF   2149          <xs l:text> </ xsl:text> CR LF
2107         </xs l:if> CR LF   2150         </xs l:if> CR LF
2108   CR LF   2151   CR LF
2109         <!--  Cell Opti ons --> CR LF   2152         <!--  Cell Opti ons --> CR LF
2110         <!--                --> CR LF   2153         <!--                --> CR LF
2111         <xsl :if test=" string-len gth($VarIn lineCSSPro perties) & gt; 0"> CR LF   2154         <xsl :if test=" string-len gth($VarIn lineCSSPro perties) & gt; 0"> CR LF
2112          <xs l:text>sty le="</xsl: text> CR LF   2155          <xs l:text>sty le="</xsl: text> CR LF
2113          <xs l:value-of  select="$ VarInlineC SSProperti es" /> CR LF   2156          <xs l:value-of  select="$ VarInlineC SSProperti es" /> CR LF
2114          <xs l:text>" < /xsl:text> CR LF   2157          <xs l:text>" < /xsl:text> CR LF
2115         </xs l:if> CR LF   2158         </xs l:if> CR LF
2116   CR LF   2159   CR LF
2117         <!--  Row Optio ns --> CR LF   2160         <!--  Row Optio ns --> CR LF
2118         <!--               --> CR LF   2161         <!--               --> CR LF
2119         <xsl :if test=" $VarRowOpt ionsExist" > CR LF   2162         <xsl :if test=" $VarRowOpt ionsExist" > CR LF
2120          <xs l:value-of  select="$ VarRowOpti ons" /> CR LF   2163          <xs l:value-of  select="$ VarRowOpti ons" /> CR LF
2121         </xs l:if> CR LF   2164         </xs l:if> CR LF
2122   CR LF   2165   CR LF
2123         <!--  Table Opt ions --> CR LF   2166         <!--  Table Opt ions --> CR LF
2124         <!--                 --> CR LF   2167         <!--                 --> CR LF
2125         <xsl :if test=" $VarTableO ptionsExis t"> CR LF   2168         <xsl :if test=" $VarTableO ptionsExis t"> CR LF
2126          <xs l:value-of  select="$ VarTableOp tions" /> CR LF   2169          <xs l:value-of  select="$ VarTableOp tions" /> CR LF
2127         </xs l:if> CR LF   2170         </xs l:if> CR LF
2128   CR LF   2171   CR LF
2129         <wwe xsldoc:Tex t disable- output-esc aping="yes ">&gt;</ww exsldoc:Te xt> CR LF   2172         <wwe xsldoc:Tex t disable- output-esc aping="yes ">&gt;</ww exsldoc:Te xt> CR LF
2130        </xsl :if> CR LF   2173        </xsl :if> CR LF
2131        <xsl: text> </xs l:text> CR LF   2174        <xsl: text> </xs l:text> CR LF
2132   CR LF   2175   CR LF
2133        <!--  Include ce ll content  --> CR LF   2176        <!--  Include ce ll content  --> CR LF
2134        <!--                         --> CR LF   2177        <!--                         --> CR LF
2135        <wwex sldoc:Text  disable-o utput-esca ping="yes" >&lt;&lt;I nclude(</w wexsldoc:T ext> CR LF   2178        <wwex sldoc:Text  disable-o utput-esca ping="yes" >&lt;&lt;I nclude(</w wexsldoc:T ext> CR LF
2136        <xsl: value-of s elect="$Va rIncludePa gePath" /> CR LF   2179        <xsl: value-of s elect="$Va rIncludePa gePath" /> CR LF
2137        <xsl: text>, , ,  from="^WE BWORKS_CEL L_CONTENT_ START_</xs l:text> CR LF   2180        <xsl: text>, , ,  from="^WE BWORKS_CEL L_CONTENT_ START_</xs l:text> CR LF
2138        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF   2181        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF
2139        <xsl: text>"</xs l:text> CR LF   2182        <xsl: text>"</xs l:text> CR LF
2140        <xsl: text>, to= "^WEBWORKS _CELL_CONT ENT_END_</ xsl:text> CR LF   2183        <xsl: text>, to= "^WEBWORKS _CELL_CONT ENT_END_</ xsl:text> CR LF
2141        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF   2184        <xsl: value-of s elect="$Va rTableCell /@id" /> CR LF
2142        <xsl: text>"</xs l:text> CR LF   2185        <xsl: text>"</xs l:text> CR LF
2143        <wwex sldoc:Text  disable-o utput-esca ping="yes" >)&gt;&gt; </wwexsldo c:Text> CR LF   2186        <wwex sldoc:Text  disable-o utput-esca ping="yes" >)&gt;&gt; </wwexsldo c:Text> CR LF
2144   CR LF   2187   CR LF
2145        <!--  Cell compl ete --> CR LF   2188        <!--  Cell compl ete --> CR LF
2146        <!--                 --> CR LF   2189        <!--                 --> CR LF
2147        <xsl: text> ||</ xsl:text> CR LF   2190        <xsl: text> ||</ xsl:text> CR LF
2148       </xsl: for-each> CR LF   2191       </xsl: for-each> CR LF
2149   CR LF   2192   CR LF
2150       <!-- R ow complet e --> CR LF   2193       <!-- R ow complet e --> CR LF
2151       <!--                --> CR LF   2194       <!--                --> CR LF
2152       <xsl:t ext> CR LF   2195       <xsl:t ext> CR LF
2153   </xsl:text > CR LF   2196   </xsl:text > CR LF
2154      </xsl:f or-each> CR LF   2197      </xsl:f or-each> CR LF
2155     </xsl:fo r-each> CR LF   2198     </xsl:fo r-each> CR LF
2156   CR LF   2199   CR LF
2157     <!-- Tab le Footnot es --> CR LF   2200     <!-- Tab le Footnot es --> CR LF
2158     <!--                   --> CR LF   2201     <!--                   --> CR LF
2159     <xsl:if  test="coun t($VarNote s) &gt; 0" > CR LF   2202     <xsl:if  test="coun t($VarNote s) &gt; 0" > CR LF
2160      <!-- Sp an table - -> CR LF   2203      <!-- Sp an table - -> CR LF
2161      <!--             - -> CR LF   2204      <!--             - -> CR LF
2162      <xsl:te xt>||</xsl :text> CR LF   2205      <xsl:te xt>||</xsl :text> CR LF
2163      <xsl:if  test="cou nt($VarTab leCellWidt hs) &gt; 0 "> CR LF   2206      <xsl:if  test="cou nt($VarTab leCellWidt hs) &gt; 0 "> CR LF
2164       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &lt;</wwex sldoc:Text > CR LF   2207       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &lt;</wwex sldoc:Text > CR LF
2165       <xsl:t ext>-</xsl :text> CR LF   2208       <xsl:t ext>-</xsl :text> CR LF
2166       <xsl:v alue-of se lect="coun t($VarTabl eCellWidth s)" /> CR LF   2209       <xsl:v alue-of se lect="coun t($VarTabl eCellWidth s)" /> CR LF
2167       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &gt;</wwex sldoc:Text > CR LF   2210       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &gt;</wwex sldoc:Text > CR LF
2168      </xsl:i f> CR LF   2211      </xsl:i f> CR LF
2169      <xsl:te xt> </xsl: text> CR LF   2212      <xsl:te xt> </xsl: text> CR LF
2170   CR LF   2213   CR LF
2171      <!-- In clude tabl e footnote s --> CR LF   2214      <!-- In clude tabl e footnote s --> CR LF
2172      <!--                            --> CR LF   2215      <!--                            --> CR LF
2173      <wwexsl doc:Text d isable-out put-escapi ng="yes">& lt;&lt;Inc lude(</wwe xsldoc:Tex t> CR LF   2216      <wwexsl doc:Text d isable-out put-escapi ng="yes">& lt;&lt;Inc lude(</wwe xsldoc:Tex t> CR LF
2174      <xsl:va lue-of sel ect="$VarI ncludePage Path" /> CR LF   2217      <xsl:va lue-of sel ect="$VarI ncludePage Path" /> CR LF
2175      <xsl:te xt>, , , f rom="^WEBW ORKS_TABLE _FOOTNOTES _START_</x sl:text> CR LF   2218      <xsl:te xt>, , , f rom="^WEBW ORKS_TABLE _FOOTNOTES _START_</x sl:text> CR LF
2176      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   2219      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
2177      <xsl:te xt>"</xsl: text> CR LF   2220      <xsl:te xt>"</xsl: text> CR LF
2178      <xsl:te xt>, to="^ WEBWORKS_T ABLE_FOOTN OTES_END_< /xsl:text> CR LF   2221      <xsl:te xt>, to="^ WEBWORKS_T ABLE_FOOTN OTES_END_< /xsl:text> CR LF
2179      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   2222      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
2180      <xsl:te xt>"</xsl: text> CR LF   2223      <xsl:te xt>"</xsl: text> CR LF
2181      <wwexsl doc:Text d isable-out put-escapi ng="yes">) &gt;&gt;</ wwexsldoc: Text> CR LF   2224      <wwexsl doc:Text d isable-out put-escapi ng="yes">) &gt;&gt;</ wwexsldoc: Text> CR LF
2182   CR LF   2225   CR LF
2183      <!-- En d cell --> CR LF   2226      <!-- En d cell --> CR LF
2184      <!--           --> CR LF   2227      <!--           --> CR LF
2185      <xsl:te xt> || CR LF   2228      <xsl:te xt> || CR LF
2186   </xsl:text > CR LF   2229   </xsl:text > CR LF
2187     </xsl:if > CR LF   2230     </xsl:if > CR LF
2188   CR LF   2231   CR LF
2189     <!-- Cap tion on bo ttom --> CR LF   2232     <!-- Cap tion on bo ttom --> CR LF
2190     <!--                     --> CR LF   2233     <!--                     --> CR LF
2191     <xsl:if  test="$Var CaptionSid e = 'botto m'"> CR LF   2234     <xsl:if  test="$Var CaptionSid e = 'botto m'"> CR LF
2192      <xsl:ca ll-templat e name="Ta ble-Captio n-Include" > CR LF   2235      <xsl:ca ll-templat e name="Ta ble-Captio n-Include" > CR LF
2193       <xsl:w ith-param  name="Para mTable" se lect="$Par amTable" / > CR LF   2236       <xsl:w ith-param  name="Para mTable" se lect="$Par amTable" / > CR LF
2194       <xsl:w ith-param  name="Para mColumnCou nt" select ="count($V arTableCel lWidths)"  /> CR LF   2237       <xsl:w ith-param  name="Para mColumnCou nt" select ="count($V arTableCel lWidths)"  /> CR LF
2195       <xsl:w ith-param  name="Para mIncludePa gePath" se lect="$Var IncludePag ePath" /> CR LF   2238       <xsl:w ith-param  name="Para mIncludePa gePath" se lect="$Var IncludePag ePath" /> CR LF
2196      </xsl:c all-templa te> CR LF   2239      </xsl:c all-templa te> CR LF
2197     </xsl:if > CR LF   2240     </xsl:if > CR LF
2198    </xsl:tem plate> CR LF   2241    </xsl:tem plate> CR LF
2199   CR LF   2242   CR LF
2200   CR LF   2243   CR LF
2201    <xsl:temp late name= "Table-Cap tion-Inclu de"> CR LF   2244    <xsl:temp late name= "Table-Cap tion-Inclu de"> CR LF
2202     <xsl:par am name="P aramTable"  /> CR LF   2245     <xsl:par am name="P aramTable"  /> CR LF
2203     <xsl:par am name="P aramColumn Count" /> CR LF   2246     <xsl:par am name="P aramColumn Count" /> CR LF
2204     <xsl:par am name="P aramInclud ePagePath"  /> CR LF   2247     <xsl:par am name="P aramInclud ePagePath"  /> CR LF
2205   CR LF   2248   CR LF
2206     <!-- Emi t table ca ption incl ude --> CR LF   2249     <!-- Emi t table ca ption incl ude --> CR LF
2207     <!--                               --> CR LF   2250     <!--                               --> CR LF
2208     <xsl:for -each sele ct="$Param Table/wwdo c:Caption[ 1]"> CR LF   2251     <xsl:for -each sele ct="$Param Table/wwdo c:Caption[ 1]"> CR LF
2209      <!-- Sp an table - -> CR LF   2252      <!-- Sp an table - -> CR LF
2210      <!--             - -> CR LF   2253      <!--             - -> CR LF
2211      <xsl:te xt>||</xsl :text> CR LF   2254      <xsl:te xt>||</xsl :text> CR LF
2212      <xsl:if  test="$Pa ramColumnC ount &gt;  0"> CR LF   2255      <xsl:if  test="$Pa ramColumnC ount &gt;  0"> CR LF
2213       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &lt;</wwex sldoc:Text > CR LF   2256       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &lt;</wwex sldoc:Text > CR LF
2214       <xsl:t ext>-</xsl :text> CR LF   2257       <xsl:t ext>-</xsl :text> CR LF
2215       <xsl:v alue-of se lect="$Par amColumnCo unt" /> CR LF   2258       <xsl:v alue-of se lect="$Par amColumnCo unt" /> CR LF
2216       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &gt;</wwex sldoc:Text > CR LF   2259       <wwexs ldoc:Text  disable-ou tput-escap ing="yes"> &gt;</wwex sldoc:Text > CR LF
2217      </xsl:i f> CR LF   2260      </xsl:i f> CR LF
2218      <xsl:te xt> </xsl: text> CR LF   2261      <xsl:te xt> </xsl: text> CR LF
2219   CR LF   2262   CR LF
2220      <!-- In clude tabl e caption  --> CR LF   2263      <!-- In clude tabl e caption  --> CR LF
2221      <!--                          --> CR LF   2264      <!--                          --> CR LF
2222      <wwexsl doc:Text d isable-out put-escapi ng="yes">& lt;&lt;Inc lude(</wwe xsldoc:Tex t> CR LF   2265      <wwexsl doc:Text d isable-out put-escapi ng="yes">& lt;&lt;Inc lude(</wwe xsldoc:Tex t> CR LF
2223      <xsl:va lue-of sel ect="$Para mIncludePa gePath" /> CR LF   2266      <xsl:va lue-of sel ect="$Para mIncludePa gePath" /> CR LF
2224      <xsl:te xt>, , , f rom="^WEBW ORKS_CAPTI ON_CONTENT _START_</x sl:text> CR LF   2267      <xsl:te xt>, , , f rom="^WEBW ORKS_CAPTI ON_CONTENT _START_</x sl:text> CR LF
2225      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   2268      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
2226      <xsl:te xt>"</xsl: text> CR LF   2269      <xsl:te xt>"</xsl: text> CR LF
2227      <xsl:te xt>, to="^ WEBWORKS_C APTION_CON TENT_END_< /xsl:text> CR LF   2270      <xsl:te xt>, to="^ WEBWORKS_C APTION_CON TENT_END_< /xsl:text> CR LF
2228      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF   2271      <xsl:va lue-of sel ect="$Para mTable/@id " /> CR LF
2229      <xsl:te xt>"</xsl: text> CR LF   2272      <xsl:te xt>"</xsl: text> CR LF
2230      <wwexsl doc:Text d isable-out put-escapi ng="yes">) &gt;&gt;</ wwexsldoc: Text> CR LF   2273      <wwexsl doc:Text d isable-out put-escapi ng="yes">) &gt;&gt;</ wwexsldoc: Text> CR LF
2231   CR LF   2274   CR LF
2232      <!-- En d cell --> CR LF   2275      <!-- En d cell --> CR LF
2233      <!--           --> CR LF   2276      <!--           --> CR LF
2234      <xsl:te xt> || CR LF   2277      <xsl:te xt> || CR LF
2235   </xsl:text > CR LF   2278   </xsl:text > CR LF
2236     </xsl:fo r-each> CR LF   2279     </xsl:fo r-each> CR LF
2237    </xsl:tem plate> CR LF   2280    </xsl:tem plate> CR LF
2238   CR LF   2281   CR LF
2239   CR LF   2282   CR LF
2240    <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:co ntent"> CR LF   2283    <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:co ntent"> CR LF
2241     <xsl:par am name="P aramSplits " /> CR LF   2284     <xsl:par am name="P aramSplits " /> CR LF
2242     <xsl:par am name="P aramCargo"  /> CR LF   2285     <xsl:par am name="P aramCargo"  /> CR LF
2243     <xsl:par am name="P aramLinks"  /> CR LF   2286     <xsl:par am name="P aramLinks"  /> CR LF
2244     <xsl:par am name="P aramTOCDat a" /> CR LF   2287     <xsl:par am name="P aramTOCDat a" /> CR LF
2245     <xsl:par am name="P aramSplit"  /> CR LF   2288     <xsl:par am name="P aramSplit"  /> CR LF
2246   CR LF   2289   CR LF
2247     <!-- Abo rted? --> CR LF   2290     <!-- Abo rted? --> CR LF
2248     <!--           --> CR LF   2291     <!--           --> CR LF
2249     <xsl:if  test="not( wwprogress :Abort())" > CR LF   2292     <xsl:if  test="not( wwprogress :Abort())" > CR LF
2250      <xsl:ca ll-templat e name="Fr ame"> CR LF   2293      <xsl:ca ll-templat e name="Fr ame"> CR LF
2251       <xsl:w ith-param  name="Para mFrame" se lect="." / > CR LF   2294       <xsl:w ith-param  name="Para mFrame" se lect="." / > CR LF
2252       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF   2295       <xsl:w ith-param  name="Para mSplits" s elect="$Pa ramSplits"  /> CR LF
2253       <xsl:w ith-param  name="Para mCargo" se lect="$Par amCargo" / > CR LF   2296       <xsl:w ith-param  name="Para mCargo" se lect="$Par amCargo" / > CR LF
2254       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF   2297       <xsl:w ith-param  name="Para mLinks" se lect="$Par amLinks" / > CR LF
2255       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF   2298       <xsl:w ith-param  name="Para mSplit" se lect="$Par amSplit" / > CR LF
2256      </xsl:c all-templa te> CR LF   2299      </xsl:c all-templa te> CR LF
2257     </xsl:if > CR LF   2300     </xsl:if > CR LF
2258    </xsl:tem plate> CR LF   2301    </xsl:tem plate> CR LF
2259   CR LF   2302   CR LF
2260   CR LF   2303   CR LF
2261    <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:te xtrun"> CR LF   2304    <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:te xtrun"> CR LF
2262     <xsl:par am name="P aramSplits " /> CR LF   2305     <xsl:par am name="P aramSplits " /> CR LF
2263     <xsl:par am name="P aramCargo"  /> CR LF   2306     <xsl:par am name="P aramCargo"  /> CR LF
2264     <xsl:par am name="P aramLinks"  /> CR LF   2307     <xsl:par am name="P aramLinks"  /> CR LF
2265     <xsl:par am name="P aramSplit"  /> CR LF   2308     <xsl:par am name="P aramSplit"  /> CR LF
2266   CR LF   2309   CR LF
2267     <xsl:cal l-template  name="Fra me"> CR LF   2310     <xsl:cal l-template  name="Fra me"> CR LF
2268      <xsl:wi th-param n ame="Param Frame" sel ect="." /> CR LF   2311      <xsl:wi th-param n ame="Param Frame" sel ect="." /> CR LF
2269      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF   2312      <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits"  /> CR LF
2270      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF   2313      <xsl:wi th-param n ame="Param Cargo" sel ect="$Para mCargo" /> CR LF
2271      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF   2314      <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> CR LF
2272      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF   2315      <xsl:wi th-param n ame="Param Split" sel ect="$Para mSplit" /> CR LF
2273     </xsl:ca ll-templat e> CR LF   2316     </xsl:ca ll-templat e> CR LF
2274    </xsl:tem plate> CR LF   2317    </xsl:tem plate> CR LF
2275   CR LF   2318   CR LF
2276   CR LF   2319   CR LF
2277    <xsl:temp late name= "Frame"> CR LF   2320    <xsl:temp late name= "Frame"> CR LF
2278     <xsl:par am name="P aramFrame"  /> CR LF   2321     <xsl:par am name="P aramFrame"  /> CR LF
2279     <xsl:par am name="P aramSplits " /> CR LF   2322     <xsl:par am name="P aramSplits " /> CR LF
2280     <xsl:par am name="P aramCargo"  /> CR LF   2323     <xsl:par am name="P aramCargo"  /> CR LF
2281     <xsl:par am name="P aramLinks"  /> CR LF   2324     <xsl:par am name="P aramLinks"  /> CR LF
2282     <xsl:par am name="P aramSplit"  /> CR LF   2325     <xsl:par am name="P aramSplit"  /> CR LF
2283   CR LF   2326   CR LF
2284     <!-- Get  splits fr ame --> CR LF   2327     <!-- Get  splits fr ame --> CR LF
2285     <!--                    --> CR LF   2328     <!--                    --> CR LF
2286     <xsl:for -each sele ct="$Param Splits[1]" > CR LF   2329     <xsl:for -each sele ct="$Param Splits[1]" > CR LF
2287      <xsl:va riable nam e="VarSpli tsFrame" s elect="key ('wwsplits -frames-by -id', $Par amFrame/@i d)[@docume ntID = $Pa ramSplit/@ documentID ]" /> CR LF   2330      <xsl:va riable nam e="VarSpli tsFrame" s elect="key ('wwsplits -frames-by -id', $Par amFrame/@i d)[@docume ntID = $Pa ramSplit/@ documentID ]" /> CR LF
2288   CR LF   2331   CR LF
2289      <!-- Fr ame known?  --> CR LF   2332      <!-- Fr ame known?  --> CR LF
2290      <!--                --> CR LF   2333      <!--                --> CR LF
2291      <xsl:if  test="cou nt($VarSpl itsFrame)  = 1"> CR LF   2334      <xsl:if  test="cou nt($VarSpl itsFrame)  = 1"> CR LF
2292       <!-- T humbnail?  --> CR LF   2335       <!-- T humbnail?  --> CR LF
2293       <!--              --> CR LF   2336       <!--              --> CR LF
2294       <xsl:f or-each se lect="$Glo balFiles[1 ]"> CR LF   2337       <xsl:f or-each se lect="$Glo balFiles[1 ]"> CR LF
2295        <xsl: variable n ame="VarSp litsThumbn ail" selec t="$VarSpl itsFrame/w wsplits:Th umbnail" / > CR LF   2338        <xsl: variable n ame="VarSp litsThumbn ail" selec t="$VarSpl itsFrame/w wsplits:Th umbnail" / > CR LF
2296        <xsl: variable n ame="VarTh umbnailDef ined" sele ct="count( key('wwfil es-files-b y-path', $ VarSplitsT humbnail/@ path)[1])  &gt; 0" /> CR LF   2339        <xsl: variable n ame="VarTh umbnailDef ined" sele ct="count( key('wwfil es-files-b y-path', $ VarSplitsT humbnail/@ path)[1])  &gt; 0" /> CR LF
2297   CR LF   2340   CR LF
2298        <!--  Emit image  --> CR LF   2341        <!--  Emit image  --> CR LF
2299        <!--              --> CR LF   2342        <!--              --> CR LF
2300        <xsl: choose> CR LF   2343        <xsl: choose> CR LF
2301         <!--  Thumbnail  --> CR LF   2344         <!--  Thumbnail  --> CR LF
2302         <!--             --> CR LF   2345         <!--             --> CR LF
2303         <xsl :when test ="$VarThum bnailDefin ed"> CR LF   2346         <xsl :when test ="$VarThum bnailDefin ed"> CR LF
2304          <!- - Emit mar kup --> CR LF   2347          <!- - Emit mar kup --> CR LF
2305          <!- -              --> CR LF   2348          <!- -              --> CR LF
2306          <xs l:call-tem plate name ="Frame-Ma rkup"> CR LF   2349          <xs l:call-tem plate name ="Frame-Ma rkup"> CR LF
2307           <x sl:with-pa ram name=" ParamFrame " select=" $ParamFram e" /> CR LF   2350           <x sl:with-pa ram name=" ParamFrame " select=" $ParamFram e" /> CR LF
2308           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF   2351           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF
2309           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF   2352           <x sl:with-pa ram name=" ParamCargo " select=" $ParamCarg o" /> CR LF
2310           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF   2353           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF
2311           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF   2354           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF
2312           <x sl:with-pa ram name=" ParamSplit sFrame" se lect="$Var SplitsFram e" /> CR LF   2355           <x sl:with-pa ram name=" ParamSplit sFrame" se lect="$Var SplitsFram e" /> CR LF
2313           <x sl:with-pa ram name=" ParamThumb nail" sele ct="true() " /> CR LF   2356           <x sl:with-pa ram name=" ParamThumb nail" sele ct="true() " /> CR LF
2314          </x sl:call-te mplate> CR LF   2357          </x sl:call-te mplate> CR LF
2315         </xs l:when> CR LF   2358         </xs l:when> CR LF
2316   CR LF   2359   CR LF
2317         <!--  Fullsize  --> CR LF   2360         <!--  Fullsize  --> CR LF
2318         <!--            --> CR LF   2361         <!--            --> CR LF
2319         <xsl :otherwise > CR LF   2362         <xsl :otherwise > CR LF
2320          <!- - Note num bering --> CR LF   2363          <!- - Note num bering --> CR LF
2321          <!- -                 --> CR LF   2364          <!- -                 --> CR LF
2322          <xs l:variable  name="Var Notes" sel ect="$Para mFrame//ww doc:Note"  /> CR LF   2365          <xs l:variable  name="Var Notes" sel ect="$Para mFrame//ww doc:Note"  /> CR LF
2323          <xs l:variable  name="Var NoteNumber ingAsXML"> CR LF   2366          <xs l:variable  name="Var NoteNumber ingAsXML"> CR LF
2324           <x sl:call-te mplate nam e="Notes-N umber"> CR LF   2367           <x sl:call-te mplate nam e="Notes-N umber"> CR LF
2325            < xsl:with-p aram name= "ParamNote s" select= "$VarNotes " /> CR LF   2368            < xsl:with-p aram name= "ParamNote s" select= "$VarNotes " /> CR LF
2326           </ xsl:call-t emplate> CR LF   2369           </ xsl:call-t emplate> CR LF
2327          </x sl:variabl e> CR LF   2370          </x sl:variabl e> CR LF
2328          <xs l:variable  name="Var NoteNumber ing" selec t="msxsl:n ode-set($V arNoteNumb eringAsXML )" /> CR LF   2371          <xs l:variable  name="Var NoteNumber ing" selec t="msxsl:n ode-set($V arNoteNumb eringAsXML )" /> CR LF
2329   CR LF   2372   CR LF
2330          <!- - Frame ca rgo --> CR LF   2373          <!- - Frame ca rgo --> CR LF
2331          <!- -              --> CR LF   2374          <!- -              --> CR LF
2332          <xs l:variable  name="Var Cargo" sel ect="$Para mCargo/*[l ocal-name( ) != 'Note Numbering' ]/.. | $Va rNoteNumbe ring" /> CR LF   2375          <xs l:variable  name="Var Cargo" sel ect="$Para mCargo/*[l ocal-name( ) != 'Note Numbering' ]/.. | $Va rNoteNumbe ring" /> CR LF
2333   CR LF   2376   CR LF
2334          <!- - Emit mar kup --> CR LF   2377          <!- - Emit mar kup --> CR LF
2335          <!- -              --> CR LF   2378          <!- -              --> CR LF
2336          <xs l:call-tem plate name ="Frame-Ma rkup"> CR LF   2379          <xs l:call-tem plate name ="Frame-Ma rkup"> CR LF
2337           <x sl:with-pa ram name=" ParamFrame " select=" $ParamFram e" /> CR LF   2380           <x sl:with-pa ram name=" ParamFrame " select=" $ParamFram e" /> CR LF
2338           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF   2381           <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> CR LF
2339           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  /> CR LF   2382           <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo"  /> CR LF
2340           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF   2383           <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> CR LF
2341           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF   2384           <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> CR LF
2342           <x sl:with-pa ram name=" ParamSplit sFrame" se lect="$Var SplitsFram e" /> CR LF   2385           <x sl:with-pa ram name=" ParamSplit sFrame" se lect="$Var SplitsFram e" /> CR LF
2343           <x sl:with-pa ram name=" ParamThumb nail" sele ct="false( )" /> CR LF   2386           <x sl:with-pa ram name=" ParamThumb nail" sele ct="false( )" /> CR LF
2344          </x sl:call-te mplate> CR LF   2387          </x sl:call-te mplate> CR LF
2345         </xs l:otherwis e> CR LF   2388         </xs l:otherwis e> CR LF
2346        </xsl :choose> CR LF   2389        </xsl :choose> CR LF
2347       </xsl: for-each> CR LF   2390       </xsl: for-each> CR LF
2348      </xsl:i f> CR LF   2391      </xsl:i f> CR LF
2349     </xsl:fo r-each> CR LF   2392     </xsl:fo r-each> CR LF
2350    </xsl:tem plate> CR LF   2393    </xsl:tem plate> CR LF
2351   CR LF   2394   CR LF
2352   CR LF   2395   CR LF
2353    <xsl:temp late name= "Frame-Mar kup"> CR LF   2396    <xsl:temp late name= "Frame-Mar kup"> CR LF
2354     <xsl:par am name="P aramFrame"  /> CR LF   2397     <xsl:par am name="P aramFrame"  /> CR LF
2355     <xsl:par am name="P aramSplits " /> CR LF   2398     <xsl:par am name="P aramSplits " /> CR LF
2356     <xsl:par am name="P aramCargo"  /> CR LF   2399     <xsl:par am name="P aramCargo"  /> CR LF
2357     <xsl:par am name="P aramLinks"  /> CR LF   2400     <xsl:par am name="P aramLinks"  /> CR LF
2358     <xsl:par am name="P aramSplit"  /> CR LF   2401     <xsl:par am name="P aramSplit"  /> CR LF
2359     <xsl:par am name="P aramSplits Frame" /> CR LF   2402     <xsl:par am name="P aramSplits Frame" /> CR LF
2360     <xsl:par am name="P aramThumbn ail" /> CR LF   2403     <xsl:par am name="P aramThumbn ail" /> CR LF
2361   CR LF   2404   CR LF
2362     <!-- Con text Rule  --> CR LF   2405     <!-- Con text Rule  --> CR LF
2363     <!--                --> CR LF   2406     <!--                --> CR LF
2364     <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ('Graphic' , $ParamSp litsFrame/ @stylename , $ParamSp litsFrame/ @documentI D, $ParamS plitsFrame /@id)" /> CR LF   2407     <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ('Graphic' , $ParamSp litsFrame/ @stylename , $ParamSp litsFrame/ @documentI D, $ParamS plitsFrame /@id)" /> CR LF
2365   CR LF   2408   CR LF
2366     <!-- Gen erate? --> CR LF   2409     <!-- Gen erate? --> CR LF
2367     <!--            --> CR LF   2410     <!--            --> CR LF
2368     <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'gener ate-output ']/@Value"  /> CR LF   2411     <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'gener ate-output ']/@Value"  /> CR LF
2369     <xsl:var iable name ="VarGener ateOutput"  select="( string-len gth($VarGe nerateOutp utOption)  = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> CR LF   2412     <xsl:var iable name ="VarGener ateOutput"  select="( string-len gth($VarGe nerateOutp utOption)  = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> CR LF
2370     <xsl:if  test="$Var GenerateOu tput"> CR LF   2413     <xsl:if  test="$Var GenerateOu tput"> CR LF
2371      <!-- De termine im age path - -> CR LF   2414      <!-- De termine im age path - -> CR LF
2372      <!--                        - -> CR LF   2415      <!--                        - -> CR LF
2373      <xsl:va riable nam e="VarImag ePath"> CR LF   2416      <xsl:va riable nam e="VarImag ePath"> CR LF
2374       <xsl:c hoose> CR LF   2417       <xsl:c hoose> CR LF
2375        <xsl: when test= "$ParamThu mbnail"> CR LF   2418        <xsl: when test= "$ParamThu mbnail"> CR LF
2376         <xsl :value-of  select="$P aramSplits Frame/wwsp lits:Thumb nail/@path " /> CR LF   2419         <xsl :value-of  select="$P aramSplits Frame/wwsp lits:Thumb nail/@path " /> CR LF
2377        </xsl :when> CR LF   2420        </xsl :when> CR LF
2378   CR LF   2421   CR LF
2379        <xsl: otherwise> CR LF   2422        <xsl: otherwise> CR LF
2380         <xsl :value-of  select="$P aramSplits Frame/@pat h" /> CR LF   2423         <xsl :value-of  select="$P aramSplits Frame/@pat h" /> CR LF
2381        </xsl :otherwise > CR LF   2424        </xsl :otherwise > CR LF
2382       </xsl: choose> CR LF   2425       </xsl: choose> CR LF
2383      </xsl:v ariable> CR LF   2426      </xsl:v ariable> CR LF
2384   CR LF   2427   CR LF
2385      <!-- Ac cess image  info --> CR LF   2428      <!-- Ac cess image  info --> CR LF
2386      <!--                     --> CR LF   2429      <!--                     --> CR LF
2387      <xsl:va riable nam e="VarImag eInfo" sel ect="wwima ging:GetIn fo($VarIma gePath)" / > CR LF   2430      <xsl:va riable nam e="VarImag eInfo" sel ect="wwima ging:GetIn fo($VarIma gePath)" / > CR LF
2388   CR LF   2431   CR LF
2389      <!-- De termine ty pe --> CR LF   2432      <!-- De termine ty pe --> CR LF
2390      <!--                  --> CR LF   2433      <!--                  --> CR LF
2391      <xsl:va riable nam e="VarVect orImageAsT ext"> CR LF   2434      <xsl:va riable nam e="VarVect orImageAsT ext"> CR LF
2392       <xsl:c all-templa te name="I mages-Vect orImageFor mat"> CR LF   2435       <xsl:c all-templa te name="I mages-Vect orImageFor mat"> CR LF
2393        <xsl: with-param  name="Par amImageInf o" select= "$VarImage Info" /> CR LF   2436        <xsl: with-param  name="Par amImageInf o" select= "$VarImage Info" /> CR LF
2394       </xsl: call-templ ate> CR LF   2437       </xsl: call-templ ate> CR LF
2395      </xsl:v ariable> CR LF   2438      </xsl:v ariable> CR LF
2396      <xsl:va riable nam e="VarVect orImage" s elect="$Va rVectorIma geAsText =  string(tr ue())" /> CR LF   2439      <xsl:va riable nam e="VarVect orImage" s elect="$Va rVectorIma geAsText =  string(tr ue())" /> CR LF
2397      <xsl:va riable nam e="VarRast erImageAsT ext"> CR LF   2440      <xsl:va riable nam e="VarRast erImageAsT ext"> CR LF
2398       <xsl:c all-templa te name="I mages-Rast erImageFor mat"> CR LF   2441       <xsl:c all-templa te name="I mages-Rast erImageFor mat"> CR LF
2399        <xsl: with-param  name="Par amImageInf o" select= "$VarImage Info" /> CR LF   2442        <xsl: with-param  name="Par amImageInf o" select= "$VarImage Info" /> CR LF
2400       </xsl: call-templ ate> CR LF   2443       </xsl: call-templ ate> CR LF
2401      </xsl:v ariable> CR LF   2444      </xsl:v ariable> CR LF
2402      <xsl:va riable nam e="VarRast erImage" s elect="$Va rRasterIma geAsText =  string(tr ue())" /> CR LF   2445      <xsl:va riable nam e="VarRast erImage" s elect="$Va rRasterIma geAsText =  string(tr ue())" /> CR LF
2403   CR LF   2446   CR LF
2404      <!-- Em it image - -> CR LF   2447      <!-- Em it image - -> CR LF
2405      <!--             - -> CR LF   2448      <!--             - -> CR LF
2406      <xsl:ch oose> CR LF   2449      <xsl:ch oose> CR LF
2407       <!-- V ector Imag e --> CR LF   2450       <!-- V ector Imag e --> CR LF
2408       <!--                --> CR LF   2451       <!--                --> CR LF
2409       <xsl:w hen test=" $VarVector Image"> CR LF   2452       <xsl:w hen test=" $VarVector Image"> CR LF
2410        <xsl: call-templ ate name=" Frame-Mark up-Vector" > CR LF   2453        <xsl: call-templ ate name=" Frame-Mark up-Vector" > CR LF
2411         <xsl :with-para m name="Pa ramFrame"  select="$P aramFrame"  /> CR LF   2454         <xsl :with-para m name="Pa ramFrame"  select="$P aramFrame"  /> CR LF
2412         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   2455         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
2413         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF   2456         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF
2414         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   2457         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
2415         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   2458         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
2416         <xsl :with-para m name="Pa ramSplitsF rame" sele ct="$Param SplitsFram e" /> CR LF   2459         <xsl :with-para m name="Pa ramSplitsF rame" sele ct="$Param SplitsFram e" /> CR LF
2417         <xsl :with-para m name="Pa ramContext Rule" sele ct="$VarCo ntextRule"  /> CR LF   2460         <xsl :with-para m name="Pa ramContext Rule" sele ct="$VarCo ntextRule"  /> CR LF
2418         <xsl :with-para m name="Pa ramImageIn fo" select ="$VarImag eInfo" /> CR LF   2461         <xsl :with-para m name="Pa ramImageIn fo" select ="$VarImag eInfo" /> CR LF
2419         <xsl :with-para m name="Pa ramThumbna il" select ="$ParamTh umbnail" / > CR LF   2462         <xsl :with-para m name="Pa ramThumbna il" select ="$ParamTh umbnail" / > CR LF
2420        </xsl :call-temp late> CR LF   2463        </xsl :call-temp late> CR LF
2421       </xsl: when> CR LF   2464       </xsl: when> CR LF
2422   CR LF   2465   CR LF
2423       <!-- R aster Imag e --> CR LF   2466       <!-- R aster Imag e --> CR LF
2424       <!--                --> CR LF   2467       <!--                --> CR LF
2425       <xsl:w hen test=" $VarRaster Image"> CR LF   2468       <xsl:w hen test=" $VarRaster Image"> CR LF
2426        <xsl: call-templ ate name=" Frame-Mark up-Raster" > CR LF   2469        <xsl: call-templ ate name=" Frame-Mark up-Raster" > CR LF
2427         <xsl :with-para m name="Pa ramFrame"  select="$P aramFrame"  /> CR LF   2470         <xsl :with-para m name="Pa ramFrame"  select="$P aramFrame"  /> CR LF
2428         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   2471         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
2429         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF   2472         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF
2430         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   2473         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
2431         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   2474         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
2432         <xsl :with-para m name="Pa ramSplitsF rame" sele ct="$Param SplitsFram e" /> CR LF   2475         <xsl :with-para m name="Pa ramSplitsF rame" sele ct="$Param SplitsFram e" /> CR LF
2433         <xsl :with-para m name="Pa ramContext Rule" sele ct="$VarCo ntextRule"  /> CR LF   2476         <xsl :with-para m name="Pa ramContext Rule" sele ct="$VarCo ntextRule"  /> CR LF
2434         <xsl :with-para m name="Pa ramImageIn fo" select ="$VarImag eInfo" /> CR LF   2477         <xsl :with-para m name="Pa ramImageIn fo" select ="$VarImag eInfo" /> CR LF
2435         <xsl :with-para m name="Pa ramThumbna il" select ="$ParamTh umbnail" / > CR LF   2478         <xsl :with-para m name="Pa ramThumbna il" select ="$ParamTh umbnail" / > CR LF
2436        </xsl :call-temp late> CR LF   2479        </xsl :call-temp late> CR LF
2437       </xsl: when> CR LF   2480       </xsl: when> CR LF
2438      </xsl:c hoose> CR LF   2481      </xsl:c hoose> CR LF
2439     </xsl:if > CR LF   2482     </xsl:if > CR LF
2440    </xsl:tem plate> CR LF   2483    </xsl:tem plate> CR LF
2441   CR LF   2484   CR LF
2442   CR LF   2485   CR LF
2443    <xsl:temp late name= "Frame-Mar kup-Vector "> CR LF   2486    <xsl:temp late name= "Frame-Mar kup-Vector "> CR LF
2444     <xsl:par am name="P aramFrame"  /> CR LF   2487     <xsl:par am name="P aramFrame"  /> CR LF
2445     <xsl:par am name="P aramSplits " /> CR LF   2488     <xsl:par am name="P aramSplits " /> CR LF
2446     <xsl:par am name="P aramCargo"  /> CR LF   2489     <xsl:par am name="P aramCargo"  /> CR LF
2447     <xsl:par am name="P aramLinks"  /> CR LF   2490     <xsl:par am name="P aramLinks"  /> CR LF
2448     <xsl:par am name="P aramSplit"  /> CR LF   2491     <xsl:par am name="P aramSplit"  /> CR LF
2449     <xsl:par am name="P aramSplits Frame" /> CR LF   2492     <xsl:par am name="P aramSplits Frame" /> CR LF
2450     <xsl:par am name="P aramContex tRule" /> CR LF   2493     <xsl:par am name="P aramContex tRule" /> CR LF
2451     <xsl:par am name="P aramImageI nfo" /> CR LF   2494     <xsl:par am name="P aramImageI nfo" /> CR LF
2452     <xsl:par am name="P aramThumbn ail" /> CR LF   2495     <xsl:par am name="P aramThumbn ail" /> CR LF
2453   CR LF   2496   CR LF
2454     <xsl:cho ose> CR LF   2497     <xsl:cho ose> CR LF
2455      <!-- SV G --> CR LF   2498      <!-- SV G --> CR LF
2456      <!--      --> CR LF   2499      <!--      --> CR LF
2457      <xsl:wh en test="$ ParamImage Info/@form at = 'svg' "> CR LF   2500      <xsl:wh en test="$ ParamImage Info/@form at = 'svg' "> CR LF
2458       <xsl:c all-templa te name="F rame-Marku p-Vector-S VG"> CR LF   2501       <xsl:c all-templa te name="F rame-Marku p-Vector-S VG"> CR LF
2459        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF   2502        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF
2460        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF   2503        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF
2461        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF   2504        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF
2462        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF   2505        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF
2463        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   2506        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
2464        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF   2507        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF
2465        <xsl: with-param  name="Par amContextR ule" selec t="$ParamC ontextRule " /> CR LF   2508        <xsl: with-param  name="Par amContextR ule" selec t="$ParamC ontextRule " /> CR LF
2466        <xsl: with-param  name="Par amImageInf o" select= "$ParamIma geInfo" /> CR LF   2509        <xsl: with-param  name="Par amImageInf o" select= "$ParamIma geInfo" /> CR LF
2467        <xsl: with-param  name="Par amThumbnai l" select= "$ParamThu mbnail" /> CR LF   2510        <xsl: with-param  name="Par amThumbnai l" select= "$ParamThu mbnail" /> CR LF
2468       </xsl: call-templ ate> CR LF   2511       </xsl: call-templ ate> CR LF
2469      </xsl:w hen> CR LF   2512      </xsl:w hen> CR LF
2470     </xsl:ch oose> CR LF   2513     </xsl:ch oose> CR LF
2471    </xsl:tem plate> CR LF   2514    </xsl:tem plate> CR LF
2472   CR LF   2515   CR LF
2473   CR LF   2516   CR LF
2474    <xsl:temp late name= "Frame-Mar kup-Vector -SVG"> CR LF   2517    <xsl:temp late name= "Frame-Mar kup-Vector -SVG"> CR LF
2475     <xsl:par am name="P aramFrame"  /> CR LF   2518     <xsl:par am name="P aramFrame"  /> CR LF
2476     <xsl:par am name="P aramSplits " /> CR LF   2519     <xsl:par am name="P aramSplits " /> CR LF
2477     <xsl:par am name="P aramCargo"  /> CR LF   2520     <xsl:par am name="P aramCargo"  /> CR LF
2478     <xsl:par am name="P aramLinks"  /> CR LF   2521     <xsl:par am name="P aramLinks"  /> CR LF
2479     <xsl:par am name="P aramSplit"  /> CR LF   2522     <xsl:par am name="P aramSplit"  /> CR LF
2480     <xsl:par am name="P aramSplits Frame" /> CR LF   2523     <xsl:par am name="P aramSplits Frame" /> CR LF
2481     <xsl:par am name="P aramContex tRule" /> CR LF   2524     <xsl:par am name="P aramContex tRule" /> CR LF
2482     <xsl:par am name="P aramImageI nfo" /> CR LF   2525     <xsl:par am name="P aramImageI nfo" /> CR LF
2483     <xsl:par am name="P aramThumbn ail" /> CR LF   2526     <xsl:par am name="P aramThumbn ail" /> CR LF
2484   CR LF   2527   CR LF
2485     <!-- Acc ess frame  behavior - -> CR LF   2528     <!-- Acc ess frame  behavior - -> CR LF
2486     <!--                         - -> CR LF   2529     <!--                         - -> CR LF
2487     <xsl:for -each sele ct="$Param Cargo/wwbe haviors:Be haviors[1] "> CR LF   2530     <xsl:for -each sele ct="$Param Cargo/wwbe haviors:Be haviors[1] "> CR LF
2488      <xsl:va riable nam e="VarBeha viorFrame"  select="k ey('wwbeha viors-fram es-by-id',  $ParamFra me/@id)[1] " /> CR LF   2531      <xsl:va riable nam e="VarBeha viorFrame"  select="k ey('wwbeha viors-fram es-by-id',  $ParamFra me/@id)[1] " /> CR LF
2489   CR LF   2532   CR LF
2490      <!-- Re solve proj ect proper ties --> CR LF   2533      <!-- Re solve proj ect proper ties --> CR LF
2491      <!--                               --> CR LF   2534      <!--                               --> CR LF
2492      <xsl:va riable nam e="VarReso lvedProper tiesAsXML" > CR LF   2535      <xsl:va riable nam e="VarReso lvedProper tiesAsXML" > CR LF
2493       <xsl:c all-templa te name="P roperties- ResolveCon textRule"> CR LF   2536       <xsl:c all-templa te name="P roperties- ResolveCon textRule"> CR LF
2494        <xsl: with-param  name="Par amDocument Context" s elect="$Pa ramFrame"  /> CR LF   2537        <xsl: with-param  name="Par amDocument Context" s elect="$Pa ramFrame"  /> CR LF
2495        <xsl: with-param  name="Par amProperti es" select ="$ParamCo ntextRule/ wwproject: Properties /wwproject :Property"  /> CR LF   2538        <xsl: with-param  name="Par amProperti es" select ="$ParamCo ntextRule/ wwproject: Properties /wwproject :Property"  /> CR LF
2496        <xsl: with-param  name="Par amStyleNam e" select= "$ParamFra me/@stylen ame" /> CR LF   2539        <xsl: with-param  name="Par amStyleNam e" select= "$ParamFra me/@stylen ame" /> CR LF
2497        <xsl: with-param  name="Par amStyleTyp e" select= "'Graphic' " /> CR LF   2540        <xsl: with-param  name="Par amStyleTyp e" select= "'Graphic' " /> CR LF
2498        <xsl: with-param  name="Par amContextS tyle" sele ct="$Param Frame/wwdo c:Style" / > CR LF   2541        <xsl: with-param  name="Par amContextS tyle" sele ct="$Param Frame/wwdo c:Style" / > CR LF
2499       </xsl: call-templ ate> CR LF   2542       </xsl: call-templ ate> CR LF
2500      </xsl:v ariable> CR LF   2543      </xsl:v ariable> CR LF
2501      <xsl:va riable nam e="VarReso lvedProper ties" sele ct="msxsl: node-set($ VarResolve dPropertie sAsXML)/ww project:Pr operty" /> CR LF   2544      <xsl:va riable nam e="VarReso lvedProper ties" sele ct="msxsl: node-set($ VarResolve dPropertie sAsXML)/ww project:Pr operty" /> CR LF
2502   CR LF   2545   CR LF
2503      <!-- Wi dth/Height  --> CR LF   2546      <!-- Wi dth/Height  --> CR LF
2504      <!--                --> CR LF   2547      <!--                --> CR LF
2505      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on" select ="$ParamCo ntextRule/ wwproject: Options/ww project:Op tion[@Name  = 'by-ref erence-use -document- dimensions ']/@Value"  /> CR LF   2548      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on" select ="$ParamCo ntextRule/ wwproject: Options/ww project:Op tion[@Name  = 'by-ref erence-use -document- dimensions ']/@Value"  /> CR LF
2506      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsions" se lect="(str ing-length ($VarByRef erenceGrap hicsUseDoc umentDimen sionsOptio n) = 0) or  ($VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on = 'true ')" /> CR LF   2549      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsions" se lect="(str ing-length ($VarByRef erenceGrap hicsUseDoc umentDimen sionsOptio n) = 0) or  ($VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on = 'true ')" /> CR LF
2507      <xsl:va riable nam e="VarWidt h"> CR LF   2550      <xsl:va riable nam e="VarWidt h"> CR LF
2508       <xsl:c hoose> CR LF   2551       <xsl:c hoose> CR LF
2509        <xsl: when test= "$ParamThu mbnail"> CR LF   2552        <xsl: when test= "$ParamThu mbnail"> CR LF
2510         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF   2553         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF
2511        </xsl :when> CR LF   2554        </xsl :when> CR LF
2512   CR LF   2555   CR LF
2513        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF   2556        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF
2514         <xsl :choose> CR LF   2557         <xsl :choose> CR LF
2515          <xs l:when tes t="($VarBy ReferenceG raphicsUse DocumentDi mensions)  or (number ($ParamIma geInfo/@wi dth) = 0)" > CR LF   2558          <xs l:when tes t="($VarBy ReferenceG raphicsUse DocumentDi mensions)  or (number ($ParamIma geInfo/@wi dth) = 0)" > CR LF
2516           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF   2559           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF
2517   CR LF   2560   CR LF
2518           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' width']/@v alue), 'pt ', 'px'))"  /> CR LF   2561           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' width']/@v alue), 'pt ', 'px'))"  /> CR LF
2519          </x sl:when> CR LF   2562          </x sl:when> CR LF
2520   CR LF   2563   CR LF
2521          <xs l:otherwis e> CR LF   2564          <xs l:otherwis e> CR LF
2522           <x sl:value-o f select=" number($Pa ramImageIn fo/@width) " /> CR LF   2565           <x sl:value-o f select=" number($Pa ramImageIn fo/@width) " /> CR LF
2523          </x sl:otherwi se> CR LF   2566          </x sl:otherwi se> CR LF
2524         </xs l:choose> CR LF   2567         </xs l:choose> CR LF
2525        </xsl :when> CR LF   2568        </xsl :when> CR LF
2526   CR LF   2569   CR LF
2527        <xsl: otherwise> CR LF   2570        <xsl: otherwise> CR LF
2528         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF   2571         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF
2529        </xsl :otherwise > CR LF   2572        </xsl :otherwise > CR LF
2530       </xsl: choose> CR LF   2573       </xsl: choose> CR LF
2531      </xsl:v ariable> CR LF   2574      </xsl:v ariable> CR LF
2532      <xsl:va riable nam e="VarHeig ht"> CR LF   2575      <xsl:va riable nam e="VarHeig ht"> CR LF
2533       <xsl:c hoose> CR LF   2576       <xsl:c hoose> CR LF
2534        <xsl: when test= "$ParamThu mbnail"> CR LF   2577        <xsl: when test= "$ParamThu mbnail"> CR LF
2535         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF   2578         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF
2536        </xsl :when> CR LF   2579        </xsl :when> CR LF
2537   CR LF   2580   CR LF
2538        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF   2581        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF
2539         <xsl :choose> CR LF   2582         <xsl :choose> CR LF
2540          <xs l:when tes t="($VarBy ReferenceG raphicsUse DocumentDi mensions)  or (number ($ParamIma geInfo/@he ight) = 0) "> CR LF   2583          <xs l:when tes t="($VarBy ReferenceG raphicsUse DocumentDi mensions)  or (number ($ParamIma geInfo/@he ight) = 0) "> CR LF
2541           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF   2584           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF
2542   CR LF   2585   CR LF
2543           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' height']/@ value), 'p t', 'px')) " /> CR LF   2586           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' height']/@ value), 'p t', 'px')) " /> CR LF
2544          </x sl:when> CR LF   2587          </x sl:when> CR LF
2545   CR LF   2588   CR LF
2546          <xs l:otherwis e> CR LF   2589          <xs l:otherwis e> CR LF
2547           <x sl:value-o f select=" number($Pa ramImageIn fo/@height )" /> CR LF   2590           <x sl:value-o f select=" number($Pa ramImageIn fo/@height )" /> CR LF
2548          </x sl:otherwi se> CR LF   2591          </x sl:otherwi se> CR LF
2549         </xs l:choose> CR LF   2592         </xs l:choose> CR LF
2550        </xsl :when> CR LF   2593        </xsl :when> CR LF
2551   CR LF   2594   CR LF
2552        <xsl: otherwise> CR LF   2595        <xsl: otherwise> CR LF
2553         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF   2596         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF
2554        </xsl :otherwise > CR LF   2597        </xsl :otherwise > CR LF
2555       </xsl: choose> CR LF   2598       </xsl: choose> CR LF
2556      </xsl:v ariable> CR LF   2599      </xsl:v ariable> CR LF
2557   CR LF   2600   CR LF
2558      <!-- Sr c --> CR LF   2601      <!-- Sr c --> CR LF
2559      <!--      --> CR LF   2602      <!--      --> CR LF
2560      <xsl:va riable nam e="VarSrc" > CR LF   2603      <xsl:va riable nam e="VarSrc" > CR LF
2561       <xsl:t ext>../</x sl:text> CR LF   2604       <xsl:t ext>../</x sl:text> CR LF
2562       <xsl:v alue-of se lect="wwur i:GetRelat iveTo($Par amImageInf o/@path, $ ParamSplit /@path)" / > CR LF   2605       <xsl:v alue-of se lect="wwur i:GetRelat iveTo($Par amImageInf o/@path, $ ParamSplit /@path)" / > CR LF
2563      </xsl:v ariable> CR LF   2606      </xsl:v ariable> CR LF
2564   CR LF   2607   CR LF
2565      <!-- Cl ass --> CR LF   2608      <!-- Cl ass --> CR LF
2566      <!--        --> CR LF   2609      <!--        --> CR LF
2567      <xsl:va riable nam e="VarClas s"> CR LF   2610      <xsl:va riable nam e="VarClas s"> CR LF
2568       <!-- A dditional  CSS classe s --> CR LF   2611       <!-- A dditional  CSS classe s --> CR LF
2569       <!--                           --> CR LF   2612       <!--                           --> CR LF
2570       <xsl:v ariable na me="VarAdd itionalCSS ClassesOpt ion" selec t="normali ze-space($ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'additiona l-css-clas ses']/@Val ue)" /> CR LF   2613       <xsl:v ariable na me="VarAdd itionalCSS ClassesOpt ion" selec t="normali ze-space($ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'additiona l-css-clas ses']/@Val ue)" /> CR LF
2571      </xsl:v ariable> CR LF   2614      </xsl:v ariable> CR LF
2572   CR LF   2615   CR LF
2573      <!-- Al t Text --> CR LF   2616      <!-- Al t Text --> CR LF
2574      <!--           --> CR LF   2617      <!--           --> CR LF
2575      <xsl:va riable nam e="VarAltT ext"> CR LF   2618      <xsl:va riable nam e="VarAltT ext"> CR LF
2576       <xsl:c all-templa te name="I mages-AltT ext"> CR LF   2619       <xsl:c all-templa te name="I mages-AltT ext"> CR LF
2577        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF   2620        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF
2578        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF   2621        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF
2579       </xsl: call-templ ate> CR LF   2622       </xsl: call-templ ate> CR LF
2580      </xsl:v ariable> CR LF   2623      </xsl:v ariable> CR LF
2581   CR LF   2624   CR LF
2582      <!-- Lo ng Descrip tion --> CR LF   2625      <!-- Lo ng Descrip tion --> CR LF
2583      <!--                    --> CR LF   2626      <!--                    --> CR LF
2584      <xsl:va riable nam e="VarLong Descriptio n"> CR LF   2627      <xsl:va riable nam e="VarLong Descriptio n"> CR LF
2585       <xsl:c all-templa te name="I mages-Long Descriptio n"> CR LF   2628       <xsl:c all-templa te name="I mages-Long Descriptio n"> CR LF
2586        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF   2629        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF
2587        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF   2630        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF
2588       </xsl: call-templ ate> CR LF   2631       </xsl: call-templ ate> CR LF
2589      </xsl:v ariable> CR LF   2632      </xsl:v ariable> CR LF
2590   CR LF   2633   CR LF
2591      <!-- Be gin EmbedO bject  --> CR LF   2634      <!-- Be gin EmbedO bject  --> CR LF
2592      <!--                      --> CR LF   2635      <!--                      --> CR LF
2593      <wwexsl doc:Text d isable-out put-escapi ng="yes"> CR LF   2636      <wwexsl doc:Text d isable-out put-escapi ng="yes"> CR LF
2594       <xsl:t ext>&lt;&l t;EmbedObj ect(</xsl: text> CR LF   2637       <xsl:t ext>&lt;&l t;EmbedObj ect(</xsl: text> CR LF
2595   CR LF   2638   CR LF
2596       <!-- S VG image - -> CR LF   2639       <!-- S VG image - -> CR LF
2597       <!--            - -> CR LF   2640       <!--            - -> CR LF
2598       <xsl:v alue-of se lect="$Var Src" /> CR LF   2641       <xsl:v alue-of se lect="$Var Src" /> CR LF
2599   CR LF   2642   CR LF
2600       <!-- T ype attrib ute --> CR LF   2643       <!-- T ype attrib ute --> CR LF
2601       <!--                  --> CR LF   2644       <!--                  --> CR LF
2602       <xsl:t ext>, type ="image/sv g+xml"</xs l:text> CR LF   2645       <xsl:t ext>, type ="image/sv g+xml"</xs l:text> CR LF
2603   CR LF   2646   CR LF
2604       <!-- C lass attri bute --> CR LF   2647       <!-- C lass attri bute --> CR LF
2605       <!--                   --> CR LF   2648       <!--                   --> CR LF
2606       <xsl:i f test="st ring-lengt h($VarClas s) &gt; 0" > CR LF   2649       <xsl:i f test="st ring-lengt h($VarClas s) &gt; 0" > CR LF
2607        <xsl: text>, cla ss="</xsl: text> CR LF   2650        <xsl: text>, cla ss="</xsl: text> CR LF
2608        <xsl: value-of s elect="$Va rClass" /> CR LF   2651        <xsl: value-of s elect="$Va rClass" /> CR LF
2609        <xsl: text>"</xs l:text> CR LF   2652        <xsl: text>"</xs l:text> CR LF
2610       </xsl: if> CR LF   2653       </xsl: if> CR LF
2611   CR LF   2654   CR LF
2612       <!-- W idth attri bute --> CR LF   2655       <!-- W idth attri bute --> CR LF
2613       <!--                   --> CR LF   2656       <!--                   --> CR LF
2614       <xsl:i f test="$V arWidth &g t; 0"> CR LF   2657       <xsl:i f test="$V arWidth &g t; 0"> CR LF
2615        <xsl: text>, wid th="</xsl: text> CR LF   2658        <xsl: text>, wid th="</xsl: text> CR LF
2616        <xsl: value-of s elect="$Va rWidth"/> CR LF   2659        <xsl: value-of s elect="$Va rWidth"/> CR LF
2617        <xsl: text>"</xs l:text> CR LF   2660        <xsl: text>"</xs l:text> CR LF
2618       </xsl: if> CR LF   2661       </xsl: if> CR LF
2619   CR LF   2662   CR LF
2620       <!-- H eight attr ibute --> CR LF   2663       <!-- H eight attr ibute --> CR LF
2621       <!--                    --> CR LF   2664       <!--                    --> CR LF
2622       <xsl:i f test="$V arHeight & gt; 0"> CR LF   2665       <xsl:i f test="$V arHeight & gt; 0"> CR LF
2623        <xsl: text>, hei ght="</xsl :text> CR LF   2666        <xsl: text>, hei ght="</xsl :text> CR LF
2624        <xsl: value-of s elect="$Va rHeight"/> CR LF   2667        <xsl: value-of s elect="$Va rHeight"/> CR LF
2625        <xsl: text>"</xs l:text> CR LF   2668        <xsl: text>"</xs l:text> CR LF
2626       </xsl: if> CR LF   2669       </xsl: if> CR LF
2627   CR LF   2670   CR LF
2628       <!-- T itle attri bute --> CR LF   2671       <!-- T itle attri bute --> CR LF
2629       <!--                   --> CR LF   2672       <!--                   --> CR LF
2630       <xsl:c hoose> CR LF   2673       <xsl:c hoose> CR LF
2631        <xsl: when test= "string-le ngth($VarA ltText) &g t; 0"> CR LF   2674        <xsl: when test= "string-le ngth($VarA ltText) &g t; 0"> CR LF
2632         <xsl :text>, ti tle="</xsl :text> CR LF   2675         <xsl :text>, ti tle="</xsl :text> CR LF
2633         <xsl :value-of  select="$V arAltText"  /> CR LF   2676         <xsl :value-of  select="$V arAltText"  /> CR LF
2634         <xsl :text>"</x sl:text> CR LF   2677         <xsl :text>"</x sl:text> CR LF
2635        </xsl :when> CR LF   2678        </xsl :when> CR LF
2636   CR LF   2679   CR LF
2637        <xsl: when test= "string-le ngth($Para mSplitsFra me/@title)  &gt; 0"> CR LF   2680        <xsl: when test= "string-le ngth($Para mSplitsFra me/@title)  &gt; 0"> CR LF
2638         <xsl :text>, ti tle="</xsl :text> CR LF   2681         <xsl :text>, ti tle="</xsl :text> CR LF
2639         <xsl :value-of  select="$P aramSplits Frame/@tit le" /> CR LF   2682         <xsl :value-of  select="$P aramSplits Frame/@tit le" /> CR LF
2640         <xsl :text>"</x sl:text> CR LF   2683         <xsl :text>"</x sl:text> CR LF
2641        </xsl :when> CR LF   2684        </xsl :when> CR LF
2642       </xsl: choose> CR LF   2685       </xsl: choose> CR LF
2643   CR LF   2686   CR LF
2644       <!-- E nd EmbedOb ject --> CR LF   2687       <!-- E nd EmbedOb ject --> CR LF
2645       <!--                   --> CR LF   2688       <!--                   --> CR LF
2646       <xsl:t ext>)&gt;& gt;</xsl:t ext> CR LF   2689       <xsl:t ext>)&gt;& gt;</xsl:t ext> CR LF
2647      </wwexs ldoc:Text> CR LF   2690      </wwexs ldoc:Text> CR LF
2648   CR LF   2691   CR LF
2649      <!-- Ge nerate D L inks --> CR LF   2692      <!-- Ge nerate D L inks --> CR LF
2650      <!--                    --> CR LF   2693      <!--                    --> CR LF
2651      <xsl:va riable nam e="VarGene rateDLinks " select=" wwprojext: GetFormatS etting('ac cessibilit y-image-d- links', 'f alse')" /> CR LF   2694      <xsl:va riable nam e="VarGene rateDLinks " select=" wwprojext: GetFormatS etting('ac cessibilit y-image-d- links', 'f alse')" /> CR LF
2652      <xsl:if  test="$Va rGenerateD Links = 't rue'"> CR LF   2695      <xsl:if  test="$Va rGenerateD Links = 't rue'"> CR LF
2653       <xsl:i f test="st ring-lengt h($VarLong Descriptio n) &gt; 0" > CR LF   2696       <xsl:i f test="st ring-lengt h($VarLong Descriptio n) &gt; 0" > CR LF
2654        <xsl: variable n ame="VarLo ngDescript ionTitle"  select="ww string:For mat($Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'DL inkDescrip tion']/@va lue, wwfil esystem:Ge tFileName( $ParamSpli tsFrame/@p ath))" /> CR LF   2697        <xsl: variable n ame="VarLo ngDescript ionTitle"  select="ww string:For mat($Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'DL inkDescrip tion']/@va lue, wwfil esystem:Ge tFileName( $ParamSpli tsFrame/@p ath))" /> CR LF
2655   CR LF   2698   CR LF
2656        <wwex sldoc:Text  disable-o utput-esca ping="yes" > CR LF   2699        <wwex sldoc:Text  disable-o utput-esca ping="yes" > CR LF
2657         <xsl :text> </x sl:text> CR LF   2700         <xsl :text> </x sl:text> CR LF
2658         <xsl :text>[</x sl:text> CR LF   2701         <xsl :text>[</x sl:text> CR LF
2659         <xsl :text>[[</ xsl:text> CR LF   2702         <xsl :text>[[</ xsl:text> CR LF
2660         <xsl :call-temp late name= "MoinMoin- EscapeLink "> CR LF   2703         <xsl :call-temp late name= "MoinMoin- EscapeLink "> CR LF
2661          <xs l:with-par am name="P aramLink"  select="$V arLongDesc ription" / > CR LF   2704          <xs l:with-par am name="P aramLink"  select="$V arLongDesc ription" / > CR LF
2662         </xs l:call-tem plate> CR LF   2705         </xs l:call-tem plate> CR LF
2663         <xsl :text>|</x sl:text> CR LF   2706         <xsl :text>|</x sl:text> CR LF
2664         <xsl :text>D</x sl:text> CR LF   2707         <xsl :text>D</x sl:text> CR LF
2665         <xsl :text>|</x sl:text> CR LF   2708         <xsl :text>|</x sl:text> CR LF
2666         <xsl :text>titl e="</xsl:t ext> CR LF   2709         <xsl :text>titl e="</xsl:t ext> CR LF
2667         <xsl :value-of  select="$V arLongDesc riptionTit le" /> CR LF   2710         <xsl :value-of  select="$V arLongDesc riptionTit le" /> CR LF
2668         <xsl :text>"</x sl:text> CR LF   2711         <xsl :text>"</x sl:text> CR LF
2669         <xsl :text>]]</ xsl:text> CR LF   2712         <xsl :text>]]</ xsl:text> CR LF
2670         <xsl :text>]</x sl:text> CR LF   2713         <xsl :text>]</x sl:text> CR LF
2671        </wwe xsldoc:Tex t> CR LF   2714        </wwe xsldoc:Tex t> CR LF
2672       </xsl: if> CR LF   2715       </xsl: if> CR LF
2673      </xsl:i f> CR LF   2716      </xsl:i f> CR LF
2674   CR LF   2717   CR LF
2675      <!-- No tes --> CR LF   2718      <!-- No tes --> CR LF
2676      <!--        --> CR LF   2719      <!--        --> CR LF
2677      <xsl:ch oose> CR LF   2720      <xsl:ch oose> CR LF
2678       <!-- T humbnail - -> CR LF   2721       <!-- T humbnail - -> CR LF
2679       <!--            - -> CR LF   2722       <!--            - -> CR LF
2680       <xsl:w hen test=" $ParamThum bnail"> CR LF   2723       <xsl:w hen test=" $ParamThum bnail"> CR LF
2681        <!--  Nothing to  do --> CR LF   2724        <!--  Nothing to  do --> CR LF
2682        <!--                 --> CR LF   2725        <!--                 --> CR LF
2683       </xsl: when> CR LF   2726       </xsl: when> CR LF
2684   CR LF   2727   CR LF
2685       <!-- F ullsize -- > CR LF   2728       <!-- F ullsize -- > CR LF
2686       <!--           -- > CR LF   2729       <!--           -- > CR LF
2687       <xsl:o therwise> CR LF   2730       <xsl:o therwise> CR LF
2688        <!--  Frame Foot notes --> CR LF   2731        <!--  Frame Foot notes --> CR LF
2689        <!--                   --> CR LF   2732        <!--                   --> CR LF
2690        <xsl: variable n ame="VarNo tes" selec t="$ParamF rame//wwdo c:Note" /> CR LF   2733        <xsl: variable n ame="VarNo tes" selec t="$ParamF rame//wwdo c:Note" /> CR LF
2691        <xsl: call-templ ate name=" Content-No tes"> CR LF   2734        <xsl: call-templ ate name=" Content-No tes"> CR LF
2692         <xsl :with-para m name="Pa ramNotes"  select="$V arNotes" / > CR LF   2735         <xsl :with-para m name="Pa ramNotes"  select="$V arNotes" / > CR LF
2693         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   2736         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
2694         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF   2737         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF
2695         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   2738         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
2696         <xsl :with-para m name="Pa ramTOCData " select=" ''" /> CR LF   2739         <xsl :with-para m name="Pa ramTOCData " select=" ''" /> CR LF
2697         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   2740         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
2698        </xsl :call-temp late> CR LF   2741        </xsl :call-temp late> CR LF
2699       </xsl: otherwise> CR LF   2742       </xsl: otherwise> CR LF
2700      </xsl:c hoose> CR LF   2743      </xsl:c hoose> CR LF
2701     </xsl:fo r-each> CR LF   2744     </xsl:fo r-each> CR LF
2702    </xsl:tem plate> CR LF   2745    </xsl:tem plate> CR LF
2703   CR LF   2746   CR LF
2704   CR LF   2747   CR LF
2705    <xsl:temp late name= "Frame-Mar kup-Raster "> CR LF   2748    <xsl:temp late name= "Frame-Mar kup-Raster "> CR LF
2706     <xsl:par am name="P aramFrame"  /> CR LF   2749     <xsl:par am name="P aramFrame"  /> CR LF
2707     <xsl:par am name="P aramSplits " /> CR LF   2750     <xsl:par am name="P aramSplits " /> CR LF
2708     <xsl:par am name="P aramCargo"  /> CR LF   2751     <xsl:par am name="P aramCargo"  /> CR LF
2709     <xsl:par am name="P aramLinks"  /> CR LF   2752     <xsl:par am name="P aramLinks"  /> CR LF
2710     <xsl:par am name="P aramSplit"  /> CR LF   2753     <xsl:par am name="P aramSplit"  /> CR LF
2711     <xsl:par am name="P aramSplits Frame" /> CR LF   2754     <xsl:par am name="P aramSplits Frame" /> CR LF
2712     <xsl:par am name="P aramContex tRule" /> CR LF   2755     <xsl:par am name="P aramContex tRule" /> CR LF
2713     <xsl:par am name="P aramImageI nfo" /> CR LF   2756     <xsl:par am name="P aramImageI nfo" /> CR LF
2714     <xsl:par am name="P aramThumbn ail" /> CR LF   2757     <xsl:par am name="P aramThumbn ail" /> CR LF
2715   CR LF   2758   CR LF
2716     <!-- Acc ess frame  behavior - -> CR LF   2759     <!-- Acc ess frame  behavior - -> CR LF
2717     <!--                         - -> CR LF   2760     <!--                         - -> CR LF
2718     <xsl:for -each sele ct="$Param Cargo/wwbe haviors:Be haviors[1] "> CR LF   2761     <xsl:for -each sele ct="$Param Cargo/wwbe haviors:Be haviors[1] "> CR LF
2719      <xsl:va riable nam e="VarBeha viorFrame"  select="k ey('wwbeha viors-fram es-by-id',  $ParamFra me/@id)[1] " /> CR LF   2762      <xsl:va riable nam e="VarBeha viorFrame"  select="k ey('wwbeha viors-fram es-by-id',  $ParamFra me/@id)[1] " /> CR LF
2720   CR LF   2763   CR LF
2721      <!-- Re solve proj ect proper ties --> CR LF   2764      <!-- Re solve proj ect proper ties --> CR LF
2722      <!--                               --> CR LF   2765      <!--                               --> CR LF
2723      <xsl:va riable nam e="VarReso lvedProper tiesAsXML" > CR LF   2766      <xsl:va riable nam e="VarReso lvedProper tiesAsXML" > CR LF
2724       <xsl:c all-templa te name="P roperties- ResolveCon textRule"> CR LF   2767       <xsl:c all-templa te name="P roperties- ResolveCon textRule"> CR LF
2725        <xsl: with-param  name="Par amDocument Context" s elect="$Pa ramFrame"  /> CR LF   2768        <xsl: with-param  name="Par amDocument Context" s elect="$Pa ramFrame"  /> CR LF
2726        <xsl: with-param  name="Par amProperti es" select ="$ParamCo ntextRule/ wwproject: Properties /wwproject :Property"  /> CR LF   2769        <xsl: with-param  name="Par amProperti es" select ="$ParamCo ntextRule/ wwproject: Properties /wwproject :Property"  /> CR LF
2727        <xsl: with-param  name="Par amStyleNam e" select= "$ParamFra me/@stylen ame" /> CR LF   2770        <xsl: with-param  name="Par amStyleNam e" select= "$ParamFra me/@stylen ame" /> CR LF
2728        <xsl: with-param  name="Par amStyleTyp e" select= "'Graphic' " /> CR LF   2771        <xsl: with-param  name="Par amStyleTyp e" select= "'Graphic' " /> CR LF
2729        <xsl: with-param  name="Par amContextS tyle" sele ct="$Param Frame/wwdo c:Style" / > CR LF   2772        <xsl: with-param  name="Par amContextS tyle" sele ct="$Param Frame/wwdo c:Style" / > CR LF
2730       </xsl: call-templ ate> CR LF   2773       </xsl: call-templ ate> CR LF
2731      </xsl:v ariable> CR LF   2774      </xsl:v ariable> CR LF
2732      <xsl:va riable nam e="VarReso lvedProper ties" sele ct="msxsl: node-set($ VarResolve dPropertie sAsXML)/ww project:Pr operty" /> CR LF   2775      <xsl:va riable nam e="VarReso lvedProper ties" sele ct="msxsl: node-set($ VarResolve dPropertie sAsXML)/ww project:Pr operty" /> CR LF
2733   CR LF   2776   CR LF
2734      <!-- Cl ass --> CR LF   2777      <!-- Cl ass --> CR LF
2735      <!--        --> CR LF   2778      <!--        --> CR LF
2736      <xsl:va riable nam e="VarClas s"> CR LF   2779      <xsl:va riable nam e="VarClas s"> CR LF
2737       <!-- A dditional  CSS classe s --> CR LF   2780       <!-- A dditional  CSS classe s --> CR LF
2738       <!--                           --> CR LF   2781       <!--                           --> CR LF
2739       <xsl:v ariable na me="VarAdd itionalCSS ClassesOpt ion" selec t="normali ze-space($ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'additiona l-css-clas ses']/@Val ue)" /> CR LF   2782       <xsl:v ariable na me="VarAdd itionalCSS ClassesOpt ion" selec t="normali ze-space($ ParamConte xtRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name =  'additiona l-css-clas ses']/@Val ue)" /> CR LF
2740      </xsl:v ariable> CR LF   2783      </xsl:v ariable> CR LF
2741   CR LF   2784   CR LF
2742      <!-- Wi dth/Height  --> CR LF   2785      <!-- Wi dth/Height  --> CR LF
2743      <!--                --> CR LF   2786      <!--                --> CR LF
2744      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on" select ="$ParamCo ntextRule/ wwproject: Options/ww project:Op tion[@Name  = 'by-ref erence-use -document- dimensions ']/@Value"  /> CR LF   2787      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on" select ="$ParamCo ntextRule/ wwproject: Options/ww project:Op tion[@Name  = 'by-ref erence-use -document- dimensions ']/@Value"  /> CR LF
2745      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsions" se lect="(str ing-length ($VarByRef erenceGrap hicsUseDoc umentDimen sionsOptio n) = 0) or  ($VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on = 'true ')" /> CR LF   2788      <xsl:va riable nam e="VarByRe ferenceGra phicsUseDo cumentDime nsions" se lect="(str ing-length ($VarByRef erenceGrap hicsUseDoc umentDimen sionsOptio n) = 0) or  ($VarByRe ferenceGra phicsUseDo cumentDime nsionsOpti on = 'true ')" /> CR LF
2746      <xsl:va riable nam e="VarWidt h"> CR LF   2789      <xsl:va riable nam e="VarWidt h"> CR LF
2747       <xsl:c hoose> CR LF   2790       <xsl:c hoose> CR LF
2748        <xsl: when test= "$ParamThu mbnail"> CR LF   2791        <xsl: when test= "$ParamThu mbnail"> CR LF
2749         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF   2792         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF
2750        </xsl :when> CR LF   2793        </xsl :when> CR LF
2751   CR LF   2794   CR LF
2752        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF   2795        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF
2753         <xsl :choose> CR LF   2796         <xsl :choose> CR LF
2754          <xs l:when tes t="$VarByR eferenceGr aphicsUseD ocumentDim ensions"> CR LF   2797          <xs l:when tes t="$VarByR eferenceGr aphicsUseD ocumentDim ensions"> CR LF
2755           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF   2798           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF
2756   CR LF   2799   CR LF
2757           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' width']/@v alue), 'pt ', 'px'))"  /> CR LF   2800           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' width']/@v alue), 'pt ', 'px'))"  /> CR LF
2758          </x sl:when> CR LF   2801          </x sl:when> CR LF
2759   CR LF   2802   CR LF
2760          <xs l:otherwis e> CR LF   2803          <xs l:otherwis e> CR LF
2761           <x sl:value-o f select=" number($Pa ramImageIn fo/@width) " /> CR LF   2804           <x sl:value-o f select=" number($Pa ramImageIn fo/@width) " /> CR LF
2762          </x sl:otherwi se> CR LF   2805          </x sl:otherwi se> CR LF
2763         </xs l:choose> CR LF   2806         </xs l:choose> CR LF
2764        </xsl :when> CR LF   2807        </xsl :when> CR LF
2765   CR LF   2808   CR LF
2766        <xsl: otherwise> CR LF   2809        <xsl: otherwise> CR LF
2767         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF   2810         <xsl :value-of  select="nu mber($Para mImageInfo /@width)"  /> CR LF
2768        </xsl :otherwise > CR LF   2811        </xsl :otherwise > CR LF
2769       </xsl: choose> CR LF   2812       </xsl: choose> CR LF
2770      </xsl:v ariable> CR LF   2813      </xsl:v ariable> CR LF
2771      <xsl:va riable nam e="VarHeig ht"> CR LF   2814      <xsl:va riable nam e="VarHeig ht"> CR LF
2772       <xsl:c hoose> CR LF   2815       <xsl:c hoose> CR LF
2773        <xsl: when test= "$ParamThu mbnail"> CR LF   2816        <xsl: when test= "$ParamThu mbnail"> CR LF
2774         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF   2817         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF
2775        </xsl :when> CR LF   2818        </xsl :when> CR LF
2776   CR LF   2819   CR LF
2777        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF   2820        <xsl: when test= "$ParamSpl itsFrame/@ byref = 't rue'"> CR LF
2778         <xsl :choose> CR LF   2821         <xsl :choose> CR LF
2779          <xs l:when tes t="$VarByR eferenceGr aphicsUseD ocumentDim ensions"> CR LF   2822          <xs l:when tes t="$VarByR eferenceGr aphicsUseD ocumentDim ensions"> CR LF
2780           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF   2823           <x sl:variabl e name="Va rByReferen ceFrame" s elect="$Pa ramFrame// wwdoc:Face t[@type =  'by-refere nce'][1]/. ./.." /> CR LF
2781   CR LF   2824   CR LF
2782           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' height']/@ value), 'p t', 'px')) " /> CR LF   2825           <x sl:value-o f select=" floor(wwun its:Conver t(wwunits: NumericPre fix($VarBy ReferenceF rame/wwdoc :Attribute [@name = ' height']/@ value), 'p t', 'px')) " /> CR LF
2783          </x sl:when> CR LF   2826          </x sl:when> CR LF
2784   CR LF   2827   CR LF
2785          <xs l:otherwis e> CR LF   2828          <xs l:otherwis e> CR LF
2786           <x sl:value-o f select=" number($Pa ramImageIn fo/@height )" /> CR LF   2829           <x sl:value-o f select=" number($Pa ramImageIn fo/@height )" /> CR LF
2787          </x sl:otherwi se> CR LF   2830          </x sl:otherwi se> CR LF
2788         </xs l:choose> CR LF   2831         </xs l:choose> CR LF
2789        </xsl :when> CR LF   2832        </xsl :when> CR LF
2790   CR LF   2833   CR LF
2791        <xsl: otherwise> CR LF   2834        <xsl: otherwise> CR LF
2792         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF   2835         <xsl :value-of  select="nu mber($Para mImageInfo /@height)"  /> CR LF
2793        </xsl :otherwise > CR LF   2836        </xsl :otherwise > CR LF
2794       </xsl: choose> CR LF   2837       </xsl: choose> CR LF
2795      </xsl:v ariable> CR LF   2838      </xsl:v ariable> CR LF
2796   CR LF   2839   CR LF
2797      <!-- Sr c --> CR LF   2840      <!-- Sr c --> CR LF
2798      <!--      --> CR LF   2841      <!--      --> CR LF
2799      <xsl:va riable nam e="VarSrc" > CR LF   2842      <xsl:va riable nam e="VarSrc" > CR LF
2800       <xsl:t ext>attach ment:../</ xsl:text> CR LF   2843       <xsl:t ext>attach ment:../</ xsl:text> CR LF
2801       <xsl:v alue-of se lect="wwur i:GetRelat iveTo($Par amImageInf o/@path, $ ParamSplit /@path)" / > CR LF   2844       <xsl:v alue-of se lect="wwur i:GetRelat iveTo($Par amImageInf o/@path, $ ParamSplit /@path)" / > CR LF
2802      </xsl:v ariable> CR LF   2845      </xsl:v ariable> CR LF
2803   CR LF   2846   CR LF
2804      <!-- Al ign --> CR LF   2847      <!-- Al ign --> CR LF
2805      <!--        --> CR LF   2848      <!--        --> CR LF
2806      <xsl:va riable nam e="VarAlig n"> CR LF   2849      <xsl:va riable nam e="VarAlig n"> CR LF
2807       <xsl:v ariable na me="VarInW rapperPage " select=" count($Par amCargo/ww behaviors: WrapperPag e) &gt; 0"  /> CR LF   2850       <xsl:v ariable na me="VarInW rapperPage " select=" count($Par amCargo/ww behaviors: WrapperPag e) &gt; 0"  /> CR LF
2808       <xsl:i f test="no t($VarInWr apperPage) "> CR LF   2851       <xsl:i f test="no t($VarInWr apperPage) "> CR LF
2809        <xsl: variable n ame="VarFl oatPropert y" select= "$VarResol vedPropert ies[@Name  = 'float'] /@Value" / > CR LF   2852        <xsl: variable n ame="VarFl oatPropert y" select= "$VarResol vedPropert ies[@Name  = 'float'] /@Value" / > CR LF
2810   CR LF   2853   CR LF
2811        <xsl: if test="$ VarFloatPr operty !=  'none'"> CR LF   2854        <xsl: if test="$ VarFloatPr operty !=  'none'"> CR LF
2812         <xsl :value-of  select="$V arFloatPro perty" /> CR LF   2855         <xsl :value-of  select="$V arFloatPro perty" /> CR LF
2813        </xsl :if> CR LF   2856        </xsl :if> CR LF
2814       </xsl: if> CR LF   2857       </xsl: if> CR LF
2815      </xsl:v ariable> CR LF   2858      </xsl:v ariable> CR LF
2816   CR LF   2859   CR LF
2817      <!-- Al t Text --> CR LF   2860      <!-- Al t Text --> CR LF
2818      <!--           --> CR LF   2861      <!--           --> CR LF
2819      <xsl:va riable nam e="VarAltT ext"> CR LF   2862      <xsl:va riable nam e="VarAltT ext"> CR LF
2820       <xsl:c all-templa te name="I mages-AltT ext"> CR LF   2863       <xsl:c all-templa te name="I mages-AltT ext"> CR LF
2821        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF   2864        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF
2822        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF   2865        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF
2823       </xsl: call-templ ate> CR LF   2866       </xsl: call-templ ate> CR LF
2824      </xsl:v ariable> CR LF   2867      </xsl:v ariable> CR LF
2825   CR LF   2868   CR LF
2826      <!-- Lo ng Descrip tion --> CR LF   2869      <!-- Lo ng Descrip tion --> CR LF
2827      <!--                    --> CR LF   2870      <!--                    --> CR LF
2828      <xsl:va riable nam e="VarLong Descriptio n"> CR LF   2871      <xsl:va riable nam e="VarLong Descriptio n"> CR LF
2829       <xsl:c all-templa te name="I mages-Long Descriptio n"> CR LF   2872       <xsl:c all-templa te name="I mages-Long Descriptio n"> CR LF
2830        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF   2873        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF
2831        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF   2874        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF
2832       </xsl: call-templ ate> CR LF   2875       </xsl: call-templ ate> CR LF
2833      </xsl:v ariable> CR LF   2876      </xsl:v ariable> CR LF
2834   CR LF   2877   CR LF
2835      <!-- Li nk? --> CR LF   2878      <!-- Li nk? --> CR LF
2836      <!--        --> CR LF   2879      <!--        --> CR LF
2837      <xsl:va riable nam e="VarLink InfoAsXML" > CR LF   2880      <xsl:va riable nam e="VarLink InfoAsXML" > CR LF
2838       <xsl:c all-templa te name="F rame-LinkI nfo"> CR LF   2881       <xsl:c all-templa te name="F rame-LinkI nfo"> CR LF
2839        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF   2882        <xsl: with-param  name="Par amFrame" s elect="$Pa ramFrame"  /> CR LF
2840        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF   2883        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF
2841        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF   2884        <xsl: with-param  name="Par amCargo" s elect="$Pa ramCargo"  /> CR LF
2842        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF   2885        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF
2843        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   2886        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
2844        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF   2887        <xsl: with-param  name="Par amSplitsFr ame" selec t="$ParamS plitsFrame " /> CR LF
2845        <xsl: with-param  name="Par amThumbnai l" select= "$ParamThu mbnail" /> CR LF   2888        <xsl: with-param  name="Par amThumbnai l" select= "$ParamThu mbnail" /> CR LF
2846        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF   2889        <xsl: with-param  name="Par amBehavior Frame" sel ect="$VarB ehaviorFra me" /> CR LF
2847       </xsl: call-templ ate> CR LF   2890       </xsl: call-templ ate> CR LF
2848      </xsl:v ariable> CR LF   2891      </xsl:v ariable> CR LF
2849      <xsl:va riable nam e="VarLink Info" sele ct="msxsl: node-set($ VarLinkInf oAsXML)/ww links:Link Info" /> CR LF   2892      <xsl:va riable nam e="VarLink Info" sele ct="msxsl: node-set($ VarLinkInf oAsXML)/ww links:Link Info" /> CR LF
2850   CR LF   2893   CR LF
2851      <!-- Li nk begin - -> CR LF   2894      <!-- Li nk begin - -> CR LF
2852      <!--             - -> CR LF   2895      <!--             - -> CR LF
2853      <xsl:if  test="str ing-length ($VarLinkI nfo/@href)  &gt; 0"> CR LF   2896      <xsl:if  test="str ing-length ($VarLinkI nfo/@href)  &gt; 0"> CR LF
2854       <xsl:t ext>[[</xs l:text> CR LF   2897       <xsl:t ext>[[</xs l:text> CR LF
2855       <xsl:v alue-of se lect="$Var LinkInfo/@ href" /> CR LF   2898       <xsl:v alue-of se lect="$Var LinkInfo/@ href" /> CR LF
2856       <xsl:t ext>|</xsl :text> CR LF   2899       <xsl:t ext>|</xsl :text> CR LF
2857      </xsl:i f> CR LF   2900      </xsl:i f> CR LF
2858   CR LF   2901   CR LF
2859      <!-- Im age --> CR LF   2902      <!-- Im age --> CR LF
2860      <!--        --> CR LF   2903      <!--        --> CR LF
2861      <wwexsl doc:Text d isable-out put-escapi ng="yes"> CR LF   2904      <wwexsl doc:Text d isable-out put-escapi ng="yes"> CR LF
2862       <xsl:t ext>{{</xs l:text> CR LF   2905       <xsl:t ext>{{</xs l:text> CR LF
2863       <xsl:v alue-of se lect="$Var Src" /> CR LF   2906       <xsl:v alue-of se lect="$Var Src" /> CR LF
2864   CR LF   2907   CR LF
2865       <!-- A lt --> CR LF   2908       <!-- A lt --> CR LF
2866       <!--      --> CR LF   2909       <!--      --> CR LF
2867       <xsl:t ext>|</xsl :text> CR LF   2910       <xsl:t ext>|</xsl :text> CR LF
2868       <xsl:v alue-of se lect="$Var AltText" / > CR LF   2911       <xsl:v alue-of se lect="$Var AltText" / > CR LF
2869   CR LF   2912   CR LF
2870       <!-- O ptions --> CR LF   2913       <!-- O ptions --> CR LF
2871       <!--          --> CR LF   2914       <!--          --> CR LF
2872       <xsl:t ext>|</xsl :text> CR LF   2915       <xsl:t ext>|</xsl :text> CR LF
2873       <xsl:t ext>width= "</xsl:tex t> CR LF   2916       <xsl:t ext>width= "</xsl:tex t> CR LF
2874       <xsl:v alue-of se lect="$Var Width" /> CR LF   2917       <xsl:v alue-of se lect="$Var Width" /> CR LF
2875       <xsl:t ext>",</xs l:text> CR LF   2918       <xsl:t ext>",</xs l:text> CR LF
2876       <xsl:t ext>height ="</xsl:te xt> CR LF   2919       <xsl:t ext>height ="</xsl:te xt> CR LF
2877       <xsl:v alue-of se lect="$Var Height" /> CR LF   2920       <xsl:v alue-of se lect="$Var Height" /> CR LF
2878       <xsl:t ext>",</xs l:text> CR LF   2921       <xsl:t ext>",</xs l:text> CR LF
2879       <xsl:t ext>title= "</xsl:tex t> CR LF   2922       <xsl:t ext>title= "</xsl:tex t> CR LF
2880       <xsl:v alue-of se lect="$Par amSplitsFr ame/@title " /> CR LF   2923       <xsl:v alue-of se lect="$Par amSplitsFr ame/@title " /> CR LF
2881       <xsl:t ext>",</xs l:text> CR LF   2924       <xsl:t ext>",</xs l:text> CR LF
2882       <xsl:i f test="st ring-lengt h($VarClas s) &gt; 0" > CR LF   2925       <xsl:i f test="st ring-lengt h($VarClas s) &gt; 0" > CR LF
2883        <xsl: text>class ="</xsl:te xt> CR LF   2926        <xsl: text>class ="</xsl:te xt> CR LF
2884        <xsl: value-of s elect="$Va rClass" /> CR LF   2927        <xsl: value-of s elect="$Va rClass" /> CR LF
2885        <xsl: text>",</x sl:text> CR LF   2928        <xsl: text>",</x sl:text> CR LF
2886       </xsl: if> CR LF   2929       </xsl: if> CR LF
2887       <xsl:i f test="st ring-lengt h($VarAlig n) &gt; 0" > CR LF   2930       <xsl:i f test="st ring-lengt h($VarAlig n) &gt; 0" > CR LF
2888        <xsl: text>align ="</xsl:te xt> CR LF   2931        <xsl: text>align ="</xsl:te xt> CR LF
2889        <xsl: value-of s elect="$Va rAlign" /> CR LF   2932        <xsl: value-of s elect="$Va rAlign" /> CR LF
2890        <xsl: text>",</x sl:text> CR LF   2933        <xsl: text>",</x sl:text> CR LF
2891       </xsl: if> CR LF   2934       </xsl: if> CR LF
2892       <xsl:i f test="st ring-lengt h($VarLong Descriptio n) &gt; 0" > CR LF   2935       <xsl:i f test="st ring-lengt h($VarLong Descriptio n) &gt; 0" > CR LF
2893        <xsl: text>longd esc="</xsl :text> CR LF   2936        <xsl: text>longd esc="</xsl :text> CR LF
2894        <xsl: value-of s elect="$Va rLongDescr iption" /> CR LF   2937        <xsl: value-of s elect="$Va rLongDescr iption" /> CR LF
2895        <xsl: text>",</x sl:text> CR LF   2938        <xsl: text>",</x sl:text> CR LF
2896       </xsl: if> CR LF   2939       </xsl: if> CR LF
2897   CR LF   2940   CR LF
2898       <!-- C lose Image  --> CR LF   2941       <!-- C lose Image  --> CR LF
2899       <!--               --> CR LF   2942       <!--               --> CR LF
2900       <xsl:t ext>}}</xs l:text> CR LF   2943       <xsl:t ext>}}</xs l:text> CR LF
2901      </wwexs ldoc:Text> CR LF   2944      </wwexs ldoc:Text> CR LF
2902   CR LF   2945   CR LF
2903      <!-- Li nk end --> CR LF   2946      <!-- Li nk end --> CR LF
2904      <!--           --> CR LF   2947      <!--           --> CR LF
2905      <xsl:if  test="str ing-length ($VarLinkI nfo/@href)  &gt; 0"> CR LF   2948      <xsl:if  test="str ing-length ($VarLinkI nfo/@href)  &gt; 0"> CR LF
2906       <!-- L ink option s --> CR LF   2949       <!-- L ink option s --> CR LF
2907       <!--                --> CR LF   2950       <!--                --> CR LF
2908       <xsl:v ariable na me="VarLin kOptions"> CR LF   2951       <xsl:v ariable na me="VarLin kOptions"> CR LF
2909        <xsl: if test="s tring-leng th($VarLin kInfo/@tit le) &gt; 0 "> CR LF   2952        <xsl: if test="s tring-leng th($VarLin kInfo/@tit le) &gt; 0 "> CR LF
2910         <xsl :text>titl e=&quot;</ xsl:text> CR LF   2953         <xsl :text>titl e=&quot;</ xsl:text> CR LF
2911         <xsl :value-of  select="$V arLinkInfo /@title" / > CR LF   2954         <xsl :value-of  select="$V arLinkInfo /@title" / > CR LF
2912         <xsl :text>&quo t;,</xsl:t ext> CR LF   2955         <xsl :text>&quo t;,</xsl:t ext> CR LF
2913        </xsl :if> CR LF   2956        </xsl :if> CR LF
2914        <xsl: if test="s tring-leng th($VarLin kInfo/@tar get) &gt;  0"> CR LF   2957        <xsl: if test="s tring-leng th($VarLin kInfo/@tar get) &gt;  0"> CR LF
2915         <xsl :text>targ et=&quot;< /xsl:text> CR LF   2958         <xsl :text>targ et=&quot;< /xsl:text> CR LF
2916         <xsl :value-of  select="$V arLinkInfo /@target"  /> CR LF   2959         <xsl :value-of  select="$V arLinkInfo /@target"  /> CR LF
2917         <xsl :text>&quo t;,</xsl:t ext> CR LF   2960         <xsl :text>&quo t;,</xsl:t ext> CR LF
2918        </xsl :if> CR LF   2961        </xsl :if> CR LF
2919       </xsl: variable> CR LF   2962       </xsl: variable> CR LF
2920       <xsl:i f test="st ring-lengt h($VarLink Options) & gt; 0"> CR LF   2963       <xsl:i f test="st ring-lengt h($VarLink Options) & gt; 0"> CR LF
2921        <xsl: text>|</xs l:text> CR LF   2964        <xsl: text>|</xs l:text> CR LF
2922        <xsl: value-of s elect="$Va rLinkOptio ns" /> CR LF   2965        <xsl: value-of s elect="$Va rLinkOptio ns" /> CR LF
2923       </xsl: if> CR LF   2966       </xsl: if> CR LF
2924   CR LF   2967   CR LF
2925       <xsl:t ext>]]</xs l:text> CR LF   2968       <xsl:t ext>]]</xs l:text> CR LF
2926      </xsl:i f> CR LF   2969      </xsl:i f> CR LF
2927   CR LF   2970   CR LF
2928      <!-- Ge nerate D L inks --> CR LF   2971      <!-- Ge nerate D L inks --> CR LF
2929      <!--                    --> CR LF   2972      <!--                    --> CR LF
2930      <xsl:va riable nam e="VarGene rateDLinks " select=" wwprojext: GetFormatS etting('ac cessibilit y-image-d- links', 'f alse')" /> CR LF   2973      <xsl:va riable nam e="VarGene rateDLinks " select=" wwprojext: GetFormatS etting('ac cessibilit y-image-d- links', 'f alse')" /> CR LF
2931      <xsl:if  test="$Va rGenerateD Links = 't rue'"> CR LF   2974      <xsl:if  test="$Va rGenerateD Links = 't rue'"> CR LF
2932       <xsl:i f test="st ring-lengt h($VarLong Descriptio n) &gt; 0" > CR LF   2975       <xsl:i f test="st ring-lengt h($VarLong Descriptio n) &gt; 0" > CR LF
2933        <xsl: variable n ame="VarLo ngDescript ionTitle"  select="ww string:For mat($Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'DL inkDescrip tion']/@va lue, wwfil esystem:Ge tFileName( $ParamSpli tsFrame/@p ath))" /> CR LF   2976        <xsl: variable n ame="VarLo ngDescript ionTitle"  select="ww string:For mat($Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'DL inkDescrip tion']/@va lue, wwfil esystem:Ge tFileName( $ParamSpli tsFrame/@p ath))" /> CR LF
2934   CR LF   2977   CR LF
2935        <wwex sldoc:Text  disable-o utput-esca ping="yes" > CR LF   2978        <wwex sldoc:Text  disable-o utput-esca ping="yes" > CR LF
2936         <xsl :text> </x sl:text> CR LF   2979         <xsl :text> </x sl:text> CR LF
2937         <xsl :text>[</x sl:text> CR LF   2980         <xsl :text>[</x sl:text> CR LF
2938         <xsl :text>[[</ xsl:text> CR LF   2981         <xsl :text>[[</ xsl:text> CR LF
2939         <xsl :call-temp late name= "MoinMoin- EscapeLink "> CR LF   2982         <xsl :call-temp late name= "MoinMoin- EscapeLink "> CR LF
2940          <xs l:with-par am name="P aramLink"  select="$V arLongDesc ription" / > CR LF   2983          <xs l:with-par am name="P aramLink"  select="$V arLongDesc ription" / > CR LF
2941         </xs l:call-tem plate> CR LF   2984         </xs l:call-tem plate> CR LF
2942         <xsl :text>|</x sl:text> CR LF   2985         <xsl :text>|</x sl:text> CR LF
2943         <xsl :text>D</x sl:text> CR LF   2986         <xsl :text>D</x sl:text> CR LF
2944         <xsl :text>|</x sl:text> CR LF   2987         <xsl :text>|</x sl:text> CR LF
2945         <xsl :text>titl e="</xsl:t ext> CR LF   2988         <xsl :text>titl e="</xsl:t ext> CR LF
2946         <xsl :value-of  select="$V arLongDesc riptionTit le" /> CR LF   2989         <xsl :value-of  select="$V arLongDesc riptionTit le" /> CR LF
2947         <xsl :text>"</x sl:text> CR LF   2990         <xsl :text>"</x sl:text> CR LF
2948         <xsl :text>]]</ xsl:text> CR LF   2991         <xsl :text>]]</ xsl:text> CR LF
2949         <xsl :text>]</x sl:text> CR LF   2992         <xsl :text>]</x sl:text> CR LF
2950        </wwe xsldoc:Tex t> CR LF   2993        </wwe xsldoc:Tex t> CR LF
2951       </xsl: if> CR LF   2994       </xsl: if> CR LF
2952      </xsl:i f> CR LF   2995      </xsl:i f> CR LF
2953   CR LF   2996   CR LF
2954      <!-- No tes --> CR LF   2997      <!-- No tes --> CR LF
2955      <!--        --> CR LF   2998      <!--        --> CR LF
2956      <xsl:ch oose> CR LF   2999      <xsl:ch oose> CR LF
2957       <!-- T humbnail - -> CR LF   3000       <!-- T humbnail - -> CR LF
2958       <!--            - -> CR LF   3001       <!--            - -> CR LF
2959       <xsl:w hen test=" $ParamThum bnail"> CR LF   3002       <xsl:w hen test=" $ParamThum bnail"> CR LF
2960        <!--  Nothing to  do --> CR LF   3003        <!--  Nothing to  do --> CR LF
2961        <!--                 --> CR LF   3004        <!--                 --> CR LF
2962       </xsl: when> CR LF   3005       </xsl: when> CR LF
2963   CR LF   3006   CR LF
2964       <!-- F ullsize -- > CR LF   3007       <!-- F ullsize -- > CR LF
2965       <!--           -- > CR LF   3008       <!--           -- > CR LF
2966       <xsl:o therwise> CR LF   3009       <xsl:o therwise> CR LF
2967        <!--  Frame Foot notes --> CR LF   3010        <!--  Frame Foot notes --> CR LF
2968        <!--                   --> CR LF   3011        <!--                   --> CR LF
2969        <xsl: variable n ame="VarNo tes" selec t="$ParamF rame//wwdo c:Note" /> CR LF   3012        <xsl: variable n ame="VarNo tes" selec t="$ParamF rame//wwdo c:Note" /> CR LF
2970        <xsl: call-templ ate name=" Content-No tes"> CR LF   3013        <xsl: call-templ ate name=" Content-No tes"> CR LF
2971         <xsl :with-para m name="Pa ramNotes"  select="$V arNotes" / > CR LF   3014         <xsl :with-para m name="Pa ramNotes"  select="$V arNotes" / > CR LF
2972         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF   3015         <xsl :with-para m name="Pa ramSplits"  select="$ ParamSplit s" /> CR LF
2973         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF   3016         <xsl :with-para m name="Pa ramCargo"  select="$P aramCargo"  /> CR LF
2974         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF   3017         <xsl :with-para m name="Pa ramLinks"  select="$P aramLinks"  /> CR LF
2975         <xsl :with-para m name="Pa ramTOCData " select=" ''" /> CR LF   3018         <xsl :with-para m name="Pa ramTOCData " select=" ''" /> CR LF
2976         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF   3019         <xsl :with-para m name="Pa ramSplit"  select="$P aramSplit"  /> CR LF
2977        </xsl :call-temp late> CR LF   3020        </xsl :call-temp late> CR LF
2978       </xsl: otherwise> CR LF   3021       </xsl: otherwise> CR LF
2979      </xsl:c hoose> CR LF   3022      </xsl:c hoose> CR LF
2980     </xsl:fo r-each> CR LF   3023     </xsl:fo r-each> CR LF
2981    </xsl:tem plate> CR LF   3024    </xsl:tem plate> CR LF
2982   CR LF   3025   CR LF
2983   CR LF   3026   CR LF
2984    <xsl:temp late name= "Frame-Lin kInfo"> CR LF   3027    <xsl:temp late name= "Frame-Lin kInfo"> CR LF
2985     <xsl:par am name="P aramFrame"  /> CR LF   3028     <xsl:par am name="P aramFrame"  /> CR LF
2986     <xsl:par am name="P aramSplits " /> CR LF   3029     <xsl:par am name="P aramSplits " /> CR LF
2987     <xsl:par am name="P aramCargo"  /> CR LF   3030     <xsl:par am name="P aramCargo"  /> CR LF
2988     <xsl:par am name="P aramLinks"  /> CR LF   3031     <xsl:par am name="P aramLinks"  /> CR LF
2989     <xsl:par am name="P aramSplit"  /> CR LF   3032     <xsl:par am name="P aramSplit"  /> CR LF
2990     <xsl:par am name="P aramSplits Frame" /> CR LF   3033     <xsl:par am name="P aramSplits Frame" /> CR LF
2991     <xsl:par am name="P aramThumbn ail" /> CR LF   3034     <xsl:par am name="P aramThumbn ail" /> CR LF
2992     <xsl:par am name="P aramBehavi orFrame" / > CR LF   3035     <xsl:par am name="P aramBehavi orFrame" / > CR LF
2993   CR LF   3036   CR LF
2994     <xsl:cho ose> CR LF   3037     <xsl:cho ose> CR LF
2995      <!-- Th umbnail -- > CR LF   3038      <!-- Th umbnail -- > CR LF
2996      <!--            -- > CR LF   3039      <!--            -- > CR LF
2997      <xsl:wh en test="$ ParamThumb nail"> CR LF   3040      <xsl:wh en test="$ ParamThumb nail"> CR LF
2998       <wwlin ks:LinkInf o> CR LF   3041       <wwlin ks:LinkInf o> CR LF
2999        <!--  Link --> CR LF   3042        <!--  Link --> CR LF
3000        <!--       --> CR LF   3043        <!--       --> CR LF
3001        <xsl: attribute  name="href "> CR LF   3044        <xsl: attribute  name="href "> CR LF
3002         <xsl :call-temp late name= "MoinMoin- RelativePa geLink"> CR LF   3045         <xsl :call-temp late name= "MoinMoin- RelativePa geLink"> CR LF
3003          <xs l:with-par am name="P aramSource " select=" $ParamSpli t/@path" / > CR LF   3046          <xs l:with-par am name="P aramSource " select=" $ParamSpli t/@path" / > CR LF
3004          <xs l:with-par am name="P aramTarget " select=" $ParamSpli tsFrame/ww splits:Wra pper/@path " /> CR LF   3047          <xs l:with-par am name="P aramTarget " select=" $ParamSpli tsFrame/ww splits:Wra pper/@path " /> CR LF
3005         </xs l:call-tem plate> CR LF   3048         </xs l:call-tem plate> CR LF
3006        </xsl :attribute > CR LF   3049        </xsl :attribute > CR LF
3007   CR LF   3050   CR LF
3008        <!--  Alt Text - -> CR LF   3051        <!--  Alt Text - -> CR LF
3009        <!--           - -> CR LF   3052        <!--           - -> CR LF
3010        <xsl: attribute  name="alt" > CR LF   3053        <xsl: attribute  name="alt" > CR LF
3011         <xsl :call-temp late name= "Images-Al tText"> CR LF   3054         <xsl :call-temp late name= "Images-Al tText"> CR LF
3012          <xs l:with-par am name="P aramFrame"  select="$ ParamFrame " /> CR LF   3055          <xs l:with-par am name="P aramFrame"  select="$ ParamFrame " /> CR LF
3013          <xs l:with-par am name="P aramBehavi orFrame" s elect="$Pa ramBehavio rFrame" /> CR LF   3056          <xs l:with-par am name="P aramBehavi orFrame" s elect="$Pa ramBehavio rFrame" /> CR LF
3014         </xs l:call-tem plate> CR LF   3057         </xs l:call-tem plate> CR LF
3015        </xsl :attribute > CR LF   3058        </xsl :attribute > CR LF
3016       </wwli nks:LinkIn fo> CR LF   3059       </wwli nks:LinkIn fo> CR LF
3017      </xsl:w hen> CR LF   3060      </xsl:w hen> CR LF
3018   CR LF   3061   CR LF
3019      <!-- Li nk --> CR LF   3062      <!-- Li nk --> CR LF
3020      <!--       --> CR LF   3063      <!--       --> CR LF
3021      <xsl:wh en test="c ount($Para mFrame/wwd oc:Link[1] ) = 1"> CR LF   3064      <xsl:wh en test="c ount($Para mFrame/wwd oc:Link[1] ) = 1"> CR LF
3022       <xsl:c all-templa te name="L inkInfo"> CR LF   3065       <xsl:c all-templa te name="L inkInfo"> CR LF
3023        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF   3066        <xsl: with-param  name="Par amSplits"  select="$P aramSplits " /> CR LF
3024        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF   3067        <xsl: with-param  name="Par amLinks" s elect="$Pa ramLinks"  /> CR LF
3025        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF   3068        <xsl: with-param  name="Par amSplit" s elect="$Pa ramSplit"  /> CR LF
3026        <xsl: with-param  name="Par amDocument Link" sele ct="$Param Frame/wwdo c:Link" /> CR LF   3069        <xsl: with-param  name="Par amDocument Link" sele ct="$Param Frame/wwdo c:Link" /> CR LF
3027       </xsl: call-templ ate> CR LF   3070       </xsl: call-templ ate> CR LF
3028      </xsl:w hen> CR LF   3071      </xsl:w hen> CR LF
3029   CR LF   3072   CR LF
3030      <!-- Em pty --> CR LF   3073      <!-- Em pty --> CR LF
3031      <!--        --> CR LF   3074      <!--        --> CR LF
3032      <xsl:ot herwise> CR LF   3075      <xsl:ot herwise> CR LF
3033       <wwlin ks:LinkInf o /> CR LF   3076       <wwlin ks:LinkInf o /> CR LF
3034      </xsl:o therwise> CR LF   3077      </xsl:o therwise> CR LF
3035     </xsl:ch oose> CR LF   3078     </xsl:ch oose> CR LF
3036    </xsl:tem plate> CR LF   3079    </xsl:tem plate> CR LF
3037   CR LF   3080   CR LF
3038   CR LF   3081   CR LF
3039    <!-- wwmo de:linktex t --> CR LF   3082    <!-- wwmo de:linktex t --> CR LF
3040    <!--                   --> CR LF   3083    <!--                   --> CR LF
3041   CR LF   3084   CR LF
3042    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: linktext"> CR LF   3085    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: linktext"> CR LF
3043     <xsl:app ly-templat es mode="w wmode:link text" /> CR LF   3086     <xsl:app ly-templat es mode="w wmode:link text" /> CR LF
3044    </xsl:tem plate> CR LF   3087    </xsl:tem plate> CR LF
3045   CR LF   3088   CR LF
3046   CR LF   3089   CR LF
3047    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:lin ktext"> CR LF   3090    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:lin ktext"> CR LF
3048     <xsl:par am name="P aramText"  select="."  /> CR LF   3091     <xsl:par am name="P aramText"  select="."  /> CR LF
3049   CR LF   3092   CR LF
3050     <wwexsld oc:Text di sable-outp ut-escapin g="yes"> CR LF   3093     <wwexsld oc:Text di sable-outp ut-escapin g="yes"> CR LF
3051      <xsl:va lue-of sel ect="$Para mText/@val ue" /> CR LF   3094      <xsl:va lue-of sel ect="$Para mText/@val ue" /> CR LF
3052     </wwexsl doc:Text> CR LF   3095     </wwexsl doc:Text> CR LF
3053    </xsl:tem plate> CR LF   3096    </xsl:tem plate> CR LF
3054   CR LF   3097   CR LF
3055   CR LF   3098   CR LF
3056    <xsl:temp late match ="*" mode= "wwmode:li nktext"> CR LF   3099    <xsl:temp late match ="*" mode= "wwmode:li nktext"> CR LF
3057     <!-- Not hing to do  --> CR LF   3100     <!-- Not hing to do  --> CR LF
3058     <!--                 --> CR LF   3101     <!--                 --> CR LF
3059    </xsl:tem plate> CR LF   3102    </xsl:tem plate> CR LF
3060   CR LF   3103   CR LF
3061   CR LF   3104   CR LF
3062    <xsl:temp late match ="text() |  comment()  | process ing-instru ction()" m ode="wwmod e:linktext "> CR LF   3105    <xsl:temp late match ="text() |  comment()  | process ing-instru ction()" m ode="wwmod e:linktext "> CR LF
3063     <!-- Not hing to do  --> CR LF   3106     <!-- Not hing to do  --> CR LF
3064     <!--                 --> CR LF   3107     <!--                 --> CR LF
3065    </xsl:tem plate> CR LF   3108    </xsl:tem plate> CR LF
3066   CR LF   3109   CR LF
3067   CR LF   3110   CR LF
3068    <!-- wwmo de:passthr ough-with- numbering  --> CR LF   3111    <!-- wwmo de:passthr ough-with- numbering  --> CR LF
3069    <!--                                       --> CR LF   3112    <!--                                       --> CR LF
3070   CR LF   3113   CR LF
3071    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:passthro ugh-with-n umbering"> CR LF   3114    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:passthro ugh-with-n umbering"> CR LF
3072     <xsl:app ly-templat es mode="w wmode:pass through-wi th-numberi ng" /> CR LF   3115     <xsl:app ly-templat es mode="w wmode:pass through-wi th-numberi ng" /> CR LF
3073    </xsl:tem plate> CR LF   3116    </xsl:tem plate> CR LF
3074   CR LF   3117   CR LF
3075   CR LF   3118   CR LF
3076    <xsl:temp late match ="wwdoc:Nu mber" mode ="wwmode:p assthrough -with-numb ering"> CR LF   3119    <xsl:temp late match ="wwdoc:Nu mber" mode ="wwmode:p assthrough -with-numb ering"> CR LF
3077     <xsl:app ly-templat es mode="w wmode:pass through-wi th-numberi ng" /> CR LF   3120     <xsl:app ly-templat es mode="w wmode:pass through-wi th-numberi ng" /> CR LF
3078    </xsl:tem plate> CR LF   3121    </xsl:tem plate> CR LF
3079   CR LF   3122   CR LF
3080   CR LF   3123   CR LF
3081    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: passthroug h-with-num bering"> CR LF   3124    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: passthroug h-with-num bering"> CR LF
3082     <xsl:app ly-templat es mode="w wmode:pass through-wi th-numberi ng" /> CR LF   3125     <xsl:app ly-templat es mode="w wmode:pass through-wi th-numberi ng" /> CR LF
3083    </xsl:tem plate> CR LF   3126    </xsl:tem plate> CR LF
3084   CR LF   3127   CR LF
3085   CR LF   3128   CR LF
3086    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:pas sthrough-w ith-number ing"> CR LF   3129    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:pas sthrough-w ith-number ing"> CR LF
3087     <xsl:par am name="P aramText"  select="."  /> CR LF   3130     <xsl:par am name="P aramText"  select="."  /> CR LF
3088   CR LF   3131   CR LF
3089     <wwexsld oc:Text di sable-outp ut-escapin g="yes"> CR LF   3132     <wwexsld oc:Text di sable-outp ut-escapin g="yes"> CR LF
3090      <xsl:va lue-of sel ect="$Para mText/@val ue" /> CR LF   3133      <xsl:va lue-of sel ect="$Para mText/@val ue" /> CR LF
3091     </wwexsl doc:Text> CR LF   3134     </wwexsl doc:Text> CR LF
3092    </xsl:tem plate> CR LF   3135    </xsl:tem plate> CR LF
3093   CR LF   3136   CR LF
3094   CR LF   3137   CR LF
3095    <xsl:temp late match ="wwdoc:Li neBreak" m ode="wwmod e:passthro ugh-with-n umbering"> CR LF   3138    <xsl:temp late match ="wwdoc:Li neBreak" m ode="wwmod e:passthro ugh-with-n umbering"> CR LF
3096     <xsl:tex t> CR LF   3139     <xsl:tex t> CR LF
3097   </xsl:text > CR LF   3140   </xsl:text > CR LF
3098    </xsl:tem plate> CR LF   3141    </xsl:tem plate> CR LF
3099   CR LF   3142   CR LF
3100   CR LF   3143   CR LF
3101    <xsl:temp late match ="*" mode= "wwmode:pa ssthrough- with-numbe ring"> CR LF   3144    <xsl:temp late match ="*" mode= "wwmode:pa ssthrough- with-numbe ring"> CR LF
3102     <!-- Not hing to do  --> CR LF   3145     <!-- Not hing to do  --> CR LF
3103     <!--                 --> CR LF   3146     <!--                 --> CR LF
3104    </xsl:tem plate> CR LF   3147    </xsl:tem plate> CR LF
3105   CR LF   3148   CR LF
3106   CR LF   3149   CR LF
3107    <xsl:temp late match ="text() |  comment()  | process ing-instru ction()" m ode="wwmod e:passthro ugh-with-n umbering"> CR LF   3150    <xsl:temp late match ="text() |  comment()  | process ing-instru ction()" m ode="wwmod e:passthro ugh-with-n umbering"> CR LF
3108     <!-- Not hing to do  --> CR LF   3151     <!-- Not hing to do  --> CR LF
3109     <!--                 --> CR LF   3152     <!--                 --> CR LF
3110    </xsl:tem plate> CR LF   3153    </xsl:tem plate> CR LF
3111   CR LF   3154   CR LF
3112   CR LF   3155   CR LF
3113    <!-- wwmo de:passthr ough --> CR LF   3156    <!-- wwmo de:passthr ough --> CR LF
3114    <!--                      --> CR LF   3157    <!--                      --> CR LF
3115   CR LF   3158   CR LF
3116    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:passthro ugh"> CR LF   3159    <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:passthro ugh"> CR LF
3117     <xsl:app ly-templat es mode="w wmode:pass through" / > CR LF   3160     <xsl:app ly-templat es mode="w wmode:pass through" / > CR LF
3118    </xsl:tem plate> CR LF   3161    </xsl:tem plate> CR LF
3119   CR LF   3162   CR LF
3120   CR LF   3163   CR LF
3121    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: passthroug h"> CR LF   3164    <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: passthroug h"> CR LF
3122     <xsl:app ly-templat es mode="w wmode:pass through" / > CR LF   3165     <xsl:app ly-templat es mode="w wmode:pass through" / > CR LF
3123    </xsl:tem plate> CR LF   3166    </xsl:tem plate> CR LF
3124   CR LF   3167   CR LF
3125   CR LF   3168   CR LF
3126    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:pas sthrough"> CR LF   3169    <xsl:temp late match ="wwdoc:Te xt" mode=" wwmode:pas sthrough"> CR LF
3127     <xsl:par am name="P aramText"  select="."  /> CR LF   3170     <xsl:par am name="P aramText"  select="."  /> CR LF
3128   CR LF   3171   CR LF
3129     <wwexsld oc:Text di sable-outp ut-escapin g="yes"> CR LF   3172     <wwexsld oc:Text di sable-outp ut-escapin g="yes"> CR LF
3130      <xsl:va lue-of sel ect="$Para mText/@val ue" /> CR LF   3173      <xsl:va lue-of sel ect="$Para mText/@val ue" /> CR LF
3131     </wwexsl doc:Text> CR LF   3174     </wwexsl doc:Text> CR LF
3132    </xsl:tem plate> CR LF   3175    </xsl:tem plate> CR LF
3133   CR LF   3176   CR LF
3134   CR LF   3177   CR LF
3135    <xsl:temp late match ="wwdoc:Li neBreak" m ode="wwmod e:passthro ugh"> CR LF   3178    <xsl:temp late match ="wwdoc:Li neBreak" m ode="wwmod e:passthro ugh"> CR LF
3136     <xsl:tex t> CR LF   3179     <xsl:tex t> CR LF
3137   </xsl:text > CR LF   3180   </xsl:text > CR LF
3138    </xsl:tem plate> CR LF   3181    </xsl:tem plate> CR LF
3139   CR LF   3182   CR LF
3140   CR LF   3183   CR LF
3141    <xsl:temp late match ="*" mode= "wwmode:pa ssthrough" > CR LF   3184    <xsl:temp late match ="*" mode= "wwmode:pa ssthrough" > CR LF
3142     <!-- Not hing to do  --> CR LF   3185     <!-- Not hing to do  --> CR LF
3143     <!--                 --> CR LF   3186     <!--                 --> CR LF
3144    </xsl:tem plate> CR LF   3187    </xsl:tem plate> CR LF
3145   CR LF   3188   CR LF
3146   CR LF   3189   CR LF
3147    <xsl:temp late match ="text() |  comment()  | process ing-instru ction()" m ode="wwmod e:passthro ugh"> CR LF   3190    <xsl:temp late match ="text() |  comment()  | process ing-instru ction()" m ode="wwmod e:passthro ugh"> CR LF
3148     <!-- Not hing to do  --> CR LF   3191     <!-- Not hing to do  --> CR LF
3149     <!--                 --> CR LF   3192     <!--                 --> CR LF
3150    </xsl:tem plate> CR LF   3193    </xsl:tem plate> CR LF
3151   </xsl:styl esheet> CR LF   3194   </xsl:styl esheet> CR LF