1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?>
|
|
1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?>
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="htt
p://www.w3
.org/1999/
xhtml"
|
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="htt
p://www.w3
.org/1999/
xhtml"
|
3 |
|
xmlns:html
="http://w
ww.w3.org/
1999/xhtml
"
|
|
3 |
|
xmlns:html
="http://w
ww.w3.org/
1999/xhtml
"
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
5 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
|
5 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
6 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
|
6 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
7 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema"
|
|
7 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema"
|
8 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema"
|
|
8 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema"
|
9 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a"
|
|
9 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a"
|
10 |
|
xmlns:wwsp
lits="urn:
WebWorks-E
ngine-Spli
ts-Schema"
|
|
10 |
|
xmlns:wwsp
lits="urn:
WebWorks-E
ngine-Spli
ts-Schema"
|
11 |
|
xmlns:wwto
c="urn:Web
Works-Engi
ne-TOC-Sch
ema"
|
|
11 |
|
xmlns:wwto
c="urn:Web
Works-Engi
ne-TOC-Sch
ema"
|
12 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema"
|
|
12 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema"
|
13 |
|
xmlns:wwno
tes="urn:W
ebWorks-Fo
otnote-Sch
ema"
|
|
13 |
|
xmlns:wwno
tes="urn:W
ebWorks-Fo
otnote-Sch
ema"
|
14 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
|
14 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
15 |
|
xmlns:wwpa
ge="urn:We
bWorks-Pag
e-Template
-Schema"
|
|
15 |
|
xmlns:wwpa
ge="urn:We
bWorks-Pag
e-Template
-Schema"
|
16 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma"
|
|
16 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma"
|
17 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
|
17 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
18 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
|
18 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
19 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
|
19 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
20 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
|
20 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
21 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
|
21 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
22 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units"
|
|
22 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units"
|
23 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
|
23 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
24 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
|
24 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
25 |
|
xmlns:wwim
aging="urn
:WebWorks-
XSLT-Exten
sion-Imagi
ng"
|
|
25 |
|
xmlns:wwim
aging="urn
:WebWorks-
XSLT-Exten
sion-Imagi
ng"
|
26 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
|
26 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
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"
|
|
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"
|
28 |
|
>
|
|
28 |
|
>
|
29 |
|
<xsl:key
name="wwsp
lits-files
-by-groupi
d-type" ma
tch="wwspl
its:File"
use="conca
t(@groupID
, ':', @ty
pe)" />
|
|
29 |
|
<xsl:key
name="wwsp
lits-files
-by-groupi
d-type" ma
tch="wwspl
its:File"
use="conca
t(@groupID
, ':', @ty
pe)" />
|
30 |
|
<xsl:key
name="wwsp
lits-frame
s-by-id" m
atch="wwsp
lits:Frame
" use="@id
" />
|
|
30 |
|
<xsl:key
name="wwsp
lits-frame
s-by-id" m
atch="wwsp
lits:Frame
" use="@id
" />
|
31 |
|
<xsl:key
name="wwto
c-entry-by
-id" match
="wwtoc:En
try" use="
@id" />
|
|
31 |
|
<xsl:key
name="wwto
c-entry-by
-id" match
="wwtoc:En
try" use="
@id" />
|
32 |
|
<xsl:key
name="wwbe
haviors-pa
ragraphs-b
y-id" matc
h="wwbehav
iors:Parag
raph" use=
"@id" />
|
|
32 |
|
<xsl:key
name="wwbe
haviors-pa
ragraphs-b
y-id" matc
h="wwbehav
iors:Parag
raph" use=
"@id" />
|
33 |
|
<xsl:key
name="wwbe
haviors-pa
ragraphs-b
y-relatedt
opic" matc
h="wwbehav
iors:Parag
raph" use=
"@relatedt
opic" />
|
|
33 |
|
<xsl:key
name="wwbe
haviors-pa
ragraphs-b
y-relatedt
opic" matc
h="wwbehav
iors:Parag
raph" use=
"@relatedt
opic" />
|
34 |
|
<xsl:key
name="wwbe
haviors-fr
ames-by-id
" match="w
wbehaviors
:Frame" us
e="@id" />
|
|
34 |
|
<xsl:key
name="wwbe
haviors-fr
ames-by-id
" match="w
wbehaviors
:Frame" us
e="@id" />
|
35 |
|
<xsl:key
name="wwbe
haviors-ta
bles-by-id
" match="w
wbehaviors
:Table" us
e="@id" />
|
|
35 |
|
<xsl:key
name="wwbe
haviors-ta
bles-by-id
" match="w
wbehaviors
:Table" us
e="@id" />
|
36 |
|
<xsl:key
name="wwbe
haviors-ma
rkers-by-i
d" match="
wwbehavior
s:Marker"
use="@id"
/>
|
|
36 |
|
<xsl:key
name="wwbe
haviors-ma
rkers-by-i
d" match="
wwbehavior
s:Marker"
use="@id"
/>
|
37 |
|
<xsl:key
name="wwdo
c-paragrap
hs-by-id"
match="wwd
oc:Paragra
ph" use="@
id" />
|
|
37 |
|
<xsl:key
name="wwdo
c-paragrap
hs-by-id"
match="wwd
oc:Paragra
ph" use="@
id" />
|
38 |
|
<xsl:key
name="wwno
tes-notes-
by-id" mat
ch="wwnote
s:Note" us
e="@id" />
|
|
38 |
|
<xsl:key
name="wwno
tes-notes-
by-id" mat
ch="wwnote
s:Note" us
e="@id" />
|
39 |
|
<xsl:key
name="wwfi
les-files-
by-path" m
atch="wwfi
les:File"
use="@path
" />
|
|
39 |
|
<xsl:key
name="wwfi
les-files-
by-path" m
atch="wwfi
les:File"
use="@path
" />
|
40 |
|
<xsl:key
name="wwpr
oject-prop
erty-by-na
me" match=
"wwproject
:Property"
use="@Nam
e"/>
|
|
40 |
|
<xsl:key
name="wwpr
oject-prop
erty-by-na
me" match=
"wwproject
:Property"
use="@Nam
e"/>
|
41 |
|
|
|
41 |
|
|
42 |
|
|
|
42 |
|
|
43 |
|
<xsl:temp
late name=
"Breadcrum
bs">
|
|
43 |
|
<xsl:temp
late name=
"Breadcrum
bs">
|
44 |
|
<xsl:par
am name="P
aramPageRu
le" />
|
|
44 |
|
<xsl:par
am name="P
aramPageRu
le" />
|
45 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
45 |
|
<xsl:par
am name="P
aramSplit"
/>
|
46 |
|
<xsl:par
am name="P
aramBreadc
rumbTOCEnt
ry" />
|
|
46 |
|
<xsl:par
am name="P
aramBreadc
rumbTOCEnt
ry" />
|
47 |
|
|
|
47 |
|
|
48 |
|
<xsl:for
-each sele
ct="$Param
Breadcrumb
TOCEntry/.
./ancestor
-or-self::
wwtoc:Entr
y">
|
|
48 |
|
<xsl:for
-each sele
ct="$Param
Breadcrumb
TOCEntry/.
./ancestor
-or-self::
wwtoc:Entr
y">
|
49 |
|
<xsl:va
riable nam
e="VarTOCE
ntry" sele
ct="." />
|
|
49 |
|
<xsl:va
riable nam
e="VarTOCE
ntry" sele
ct="." />
|
50 |
|
|
|
50 |
|
|
51 |
|
<!-- Em
it entry -
->
|
|
51 |
|
<!-- Em
it entry -
->
|
52 |
|
<!--
-
->
|
|
52 |
|
<!--
-
->
|
53 |
|
<xsl:ch
oose>
|
|
53 |
|
<xsl:ch
oose>
|
54 |
|
<xsl:w
hen test="
string-len
gth($VarTO
CEntry/@pa
th) > 0
">
|
|
54 |
|
<xsl:w
hen test="
string-len
gth($VarTO
CEntry/@pa
th) > 0
">
|
55 |
|
<!--
Entry with
link -->
|
|
55 |
|
<!--
Entry with
link -->
|
56 |
|
<!--
-->
|
|
56 |
|
<!--
-->
|
57 |
|
<xsl:
variable n
ame="VarRe
lativePath
" select="
wwuri:GetR
elativeTo(
$VarTOCEnt
ry/@path,
$ParamSpli
t/@path)"
/>
|
|
57 |
|
<xsl:
variable n
ame="VarRe
lativePath
" select="
wwuri:GetR
elativeTo(
$VarTOCEnt
ry/@path,
$ParamSpli
t/@path)"
/>
|
58 |
|
|
|
58 |
|
|
59 |
|
<html
:span>
|
|
59 |
|
<html
:span>
|
60 |
|
<xsl
:text>[[</
xsl:text>
|
|
60 |
|
<xsl
:text>[[</
xsl:text>
|
61 |
|
<xsl
:call-temp
late name=
"MediaWiki
-ProjectRo
otedLink">
|
|
61 |
|
<xsl
:call-temp
late name=
"MediaWiki
-ProjectRo
otedLink">
|
62 |
|
<xs
l:with-par
am name="P
aramLinkPa
th" select
="$VarTOCE
ntry/@path
" />
|
|
62 |
|
<xs
l:with-par
am name="P
aramLinkPa
th" select
="$VarTOCE
ntry/@path
" />
|
63 |
|
<xs
l:with-par
am name="P
aramTarget
OutputDire
ctoryPath"
select="$
ParamSplit
/@target-o
utput-dire
ctory-path
" />
|
|
63 |
|
<xs
l:with-par
am name="P
aramTarget
OutputDire
ctoryPath"
select="$
ParamSplit
/@target-o
utput-dire
ctory-path
" />
|
64 |
|
</xs
l:call-tem
plate>
|
|
64 |
|
</xs
l:call-tem
plate>
|
65 |
|
<xsl
:text>|</x
sl:text>
|
|
65 |
|
<xsl
:text>|</x
sl:text>
|
66 |
|
<xsl
:call-temp
late name=
"Breadcrum
bEntry">
|
|
66 |
|
<xsl
:call-temp
late name=
"Breadcrum
bEntry">
|
67 |
|
<xs
l:with-par
am name="P
aramTOCEnt
ry" select
="$VarTOCE
ntry" />
|
|
67 |
|
<xs
l:with-par
am name="P
aramTOCEnt
ry" select
="$VarTOCE
ntry" />
|
68 |
|
</xs
l:call-tem
plate>
|
|
68 |
|
</xs
l:call-tem
plate>
|
69 |
|
<xsl
:text>]]</
xsl:text>
|
|
69 |
|
<xsl
:text>]]</
xsl:text>
|
70 |
|
</htm
l:span>
|
|
70 |
|
</htm
l:span>
|
71 |
|
|
|
71 |
|
|
72 |
|
</xsl:
when>
|
|
72 |
|
</xsl:
when>
|
73 |
|
|
|
73 |
|
|
74 |
|
<xsl:o
therwise>
|
|
74 |
|
<xsl:o
therwise>
|
75 |
|
<!--
Entry with
out link -
->
|
|
75 |
|
<!--
Entry with
out link -
->
|
76 |
|
<!--
-
->
|
|
76 |
|
<!--
-
->
|
77 |
|
<xsl:
call-templ
ate name="
Breadcrumb
Entry">
|
|
77 |
|
<xsl:
call-templ
ate name="
Breadcrumb
Entry">
|
78 |
|
<xsl
:with-para
m name="Pa
ramTOCEntr
y" select=
"$VarTOCEn
try" />
|
|
78 |
|
<xsl
:with-para
m name="Pa
ramTOCEntr
y" select=
"$VarTOCEn
try" />
|
79 |
|
</xsl
:call-temp
late>
|
|
79 |
|
</xsl
:call-temp
late>
|
80 |
|
</xsl:
otherwise>
|
|
80 |
|
</xsl:
otherwise>
|
81 |
|
</xsl:c
hoose>
|
|
81 |
|
</xsl:c
hoose>
|
82 |
|
|
|
82 |
|
|
83 |
|
<!-- Em
it separat
or -->
|
|
83 |
|
<!-- Em
it separat
or -->
|
84 |
|
<!--
-->
|
|
84 |
|
<!--
-->
|
85 |
|
<xsl:va
riable nam
e="VarBrea
dcrumbsSep
arator" se
lect="$Par
amPageRule
/wwproject
:Propertie
s/wwprojec
t:Property
[@Name = '
breadcrumb
s-separato
r']/@Value
" />
|
|
85 |
|
<xsl:va
riable nam
e="VarBrea
dcrumbsSep
arator" se
lect="$Par
amPageRule
/wwproject
:Propertie
s/wwprojec
t:Property
[@Name = '
breadcrumb
s-separato
r']/@Value
" />
|
86 |
|
<xsl:ch
oose>
|
|
86 |
|
<xsl:ch
oose>
|
87 |
|
<xsl:w
hen test="
string-len
gth($VarBr
eadcrumbsS
eparator)
> 0">
|
|
87 |
|
<xsl:w
hen test="
string-len
gth($VarBr
eadcrumbsS
eparator)
> 0">
|
88 |
|
<xsl:
value-of s
elect="$Va
rBreadcrum
bsSeparato
r" />
|
|
88 |
|
<xsl:
value-of s
elect="$Va
rBreadcrum
bsSeparato
r" />
|
89 |
|
</xsl:
when>
|
|
89 |
|
</xsl:
when>
|
90 |
|
|
|
90 |
|
|
91 |
|
<xsl:o
therwise>
|
|
91 |
|
<xsl:o
therwise>
|
92 |
|
<xsl:
text> : </
xsl:text>
|
|
92 |
|
<xsl:
text> : </
xsl:text>
|
93 |
|
</xsl:
otherwise>
|
|
93 |
|
</xsl:
otherwise>
|
94 |
|
</xsl:c
hoose>
|
|
94 |
|
</xsl:c
hoose>
|
95 |
|
</xsl:fo
r-each>
|
|
95 |
|
</xsl:fo
r-each>
|
96 |
|
|
|
96 |
|
|
97 |
|
<!-- Emi
t entry --
>
|
|
97 |
|
<!-- Emi
t entry --
>
|
98 |
|
<!--
--
>
|
|
98 |
|
<!--
--
>
|
99 |
|
<xsl:cal
l-template
name="Bre
adcrumbEnt
ry">
|
|
99 |
|
<xsl:cal
l-template
name="Bre
adcrumbEnt
ry">
|
100 |
|
<xsl:wi
th-param n
ame="Param
TOCEntry"
select="$P
aramBreadc
rumbTOCEnt
ry" />
|
|
100 |
|
<xsl:wi
th-param n
ame="Param
TOCEntry"
select="$P
aramBreadc
rumbTOCEnt
ry" />
|
101 |
|
</xsl:ca
ll-templat
e>
|
|
101 |
|
</xsl:ca
ll-templat
e>
|
102 |
|
</xsl:tem
plate>
|
|
102 |
|
</xsl:tem
plate>
|
103 |
|
|
|
103 |
|
|
104 |
|
|
|
104 |
|
|
105 |
|
<xsl:temp
late name=
"Breadcrum
bEntry">
|
|
105 |
|
<xsl:temp
late name=
"Breadcrum
bEntry">
|
106 |
|
<xsl:par
am name="P
aramTOCEnt
ry" />
|
|
106 |
|
<xsl:par
am name="P
aramTOCEnt
ry" />
|
107 |
|
|
|
107 |
|
|
108 |
|
<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">
|
|
108 |
|
<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">
|
109 |
|
<xsl:va
riable nam
e="VarText
" select="
." />
|
|
109 |
|
<xsl:va
riable nam
e="VarText
" select="
." />
|
110 |
|
|
|
110 |
|
|
111 |
|
<xsl:va
lue-of sel
ect="$VarT
ext/@value
" />
|
|
111 |
|
<xsl:va
lue-of sel
ect="$VarT
ext/@value
" />
|
112 |
|
</xsl:fo
r-each>
|
|
112 |
|
</xsl:fo
r-each>
|
113 |
|
</xsl:tem
plate>
|
|
113 |
|
</xsl:tem
plate>
|
114 |
|
|
|
114 |
|
|
115 |
|
|
|
115 |
|
|
116 |
|
<xsl:temp
late name=
"Content-C
ontent">
|
|
116 |
|
<xsl:temp
late name=
"Content-C
ontent">
|
117 |
|
<xsl:par
am name="P
aramConten
t" />
|
|
117 |
|
<xsl:par
am name="P
aramConten
t" />
|
118 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
118 |
|
<xsl:par
am name="P
aramSplits
" />
|
119 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
119 |
|
<xsl:par
am name="P
aramCargo"
/>
|
120 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
120 |
|
<xsl:par
am name="P
aramLinks"
/>
|
121 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
|
121 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
122 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
122 |
|
<xsl:par
am name="P
aramSplit"
/>
|
123 |
|
|
|
123 |
|
|
124 |
|
<!-- Con
tent -->
|
|
124 |
|
<!-- Con
tent -->
|
125 |
|
<!--
-->
|
|
125 |
|
<!--
-->
|
126 |
|
<xsl:app
ly-templat
es select=
"$ParamCon
tent" mode
="wwmode:c
ontent">
|
|
126 |
|
<xsl:app
ly-templat
es select=
"$ParamCon
tent" mode
="wwmode:c
ontent">
|
127 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
|
127 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
128 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$Para
mCargo" />
|
|
128 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$Para
mCargo" />
|
129 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
|
129 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
130 |
|
<xsl:wi
th-param n
ame="Param
TOCData" s
elect="$Pa
ramTOCData
" />
|
|
130 |
|
<xsl:wi
th-param n
ame="Param
TOCData" s
elect="$Pa
ramTOCData
" />
|
131 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
|
131 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
132 |
|
</xsl:ap
ply-templa
tes>
|
|
132 |
|
</xsl:ap
ply-templa
tes>
|
133 |
|
|
|
133 |
|
|
134 |
|
<!-- Rel
ated Topic
s -->
|
|
134 |
|
<!-- Rel
ated Topic
s -->
|
135 |
|
<!--
-->
|
|
135 |
|
<!--
-->
|
136 |
|
<xsl:cal
l-template
name="Rel
atedTopics
">
|
|
136 |
|
<xsl:cal
l-template
name="Rel
atedTopics
">
|
137 |
|
<xsl:wi
th-param n
ame="Param
Content" s
elect="$Pa
ramContent
" />
|
|
137 |
|
<xsl:wi
th-param n
ame="Param
Content" s
elect="$Pa
ramContent
" />
|
138 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
|
138 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
139 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$Para
mCargo" />
|
|
139 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$Para
mCargo" />
|
140 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
|
140 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
141 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
|
141 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
142 |
|
</xsl:ca
ll-templat
e>
|
|
142 |
|
</xsl:ca
ll-templat
e>
|
143 |
|
</xsl:tem
plate>
|
|
143 |
|
</xsl:tem
plate>
|
144 |
|
|
|
144 |
|
|
145 |
|
|
|
145 |
|
|
146 |
|
<xsl:temp
late name=
"RelatedTo
pics">
|
|
146 |
|
<xsl:temp
late name=
"RelatedTo
pics">
|
147 |
|
<xsl:par
am name="P
aramConten
t" />
|
|
147 |
|
<xsl:par
am name="P
aramConten
t" />
|
148 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
148 |
|
<xsl:par
am name="P
aramSplits
" />
|
149 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
149 |
|
<xsl:par
am name="P
aramCargo"
/>
|
150 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
150 |
|
<xsl:par
am name="P
aramLinks"
/>
|
151 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
151 |
|
<xsl:par
am name="P
aramSplit"
/>
|
152 |
|
|
|
152 |
|
|
153 |
|
<xsl:var
iable name
="VarRelat
edTopicPar
agraphsAsX
ML">
|
|
153 |
|
<xsl:var
iable name
="VarRelat
edTopicPar
agraphsAsX
ML">
|
154 |
|
<xsl:ca
ll-templat
e name="Re
latedTopic
Paragraphs
">
|
|
154 |
|
<xsl:ca
ll-templat
e name="Re
latedTopic
Paragraphs
">
|
155 |
|
<xsl:w
ith-param
name="Para
mContent"
select="$P
aramConten
t" />
|
|
155 |
|
<xsl:w
ith-param
name="Para
mContent"
select="$P
aramConten
t" />
|
156 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
|
156 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
157 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
|
157 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
158 |
|
</xsl:c
all-templa
te>
|
|
158 |
|
</xsl:c
all-templa
te>
|
159 |
|
</xsl:va
riable>
|
|
159 |
|
</xsl:va
riable>
|
160 |
|
<xsl:var
iable name
="VarRelat
edTopicPar
agraphs" s
elect="msx
sl:node-se
t($VarRela
tedTopicPa
ragraphsAs
XML)/wwdoc
:Paragraph
" />
|
|
160 |
|
<xsl:var
iable name
="VarRelat
edTopicPar
agraphs" s
elect="msx
sl:node-se
t($VarRela
tedTopicPa
ragraphsAs
XML)/wwdoc
:Paragraph
" />
|
161 |
|
|
|
161 |
|
|
162 |
|
<xsl:if
test="coun
t($VarRela
tedTopicPa
ragraphs)
> 0">
|
|
162 |
|
<xsl:if
test="coun
t($VarRela
tedTopicPa
ragraphs)
> 0">
|
163 |
|
<html:h
r />
|
|
163 |
|
<html:h
r />
|
164 |
|
<html:d
iv>
|
|
164 |
|
<html:d
iv>
|
165 |
|
<html:
div style=
"font-weig
ht: bold;"
>
|
|
165 |
|
<html:
div style=
"font-weig
ht: bold;"
>
|
166 |
|
<xsl:
value-of s
elect="$Gl
obalLocale
/wwlocale:
Locale/wwl
ocale:Stri
ngs/wwloca
le:String[
@name = 'R
elatedTopi
cs']/@valu
e" />
|
|
166 |
|
<xsl:
value-of s
elect="$Gl
obalLocale
/wwlocale:
Locale/wwl
ocale:Stri
ngs/wwloca
le:String[
@name = 'R
elatedTopi
cs']/@valu
e" />
|
167 |
|
</html
:div>
|
|
167 |
|
</html
:div>
|
168 |
|
|
|
168 |
|
|
169 |
|
<xsl:f
or-each se
lect="$Var
RelatedTop
icParagrap
hs">
|
|
169 |
|
<xsl:f
or-each se
lect="$Var
RelatedTop
icParagrap
hs">
|
170 |
|
<xsl:
variable n
ame="VarRe
latedTopic
Paragraph"
select=".
" />
|
|
170 |
|
<xsl:
variable n
ame="VarRe
latedTopic
Paragraph"
select=".
" />
|
171 |
|
|
|
171 |
|
|
172 |
|
<xsl:
variable n
ame="VarOv
errideRule
" select="
wwprojext:
GetOverrid
eRule('Par
agraph', $
VarRelated
TopicParag
raph/@styl
ename, $Pa
ramSplit/@
documentID
, $VarRela
tedTopicPa
ragraph/@i
d)" />
|
|
172 |
|
<xsl:
variable n
ame="VarOv
errideRule
" select="
wwprojext:
GetOverrid
eRule('Par
agraph', $
VarRelated
TopicParag
raph/@styl
ename, $Pa
ramSplit/@
documentID
, $VarRela
tedTopicPa
ragraph/@i
d)" />
|
173 |
|
<xsl:
variable n
ame="VarPa
ragraphBeh
avior" sel
ect="$Para
mCargo/wwb
ehaviors:B
ehaviors[1
]" />
|
|
173 |
|
<xsl:
variable n
ame="VarPa
ragraphBeh
avior" sel
ect="$Para
mCargo/wwb
ehaviors:B
ehaviors[1
]" />
|
174 |
|
|
|
174 |
|
|
175 |
|
<html
:div style
="margin-l
eft: 12pt;
">
|
|
175 |
|
<html
:div style
="margin-l
eft: 12pt;
">
|
176 |
|
<xsl
:call-temp
late name=
"Paragraph
-Normal">
|
|
176 |
|
<xsl
:call-temp
late name=
"Paragraph
-Normal">
|
177 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
|
177 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
178 |
|
<xs
l:with-par
am name="P
aramCargo"
select="$
ParamCargo
" />
|
|
178 |
|
<xs
l:with-par
am name="P
aramCargo"
select="$
ParamCargo
" />
|
179 |
|
<xs
l:with-par
am name="P
aramLinks"
select="$
ParamLinks
" />
|
|
179 |
|
<xs
l:with-par
am name="P
aramLinks"
select="$
ParamLinks
" />
|
180 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
|
180 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
181 |
|
<xs
l:with-par
am name="P
aramParagr
aph" selec
t="$VarRel
atedTopicP
aragraph"
/>
|
|
181 |
|
<xs
l:with-par
am name="P
aramParagr
aph" selec
t="$VarRel
atedTopicP
aragraph"
/>
|
182 |
|
<xs
l:with-par
am name="P
aramStyleN
ame" selec
t="$VarRel
atedTopicP
aragraph/@
stylename"
/>
|
|
182 |
|
<xs
l:with-par
am name="P
aramStyleN
ame" selec
t="$VarRel
atedTopicP
aragraph/@
stylename"
/>
|
183 |
|
<xs
l:with-par
am name="P
aramOverri
deRule" se
lect="$Var
OverrideRu
le" />
|
|
183 |
|
<xs
l:with-par
am name="P
aramOverri
deRule" se
lect="$Var
OverrideRu
le" />
|
184 |
|
<xs
l:with-par
am name="P
aramParagr
aphBehavio
r" select=
"$VarParag
raphBehavi
or" />
|
|
184 |
|
<xs
l:with-par
am name="P
aramParagr
aphBehavio
r" select=
"$VarParag
raphBehavi
or" />
|
185 |
|
</xs
l:call-tem
plate>
|
|
185 |
|
</xs
l:call-tem
plate>
|
186 |
|
</htm
l:div>
|
|
186 |
|
</htm
l:div>
|
187 |
|
</xsl:
for-each>
|
|
187 |
|
</xsl:
for-each>
|
188 |
|
</html:
div>
|
|
188 |
|
</html:
div>
|
189 |
|
</xsl:if
>
|
|
189 |
|
</xsl:if
>
|
190 |
|
</xsl:tem
plate>
|
|
190 |
|
</xsl:tem
plate>
|
191 |
|
|
|
191 |
|
|
192 |
|
|
|
192 |
|
|
193 |
|
<xsl:temp
late name=
"RelatedTo
picParagra
phs">
|
|
193 |
|
<xsl:temp
late name=
"RelatedTo
picParagra
phs">
|
194 |
|
<xsl:par
am name="P
aramConten
t" />
|
|
194 |
|
<xsl:par
am name="P
aramConten
t" />
|
195 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
195 |
|
<xsl:par
am name="P
aramCargo"
/>
|
196 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
196 |
|
<xsl:par
am name="P
aramSplit"
/>
|
197 |
|
|
|
197 |
|
|
198 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwbe
haviors:Be
haviors[1]
">
|
|
198 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwbe
haviors:Be
haviors[1]
">
|
199 |
|
<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')"
/>
|
|
199 |
|
<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')"
/>
|
200 |
|
|
|
200 |
|
|
201 |
|
<xsl:fo
r-each sel
ect="$VarR
elatedTopi
cBehaviorP
aragraphs[
(@document
position &
gt;= $Para
mSplit/@do
cumentstar
tposition)
and (@doc
umentposit
ion <=
$ParamSpli
t/@documen
tendpositi
on)]">
|
|
201 |
|
<xsl:fo
r-each sel
ect="$VarR
elatedTopi
cBehaviorP
aragraphs[
(@document
position &
gt;= $Para
mSplit/@do
cumentstar
tposition)
and (@doc
umentposit
ion <=
$ParamSpli
t/@documen
tendpositi
on)]">
|
202 |
|
<xsl:v
ariable na
me="VarBeh
aviorParag
raph" sele
ct="." />
|
|
202 |
|
<xsl:v
ariable na
me="VarBeh
aviorParag
raph" sele
ct="." />
|
203 |
|
|
|
203 |
|
|
204 |
|
<xsl:f
or-each se
lect="$Par
amContent[
1]">
|
|
204 |
|
<xsl:f
or-each se
lect="$Par
amContent[
1]">
|
205 |
|
<xsl:
for-each s
elect="key
('wwdoc-pa
ragraphs-b
y-id', $Va
rBehaviorP
aragraph/@
id)[1]">
|
|
205 |
|
<xsl:
for-each s
elect="key
('wwdoc-pa
ragraphs-b
y-id', $Va
rBehaviorP
aragraph/@
id)[1]">
|
206 |
|
<xsl
:variable
name="VarP
aragraph"
select="."
/>
|
|
206 |
|
<xsl
:variable
name="VarP
aragraph"
select="."
/>
|
207 |
|
|
|
207 |
|
|
208 |
|
<!--
Paragraph
has link?
-->
|
|
208 |
|
<!--
Paragraph
has link?
-->
|
209 |
|
<!--
-->
|
|
209 |
|
<!--
-->
|
210 |
|
<xsl
:variable
name="VarC
hildLinks"
select="$
VarParagra
ph//wwdoc:
Link[count
($VarParag
raph | anc
estor::wwd
oc:Paragra
ph[1]) = 1
]" />
|
|
210 |
|
<xsl
:variable
name="VarC
hildLinks"
select="$
VarParagra
ph//wwdoc:
Link[count
($VarParag
raph | anc
estor::wwd
oc:Paragra
ph[1]) = 1
]" />
|
211 |
|
<xsl
:variable
name="VarC
hildLinksC
ount" sele
ct="count(
$VarChildL
inks)" />
|
|
211 |
|
<xsl
:variable
name="VarC
hildLinksC
ount" sele
ct="count(
$VarChildL
inks)" />
|
212 |
|
<xsl
:if test="
$VarChildL
inksCount
> 0">
|
|
212 |
|
<xsl
:if test="
$VarChildL
inksCount
> 0">
|
213 |
|
<!-
- Emit par
agraph -->
|
|
213 |
|
<!-
- Emit par
agraph -->
|
214 |
|
<!-
-
-->
|
|
214 |
|
<!-
-
-->
|
215 |
|
<ww
doc:Paragr
aph>
|
|
215 |
|
<ww
doc:Paragr
aph>
|
216 |
|
<x
sl:copy-of
select="$
VarParagra
ph/@*" />
|
|
216 |
|
<x
sl:copy-of
select="$
VarParagra
ph/@*" />
|
217 |
|
|
|
217 |
|
|
218 |
|
<!
-- Insure
link is de
fined -->
|
|
218 |
|
<!
-- Insure
link is de
fined -->
|
219 |
|
<!
--
-->
|
|
219 |
|
<!
--
-->
|
220 |
|
<x
sl:if test
="count($V
arParagrap
h/wwdoc:Li
nk) = 0">
|
|
220 |
|
<x
sl:if test
="count($V
arParagrap
h/wwdoc:Li
nk) = 0">
|
221 |
|
<
xsl:copy-o
f select="
$VarChildL
inks[1]" /
>
|
|
221 |
|
<
xsl:copy-o
f select="
$VarChildL
inks[1]" /
>
|
222 |
|
</
xsl:if>
|
|
222 |
|
</
xsl:if>
|
223 |
|
|
|
223 |
|
|
224 |
|
<x
sl:copy-of
select="$
VarParagra
ph/*" />
|
|
224 |
|
<x
sl:copy-of
select="$
VarParagra
ph/*" />
|
225 |
|
</w
wdoc:Parag
raph>
|
|
225 |
|
</w
wdoc:Parag
raph>
|
226 |
|
</xs
l:if>
|
|
226 |
|
</xs
l:if>
|
227 |
|
</xsl
:for-each>
|
|
227 |
|
</xsl
:for-each>
|
228 |
|
</xsl:
for-each>
|
|
228 |
|
</xsl:
for-each>
|
229 |
|
</xsl:f
or-each>
|
|
229 |
|
</xsl:f
or-each>
|
230 |
|
</xsl:fo
r-each>
|
|
230 |
|
</xsl:fo
r-each>
|
231 |
|
</xsl:tem
plate>
|
|
231 |
|
</xsl:tem
plate>
|
232 |
|
|
|
232 |
|
|
233 |
|
|
|
233 |
|
|
234 |
|
<xsl:temp
late name=
"Content-N
otes">
|
|
234 |
|
<xsl:temp
late name=
"Content-N
otes">
|
235 |
|
<xsl:par
am name="P
aramNotes"
/>
|
|
235 |
|
<xsl:par
am name="P
aramNotes"
/>
|
236 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
236 |
|
<xsl:par
am name="P
aramSplits
" />
|
237 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
237 |
|
<xsl:par
am name="P
aramCargo"
/>
|
238 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
238 |
|
<xsl:par
am name="P
aramLinks"
/>
|
239 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
|
239 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
240 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
240 |
|
<xsl:par
am name="P
aramSplit"
/>
|
241 |
|
|
|
241 |
|
|
242 |
|
<xsl:if
test="coun
t($ParamNo
tes[1]) =
1">
|
|
242 |
|
<xsl:if
test="coun
t($ParamNo
tes[1]) =
1">
|
243 |
|
<html:h
r />
|
|
243 |
|
<html:h
r />
|
244 |
|
<xsl:fo
r-each sel
ect="$Para
mNotes">
|
|
244 |
|
<xsl:fo
r-each sel
ect="$Para
mNotes">
|
245 |
|
<xsl:v
ariable na
me="VarNot
e" select=
"." />
|
|
245 |
|
<xsl:v
ariable na
me="VarNot
e" select=
"." />
|
246 |
|
|
|
246 |
|
|
247 |
|
<xsl:v
ariable na
me="VarNot
eNumber" s
elect="$Pa
ramCargo/w
wnotes:Not
eNumbering
/wwnotes:N
ote[@id =
$VarNote/@
id]/@numbe
r" />
|
|
247 |
|
<xsl:v
ariable na
me="VarNot
eNumber" s
elect="$Pa
ramCargo/w
wnotes:Not
eNumbering
/wwnotes:N
ote[@id =
$VarNote/@
id]/@numbe
r" />
|
248 |
|
|
|
248 |
|
|
249 |
|
<xsl:i
f test="st
ring-lengt
h($VarNote
Number) &g
t; 0">
|
|
249 |
|
<xsl:i
f test="st
ring-lengt
h($VarNote
Number) &g
t; 0">
|
250 |
|
<html
:div style
="display:
inline; f
ont-size:
smaller; p
adding-rig
ht: 10px;"
>
|
|
250 |
|
<html
:div style
="display:
inline; f
ont-size:
smaller; p
adding-rig
ht: 10px;"
>
|
251 |
|
<!--
Force on
one line -
->
|
|
251 |
|
<!--
Force on
one line -
->
|
252 |
|
<!--
-
->
|
|
252 |
|
<!--
-
->
|
253 |
|
<wwe
xsldoc:NoB
reak />
|
|
253 |
|
<wwe
xsldoc:NoB
reak />
|
254 |
|
|
|
254 |
|
|
255 |
|
<htm
l:span id=
"ww{$VarNo
te/@id}">
|
|
255 |
|
<htm
l:span id=
"ww{$VarNo
te/@id}">
|
256 |
|
<xs
l:text>[[<
/xsl:text>
|
|
256 |
|
<xs
l:text>[[<
/xsl:text>
|
257 |
|
<xs
l:text>#ww
footnote_i
nline_</xs
l:text>
|
|
257 |
|
<xs
l:text>#ww
footnote_i
nline_</xs
l:text>
|
258 |
|
<xs
l:value-of
select="$
VarNote/@i
d" />
|
|
258 |
|
<xs
l:value-of
select="$
VarNote/@i
d" />
|
259 |
|
|
|
259 |
|
|
260 |
|
<xs
l:text>|</
xsl:text>
|
|
260 |
|
<xs
l:text>|</
xsl:text>
|
261 |
|
|
|
261 |
|
|
262 |
|
<x
sl:value-o
f select="
$VarNoteNu
mber"/>
|
|
262 |
|
<x
sl:value-o
f select="
$VarNoteNu
mber"/>
|
263 |
|
<xs
l:text>]]<
/xsl:text>
|
|
263 |
|
<xs
l:text>]]<
/xsl:text>
|
264 |
|
</ht
ml:span>
|
|
264 |
|
</ht
ml:span>
|
265 |
|
|
|
265 |
|
|
266 |
|
<!--
Force on
one line -
->
|
|
266 |
|
<!--
Force on
one line -
->
|
267 |
|
<!--
-
->
|
|
267 |
|
<!--
-
->
|
268 |
|
<wwe
xsldoc:NoB
reak />
|
|
268 |
|
<wwe
xsldoc:NoB
reak />
|
269 |
|
</htm
l:div>
|
|
269 |
|
</htm
l:div>
|
270 |
|
|
|
270 |
|
|
271 |
|
<xsl:
apply-temp
lates sele
ct="$VarNo
te/*" mode
="wwmode:c
ontent">
|
|
271 |
|
<xsl:
apply-temp
lates sele
ct="$VarNo
te/*" mode
="wwmode:c
ontent">
|
272 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
272 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
273 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
273 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
274 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
274 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
275 |
|
<xsl
:with-para
m name="Pa
ramTOCData
" select="
$ParamTOCD
ata" />
|
|
275 |
|
<xsl
:with-para
m name="Pa
ramTOCData
" select="
$ParamTOCD
ata" />
|
276 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
276 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
277 |
|
</xsl
:apply-tem
plates>
|
|
277 |
|
</xsl
:apply-tem
plates>
|
278 |
|
</xsl:
if>
|
|
278 |
|
</xsl:
if>
|
279 |
|
</xsl:f
or-each>
|
|
279 |
|
</xsl:f
or-each>
|
280 |
|
</xsl:if
>
|
|
280 |
|
</xsl:if
>
|
281 |
|
</xsl:tem
plate>
|
|
281 |
|
</xsl:tem
plate>
|
282 |
|
|
|
282 |
|
|
283 |
|
|
|
283 |
|
|
284 |
|
<xsl:temp
late name=
"Content-B
ullet">
|
|
284 |
|
<xsl:temp
late name=
"Content-B
ullet">
|
285 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
285 |
|
<xsl:par
am name="P
aramSplits
" />
|
286 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
286 |
|
<xsl:par
am name="P
aramSplit"
/>
|
287 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
|
287 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
288 |
|
<xsl:par
am name="P
aramCharac
ter" />
|
|
288 |
|
<xsl:par
am name="P
aramCharac
ter" />
|
289 |
|
<xsl:par
am name="P
aramImage"
/>
|
|
289 |
|
<xsl:par
am name="P
aramImage"
/>
|
290 |
|
<xsl:par
am name="P
aramSepara
tor" />
|
|
290 |
|
<xsl:par
am name="P
aramSepara
tor" />
|
291 |
|
<xsl:par
am name="P
aramStyle"
/>
|
|
291 |
|
<xsl:par
am name="P
aramStyle"
/>
|
292 |
|
|
|
292 |
|
|
293 |
|
<xsl:cho
ose>
|
|
293 |
|
<xsl:cho
ose>
|
294 |
|
<xsl:wh
en test="s
tring-leng
th($ParamS
tyle) >
0">
|
|
294 |
|
<xsl:wh
en test="s
tring-leng
th($ParamS
tyle) >
0">
|
295 |
|
|
|
295 |
|
|
296 |
|
<!-- G
et rule --
>
|
|
296 |
|
<!-- G
et rule --
>
|
297 |
|
<!--
--
>
|
|
297 |
|
<!--
--
>
|
298 |
|
<xsl:v
ariable na
me="VarRul
e" select=
"wwprojext
:GetRule('
Character'
, $ParamSt
yle)" />
|
|
298 |
|
<xsl:v
ariable na
me="VarRul
e" select=
"wwprojext
:GetRule('
Character'
, $ParamSt
yle)" />
|
299 |
|
|
|
299 |
|
|
300 |
|
<!-- R
esolve pro
ject prope
rties -->
|
|
300 |
|
<!-- R
esolve pro
ject prope
rties -->
|
301 |
|
<!--
-->
|
|
301 |
|
<!--
-->
|
302 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
esAsXML">
|
|
302 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
esAsXML">
|
303 |
|
<xsl:
call-templ
ate name="
Properties
-ResolveCo
ntextRule"
>
|
|
303 |
|
<xsl:
call-templ
ate name="
Properties
-ResolveCo
ntextRule"
>
|
304 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tContext"
select="$P
aramParagr
aph" />
|
|
304 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tContext"
select="$P
aramParagr
aph" />
|
305 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y" />
|
|
305 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y" />
|
306 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$ParamSt
yle" />
|
|
306 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$ParamSt
yle" />
|
307 |
|
<xsl
:with-para
m name="Pa
ramStyleTy
pe" select
="'Charact
er'" />
|
|
307 |
|
<xsl
:with-para
m name="Pa
ramStyleTy
pe" select
="'Charact
er'" />
|
308 |
|
<xsl
:with-para
m name="Pa
ramContext
Style" sel
ect="$Para
mParagraph
/wwdoc:Num
ber[1]/wwd
oc:Style"
/>
|
|
308 |
|
<xsl
:with-para
m name="Pa
ramContext
Style" sel
ect="$Para
mParagraph
/wwdoc:Num
ber[1]/wwd
oc:Style"
/>
|
309 |
|
</xsl
:call-temp
late>
|
|
309 |
|
</xsl
:call-temp
late>
|
310 |
|
</xsl:
variable>
|
|
310 |
|
</xsl:
variable>
|
311 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
es" select
="msxsl:no
de-set($Va
rResolvedC
ontextProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
|
311 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
es" select
="msxsl:no
de-set($Va
rResolvedC
ontextProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
312 |
|
|
|
312 |
|
|
313 |
|
<!-- C
SS propert
ies -->
|
|
313 |
|
<!-- C
SS propert
ies -->
|
314 |
|
<!--
-->
|
|
314 |
|
<!--
-->
|
315 |
|
<xsl:v
ariable na
me="VarCSS
Properties
AsXML">
|
|
315 |
|
<xsl:v
ariable na
me="VarCSS
Properties
AsXML">
|
316 |
|
<xsl:
call-templ
ate name="
CSS-Transl
ateProject
Properties
">
|
|
316 |
|
<xsl:
call-templ
ate name="
CSS-Transl
ateProject
Properties
">
|
317 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarRes
olvedConte
xtProperti
es" />
|
|
317 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarRes
olvedConte
xtProperti
es" />
|
318 |
|
<xsl
:with-para
m name="Pa
ramFromAbs
oluteURI"
select="$P
aramSplit/
@path" />
|
|
318 |
|
<xsl
:with-para
m name="Pa
ramFromAbs
oluteURI"
select="$P
aramSplit/
@path" />
|
319 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
319 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
320 |
|
</xsl
:call-temp
late>
|
|
320 |
|
</xsl
:call-temp
late>
|
321 |
|
</xsl:
variable>
|
|
321 |
|
</xsl:
variable>
|
322 |
|
<xsl:v
ariable na
me="VarCSS
Properties
" select="
msxsl:node
-set($VarC
SSProperti
esAsXML)/w
wproject:P
roperty" /
>
|
|
322 |
|
<xsl:v
ariable na
me="VarCSS
Properties
" select="
msxsl:node
-set($VarC
SSProperti
esAsXML)/w
wproject:P
roperty" /
>
|
323 |
|
|
|
323 |
|
|
324 |
|
<!-- S
tyle attri
bute -->
|
|
324 |
|
<!-- S
tyle attri
bute -->
|
325 |
|
<!--
-->
|
|
325 |
|
<!--
-->
|
326 |
|
<xsl:v
ariable na
me="VarSty
leAttribut
e">
|
|
326 |
|
<xsl:v
ariable na
me="VarSty
leAttribut
e">
|
327 |
|
<xsl:
call-templ
ate name="
CSS-Inline
Properties
">
|
|
327 |
|
<xsl:
call-templ
ate name="
CSS-Inline
Properties
">
|
328 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCSS
Properties
" />
|
|
328 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCSS
Properties
" />
|
329 |
|
</xsl
:call-temp
late>
|
|
329 |
|
</xsl
:call-temp
late>
|
330 |
|
</xsl:
variable>
|
|
330 |
|
</xsl:
variable>
|
331 |
|
|
|
331 |
|
|
332 |
|
<xsl:v
ariable na
me="VarTag
Property"
select="$V
arRule/wwp
roject:Pro
perties/ww
project:Pr
operty[@Na
me = 'tag'
]/@Value"
/>
|
|
332 |
|
<xsl:v
ariable na
me="VarTag
Property"
select="$V
arRule/wwp
roject:Pro
perties/ww
project:Pr
operty[@Na
me = 'tag'
]/@Value"
/>
|
333 |
|
<xsl:v
ariable na
me="VarTag
">
|
|
333 |
|
<xsl:v
ariable na
me="VarTag
">
|
334 |
|
<xsl:
choose>
|
|
334 |
|
<xsl:
choose>
|
335 |
|
<xsl
:when test
="string-l
ength($Var
TagPropert
y) > 0"
>
|
|
335 |
|
<xsl
:when test
="string-l
ength($Var
TagPropert
y) > 0"
>
|
336 |
|
<xs
l:value-of
select="$
VarTagProp
erty" />
|
|
336 |
|
<xs
l:value-of
select="$
VarTagProp
erty" />
|
337 |
|
</xs
l:when>
|
|
337 |
|
</xs
l:when>
|
338 |
|
|
|
338 |
|
|
339 |
|
<xsl
:otherwise
>
|
|
339 |
|
<xsl
:otherwise
>
|
340 |
|
<xs
l:value-of
select="'
span'" />
|
|
340 |
|
<xs
l:value-of
select="'
span'" />
|
341 |
|
</xs
l:otherwis
e>
|
|
341 |
|
</xs
l:otherwis
e>
|
342 |
|
</xsl
:choose>
|
|
342 |
|
</xsl
:choose>
|
343 |
|
</xsl:
variable>
|
|
343 |
|
</xsl:
variable>
|
344 |
|
|
|
344 |
|
|
345 |
|
<xsl:e
lement nam
e="{$VarTa
g}" namesp
ace="{$Glo
balDefault
Namespace}
">
|
|
345 |
|
<xsl:e
lement nam
e="{$VarTa
g}" namesp
ace="{$Glo
balDefault
Namespace}
">
|
346 |
|
<!--
Style attr
ibute -->
|
|
346 |
|
<!--
Style attr
ibute -->
|
347 |
|
<!--
-->
|
|
347 |
|
<!--
-->
|
348 |
|
<xsl:
if test="s
tring-leng
th($VarSty
leAttribut
e) > 0"
>
|
|
348 |
|
<xsl:
if test="s
tring-leng
th($VarSty
leAttribut
e) > 0"
>
|
349 |
|
<xsl
:attribute
name="sty
le">
|
|
349 |
|
<xsl
:attribute
name="sty
le">
|
350 |
|
<xs
l:value-of
select="$
VarStyleAt
tribute" /
>
|
|
350 |
|
<xs
l:value-of
select="$
VarStyleAt
tribute" /
>
|
351 |
|
</xs
l:attribut
e>
|
|
351 |
|
</xs
l:attribut
e>
|
352 |
|
</xsl
:if>
|
|
352 |
|
</xsl
:if>
|
353 |
|
|
|
353 |
|
|
354 |
|
<xsl:
if test="s
tring-leng
th($ParamI
mage) >
0">
|
|
354 |
|
<xsl:
if test="s
tring-leng
th($ParamI
mage) >
0">
|
355 |
|
<!--
Get absol
ute path f
or imaging
info -->
|
|
355 |
|
<!--
Get absol
ute path f
or imaging
info -->
|
356 |
|
<!--
-->
|
|
356 |
|
<!--
-->
|
357 |
|
<xsl
:variable
name="VarI
mageFileSy
stemPath"
select="ww
filesystem
:Combine(w
wprojext:G
etTargetOu
tputDirect
oryPath(),
wwprojext
:GetGroupN
ame($Param
Split/@gro
upID), $Pa
ramImage)"
/>
|
|
357 |
|
<xsl
:variable
name="VarI
mageFileSy
stemPath"
select="ww
filesystem
:Combine(w
wprojext:G
etTargetOu
tputDirect
oryPath(),
wwprojext
:GetGroupN
ame($Param
Split/@gro
upID), $Pa
ramImage)"
/>
|
358 |
|
<xsl
:variable
name="VarI
mageInfo"
select="ww
imaging:Ge
tInfo($Var
ImageFileS
ystemPath)
" />
|
|
358 |
|
<xsl
:variable
name="VarI
mageInfo"
select="ww
imaging:Ge
tInfo($Var
ImageFileS
ystemPath)
" />
|
359 |
|
|
|
359 |
|
|
360 |
|
<xsl
:variable
name="VarI
magePath">
|
|
360 |
|
<xsl
:variable
name="VarI
magePath">
|
361 |
|
<xs
l:call-tem
plate name
="URI-Reso
lveProject
FileURI">
|
|
361 |
|
<xs
l:call-tem
plate name
="URI-Reso
lveProject
FileURI">
|
362 |
|
<x
sl:with-pa
ram name="
ParamFromA
bsoluteURI
" select="
$ParamSpli
t/@path" /
>
|
|
362 |
|
<x
sl:with-pa
ram name="
ParamFromA
bsoluteURI
" select="
$ParamSpli
t/@path" /
>
|
363 |
|
<x
sl:with-pa
ram name="
ParamSplit
s" select=
"$ParamSpl
its" />
|
|
363 |
|
<x
sl:with-pa
ram name="
ParamSplit
s" select=
"$ParamSpl
its" />
|
364 |
|
<x
sl:with-pa
ram name="
ParamURI"
select="$P
aramImage"
/>
|
|
364 |
|
<x
sl:with-pa
ram name="
ParamURI"
select="$P
aramImage"
/>
|
365 |
|
</x
sl:call-te
mplate>
|
|
365 |
|
</x
sl:call-te
mplate>
|
366 |
|
</xs
l:variable
>
|
|
366 |
|
</xs
l:variable
>
|
367 |
|
|
|
367 |
|
|
368 |
|
<!--
Image -->
|
|
368 |
|
<!--
Image -->
|
369 |
|
<!--
-->
|
|
369 |
|
<!--
-->
|
370 |
|
<xsl
:text>[[</
xsl:text>
|
|
370 |
|
<xsl
:text>[[</
xsl:text>
|
371 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ImageRoo
tedLink">
|
|
371 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ImageRoo
tedLink">
|
372 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="$VarIma
gePath" />
|
|
372 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="$VarIma
gePath" />
|
373 |
|
<x
sl:with-pa
ram name="
ParamOutpu
tDirectory
Path" sele
ct="$Param
Split/@tar
get-output
-directory
-path" />
|
|
373 |
|
<x
sl:with-pa
ram name="
ParamOutpu
tDirectory
Path" sele
ct="$Param
Split/@tar
get-output
-directory
-path" />
|
374 |
|
</x
sl:call-te
mplate>
|
|
374 |
|
</x
sl:call-te
mplate>
|
375 |
|
|
|
375 |
|
|
376 |
|
<xsl
:text>|</x
sl:text>
|
|
376 |
|
<xsl
:text>|</x
sl:text>
|
377 |
|
|
|
377 |
|
|
378 |
|
<xsl
:value-of
select="$V
arImageInf
o/@width"
/>
|
|
378 |
|
<xsl
:value-of
select="$V
arImageInf
o/@width"
/>
|
379 |
|
<xsl
:text>px</
xsl:text>
|
|
379 |
|
<xsl
:text>px</
xsl:text>
|
380 |
|
<xsl
:text>]]</
xsl:text>
|
|
380 |
|
<xsl
:text>]]</
xsl:text>
|
381 |
|
</xsl
:if>
|
|
381 |
|
</xsl
:if>
|
382 |
|
|
|
382 |
|
|
383 |
|
<!--
Characters
-->
|
|
383 |
|
<!--
Characters
-->
|
384 |
|
<!--
-->
|
|
384 |
|
<!--
-->
|
385 |
|
<xsl:
value-of s
elect="$Pa
ramCharact
er" />
|
|
385 |
|
<xsl:
value-of s
elect="$Pa
ramCharact
er" />
|
386 |
|
|
|
386 |
|
|
387 |
|
<!--
Separator
-->
|
|
387 |
|
<!--
Separator
-->
|
388 |
|
<!--
-->
|
|
388 |
|
<!--
-->
|
389 |
|
<xsl:
value-of s
elect="$Pa
ramSeparat
or" />
|
|
389 |
|
<xsl:
value-of s
elect="$Pa
ramSeparat
or" />
|
390 |
|
</xsl:
element>
|
|
390 |
|
</xsl:
element>
|
391 |
|
</xsl:w
hen>
|
|
391 |
|
</xsl:w
hen>
|
392 |
|
|
|
392 |
|
|
393 |
|
<xsl:ot
herwise>
|
|
393 |
|
<xsl:ot
herwise>
|
394 |
|
<xsl:i
f test="st
ring-lengt
h($ParamIm
age) >
0">
|
|
394 |
|
<xsl:i
f test="st
ring-lengt
h($ParamIm
age) >
0">
|
395 |
|
<!--
Get absolu
te path fo
r imaging
info -->
|
|
395 |
|
<!--
Get absolu
te path fo
r imaging
info -->
|
396 |
|
<!--
-->
|
|
396 |
|
<!--
-->
|
397 |
|
<xsl:
variable n
ame="VarIm
ageFileSys
temPath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
wwprojext:
GetGroupNa
me($ParamS
plit/@grou
pID), $Par
amImage)"
/>
|
|
397 |
|
<xsl:
variable n
ame="VarIm
ageFileSys
temPath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
wwprojext:
GetGroupNa
me($ParamS
plit/@grou
pID), $Par
amImage)"
/>
|
398 |
|
<xsl:
variable n
ame="VarIm
ageInfo" s
elect="wwi
maging:Get
Info($VarI
mageFileSy
stemPath)"
/>
|
|
398 |
|
<xsl:
variable n
ame="VarIm
ageInfo" s
elect="wwi
maging:Get
Info($VarI
mageFileSy
stemPath)"
/>
|
399 |
|
|
|
399 |
|
|
400 |
|
<xsl:
variable n
ame="VarIm
agePath">
|
|
400 |
|
<xsl:
variable n
ame="VarIm
agePath">
|
401 |
|
<xsl
:call-temp
late name=
"URI-Resol
veProjectF
ileURI">
|
|
401 |
|
<xsl
:call-temp
late name=
"URI-Resol
veProjectF
ileURI">
|
402 |
|
<xs
l:with-par
am name="P
aramFromAb
soluteURI"
select="$
ParamSplit
/@path" />
|
|
402 |
|
<xs
l:with-par
am name="P
aramFromAb
soluteURI"
select="$
ParamSplit
/@path" />
|
403 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
|
403 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
404 |
|
<xs
l:with-par
am name="P
aramURI" s
elect="$Pa
ramImage"
/>
|
|
404 |
|
<xs
l:with-par
am name="P
aramURI" s
elect="$Pa
ramImage"
/>
|
405 |
|
</xs
l:call-tem
plate>
|
|
405 |
|
</xs
l:call-tem
plate>
|
406 |
|
</xsl
:variable>
|
|
406 |
|
</xsl
:variable>
|
407 |
|
|
|
407 |
|
|
408 |
|
<!--
Image -->
|
|
408 |
|
<!--
Image -->
|
409 |
|
<!--
-->
|
|
409 |
|
<!--
-->
|
410 |
|
<xsl:
text>[[</x
sl:text>
|
|
410 |
|
<xsl:
text>[[</x
sl:text>
|
411 |
|
<xsl
:call-temp
late name=
"MediaWiki
-ImageRoot
edLink">
|
|
411 |
|
<xsl
:call-temp
late name=
"MediaWiki
-ImageRoot
edLink">
|
412 |
|
<xs
l:with-par
am name="P
aramLinkPa
th" select
="$VarImag
ePath" />
|
|
412 |
|
<xs
l:with-par
am name="P
aramLinkPa
th" select
="$VarImag
ePath" />
|
413 |
|
<xs
l:with-par
am name="P
aramOutput
DirectoryP
ath" selec
t="$ParamS
plit/@targ
et-output-
directory-
path" />
|
|
413 |
|
<xs
l:with-par
am name="P
aramOutput
DirectoryP
ath" selec
t="$ParamS
plit/@targ
et-output-
directory-
path" />
|
414 |
|
</xs
l:call-tem
plate>
|
|
414 |
|
</xs
l:call-tem
plate>
|
415 |
|
|
|
415 |
|
|
416 |
|
<xsl:
text>|</xs
l:text>
|
|
416 |
|
<xsl:
text>|</xs
l:text>
|
417 |
|
|
|
417 |
|
|
418 |
|
<xsl:
value-of s
elect="$Va
rImageInfo
/@width" /
>
|
|
418 |
|
<xsl:
value-of s
elect="$Va
rImageInfo
/@width" /
>
|
419 |
|
<xsl:
text>px</x
sl:text>
|
|
419 |
|
<xsl:
text>px</x
sl:text>
|
420 |
|
<xsl:
text>]]</x
sl:text>
|
|
420 |
|
<xsl:
text>]]</x
sl:text>
|
421 |
|
</xsl:
if>
|
|
421 |
|
</xsl:
if>
|
422 |
|
|
|
422 |
|
|
423 |
|
<!-- C
haracters
-->
|
|
423 |
|
<!-- C
haracters
-->
|
424 |
|
<!--
-->
|
|
424 |
|
<!--
-->
|
425 |
|
<xsl:v
alue-of se
lect="$Par
amCharacte
r" />
|
|
425 |
|
<xsl:v
alue-of se
lect="$Par
amCharacte
r" />
|
426 |
|
|
|
426 |
|
|
427 |
|
<!-- S
eparator -
->
|
|
427 |
|
<!-- S
eparator -
->
|
428 |
|
<!--
-
->
|
|
428 |
|
<!--
-
->
|
429 |
|
<xsl:v
alue-of se
lect="$Par
amSeparato
r" />
|
|
429 |
|
<xsl:v
alue-of se
lect="$Par
amSeparato
r" />
|
430 |
|
</xsl:o
therwise>
|
|
430 |
|
</xsl:o
therwise>
|
431 |
|
</xsl:ch
oose>
|
|
431 |
|
</xsl:ch
oose>
|
432 |
|
</xsl:tem
plate>
|
|
432 |
|
</xsl:tem
plate>
|
433 |
|
|
|
433 |
|
|
434 |
|
|
|
434 |
|
|
435 |
|
<xsl:temp
late name=
"Notes-Num
ber">
|
|
435 |
|
<xsl:temp
late name=
"Notes-Num
ber">
|
436 |
|
<xsl:par
am name="P
aramNotes"
/>
|
|
436 |
|
<xsl:par
am name="P
aramNotes"
/>
|
437 |
|
|
|
437 |
|
|
438 |
|
<wwnotes
:NoteNumbe
ring versi
on="1.0">
|
|
438 |
|
<wwnotes
:NoteNumbe
ring versi
on="1.0">
|
439 |
|
<xsl:fo
r-each sel
ect="$Para
mNotes">
|
|
439 |
|
<xsl:fo
r-each sel
ect="$Para
mNotes">
|
440 |
|
<xsl:v
ariable na
me="VarNot
e" select=
"." />
|
|
440 |
|
<xsl:v
ariable na
me="VarNot
e" select=
"." />
|
441 |
|
|
|
441 |
|
|
442 |
|
<wwnot
es:Note id
="{$VarNot
e/@id}" nu
mber="{pos
ition()}"
/>
|
|
442 |
|
<wwnot
es:Note id
="{$VarNot
e/@id}" nu
mber="{pos
ition()}"
/>
|
443 |
|
</xsl:f
or-each>
|
|
443 |
|
</xsl:f
or-each>
|
444 |
|
</wwnote
s:NoteNumb
ering>
|
|
444 |
|
</wwnote
s:NoteNumb
ering>
|
445 |
|
</xsl:tem
plate>
|
|
445 |
|
</xsl:tem
plate>
|
446 |
|
|
|
446 |
|
|
447 |
|
|
|
447 |
|
|
448 |
|
<xsl:temp
late match
="wwdoc:Pa
ragraph" m
ode="wwmod
e:content"
>
|
|
448 |
|
<xsl:temp
late match
="wwdoc:Pa
ragraph" m
ode="wwmod
e:content"
>
|
449 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
449 |
|
<xsl:par
am name="P
aramSplits
" />
|
450 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
450 |
|
<xsl:par
am name="P
aramCargo"
/>
|
451 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
451 |
|
<xsl:par
am name="P
aramLinks"
/>
|
452 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
|
452 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
453 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
453 |
|
<xsl:par
am name="P
aramSplit"
/>
|
454 |
|
|
|
454 |
|
|
455 |
|
<xsl:var
iable name
="VarParag
raph" sele
ct="." />
|
|
455 |
|
<xsl:var
iable name
="VarParag
raph" sele
ct="." />
|
456 |
|
|
|
456 |
|
|
457 |
|
<!-- Abo
rted? -->
|
|
457 |
|
<!-- Abo
rted? -->
|
458 |
|
<!--
-->
|
|
458 |
|
<!--
-->
|
459 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
|
459 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
460 |
|
<xsl:va
riable nam
e="VarOver
rideRule"
select="ww
projext:Ge
tOverrideR
ule('Parag
raph', $Va
rParagraph
/@stylenam
e, $ParamS
plit/@docu
mentID, $V
arParagrap
h/@id)" />
|
|
460 |
|
<xsl:va
riable nam
e="VarOver
rideRule"
select="ww
projext:Ge
tOverrideR
ule('Parag
raph', $Va
rParagraph
/@stylenam
e, $ParamS
plit/@docu
mentID, $V
arParagrap
h/@id)" />
|
461 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
Option" se
lect="$Var
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'gen
erate-outp
ut']/@Valu
e" />
|
|
461 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
Option" se
lect="$Var
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'gen
erate-outp
ut']/@Valu
e" />
|
462 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
" select="
(string-le
ngth($VarG
enerateOut
putOption)
= 0) or (
$VarGenera
teOutputOp
tion != 'f
alse')" />
|
|
462 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
" select="
(string-le
ngth($VarG
enerateOut
putOption)
= 0) or (
$VarGenera
teOutputOp
tion != 'f
alse')" />
|
463 |
|
<xsl:if
test="$Va
rGenerateO
utput">
|
|
463 |
|
<xsl:if
test="$Va
rGenerateO
utput">
|
464 |
|
<!-- R
elated Top
ic Only or
Popup Onl
y? -->
|
|
464 |
|
<!-- R
elated Top
ic Only or
Popup Onl
y? -->
|
465 |
|
<!--
-->
|
|
465 |
|
<!--
-->
|
466 |
|
<xsl:f
or-each se
lect="$Par
amCargo/ww
behaviors:
Behaviors[
1]">
|
|
466 |
|
<xsl:f
or-each se
lect="$Par
amCargo/ww
behaviors:
Behaviors[
1]">
|
467 |
|
<xsl:
variable n
ame="VarPa
ragraphBeh
avior" sel
ect="key('
wwbehavior
s-paragrap
hs-by-id',
$VarParag
raph/@id)[
1]" />
|
|
467 |
|
<xsl:
variable n
ame="VarPa
ragraphBeh
avior" sel
ect="key('
wwbehavior
s-paragrap
hs-by-id',
$VarParag
raph/@id)[
1]" />
|
468 |
|
<xsl:
variable n
ame="VarIn
PopupPage"
select="c
ount($Para
mCargo/wwb
ehaviors:P
opupPage)
> 0" />
|
|
468 |
|
<xsl:
variable n
ame="VarIn
PopupPage"
select="c
ount($Para
mCargo/wwb
ehaviors:P
opupPage)
> 0" />
|
469 |
|
<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')" />
|
|
469 |
|
<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')" />
|
470 |
|
<xsl:
variable n
ame="VarRe
latedTopic
Only" sele
ct="$VarPa
ragraphBeh
avior/@rel
atedtopic
= 'define-
no-output'
" />
|
|
470 |
|
<xsl:
variable n
ame="VarRe
latedTopic
Only" sele
ct="$VarPa
ragraphBeh
avior/@rel
atedtopic
= 'define-
no-output'
" />
|
471 |
|
|
|
471 |
|
|
472 |
|
<xsl:
if test="$
VarInPopup
Page or (n
ot($VarPop
upOnly) an
d not($Var
RelatedTop
icOnly))">
|
|
472 |
|
<xsl:
if test="$
VarInPopup
Page or (n
ot($VarPop
upOnly) an
d not($Var
RelatedTop
icOnly))">
|
473 |
|
<!--
Paragraph
-->
|
|
473 |
|
<!--
Paragraph
-->
|
474 |
|
<!--
-->
|
|
474 |
|
<!--
-->
|
475 |
|
<xsl
:call-temp
late name=
"Paragraph
">
|
|
475 |
|
<xsl
:call-temp
late name=
"Paragraph
">
|
476 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
|
476 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
477 |
|
<xs
l:with-par
am name="P
aramCargo"
select="$
ParamCargo
" />
|
|
477 |
|
<xs
l:with-par
am name="P
aramCargo"
select="$
ParamCargo
" />
|
478 |
|
<xs
l:with-par
am name="P
aramLinks"
select="$
ParamLinks
" />
|
|
478 |
|
<xs
l:with-par
am name="P
aramLinks"
select="$
ParamLinks
" />
|
479 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
|
479 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
480 |
|
<xs
l:with-par
am name="P
aramParagr
aph" selec
t="$VarPar
agraph" />
|
|
480 |
|
<xs
l:with-par
am name="P
aramParagr
aph" selec
t="$VarPar
agraph" />
|
481 |
|
<xs
l:with-par
am name="P
aramStyleN
ame" selec
t="$VarPar
agraph/@st
ylename" /
>
|
|
481 |
|
<xs
l:with-par
am name="P
aramStyleN
ame" selec
t="$VarPar
agraph/@st
ylename" /
>
|
482 |
|
<xs
l:with-par
am name="P
aramOverri
deRule" se
lect="$Var
OverrideRu
le" />
|
|
482 |
|
<xs
l:with-par
am name="P
aramOverri
deRule" se
lect="$Var
OverrideRu
le" />
|
483 |
|
<xs
l:with-par
am name="P
aramParagr
aphBehavio
r" select=
"$VarParag
raphBehavi
or" />
|
|
483 |
|
<xs
l:with-par
am name="P
aramParagr
aphBehavio
r" select=
"$VarParag
raphBehavi
or" />
|
484 |
|
</xs
l:call-tem
plate>
|
|
484 |
|
</xs
l:call-tem
plate>
|
485 |
|
|
|
485 |
|
|
486 |
|
<!--
MiniTOC -
->
|
|
486 |
|
<!--
MiniTOC -
->
|
487 |
|
<!--
-
->
|
|
487 |
|
<!--
-
->
|
488 |
|
<xsl
:if test="
not($VarIn
PopupPage)
">
|
|
488 |
|
<xsl
:if test="
not($VarIn
PopupPage)
">
|
489 |
|
<xs
l:variable
name="Var
MiniTOCSub
Levels" se
lect="$Var
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'min
itoc-suble
vels']/@Va
lue" />
|
|
489 |
|
<xs
l:variable
name="Var
MiniTOCSub
Levels" se
lect="$Var
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'min
itoc-suble
vels']/@Va
lue" />
|
490 |
|
<xs
l:variable
name="Var
MiniTOCSub
LevelsNume
ricPrefix"
select="w
wunits:Num
ericPrefix
($VarMiniT
OCSubLevel
s)" />
|
|
490 |
|
<xs
l:variable
name="Var
MiniTOCSub
LevelsNume
ricPrefix"
select="w
wunits:Num
ericPrefix
($VarMiniT
OCSubLevel
s)" />
|
491 |
|
<xs
l:variable
name="Var
MiniTOCSub
LevelsGrea
terThanZer
o" select=
"(string-l
ength($Var
MiniTOCSub
LevelsNume
ricPrefix)
> 0) a
nd (number
($VarMiniT
OCSubLevel
sNumericPr
efix) >
0)" />
|
|
491 |
|
<xs
l:variable
name="Var
MiniTOCSub
LevelsGrea
terThanZer
o" select=
"(string-l
ength($Var
MiniTOCSub
LevelsNume
ricPrefix)
> 0) a
nd (number
($VarMiniT
OCSubLevel
sNumericPr
efix) >
0)" />
|
492 |
|
<xs
l:if test=
"($VarMini
TOCSubLeve
lsGreaterT
hanZero) o
r ($VarMin
iTOCSubLev
els = 'all
')">
|
|
492 |
|
<xs
l:if test=
"($VarMini
TOCSubLeve
lsGreaterT
hanZero) o
r ($VarMin
iTOCSubLev
els = 'all
')">
|
493 |
|
<x
sl:for-eac
h select="
$ParamTOCD
ata[1]">
|
|
493 |
|
<x
sl:for-eac
h select="
$ParamTOCD
ata[1]">
|
494 |
|
<
xsl:variab
le name="V
arTOCEntry
" select="
key('wwtoc
-entry-by-
id', $VarP
aragraph/@
id)[@docum
entID = $P
aramSplit/
@documentI
D]" />
|
|
494 |
|
<
xsl:variab
le name="V
arTOCEntry
" select="
key('wwtoc
-entry-by-
id', $VarP
aragraph/@
id)[@docum
entID = $P
aramSplit/
@documentI
D]" />
|
495 |
|
<
xsl:for-ea
ch select=
"$VarTOCEn
try[1]">
|
|
495 |
|
<
xsl:for-ea
ch select=
"$VarTOCEn
try[1]">
|
496 |
|
<xsl:call-
template n
ame="MiniT
OC">
|
|
496 |
|
<xsl:call-
template n
ame="MiniT
OC">
|
497 |
|
<xsl:with
-param nam
e="ParamSp
lit" selec
t="$ParamS
plit" />
|
|
497 |
|
<xsl:with
-param nam
e="ParamSp
lit" selec
t="$ParamS
plit" />
|
498 |
|
<xsl:with
-param nam
e="ParamTO
CEntry" se
lect="$Var
TOCEntry[1
]" />
|
|
498 |
|
<xsl:with
-param nam
e="ParamTO
CEntry" se
lect="$Var
TOCEntry[1
]" />
|
499 |
|
<xsl:with
-param nam
e="ParamEm
itTOCEntry
" select="
false()" /
>
|
|
499 |
|
<xsl:with
-param nam
e="ParamEm
itTOCEntry
" select="
false()" /
>
|
500 |
|
<xsl:with
-param nam
e="ParamMi
niTOCSubLe
vels" sele
ct="$VarMi
niTOCSubLe
vels" />
|
|
500 |
|
<xsl:with
-param nam
e="ParamMi
niTOCSubLe
vels" sele
ct="$VarMi
niTOCSubLe
vels" />
|
501 |
|
</xsl:call
-template>
|
|
501 |
|
</xsl:call
-template>
|
502 |
|
<
/xsl:for-e
ach>
|
|
502 |
|
<
/xsl:for-e
ach>
|
503 |
|
</
xsl:for-ea
ch>
|
|
503 |
|
</
xsl:for-ea
ch>
|
504 |
|
</x
sl:if>
|
|
504 |
|
</x
sl:if>
|
505 |
|
</xs
l:if>
|
|
505 |
|
</xs
l:if>
|
506 |
|
</xsl
:if>
|
|
506 |
|
</xsl
:if>
|
507 |
|
</xsl:
for-each>
|
|
507 |
|
</xsl:
for-each>
|
508 |
|
</xsl:i
f>
|
|
508 |
|
</xsl:i
f>
|
509 |
|
</xsl:if
>
|
|
509 |
|
</xsl:if
>
|
510 |
|
</xsl:tem
plate>
|
|
510 |
|
</xsl:tem
plate>
|
511 |
|
|
|
511 |
|
|
512 |
|
|
|
512 |
|
|
513 |
|
<xsl:temp
late name=
"MiniTOC">
|
|
513 |
|
<xsl:temp
late name=
"MiniTOC">
|
514 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
514 |
|
<xsl:par
am name="P
aramSplit"
/>
|
515 |
|
<xsl:par
am name="P
aramTOCEnt
ry" />
|
|
515 |
|
<xsl:par
am name="P
aramTOCEnt
ry" />
|
516 |
|
<xsl:par
am name="P
aramEmitTO
CEntry" />
|
|
516 |
|
<xsl:par
am name="P
aramEmitTO
CEntry" />
|
517 |
|
<xsl:par
am name="P
aramMiniTO
CSubLevels
" />
|
|
517 |
|
<xsl:par
am name="P
aramMiniTO
CSubLevels
" />
|
518 |
|
|
|
518 |
|
|
519 |
|
<xsl:if
test="($Pa
ramEmitTOC
Entry = tr
ue()) or (
count($Par
amTOCEntry
/wwtoc:Ent
ry[1]) = 1
)">
|
|
519 |
|
<xsl:if
test="($Pa
ramEmitTOC
Entry = tr
ue()) or (
count($Par
amTOCEntry
/wwtoc:Ent
ry[1]) = 1
)">
|
520 |
|
<html:d
iv style="
background
-color: #D
DDDDD; bor
der-color:
#000000;
border-wid
th: 1px; b
order-styl
e: solid;
padding: 8
px;">
|
|
520 |
|
<html:d
iv style="
background
-color: #D
DDDDD; bor
der-color:
#000000;
border-wid
th: 1px; b
order-styl
e: solid;
padding: 8
px;">
|
521 |
|
<!-- E
mit top-le
vel entry?
-->
|
|
521 |
|
<!-- E
mit top-le
vel entry?
-->
|
522 |
|
<!--
-->
|
|
522 |
|
<!--
-->
|
523 |
|
<xsl:c
hoose>
|
|
523 |
|
<xsl:c
hoose>
|
524 |
|
<xsl:
when test=
"$ParamEmi
tTOCEntry
= true()">
|
|
524 |
|
<xsl:
when test=
"$ParamEmi
tTOCEntry
= true()">
|
525 |
|
<htm
l:div styl
e="margin-
left:12 pt
;">
|
|
525 |
|
<htm
l:div styl
e="margin-
left:12 pt
;">
|
526 |
|
<ht
ml:div sty
le="margin
-left: 12p
t;">
|
|
526 |
|
<ht
ml:div sty
le="margin
-left: 12p
t;">
|
527 |
|
<!
-- Force o
n one line
-->
|
|
527 |
|
<!
-- Force o
n one line
-->
|
528 |
|
<!
--
-->
|
|
528 |
|
<!
--
-->
|
529 |
|
<w
wexsldoc:N
oBreak />
|
|
529 |
|
<w
wexsldoc:N
oBreak />
|
530 |
|
|
|
530 |
|
|
531 |
|
<!
-- Paragra
ph -->
|
|
531 |
|
<!
-- Paragra
ph -->
|
532 |
|
<!
--
-->
|
|
532 |
|
<!
--
-->
|
533 |
|
<x
sl:call-te
mplate nam
e="MiniTOC
Paragraph"
>
|
|
533 |
|
<x
sl:call-te
mplate nam
e="MiniTOC
Paragraph"
>
|
534 |
|
<
xsl:with-p
aram name=
"ParamPara
graph" sel
ect="$Para
mTOCEntry/
wwdoc:Para
graph" />
|
|
534 |
|
<
xsl:with-p
aram name=
"ParamPara
graph" sel
ect="$Para
mTOCEntry/
wwdoc:Para
graph" />
|
535 |
|
</
xsl:call-t
emplate>
|
|
535 |
|
</
xsl:call-t
emplate>
|
536 |
|
|
|
536 |
|
|
537 |
|
<!
-- Force o
n one line
-->
|
|
537 |
|
<!
-- Force o
n one line
-->
|
538 |
|
<!
--
-->
|
|
538 |
|
<!
--
-->
|
539 |
|
<w
wexsldoc:N
oBreak />
|
|
539 |
|
<w
wexsldoc:N
oBreak />
|
540 |
|
</h
tml:div>
|
|
540 |
|
</h
tml:div>
|
541 |
|
|
|
541 |
|
|
542 |
|
<!-
- Children
-->
|
|
542 |
|
<!-
- Children
-->
|
543 |
|
<!-
-
-->
|
|
543 |
|
<!-
-
-->
|
544 |
|
<xs
l:call-tem
plate name
="MiniTOCE
ntries">
|
|
544 |
|
<xs
l:call-tem
plate name
="MiniTOCE
ntries">
|
545 |
|
<x
sl:with-pa
ram name="
ParamRefer
encePath"
select="$P
aramSplit/
@path" />
|
|
545 |
|
<x
sl:with-pa
ram name="
ParamRefer
encePath"
select="$P
aramSplit/
@path" />
|
546 |
|
<x
sl:with-pa
ram name="
ParamParen
t" select=
"$ParamTOC
Entry" />
|
|
546 |
|
<x
sl:with-pa
ram name="
ParamParen
t" select=
"$ParamTOC
Entry" />
|
547 |
|
<x
sl:with-pa
ram name="
ParamMiniT
OCSubLevel
s" select=
"$ParamMin
iTOCSubLev
els" />
|
|
547 |
|
<x
sl:with-pa
ram name="
ParamMiniT
OCSubLevel
s" select=
"$ParamMin
iTOCSubLev
els" />
|
548 |
|
<x
sl:with-pa
ram name="
ParamSplit
" select="
$ParamSpli
t" />
|
|
548 |
|
<x
sl:with-pa
ram name="
ParamSplit
" select="
$ParamSpli
t" />
|
549 |
|
</x
sl:call-te
mplate>
|
|
549 |
|
</x
sl:call-te
mplate>
|
550 |
|
</ht
ml:div>
|
|
550 |
|
</ht
ml:div>
|
551 |
|
</xsl
:when>
|
|
551 |
|
</xsl
:when>
|
552 |
|
|
|
552 |
|
|
553 |
|
<xsl:
otherwise>
|
|
553 |
|
<xsl:
otherwise>
|
554 |
|
<!--
Children
-->
|
|
554 |
|
<!--
Children
-->
|
555 |
|
<!--
-->
|
|
555 |
|
<!--
-->
|
556 |
|
<xsl
:call-temp
late name=
"MiniTOCEn
tries">
|
|
556 |
|
<xsl
:call-temp
late name=
"MiniTOCEn
tries">
|
557 |
|
<xs
l:with-par
am name="P
aramRefere
ncePath" s
elect="$Pa
ramSplit/@
path" />
|
|
557 |
|
<xs
l:with-par
am name="P
aramRefere
ncePath" s
elect="$Pa
ramSplit/@
path" />
|
558 |
|
<xs
l:with-par
am name="P
aramParent
" select="
$ParamTOCE
ntry" />
|
|
558 |
|
<xs
l:with-par
am name="P
aramParent
" select="
$ParamTOCE
ntry" />
|
559 |
|
<xs
l:with-par
am name="P
aramMiniTO
CSubLevels
" select="
$ParamMini
TOCSubLeve
ls" />
|
|
559 |
|
<xs
l:with-par
am name="P
aramMiniTO
CSubLevels
" select="
$ParamMini
TOCSubLeve
ls" />
|
560 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
|
560 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
561 |
|
</xs
l:call-tem
plate>
|
|
561 |
|
</xs
l:call-tem
plate>
|
562 |
|
</xsl
:otherwise
>
|
|
562 |
|
</xsl
:otherwise
>
|
563 |
|
</xsl:
choose>
|
|
563 |
|
</xsl:
choose>
|
564 |
|
</html:
div>
|
|
564 |
|
</html:
div>
|
565 |
|
</xsl:if
>
|
|
565 |
|
</xsl:if
>
|
566 |
|
</xsl:tem
plate>
|
|
566 |
|
</xsl:tem
plate>
|
567 |
|
|
|
567 |
|
|
568 |
|
|
|
568 |
|
|
569 |
|
<xsl:temp
late name=
"MiniTOCEn
tries">
|
|
569 |
|
<xsl:temp
late name=
"MiniTOCEn
tries">
|
570 |
|
<xsl:par
am name="P
aramRefere
ncePath" /
>
|
|
570 |
|
<xsl:par
am name="P
aramRefere
ncePath" /
>
|
571 |
|
<xsl:par
am name="P
aramParent
" />
|
|
571 |
|
<xsl:par
am name="P
aramParent
" />
|
572 |
|
<xsl:par
am name="P
aramMiniTO
CSubLevels
" />
|
|
572 |
|
<xsl:par
am name="P
aramMiniTO
CSubLevels
" />
|
573 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
573 |
|
<xsl:par
am name="P
aramSplit"
/>
|
574 |
|
|
|
574 |
|
|
575 |
|
<xsl:var
iable name
="VarSubEn
tries" sel
ect="$Para
mParent/ww
toc:Entry"
/>
|
|
575 |
|
<xsl:var
iable name
="VarSubEn
tries" sel
ect="$Para
mParent/ww
toc:Entry"
/>
|
576 |
|
|
|
576 |
|
|
577 |
|
<xsl:for
-each sele
ct="$VarSu
bEntries[1
]">
|
|
577 |
|
<xsl:for
-each sele
ct="$VarSu
bEntries[1
]">
|
578 |
|
<html:d
iv style="
margin-lef
t: 12pt;">
|
|
578 |
|
<html:d
iv style="
margin-lef
t: 12pt;">
|
579 |
|
|
|
579 |
|
|
580 |
|
<xsl:fo
r-each sel
ect="$VarS
ubEntries"
>
|
|
580 |
|
<xsl:fo
r-each sel
ect="$VarS
ubEntries"
>
|
581 |
|
<xsl:v
ariable na
me="VarEnt
ry" select
="." />
|
|
581 |
|
<xsl:v
ariable na
me="VarEnt
ry" select
="." />
|
582 |
|
|
|
582 |
|
|
583 |
|
<html:
div style=
"margin-le
ft: 12pt;"
>
|
|
583 |
|
<html:
div style=
"margin-le
ft: 12pt;"
>
|
584 |
|
<!--
Force on o
ne line --
>
|
|
584 |
|
<!--
Force on o
ne line --
>
|
585 |
|
<!--
--
>
|
|
585 |
|
<!--
--
>
|
586 |
|
<wwex
sldoc:NoBr
eak />
|
|
586 |
|
<wwex
sldoc:NoBr
eak />
|
587 |
|
|
|
587 |
|
|
588 |
|
<xsl:
choose>
|
|
588 |
|
<xsl:
choose>
|
589 |
|
<xsl
:when test
="string-l
ength($Var
Entry/@pat
h) > 0"
>
|
|
589 |
|
<xsl
:when test
="string-l
ength($Var
Entry/@pat
h) > 0"
>
|
590 |
|
|
|
590 |
|
|
591 |
|
<ht
ml:span>
|
|
591 |
|
<ht
ml:span>
|
592 |
|
|
|
592 |
|
|
593 |
|
<!-
- Force on
a single
line -->
|
|
593 |
|
<!-
- Force on
a single
line -->
|
594 |
|
<!-
-
-->
|
|
594 |
|
<!-
-
-->
|
595 |
|
<ww
exsldoc:No
Break />
|
|
595 |
|
<ww
exsldoc:No
Break />
|
596 |
|
|
|
596 |
|
|
597 |
|
<xs
l:text>[[<
/xsl:text>
|
|
597 |
|
<xs
l:text>[[<
/xsl:text>
|
598 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ProjectR
ootedLink"
>
|
|
598 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ProjectR
ootedLink"
>
|
599 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="concat(
$VarEntry/
@path, '#'
, $VarEntr
y/@linkid)
" />
|
|
599 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="concat(
$VarEntry/
@path, '#'
, $VarEntr
y/@linkid)
" />
|
600 |
|
<x
sl:with-pa
ram name="
ParamTarge
tOutputDir
ectoryPath
" select="
$ParamSpli
t/@target-
output-dir
ectory-pat
h" />
|
|
600 |
|
<x
sl:with-pa
ram name="
ParamTarge
tOutputDir
ectoryPath
" select="
$ParamSpli
t/@target-
output-dir
ectory-pat
h" />
|
601 |
|
</x
sl:call-te
mplate>
|
|
601 |
|
</x
sl:call-te
mplate>
|
602 |
|
<xs
l:text>|</
xsl:text>
|
|
602 |
|
<xs
l:text>|</
xsl:text>
|
603 |
|
<xs
l:call-tem
plate name
="MiniTOCP
aragraph">
|
|
603 |
|
<xs
l:call-tem
plate name
="MiniTOCP
aragraph">
|
604 |
|
<x
sl:with-pa
ram name="
ParamParag
raph" sele
ct="$VarEn
try/wwdoc:
Paragraph"
/>
|
|
604 |
|
<x
sl:with-pa
ram name="
ParamParag
raph" sele
ct="$VarEn
try/wwdoc:
Paragraph"
/>
|
605 |
|
</x
sl:call-te
mplate>
|
|
605 |
|
</x
sl:call-te
mplate>
|
606 |
|
<xs
l:text>]]<
/xsl:text>
|
|
606 |
|
<xs
l:text>]]<
/xsl:text>
|
607 |
|
|
|
607 |
|
|
608 |
|
<!-
- Force on
a single
line -->
|
|
608 |
|
<!-
- Force on
a single
line -->
|
609 |
|
<!-
-
-->
|
|
609 |
|
<!-
-
-->
|
610 |
|
<ww
exsldoc:No
Break />
|
|
610 |
|
<ww
exsldoc:No
Break />
|
611 |
|
|
|
611 |
|
|
612 |
|
</h
tml:span>
|
|
612 |
|
</h
tml:span>
|
613 |
|
</xs
l:when>
|
|
613 |
|
</xs
l:when>
|
614 |
|
|
|
614 |
|
|
615 |
|
<xsl
:otherwise
>
|
|
615 |
|
<xsl
:otherwise
>
|
616 |
|
<xs
l:call-tem
plate name
="MiniTOCP
aragraph">
|
|
616 |
|
<xs
l:call-tem
plate name
="MiniTOCP
aragraph">
|
617 |
|
<x
sl:with-pa
ram name="
ParamParag
raph" sele
ct="$VarEn
try/wwdoc:
Paragraph"
/>
|
|
617 |
|
<x
sl:with-pa
ram name="
ParamParag
raph" sele
ct="$VarEn
try/wwdoc:
Paragraph"
/>
|
618 |
|
</x
sl:call-te
mplate>
|
|
618 |
|
</x
sl:call-te
mplate>
|
619 |
|
</xs
l:otherwis
e>
|
|
619 |
|
</xs
l:otherwis
e>
|
620 |
|
</xsl
:choose>
|
|
620 |
|
</xsl
:choose>
|
621 |
|
|
|
621 |
|
|
622 |
|
<!--
Force on o
ne line --
>
|
|
622 |
|
<!--
Force on o
ne line --
>
|
623 |
|
<!--
--
>
|
|
623 |
|
<!--
--
>
|
624 |
|
<wwex
sldoc:NoBr
eak />
|
|
624 |
|
<wwex
sldoc:NoBr
eak />
|
625 |
|
</html
:div>
|
|
625 |
|
</html
:div>
|
626 |
|
|
|
626 |
|
|
627 |
|
<!-- R
ecurse -->
|
|
627 |
|
<!-- R
ecurse -->
|
628 |
|
<!--
-->
|
|
628 |
|
<!--
-->
|
629 |
|
<xsl:c
hoose>
|
|
629 |
|
<xsl:c
hoose>
|
630 |
|
<xsl:
when test=
"$ParamMin
iTOCSubLev
els = 'all
'">
|
|
630 |
|
<xsl:
when test=
"$ParamMin
iTOCSubLev
els = 'all
'">
|
631 |
|
<xsl
:call-temp
late name=
"MiniTOCEn
tries">
|
|
631 |
|
<xsl
:call-temp
late name=
"MiniTOCEn
tries">
|
632 |
|
<xs
l:with-par
am name="P
aramRefere
ncePath" s
elect="$Pa
ramReferen
cePath" />
|
|
632 |
|
<xs
l:with-par
am name="P
aramRefere
ncePath" s
elect="$Pa
ramReferen
cePath" />
|
633 |
|
<xs
l:with-par
am name="P
aramParent
" select="
$VarEntry"
/>
|
|
633 |
|
<xs
l:with-par
am name="P
aramParent
" select="
$VarEntry"
/>
|
634 |
|
<xs
l:with-par
am name="P
aramMiniTO
CSubLevels
" select="
$ParamMini
TOCSubLeve
ls" />
|
|
634 |
|
<xs
l:with-par
am name="P
aramMiniTO
CSubLevels
" select="
$ParamMini
TOCSubLeve
ls" />
|
635 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
|
635 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
636 |
|
</xs
l:call-tem
plate>
|
|
636 |
|
</xs
l:call-tem
plate>
|
637 |
|
</xsl
:when>
|
|
637 |
|
</xsl
:when>
|
638 |
|
|
|
638 |
|
|
639 |
|
<xsl:
when test=
"($ParamMi
niTOCSubLe
vels - 1)
> 0">
|
|
639 |
|
<xsl:
when test=
"($ParamMi
niTOCSubLe
vels - 1)
> 0">
|
640 |
|
<xsl
:call-temp
late name=
"MiniTOCEn
tries">
|
|
640 |
|
<xsl
:call-temp
late name=
"MiniTOCEn
tries">
|
641 |
|
<xs
l:with-par
am name="P
aramRefere
ncePath" s
elect="$Pa
ramReferen
cePath" />
|
|
641 |
|
<xs
l:with-par
am name="P
aramRefere
ncePath" s
elect="$Pa
ramReferen
cePath" />
|
642 |
|
<xs
l:with-par
am name="P
aramParent
" select="
$VarEntry"
/>
|
|
642 |
|
<xs
l:with-par
am name="P
aramParent
" select="
$VarEntry"
/>
|
643 |
|
<xs
l:with-par
am name="P
aramMiniTO
CSubLevels
" select="
$ParamMini
TOCSubLeve
ls - 1" />
|
|
643 |
|
<xs
l:with-par
am name="P
aramMiniTO
CSubLevels
" select="
$ParamMini
TOCSubLeve
ls - 1" />
|
644 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
|
644 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
645 |
|
</xs
l:call-tem
plate>
|
|
645 |
|
</xs
l:call-tem
plate>
|
646 |
|
</xsl
:when>
|
|
646 |
|
</xsl
:when>
|
647 |
|
</xsl:
choose>
|
|
647 |
|
</xsl:
choose>
|
648 |
|
</xsl:f
or-each>
|
|
648 |
|
</xsl:f
or-each>
|
649 |
|
|
|
649 |
|
|
650 |
|
</html:
div>
|
|
650 |
|
</html:
div>
|
651 |
|
</xsl:fo
r-each>
|
|
651 |
|
</xsl:fo
r-each>
|
652 |
|
</xsl:tem
plate>
|
|
652 |
|
</xsl:tem
plate>
|
653 |
|
|
|
653 |
|
|
654 |
|
|
|
654 |
|
|
655 |
|
<xsl:temp
late name=
"MiniTOCPa
ragraph">
|
|
655 |
|
<xsl:temp
late name=
"MiniTOCPa
ragraph">
|
656 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
|
656 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
657 |
|
|
|
657 |
|
|
658 |
|
<xsl:for
-each sele
ct="$Param
Paragraph/
wwdoc:Numb
er/wwdoc:T
ext | $Par
amParagrap
h/wwdoc:Te
xtRun/wwdo
c:Text">
|
|
658 |
|
<xsl:for
-each sele
ct="$Param
Paragraph/
wwdoc:Numb
er/wwdoc:T
ext | $Par
amParagrap
h/wwdoc:Te
xtRun/wwdo
c:Text">
|
659 |
|
<xsl:va
lue-of sel
ect="@valu
e" />
|
|
659 |
|
<xsl:va
lue-of sel
ect="@valu
e" />
|
660 |
|
</xsl:fo
r-each>
|
|
660 |
|
</xsl:fo
r-each>
|
661 |
|
</xsl:tem
plate>
|
|
661 |
|
</xsl:tem
plate>
|
662 |
|
|
|
662 |
|
|
663 |
|
|
|
663 |
|
|
664 |
|
<xsl:temp
late name=
"Paragraph
">
|
|
664 |
|
<xsl:temp
late name=
"Paragraph
">
|
665 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
665 |
|
<xsl:par
am name="P
aramSplits
" />
|
666 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
666 |
|
<xsl:par
am name="P
aramCargo"
/>
|
667 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
667 |
|
<xsl:par
am name="P
aramLinks"
/>
|
668 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
668 |
|
<xsl:par
am name="P
aramSplit"
/>
|
669 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
|
669 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
670 |
|
<xsl:par
am name="P
aramStyleN
ame" />
|
|
670 |
|
<xsl:par
am name="P
aramStyleN
ame" />
|
671 |
|
<xsl:par
am name="P
aramOverri
deRule" />
|
|
671 |
|
<xsl:par
am name="P
aramOverri
deRule" />
|
672 |
|
<xsl:par
am name="P
aramParagr
aphBehavio
r" />
|
|
672 |
|
<xsl:par
am name="P
aramParagr
aphBehavio
r" />
|
673 |
|
|
|
673 |
|
|
674 |
|
<!-- Pre
serve empt
y? -->
|
|
674 |
|
<!-- Pre
serve empt
y? -->
|
675 |
|
<!--
-->
|
|
675 |
|
<!--
-->
|
676 |
|
<xsl:var
iable name
="VarPrese
rveEmptyOp
tion" sele
ct="$Param
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pre
serve-empt
y']/@Value
" />
|
|
676 |
|
<xsl:var
iable name
="VarPrese
rveEmptyOp
tion" sele
ct="$Param
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pre
serve-empt
y']/@Value
" />
|
677 |
|
<xsl:var
iable name
="VarPrese
rveEmpty"
select="(s
tring-leng
th($VarPre
serveEmpty
Option) =
0) or ($Va
rPreserveE
mptyOption
= 'true')
" />
|
|
677 |
|
<xsl:var
iable name
="VarPrese
rveEmpty"
select="(s
tring-leng
th($VarPre
serveEmpty
Option) =
0) or ($Va
rPreserveE
mptyOption
= 'true')
" />
|
678 |
|
|
|
678 |
|
|
679 |
|
<!-- Non
-empty tex
t runs -->
|
|
679 |
|
<!-- Non
-empty tex
t runs -->
|
680 |
|
<!--
-->
|
|
680 |
|
<!--
-->
|
681 |
|
<xsl:var
iable name
="VarTextR
uns" selec
t="$ParamP
aragraph/w
wdoc:TextR
un[count(c
hild::wwdo
c:Text[1]
| child::w
wdoc:Frame
[1] | chil
d::wwdoc:N
ote[1] | c
hild::wwdo
c:LineBrea
k[1] | chi
ld::wwdoc:
Marker[1])
> 0]"
/>
|
|
681 |
|
<xsl:var
iable name
="VarTextR
uns" selec
t="$ParamP
aragraph/w
wdoc:TextR
un[count(c
hild::wwdo
c:Text[1]
| child::w
wdoc:Frame
[1] | chil
d::wwdoc:N
ote[1] | c
hild::wwdo
c:LineBrea
k[1] | chi
ld::wwdoc:
Marker[1])
> 0]"
/>
|
682 |
|
|
|
682 |
|
|
683 |
|
<!-- Pro
cess this
paragraph
at all? --
>
|
|
683 |
|
<!-- Pro
cess this
paragraph
at all? --
>
|
684 |
|
<!--
--
>
|
|
684 |
|
<!--
--
>
|
685 |
|
<xsl:if
test="($Va
rPreserveE
mpty) or (
count($Var
TextRuns[1
]) = 1)">
|
|
685 |
|
<xsl:if
test="($Va
rPreserveE
mpty) or (
count($Var
TextRuns[1
]) = 1)">
|
686 |
|
<!-- Pa
ss-through
? -->
|
|
686 |
|
<!-- Pa
ss-through
? -->
|
687 |
|
<!--
-->
|
|
687 |
|
<!--
-->
|
688 |
|
<xsl:va
riable nam
e="VarPass
Through">
|
|
688 |
|
<xsl:va
riable nam
e="VarPass
Through">
|
689 |
|
<xsl:v
ariable na
me="VarPas
sThroughOp
tion" sele
ct="$Param
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pas
s-through'
]/@Value"
/>
|
|
689 |
|
<xsl:v
ariable na
me="VarPas
sThroughOp
tion" sele
ct="$Param
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pas
s-through'
]/@Value"
/>
|
690 |
|
|
|
690 |
|
|
691 |
|
<xsl:c
hoose>
|
|
691 |
|
<xsl:c
hoose>
|
692 |
|
<xsl:
when test=
"$VarPassT
hroughOpti
on = 'true
'">
|
|
692 |
|
<xsl:
when test=
"$VarPassT
hroughOpti
on = 'true
'">
|
693 |
|
<xsl
:value-of
select="tr
ue()" />
|
|
693 |
|
<xsl
:value-of
select="tr
ue()" />
|
694 |
|
</xsl
:when>
|
|
694 |
|
</xsl
:when>
|
695 |
|
|
|
695 |
|
|
696 |
|
<xsl:
otherwise>
|
|
696 |
|
<xsl:
otherwise>
|
697 |
|
<xsl
:call-temp
late name=
"Condition
s-PassThro
ugh">
|
|
697 |
|
<xsl
:call-temp
late name=
"Condition
s-PassThro
ugh">
|
698 |
|
<xs
l:with-par
am name="P
aramCondit
ions" sele
ct="$Param
Paragraph/
wwdoc:Cond
itions" />
|
|
698 |
|
<xs
l:with-par
am name="P
aramCondit
ions" sele
ct="$Param
Paragraph/
wwdoc:Cond
itions" />
|
699 |
|
</xs
l:call-tem
plate>
|
|
699 |
|
</xs
l:call-tem
plate>
|
700 |
|
</xsl
:otherwise
>
|
|
700 |
|
</xsl
:otherwise
>
|
701 |
|
</xsl:
choose>
|
|
701 |
|
</xsl:
choose>
|
702 |
|
</xsl:v
ariable>
|
|
702 |
|
</xsl:v
ariable>
|
703 |
|
|
|
703 |
|
|
704 |
|
<xsl:ch
oose>
|
|
704 |
|
<xsl:ch
oose>
|
705 |
|
<!-- P
ass-throug
h -->
|
|
705 |
|
<!-- P
ass-throug
h -->
|
706 |
|
<!--
-->
|
|
706 |
|
<!--
-->
|
707 |
|
<xsl:w
hen test="
$VarPassTh
rough = 't
rue'">
|
|
707 |
|
<xsl:w
hen test="
$VarPassTh
rough = 't
rue'">
|
708 |
|
<xsl:
call-templ
ate name="
Paragraph-
PassThroug
h">
|
|
708 |
|
<xsl:
call-templ
ate name="
Paragraph-
PassThroug
h">
|
709 |
|
<xsl
:with-para
m name="Pa
ramParagra
ph" select
="$ParamPa
ragraph" /
>
|
|
709 |
|
<xsl
:with-para
m name="Pa
ramParagra
ph" select
="$ParamPa
ragraph" /
>
|
710 |
|
</xsl
:call-temp
late>
|
|
710 |
|
</xsl
:call-temp
late>
|
711 |
|
</xsl:
when>
|
|
711 |
|
</xsl:
when>
|
712 |
|
|
|
712 |
|
|
713 |
|
<xsl:o
therwise>
|
|
713 |
|
<xsl:o
therwise>
|
714 |
|
<xsl:
call-templ
ate name="
Paragraph-
Normal">
|
|
714 |
|
<xsl:
call-templ
ate name="
Paragraph-
Normal">
|
715 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
715 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
716 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
716 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
717 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
717 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
718 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
718 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
719 |
|
<xsl
:with-para
m name="Pa
ramParagra
ph" select
="$ParamPa
ragraph" /
>
|
|
719 |
|
<xsl
:with-para
m name="Pa
ramParagra
ph" select
="$ParamPa
ragraph" /
>
|
720 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$ParamSt
yleName" /
>
|
|
720 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$ParamSt
yleName" /
>
|
721 |
|
<xsl
:with-para
m name="Pa
ramOverrid
eRule" sel
ect="$Para
mOverrideR
ule" />
|
|
721 |
|
<xsl
:with-para
m name="Pa
ramOverrid
eRule" sel
ect="$Para
mOverrideR
ule" />
|
722 |
|
<xsl
:with-para
m name="Pa
ramParagra
phBehavior
" select="
$ParamPara
graphBehav
ior" />
|
|
722 |
|
<xsl
:with-para
m name="Pa
ramParagra
phBehavior
" select="
$ParamPara
graphBehav
ior" />
|
723 |
|
</xsl
:call-temp
late>
|
|
723 |
|
</xsl
:call-temp
late>
|
724 |
|
</xsl:
otherwise>
|
|
724 |
|
</xsl:
otherwise>
|
725 |
|
</xsl:c
hoose>
|
|
725 |
|
</xsl:c
hoose>
|
726 |
|
</xsl:if
>
|
|
726 |
|
</xsl:if
>
|
727 |
|
</xsl:tem
plate>
|
|
727 |
|
</xsl:tem
plate>
|
728 |
|
|
|
728 |
|
|
729 |
|
|
|
729 |
|
|
730 |
|
<xsl:temp
late name=
"Paragraph
-PassThrou
gh">
|
|
730 |
|
<xsl:temp
late name=
"Paragraph
-PassThrou
gh">
|
731 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
|
731 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
732 |
|
|
|
732 |
|
|
733 |
|
<wwexsld
oc:Text di
sable-outp
ut-escapin
g="yes">
|
|
733 |
|
<wwexsld
oc:Text di
sable-outp
ut-escapin
g="yes">
|
734 |
|
<xsl:fo
r-each sel
ect="$Para
mParagraph
/wwdoc:Tex
tRun/wwdoc
:Text">
|
|
734 |
|
<xsl:fo
r-each sel
ect="$Para
mParagraph
/wwdoc:Tex
tRun/wwdoc
:Text">
|
735 |
|
<xsl:v
ariable na
me="VarTex
t" select=
"." />
|
|
735 |
|
<xsl:v
ariable na
me="VarTex
t" select=
"." />
|
736 |
|
|
|
736 |
|
|
737 |
|
<xsl:v
alue-of se
lect="$Var
Text/@valu
e" />
|
|
737 |
|
<xsl:v
alue-of se
lect="$Var
Text/@valu
e" />
|
738 |
|
</xsl:f
or-each>
|
|
738 |
|
</xsl:f
or-each>
|
739 |
|
</wwexsl
doc:Text>
|
|
739 |
|
</wwexsl
doc:Text>
|
740 |
|
</xsl:tem
plate>
|
|
740 |
|
</xsl:tem
plate>
|
741 |
|
|
|
741 |
|
|
742 |
|
|
|
742 |
|
|
743 |
|
<xsl:temp
late name=
"Paragraph
-Normal">
|
|
743 |
|
<xsl:temp
late name=
"Paragraph
-Normal">
|
744 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
744 |
|
<xsl:par
am name="P
aramSplits
" />
|
745 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
745 |
|
<xsl:par
am name="P
aramCargo"
/>
|
746 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
746 |
|
<xsl:par
am name="P
aramLinks"
/>
|
747 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
747 |
|
<xsl:par
am name="P
aramSplit"
/>
|
748 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
|
748 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
749 |
|
<xsl:par
am name="P
aramStyleN
ame" />
|
|
749 |
|
<xsl:par
am name="P
aramStyleN
ame" />
|
750 |
|
<xsl:par
am name="P
aramOverri
deRule" />
|
|
750 |
|
<xsl:par
am name="P
aramOverri
deRule" />
|
751 |
|
<xsl:par
am name="P
aramParagr
aphBehavio
r" />
|
|
751 |
|
<xsl:par
am name="P
aramParagr
aphBehavio
r" />
|
752 |
|
|
|
752 |
|
|
753 |
|
<!-- Res
olve proje
ct propert
ies -->
|
|
753 |
|
<!-- Res
olve proje
ct propert
ies -->
|
754 |
|
<!--
-->
|
|
754 |
|
<!--
-->
|
755 |
|
<xsl:var
iable name
="VarResol
vedPropert
iesAsXML">
|
|
755 |
|
<xsl:var
iable name
="VarResol
vedPropert
iesAsXML">
|
756 |
|
<xsl:ca
ll-templat
e name="Pr
operties-R
esolveOver
rideRule">
|
|
756 |
|
<xsl:ca
ll-templat
e name="Pr
operties-R
esolveOver
rideRule">
|
757 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamOve
rrideRule/
wwproject:
Properties
/wwproject
:Property"
/>
|
|
757 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamOve
rrideRule/
wwproject:
Properties
/wwproject
:Property"
/>
|
758 |
|
<xsl:w
ith-param
name="Para
mContextSt
yle" selec
t="$ParamP
aragraph/w
wdoc:Style
" />
|
|
758 |
|
<xsl:w
ith-param
name="Para
mContextSt
yle" selec
t="$ParamP
aragraph/w
wdoc:Style
" />
|
759 |
|
</xsl:c
all-templa
te>
|
|
759 |
|
</xsl:c
all-templa
te>
|
760 |
|
</xsl:va
riable>
|
|
760 |
|
</xsl:va
riable>
|
761 |
|
<xsl:var
iable name
="VarResol
vedPropert
ies" selec
t="msxsl:n
ode-set($V
arResolved
Properties
AsXML)/wwp
roject:Pro
perty" />
|
|
761 |
|
<xsl:var
iable name
="VarResol
vedPropert
ies" selec
t="msxsl:n
ode-set($V
arResolved
Properties
AsXML)/wwp
roject:Pro
perty" />
|
762 |
|
|
|
762 |
|
|
763 |
|
<!-- CSS
propertie
s -->
|
|
763 |
|
<!-- CSS
propertie
s -->
|
764 |
|
<!--
-->
|
|
764 |
|
<!--
-->
|
765 |
|
<xsl:var
iable name
="VarCSSPr
opertiesAs
XML">
|
|
765 |
|
<xsl:var
iable name
="VarCSSPr
opertiesAs
XML">
|
766 |
|
<xsl:ca
ll-templat
e name="CS
S-Translat
eProjectPr
operties">
|
|
766 |
|
<xsl:ca
ll-templat
e name="CS
S-Translat
eProjectPr
operties">
|
767 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarResol
vedPropert
ies" />
|
|
767 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarResol
vedPropert
ies" />
|
768 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Par
amSplit/@p
ath" />
|
|
768 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Par
amSplit/@p
ath" />
|
769 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
769 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
770 |
|
</xsl:c
all-templa
te>
|
|
770 |
|
</xsl:c
all-templa
te>
|
771 |
|
</xsl:va
riable>
|
|
771 |
|
</xsl:va
riable>
|
772 |
|
<xsl:var
iable name
="VarCSSPr
operties"
select="ms
xsl:node-s
et($VarCSS
Properties
AsXML)/wwp
roject:Pro
perty" />
|
|
772 |
|
<xsl:var
iable name
="VarCSSPr
operties"
select="ms
xsl:node-s
et($VarCSS
Properties
AsXML)/wwp
roject:Pro
perty" />
|
773 |
|
|
|
773 |
|
|
774 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Paragrap
h', $Param
Paragraph/
@stylename
, $ParamSp
lit/@docum
entID, $Pa
ramParagra
ph/@id)" /
>
|
|
774 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Paragrap
h', $Param
Paragraph/
@stylename
, $ParamSp
lit/@docum
entID, $Pa
ramParagra
ph/@id)" /
>
|
775 |
|
|
|
775 |
|
|
776 |
|
<!-- Res
olve proje
ct propert
ies -->
|
|
776 |
|
<!-- Res
olve proje
ct propert
ies -->
|
777 |
|
<!--
-->
|
|
777 |
|
<!--
-->
|
778 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
AsXML">
|
|
778 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
AsXML">
|
779 |
|
<xsl:ca
ll-templat
e name="Pr
operties-R
esolveCont
extRule">
|
|
779 |
|
<xsl:ca
ll-templat
e name="Pr
operties-R
esolveCont
extRule">
|
780 |
|
<xsl:w
ith-param
name="Para
mDocumentC
ontext" se
lect="$Par
amParagrap
h" />
|
|
780 |
|
<xsl:w
ith-param
name="Para
mDocumentC
ontext" se
lect="$Par
amParagrap
h" />
|
781 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarConte
xtRule/wwp
roject:Pro
perties/ww
project:Pr
operty" />
|
|
781 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarConte
xtRule/wwp
roject:Pro
perties/ww
project:Pr
operty" />
|
782 |
|
<xsl:w
ith-param
name="Para
mStyleName
" select="
$ParamPara
graph/@sty
lename" />
|
|
782 |
|
<xsl:w
ith-param
name="Para
mStyleName
" select="
$ParamPara
graph/@sty
lename" />
|
783 |
|
<xsl:w
ith-param
name="Para
mStyleType
" select="
'Paragraph
'" />
|
|
783 |
|
<xsl:w
ith-param
name="Para
mStyleType
" select="
'Paragraph
'" />
|
784 |
|
<xsl:w
ith-param
name="Para
mContextSt
yle" selec
t="$ParamP
aragraph/w
wdoc:Style
" />
|
|
784 |
|
<xsl:w
ith-param
name="Para
mContextSt
yle" selec
t="$ParamP
aragraph/w
wdoc:Style
" />
|
785 |
|
</xsl:c
all-templa
te>
|
|
785 |
|
</xsl:c
all-templa
te>
|
786 |
|
</xsl:va
riable>
|
|
786 |
|
</xsl:va
riable>
|
787 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
" select="
msxsl:node
-set($VarR
esolvedCon
textProper
tiesAsXML)
/wwproject
:Property"
/>
|
|
787 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
" select="
msxsl:node
-set($VarR
esolvedCon
textProper
tiesAsXML)
/wwproject
:Property"
/>
|
788 |
|
|
|
788 |
|
|
789 |
|
<!-- CSS
propertie
s -->
|
|
789 |
|
<!-- CSS
propertie
s -->
|
790 |
|
<!--
-->
|
|
790 |
|
<!--
-->
|
791 |
|
<xsl:var
iable name
="VarCSSCo
ntextPrope
rtiesAsXML
">
|
|
791 |
|
<xsl:var
iable name
="VarCSSCo
ntextPrope
rtiesAsXML
">
|
792 |
|
<xsl:ca
ll-templat
e name="CS
S-Translat
eProjectPr
operties">
|
|
792 |
|
<xsl:ca
ll-templat
e name="CS
S-Translat
eProjectPr
operties">
|
793 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarResol
vedContext
Properties
" />
|
|
793 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarResol
vedContext
Properties
" />
|
794 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Par
amSplit/@p
ath" />
|
|
794 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Par
amSplit/@p
ath" />
|
795 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
795 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
796 |
|
</xsl:c
all-templa
te>
|
|
796 |
|
</xsl:c
all-templa
te>
|
797 |
|
</xsl:va
riable>
|
|
797 |
|
</xsl:va
riable>
|
798 |
|
<xsl:var
iable name
="VarCSSCo
ntextPrope
rties" sel
ect="msxsl
:node-set(
$VarCSSCon
textProper
tiesAsXML)
/wwproject
:Property"
/>
|
|
798 |
|
<xsl:var
iable name
="VarCSSCo
ntextPrope
rties" sel
ect="msxsl
:node-set(
$VarCSSCon
textProper
tiesAsXML)
/wwproject
:Property"
/>
|
799 |
|
|
|
799 |
|
|
800 |
|
<!-- Use
numbering
? -->
|
|
800 |
|
<!-- Use
numbering
? -->
|
801 |
|
<!--
-->
|
|
801 |
|
<!--
-->
|
802 |
|
<xsl:var
iable name
="VarUseNu
mberingOpt
ion" selec
t="$VarCon
textRule/w
wproject:O
ptions/wwp
roject:Opt
ion[@Name
= 'use-num
bering']/@
Value" />
|
|
802 |
|
<xsl:var
iable name
="VarUseNu
mberingOpt
ion" selec
t="$VarCon
textRule/w
wproject:O
ptions/wwp
roject:Opt
ion[@Name
= 'use-num
bering']/@
Value" />
|
803 |
|
<xsl:var
iable name
="VarUseNu
mbering" s
elect="(st
ring-lengt
h($VarUseN
umberingOp
tion) = 0)
or ($VarU
seNumberin
gOption =
'true')" /
>
|
|
803 |
|
<xsl:var
iable name
="VarUseNu
mbering" s
elect="(st
ring-lengt
h($VarUseN
umberingOp
tion) = 0)
or ($VarU
seNumberin
gOption =
'true')" /
>
|
804 |
|
|
|
804 |
|
|
805 |
|
<!-- Tex
t Indent -
->
|
|
805 |
|
<!-- Tex
t Indent -
->
|
806 |
|
<!--
-
->
|
|
806 |
|
<!--
-
->
|
807 |
|
<xsl:var
iable name
="VarTextI
ndent">
|
|
807 |
|
<xsl:var
iable name
="VarTextI
ndent">
|
808 |
|
<xsl:if
test="$Va
rUseNumber
ing">
|
|
808 |
|
<xsl:if
test="$Va
rUseNumber
ing">
|
809 |
|
<xsl:v
ariable na
me="VarOve
rrideTextI
ndent" sel
ect="$VarC
SSProperti
es[@Name =
'text-ind
ent']/@Val
ue" />
|
|
809 |
|
<xsl:v
ariable na
me="VarOve
rrideTextI
ndent" sel
ect="$VarC
SSProperti
es[@Name =
'text-ind
ent']/@Val
ue" />
|
810 |
|
<xsl:c
hoose>
|
|
810 |
|
<xsl:c
hoose>
|
811 |
|
<xsl:
when test=
"string-le
ngth($VarO
verrideTex
tIndent) &
gt; 0">
|
|
811 |
|
<xsl:
when test=
"string-le
ngth($VarO
verrideTex
tIndent) &
gt; 0">
|
812 |
|
<xsl
:value-of
select="$V
arOverride
TextIndent
" />
|
|
812 |
|
<xsl
:value-of
select="$V
arOverride
TextIndent
" />
|
813 |
|
</xsl
:when>
|
|
813 |
|
</xsl
:when>
|
814 |
|
|
|
814 |
|
|
815 |
|
<xsl:
otherwise>
|
|
815 |
|
<xsl:
otherwise>
|
816 |
|
<!--
Text inde
nt defined
? -->
|
|
816 |
|
<!--
Text inde
nt defined
? -->
|
817 |
|
<!--
-->
|
|
817 |
|
<!--
-->
|
818 |
|
<xsl
:variable
name="VarC
ontextText
Indent" se
lect="$Var
CSSContext
Properties
[@Name = '
text-inden
t']/@Value
" />
|
|
818 |
|
<xsl
:variable
name="VarC
ontextText
Indent" se
lect="$Var
CSSContext
Properties
[@Name = '
text-inden
t']/@Value
" />
|
819 |
|
<xsl
:if test="
string-len
gth($VarCo
ntextTextI
ndent) >
; 0">
|
|
819 |
|
<xsl
:if test="
string-len
gth($VarCo
ntextTextI
ndent) >
; 0">
|
820 |
|
<xs
l:value-of
select="$
VarContext
TextIndent
" />
|
|
820 |
|
<xs
l:value-of
select="$
VarContext
TextIndent
" />
|
821 |
|
</xs
l:if>
|
|
821 |
|
</xs
l:if>
|
822 |
|
</xsl
:otherwise
>
|
|
822 |
|
</xsl
:otherwise
>
|
823 |
|
</xsl:
choose>
|
|
823 |
|
</xsl:
choose>
|
824 |
|
</xsl:i
f>
|
|
824 |
|
</xsl:i
f>
|
825 |
|
</xsl:va
riable>
|
|
825 |
|
</xsl:va
riable>
|
826 |
|
|
|
826 |
|
|
827 |
|
<xsl:var
iable name
="VarTextI
ndentNumer
icPrefix"
select="ww
units:Nume
ricPrefix(
$VarTextIn
dent)" />
|
|
827 |
|
<xsl:var
iable name
="VarTextI
ndentNumer
icPrefix"
select="ww
units:Nume
ricPrefix(
$VarTextIn
dent)" />
|
828 |
|
<xsl:var
iable name
="VarTextI
ndentLessT
hanZero" s
elect="(st
ring-lengt
h($VarText
IndentNume
ricPrefix)
> 0) a
nd (number
($VarTextI
ndentNumer
icPrefix)
< 0)" /
>
|
|
828 |
|
<xsl:var
iable name
="VarTextI
ndentLessT
hanZero" s
elect="(st
ring-lengt
h($VarText
IndentNume
ricPrefix)
> 0) a
nd (number
($VarTextI
ndentNumer
icPrefix)
< 0)" /
>
|
829 |
|
|
|
829 |
|
|
830 |
|
<!-- Use
bullet fr
om UI? -->
|
|
830 |
|
<!-- Use
bullet fr
om UI? -->
|
831 |
|
<!--
-->
|
|
831 |
|
<!--
-->
|
832 |
|
<xsl:var
iable name
="VarBulle
tCharacter
" select="
$VarContex
tRule/wwpr
oject:Prop
erties/wwp
roject:Pro
perty[@Nam
e = 'bulle
t-characte
r']/@Value
" />
|
|
832 |
|
<xsl:var
iable name
="VarBulle
tCharacter
" select="
$VarContex
tRule/wwpr
oject:Prop
erties/wwp
roject:Pro
perty[@Nam
e = 'bulle
t-characte
r']/@Value
" />
|
833 |
|
<xsl:var
iable name
="VarBulle
tImage" se
lect="$Var
ContextRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y[@Name =
'bullet-im
age']/@Val
ue" />
|
|
833 |
|
<xsl:var
iable name
="VarBulle
tImage" se
lect="$Var
ContextRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y[@Name =
'bullet-im
age']/@Val
ue" />
|
834 |
|
<xsl:var
iable name
="VarBulle
tSeparator
" select="
$VarContex
tRule/wwpr
oject:Prop
erties/wwp
roject:Pro
perty[@Nam
e = 'bulle
t-separato
r']/@Value
" />
|
|
834 |
|
<xsl:var
iable name
="VarBulle
tSeparator
" select="
$VarContex
tRule/wwpr
oject:Prop
erties/wwp
roject:Pro
perty[@Nam
e = 'bulle
t-separato
r']/@Value
" />
|
835 |
|
<xsl:var
iable name
="VarBulle
tStyle" se
lect="$Var
ContextRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y[@Name =
'bullet-st
yle']/@Val
ue" />
|
|
835 |
|
<xsl:var
iable name
="VarBulle
tStyle" se
lect="$Var
ContextRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y[@Name =
'bullet-st
yle']/@Val
ue" />
|
836 |
|
<xsl:var
iable name
="VarIgnor
eDocumentN
umber" sel
ect="(stri
ng-length(
$VarBullet
Character)
> 0) o
r (string-
length($Va
rBulletIma
ge) > 0
) or (stri
ng-length(
$VarBullet
Separator)
> 0)"
/>
|
|
836 |
|
<xsl:var
iable name
="VarIgnor
eDocumentN
umber" sel
ect="(stri
ng-length(
$VarBullet
Character)
> 0) o
r (string-
length($Va
rBulletIma
ge) > 0
) or (stri
ng-length(
$VarBullet
Separator)
> 0)"
/>
|
837 |
|
|
|
837 |
|
|
838 |
|
<!-- Is
numbered p
aragraph -
->
|
|
838 |
|
<!-- Is
numbered p
aragraph -
->
|
839 |
|
<!--
-
->
|
|
839 |
|
<!--
-
->
|
840 |
|
<xsl:var
iable name
="VarIsNum
beredParag
raph" sele
ct="($VarT
extIndentL
essThanZer
o = true()
) and ((co
unt($Param
Paragraph/
wwdoc:Numb
er[1]) = 1
) or (stri
ng-length(
$VarBullet
Character)
> 0) o
r (string-
length($Va
rBulletIma
ge) > 0
) or (stri
ng-length(
$VarBullet
Separator)
> 0) o
r (string-
length($Va
rBulletSty
le) > 0
))" />
|
|
840 |
|
<xsl:var
iable name
="VarIsNum
beredParag
raph" sele
ct="($VarT
extIndentL
essThanZer
o = true()
) and ((co
unt($Param
Paragraph/
wwdoc:Numb
er[1]) = 1
) or (stri
ng-length(
$VarBullet
Character)
> 0) o
r (string-
length($Va
rBulletIma
ge) > 0
) or (stri
ng-length(
$VarBullet
Separator)
> 0) o
r (string-
length($Va
rBulletSty
le) > 0
))" />
|
841 |
|
|
|
841 |
|
|
842 |
|
<!-- Cit
ation -->
|
|
842 |
|
<!-- Cit
ation -->
|
843 |
|
<!--
-->
|
|
843 |
|
<!--
-->
|
844 |
|
<xsl:var
iable name
="VarCitat
ion">
|
|
844 |
|
<xsl:var
iable name
="VarCitat
ion">
|
845 |
|
<xsl:ca
ll-templat
e name="Be
haviors-Op
tions-Opti
onMarker">
|
|
845 |
|
<xsl:ca
ll-templat
e name="Be
haviors-Op
tions-Opti
onMarker">
|
846 |
|
<xsl:w
ith-param
name="Para
mContainer
" select="
$ParamPara
graph" />
|
|
846 |
|
<xsl:w
ith-param
name="Para
mContainer
" select="
$ParamPara
graph" />
|
847 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
|
847 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
848 |
|
<xsl:w
ith-param
name="Para
mParagraph
ID" select
="$ParamPa
ragraph/@i
d" />
|
|
848 |
|
<xsl:w
ith-param
name="Para
mParagraph
ID" select
="$ParamPa
ragraph/@i
d" />
|
849 |
|
<xsl:w
ith-param
name="Para
mRule" sel
ect="$VarC
ontextRule
" />
|
|
849 |
|
<xsl:w
ith-param
name="Para
mRule" sel
ect="$VarC
ontextRule
" />
|
850 |
|
<xsl:w
ith-param
name="Para
mOption" s
elect="'ci
tation'" /
>
|
|
850 |
|
<xsl:w
ith-param
name="Para
mOption" s
elect="'ci
tation'" /
>
|
851 |
|
</xsl:c
all-templa
te>
|
|
851 |
|
</xsl:c
all-templa
te>
|
852 |
|
</xsl:va
riable>
|
|
852 |
|
</xsl:va
riable>
|
853 |
|
|
|
853 |
|
|
854 |
|
<!-- Tag
-->
|
|
854 |
|
<!-- Tag
-->
|
855 |
|
<!--
-->
|
|
855 |
|
<!--
-->
|
856 |
|
<xsl:var
iable name
="VarTagPr
operty" se
lect="$Var
ContextRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y[@Name =
'tag']/@Va
lue" />
|
|
856 |
|
<xsl:var
iable name
="VarTagPr
operty" se
lect="$Var
ContextRul
e/wwprojec
t:Properti
es/wwproje
ct:Propert
y[@Name =
'tag']/@Va
lue" />
|
857 |
|
<xsl:var
iable name
="VarTag">
|
|
857 |
|
<xsl:var
iable name
="VarTag">
|
858 |
|
<xsl:ch
oose>
|
|
858 |
|
<xsl:ch
oose>
|
859 |
|
<xsl:w
hen test="
string-len
gth($VarTa
gProperty)
> 0">
|
|
859 |
|
<xsl:w
hen test="
string-len
gth($VarTa
gProperty)
> 0">
|
860 |
|
<xsl:
value-of s
elect="$Va
rTagProper
ty" />
|
|
860 |
|
<xsl:
value-of s
elect="$Va
rTagProper
ty" />
|
861 |
|
</xsl:
when>
|
|
861 |
|
</xsl:
when>
|
862 |
|
|
|
862 |
|
|
863 |
|
<xsl:o
therwise>
|
|
863 |
|
<xsl:o
therwise>
|
864 |
|
<xsl:
value-of s
elect="'di
v'" />
|
|
864 |
|
<xsl:
value-of s
elect="'di
v'" />
|
865 |
|
</xsl:
otherwise>
|
|
865 |
|
</xsl:
otherwise>
|
866 |
|
</xsl:c
hoose>
|
|
866 |
|
</xsl:c
hoose>
|
867 |
|
</xsl:va
riable>
|
|
867 |
|
</xsl:va
riable>
|
868 |
|
|
|
868 |
|
|
869 |
|
<!-- Tag
to use fo
r outer wr
apper -->
|
|
869 |
|
<!-- Tag
to use fo
r outer wr
apper -->
|
870 |
|
<!--
-->
|
|
870 |
|
<!--
-->
|
871 |
|
<xsl:var
iable name
="VarOuter
Tag">
|
|
871 |
|
<xsl:var
iable name
="VarOuter
Tag">
|
872 |
|
<xsl:ch
oose>
|
|
872 |
|
<xsl:ch
oose>
|
873 |
|
<xsl:w
hen test="
$VarIsNumb
eredParagr
aph = true
()">
|
|
873 |
|
<xsl:w
hen test="
$VarIsNumb
eredParagr
aph = true
()">
|
874 |
|
<xsl:
value-of s
elect="'di
v'" />
|
|
874 |
|
<xsl:
value-of s
elect="'di
v'" />
|
875 |
|
</xsl:
when>
|
|
875 |
|
</xsl:
when>
|
876 |
|
|
|
876 |
|
|
877 |
|
<xsl:o
therwise>
|
|
877 |
|
<xsl:o
therwise>
|
878 |
|
<xsl:
value-of s
elect="$Va
rTag" />
|
|
878 |
|
<xsl:
value-of s
elect="$Va
rTag" />
|
879 |
|
</xsl:
otherwise>
|
|
879 |
|
</xsl:
otherwise>
|
880 |
|
</xsl:c
hoose>
|
|
880 |
|
</xsl:c
hoose>
|
881 |
|
</xsl:va
riable>
|
|
881 |
|
</xsl:va
riable>
|
882 |
|
|
|
882 |
|
|
883 |
|
<!-- Use
character
styles? -
->
|
|
883 |
|
<!-- Use
character
styles? -
->
|
884 |
|
<!--
-
->
|
|
884 |
|
<!--
-
->
|
885 |
|
<xsl:var
iable name
="VarUseCh
aracterSty
lesOption"
select="$
ParamOverr
ideRule/ww
project:Op
tions/wwpr
oject:Opti
on[@Name =
'use-char
acter-styl
es']/@Valu
e" />
|
|
885 |
|
<xsl:var
iable name
="VarUseCh
aracterSty
lesOption"
select="$
ParamOverr
ideRule/ww
project:Op
tions/wwpr
oject:Opti
on[@Name =
'use-char
acter-styl
es']/@Valu
e" />
|
886 |
|
<xsl:var
iable name
="VarUseCh
aracterSty
les" selec
t="(string
-length($V
arUseChara
cterStyles
Option) =
0) or ($Va
rUseCharac
terStylesO
ption = 't
rue')" />
|
|
886 |
|
<xsl:var
iable name
="VarUseCh
aracterSty
les" selec
t="(string
-length($V
arUseChara
cterStyles
Option) =
0) or ($Va
rUseCharac
terStylesO
ption = 't
rue')" />
|
887 |
|
|
|
887 |
|
|
888 |
|
<!-- Pre
serve empt
y? -->
|
|
888 |
|
<!-- Pre
serve empt
y? -->
|
889 |
|
<!--
-->
|
|
889 |
|
<!--
-->
|
890 |
|
<xsl:var
iable name
="VarPrese
rveEmptyOp
tion" sele
ct="$Param
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pre
serve-empt
y']/@Value
" />
|
|
890 |
|
<xsl:var
iable name
="VarPrese
rveEmptyOp
tion" sele
ct="$Param
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pre
serve-empt
y']/@Value
" />
|
891 |
|
<xsl:var
iable name
="VarPrese
rveEmpty"
select="(s
tring-leng
th($VarPre
serveEmpty
Option) =
0) or ($Va
rPreserveE
mptyOption
= 'true')
" />
|
|
891 |
|
<xsl:var
iable name
="VarPrese
rveEmpty"
select="(s
tring-leng
th($VarPre
serveEmpty
Option) =
0) or ($Va
rPreserveE
mptyOption
= 'true')
" />
|
892 |
|
|
|
892 |
|
|
893 |
|
<!-- Beg
in paragra
ph emit --
>
|
|
893 |
|
<!-- Beg
in paragra
ph emit --
>
|
894 |
|
<!--
--
>
|
|
894 |
|
<!--
--
>
|
895 |
|
<xsl:ele
ment name=
"{$VarOute
rTag}" nam
espace="{$
GlobalDefa
ultNamespa
ce}">
|
|
895 |
|
<xsl:ele
ment name=
"{$VarOute
rTag}" nam
espace="{$
GlobalDefa
ultNamespa
ce}">
|
896 |
|
<!-- St
yle attrib
ute -->
|
|
896 |
|
<!-- St
yle attrib
ute -->
|
897 |
|
<!--
-->
|
|
897 |
|
<!--
-->
|
898 |
|
<xsl:ch
oose>
|
|
898 |
|
<xsl:ch
oose>
|
899 |
|
<xsl:w
hen test="
$VarIsNumb
eredParagr
aph = true
()">
|
|
899 |
|
<xsl:w
hen test="
$VarIsNumb
eredParagr
aph = true
()">
|
900 |
|
<xsl:
variable n
ame="VarSt
yleAttribu
teOuter">
|
|
900 |
|
<xsl:
variable n
ame="VarSt
yleAttribu
teOuter">
|
901 |
|
<xsl
:call-temp
late name=
"CSS-Inlin
ePropertie
sOuter">
|
|
901 |
|
<xsl
:call-temp
late name=
"CSS-Inlin
ePropertie
sOuter">
|
902 |
|
<xs
l:with-par
am name="P
aramProper
ties" sele
ct="$VarCS
SContextPr
operties"
/>
|
|
902 |
|
<xs
l:with-par
am name="P
aramProper
ties" sele
ct="$VarCS
SContextPr
operties"
/>
|
903 |
|
<xs
l:with-par
am name="P
aramContex
tPropertie
s" select=
"$VarCSSCo
ntextPrope
rties" />
|
|
903 |
|
<xs
l:with-par
am name="P
aramContex
tPropertie
s" select=
"$VarCSSCo
ntextPrope
rties" />
|
904 |
|
</xs
l:call-tem
plate>
|
|
904 |
|
</xs
l:call-tem
plate>
|
905 |
|
</xsl
:variable>
|
|
905 |
|
</xsl
:variable>
|
906 |
|
|
|
906 |
|
|
907 |
|
<xsl:
if test="s
tring-leng
th($VarSty
leAttribut
eOuter) &g
t; 0">
|
|
907 |
|
<xsl:
if test="s
tring-leng
th($VarSty
leAttribut
eOuter) &g
t; 0">
|
908 |
|
<xsl
:attribute
name="sty
le">
|
|
908 |
|
<xsl
:attribute
name="sty
le">
|
909 |
|
<xs
l:value-of
select="$
VarStyleAt
tributeOut
er" />
|
|
909 |
|
<xs
l:value-of
select="$
VarStyleAt
tributeOut
er" />
|
910 |
|
</xs
l:attribut
e>
|
|
910 |
|
</xs
l:attribut
e>
|
911 |
|
</xsl
:if>
|
|
911 |
|
</xsl
:if>
|
912 |
|
</xsl:
when>
|
|
912 |
|
</xsl:
when>
|
913 |
|
|
|
913 |
|
|
914 |
|
<xsl:o
therwise>
|
|
914 |
|
<xsl:o
therwise>
|
915 |
|
<xsl:
variable n
ame="VarSt
yleAttribu
te">
|
|
915 |
|
<xsl:
variable n
ame="VarSt
yleAttribu
te">
|
916 |
|
<xsl
:call-temp
late name=
"CSS-Inlin
ePropertie
s">
|
|
916 |
|
<xsl
:call-temp
late name=
"CSS-Inlin
ePropertie
s">
|
917 |
|
<xs
l:with-par
am name="P
aramProper
ties" sele
ct="$VarCS
SContextPr
operties"
/>
|
|
917 |
|
<xs
l:with-par
am name="P
aramProper
ties" sele
ct="$VarCS
SContextPr
operties"
/>
|
918 |
|
</xs
l:call-tem
plate>
|
|
918 |
|
</xs
l:call-tem
plate>
|
919 |
|
</xsl
:variable>
|
|
919 |
|
</xsl
:variable>
|
920 |
|
|
|
920 |
|
|
921 |
|
<xsl:
if test="s
tring-leng
th($VarSty
leAttribut
e) > 0"
>
|
|
921 |
|
<xsl:
if test="s
tring-leng
th($VarSty
leAttribut
e) > 0"
>
|
922 |
|
<xsl
:attribute
name="sty
le">
|
|
922 |
|
<xsl
:attribute
name="sty
le">
|
923 |
|
<xs
l:value-of
select="$
VarStyleAt
tribute" /
>
|
|
923 |
|
<xs
l:value-of
select="$
VarStyleAt
tribute" /
>
|
924 |
|
</xs
l:attribut
e>
|
|
924 |
|
</xs
l:attribut
e>
|
925 |
|
</xsl
:if>
|
|
925 |
|
</xsl
:if>
|
926 |
|
</xsl:
otherwise>
|
|
926 |
|
</xsl:
otherwise>
|
927 |
|
</xsl:c
hoose>
|
|
927 |
|
</xsl:c
hoose>
|
928 |
|
|
|
928 |
|
|
929 |
|
<!-- Ci
te attribu
te -->
|
|
929 |
|
<!-- Ci
te attribu
te -->
|
930 |
|
<!--
-->
|
|
930 |
|
<!--
-->
|
931 |
|
<xsl:if
test="str
ing-length
($VarCitat
ion) >
0">
|
|
931 |
|
<xsl:if
test="str
ing-length
($VarCitat
ion) >
0">
|
932 |
|
<xsl:a
ttribute n
ame="cite"
>
|
|
932 |
|
<xsl:a
ttribute n
ame="cite"
>
|
933 |
|
<xsl:
value-of s
elect="$Va
rCitation"
/>
|
|
933 |
|
<xsl:
value-of s
elect="$Va
rCitation"
/>
|
934 |
|
</xsl:
attribute>
|
|
934 |
|
</xsl:
attribute>
|
935 |
|
</xsl:i
f>
|
|
935 |
|
</xsl:i
f>
|
936 |
|
|
|
936 |
|
|
937 |
|
<!-- Us
e numberin
g? -->
|
|
937 |
|
<!-- Us
e numberin
g? -->
|
938 |
|
<!--
-->
|
|
938 |
|
<!--
-->
|
939 |
|
<xsl:ch
oose>
|
|
939 |
|
<xsl:ch
oose>
|
940 |
|
<!-- U
se Number
-->
|
|
940 |
|
<!-- U
se Number
-->
|
941 |
|
<!--
-->
|
|
941 |
|
<!--
-->
|
942 |
|
<xsl:w
hen test="
$VarUseNum
bering">
|
|
942 |
|
<xsl:w
hen test="
$VarUseNum
bering">
|
943 |
|
<xsl:
choose>
|
|
943 |
|
<xsl:
choose>
|
944 |
|
<xsl
:when test
="(count($
ParamParag
raph/wwdoc
:Number[1]
) > 0)
or (string
-length($V
arBulletCh
aracter) &
gt; 0) or
(string-l
ength($Var
BulletImag
e) > 0)
or (strin
g-length($
VarBulletS
eparator)
> 0)">
|
|
944 |
|
<xsl
:when test
="(count($
ParamParag
raph/wwdoc
:Number[1]
) > 0)
or (string
-length($V
arBulletCh
aracter) &
gt; 0) or
(string-l
ength($Var
BulletImag
e) > 0)
or (strin
g-length($
VarBulletS
eparator)
> 0)">
|
945 |
|
<xs
l:choose>
|
|
945 |
|
<xs
l:choose>
|
946 |
|
<x
sl:when te
st="$VarTe
xtIndentLe
ssThanZero
">
|
|
946 |
|
<x
sl:when te
st="$VarTe
xtIndentLe
ssThanZero
">
|
947 |
|
<
html:table
border="0
" cellspac
ing="0" ce
llpadding=
"0" width=
"99%" summ
ary="">
|
|
947 |
|
<
html:table
border="0
" cellspac
ing="0" ce
llpadding=
"0" width=
"99%" summ
ary="">
|
948 |
|
<html:tr v
align="bas
eline">
|
|
948 |
|
<html:tr v
align="bas
eline">
|
949 |
|
<xsl:vari
able name=
"VarTextIn
dentNumber
AsUnits" s
elect="wwu
nits:Numer
icPrefix($
VarTextInd
ent)" />
|
|
949 |
|
<xsl:vari
able name=
"VarTextIn
dentNumber
AsUnits" s
elect="wwu
nits:Numer
icPrefix($
VarTextInd
ent)" />
|
950 |
|
<xsl:vari
able name=
"VarTextIn
dentUnits"
select="w
wunits:Uni
tsSuffix($
VarTextInd
ent)" />
|
|
950 |
|
<xsl:vari
able name=
"VarTextIn
dentUnits"
select="w
wunits:Uni
tsSuffix($
VarTextInd
ent)" />
|
951 |
|
|
|
951 |
|
|
952 |
|
<html:td
style="{co
ncat('widt
h: ', 0 -
$VarTextIn
dentNumber
AsUnits, $
VarTextInd
entUnits)}
">
|
|
952 |
|
<html:td
style="{co
ncat('widt
h: ', 0 -
$VarTextIn
dentNumber
AsUnits, $
VarTextInd
entUnits)}
">
|
953 |
|
<!-- For
ce single
line -->
|
|
953 |
|
<!-- For
ce single
line -->
|
954 |
|
<!--
-->
|
|
954 |
|
<!--
-->
|
955 |
|
<wwexsld
oc:NoBreak
/>
|
|
955 |
|
<wwexsld
oc:NoBreak
/>
|
956 |
|
|
|
956 |
|
|
957 |
|
<!-- Fo
rce single
line -->
|
|
957 |
|
<!-- Fo
rce single
line -->
|
958 |
|
<!--
-->
|
|
958 |
|
<!--
-->
|
959 |
|
<wwexsl
doc:NoBrea
k />
|
|
959 |
|
<wwexsl
doc:NoBrea
k />
|
960 |
|
|
|
960 |
|
|
961 |
|
<xsl:el
ement name
="{$VarTag
}" namespa
ce="{$Glob
alDefaultN
amespace}"
>
|
|
961 |
|
<xsl:el
ement name
="{$VarTag
}" namespa
ce="{$Glob
alDefaultN
amespace}"
>
|
962 |
|
<xsl:v
ariable na
me="VarSty
leAttribut
eInnerNumb
er">
|
|
962 |
|
<xsl:v
ariable na
me="VarSty
leAttribut
eInnerNumb
er">
|
963 |
|
<xsl:
call-templ
ate name="
CSS-Inline
Properties
InnerNumbe
r">
|
|
963 |
|
<xsl:
call-templ
ate name="
CSS-Inline
Properties
InnerNumbe
r">
|
964 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCSS
ContextPro
perties" /
>
|
|
964 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCSS
ContextPro
perties" /
>
|
965 |
|
</xsl
:call-temp
late>
|
|
965 |
|
</xsl
:call-temp
late>
|
966 |
|
</xsl:
variable>
|
|
966 |
|
</xsl:
variable>
|
967 |
|
<xsl:i
f test="st
ring-lengt
h($VarStyl
eAttribute
InnerNumbe
r) > 0"
>
|
|
967 |
|
<xsl:i
f test="st
ring-lengt
h($VarStyl
eAttribute
InnerNumbe
r) > 0"
>
|
968 |
|
<xsl:
attribute
name="styl
e">
|
|
968 |
|
<xsl:
attribute
name="styl
e">
|
969 |
|
<xsl
:value-of
select="$V
arStyleAtt
ributeInne
rNumber" /
>
|
|
969 |
|
<xsl
:value-of
select="$V
arStyleAtt
ributeInne
rNumber" /
>
|
970 |
|
</xsl
:attribute
>
|
|
970 |
|
</xsl
:attribute
>
|
971 |
|
</xsl:
if>
|
|
971 |
|
</xsl:
if>
|
972 |
|
|
|
972 |
|
|
973 |
|
<xsl:c
all-templa
te name="N
umber">
|
|
973 |
|
<xsl:c
all-templa
te name="N
umber">
|
974 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
|
974 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
975 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Pa
ramCargo"
/>
|
|
975 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Pa
ramCargo"
/>
|
976 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
|
976 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
977 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
|
977 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
978 |
|
<xsl:
with-param
name="Par
amParagrap
h" select=
"$ParamPar
agraph" />
|
|
978 |
|
<xsl:
with-param
name="Par
amParagrap
h" select=
"$ParamPar
agraph" />
|
979 |
|
<xsl:
with-param
name="Par
amUseChara
cterStyles
" select="
$VarUseCha
racterStyl
es" />
|
|
979 |
|
<xsl:
with-param
name="Par
amUseChara
cterStyles
" select="
$VarUseCha
racterStyl
es" />
|
980 |
|
<xsl:
with-param
name="Par
amIgnoreDo
cumentNumb
er" select
="$VarIgno
reDocument
Number" />
|
|
980 |
|
<xsl:
with-param
name="Par
amIgnoreDo
cumentNumb
er" select
="$VarIgno
reDocument
Number" />
|
981 |
|
<xsl:
with-param
name="Par
amCharacte
r" select=
"$VarBulle
tCharacter
" />
|
|
981 |
|
<xsl:
with-param
name="Par
amCharacte
r" select=
"$VarBulle
tCharacter
" />
|
982 |
|
<xsl:
with-param
name="Par
amImage" s
elect="$Va
rBulletIma
ge" />
|
|
982 |
|
<xsl:
with-param
name="Par
amImage" s
elect="$Va
rBulletIma
ge" />
|
983 |
|
<xsl:
with-param
name="Par
amSeparato
r" select=
"$VarBulle
tSeparator
" />
|
|
983 |
|
<xsl:
with-param
name="Par
amSeparato
r" select=
"$VarBulle
tSeparator
" />
|
984 |
|
<xsl:
with-param
name="Par
amStyle" s
elect="$Va
rBulletSty
le" />
|
|
984 |
|
<xsl:
with-param
name="Par
amStyle" s
elect="$Va
rBulletSty
le" />
|
985 |
|
</xsl:
call-templ
ate>
|
|
985 |
|
</xsl:
call-templ
ate>
|
986 |
|
</xsl:e
lement>
|
|
986 |
|
</xsl:e
lement>
|
987 |
|
|
|
987 |
|
|
988 |
|
<!-- Fo
rce single
line -->
|
|
988 |
|
<!-- Fo
rce single
line -->
|
989 |
|
<!--
-->
|
|
989 |
|
<!--
-->
|
990 |
|
<wwexsl
doc:NoBrea
k />
|
|
990 |
|
<wwexsl
doc:NoBrea
k />
|
991 |
|
|
|
991 |
|
|
992 |
|
<!-- For
ce single
line -->
|
|
992 |
|
<!-- For
ce single
line -->
|
993 |
|
<!--
-->
|
|
993 |
|
<!--
-->
|
994 |
|
<wwexsld
oc:NoBreak
/>
|
|
994 |
|
<wwexsld
oc:NoBreak
/>
|
995 |
|
</html:td
>
|
|
995 |
|
</html:td
>
|
996 |
|
|
|
996 |
|
|
997 |
|
<html:td>
|
|
997 |
|
<html:td>
|
998 |
|
<!-- For
ce single
line -->
|
|
998 |
|
<!-- For
ce single
line -->
|
999 |
|
<!--
-->
|
|
999 |
|
<!--
-->
|
1000 |
|
<wwexsld
oc:NoBreak
/>
|
|
1000 |
|
<wwexsld
oc:NoBreak
/>
|
1001 |
|
|
|
1001 |
|
|
1002 |
|
<!-- Emi
t content
-->
|
|
1002 |
|
<!-- Emi
t content
-->
|
1003 |
|
<!--
-->
|
|
1003 |
|
<!--
-->
|
1004 |
|
<xsl:ele
ment name=
"{$VarTag}
" namespac
e="{$Globa
lDefaultNa
mespace}">
|
|
1004 |
|
<xsl:ele
ment name=
"{$VarTag}
" namespac
e="{$Globa
lDefaultNa
mespace}">
|
1005 |
|
<xsl:va
riable nam
e="VarStyl
eAttribute
InnerConte
nt">
|
|
1005 |
|
<xsl:va
riable nam
e="VarStyl
eAttribute
InnerConte
nt">
|
1006 |
|
<xsl:c
all-templa
te name="C
SS-InlineP
ropertiesI
nnerConten
t">
|
|
1006 |
|
<xsl:c
all-templa
te name="C
SS-InlineP
ropertiesI
nnerConten
t">
|
1007 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarCSSC
ontextProp
erties" />
|
|
1007 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarCSSC
ontextProp
erties" />
|
1008 |
|
</xsl:
call-templ
ate>
|
|
1008 |
|
</xsl:
call-templ
ate>
|
1009 |
|
</xsl:v
ariable>
|
|
1009 |
|
</xsl:v
ariable>
|
1010 |
|
<xsl:if
test="str
ing-length
($VarStyle
AttributeI
nnerConten
t) > 0"
>
|
|
1010 |
|
<xsl:if
test="str
ing-length
($VarStyle
AttributeI
nnerConten
t) > 0"
>
|
1011 |
|
<xsl:a
ttribute n
ame="style
">
|
|
1011 |
|
<xsl:a
ttribute n
ame="style
">
|
1012 |
|
<xsl:
value-of s
elect="$Va
rStyleAttr
ibuteInner
Content" /
>
|
|
1012 |
|
<xsl:
value-of s
elect="$Va
rStyleAttr
ibuteInner
Content" /
>
|
1013 |
|
</xsl:
attribute>
|
|
1013 |
|
</xsl:
attribute>
|
1014 |
|
</xsl:i
f>
|
|
1014 |
|
</xsl:i
f>
|
1015 |
|
|
|
1015 |
|
|
1016 |
|
<!-- Te
xt Runs --
>
|
|
1016 |
|
<!-- Te
xt Runs --
>
|
1017 |
|
<!--
--
>
|
|
1017 |
|
<!--
--
>
|
1018 |
|
<xsl:ca
ll-templat
e name="Pa
ragraphTex
tRuns">
|
|
1018 |
|
<xsl:ca
ll-templat
e name="Pa
ragraphTex
tRuns">
|
1019 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
1019 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
1020 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
|
1020 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
1021 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
|
1021 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
1022 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
|
1022 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
1023 |
|
<xsl:w
ith-param
name="Para
mPreserveE
mpty" sele
ct="$VarPr
eserveEmpt
y" />
|
|
1023 |
|
<xsl:w
ith-param
name="Para
mPreserveE
mpty" sele
ct="$VarPr
eserveEmpt
y" />
|
1024 |
|
<xsl:w
ith-param
name="Para
mUseCharac
terStyles"
select="$
VarUseChar
acterStyle
s" />
|
|
1024 |
|
<xsl:w
ith-param
name="Para
mUseCharac
terStyles"
select="$
VarUseChar
acterStyle
s" />
|
1025 |
|
<xsl:w
ith-param
name="Para
mParagraph
" select="
$ParamPara
graph" />
|
|
1025 |
|
<xsl:w
ith-param
name="Para
mParagraph
" select="
$ParamPara
graph" />
|
1026 |
|
</xsl:c
all-templa
te>
|
|
1026 |
|
</xsl:c
all-templa
te>
|
1027 |
|
</xsl:el
ement>
|
|
1027 |
|
</xsl:el
ement>
|
1028 |
|
|
|
1028 |
|
|
1029 |
|
<!-- For
ce single
line -->
|
|
1029 |
|
<!-- For
ce single
line -->
|
1030 |
|
<!--
-->
|
|
1030 |
|
<!--
-->
|
1031 |
|
<wwexsld
oc:NoBreak
/>
|
|
1031 |
|
<wwexsld
oc:NoBreak
/>
|
1032 |
|
</html:td
>
|
|
1032 |
|
</html:td
>
|
1033 |
|
</html:tr>
|
|
1033 |
|
</html:tr>
|
1034 |
|
<
/html:tabl
e>
|
|
1034 |
|
<
/html:tabl
e>
|
1035 |
|
</
xsl:when>
|
|
1035 |
|
</
xsl:when>
|
1036 |
|
|
|
1036 |
|
|
1037 |
|
<x
sl:otherwi
se>
|
|
1037 |
|
<x
sl:otherwi
se>
|
1038 |
|
<
xsl:call-t
emplate na
me="Number
">
|
|
1038 |
|
<
xsl:call-t
emplate na
me="Number
">
|
1039 |
|
<xsl:with-
param name
="ParamSpl
its" selec
t="$ParamS
plits" />
|
|
1039 |
|
<xsl:with-
param name
="ParamSpl
its" selec
t="$ParamS
plits" />
|
1040 |
|
<xsl:with-
param name
="ParamCar
go" select
="$ParamCa
rgo" />
|
|
1040 |
|
<xsl:with-
param name
="ParamCar
go" select
="$ParamCa
rgo" />
|
1041 |
|
<xsl:with-
param name
="ParamLin
ks" select
="$ParamLi
nks" />
|
|
1041 |
|
<xsl:with-
param name
="ParamLin
ks" select
="$ParamLi
nks" />
|
1042 |
|
<xsl:with-
param name
="ParamSpl
it" select
="$ParamSp
lit" />
|
|
1042 |
|
<xsl:with-
param name
="ParamSpl
it" select
="$ParamSp
lit" />
|
1043 |
|
<xsl:with-
param name
="ParamPar
agraph" se
lect="$Par
amParagrap
h" />
|
|
1043 |
|
<xsl:with-
param name
="ParamPar
agraph" se
lect="$Par
amParagrap
h" />
|
1044 |
|
<xsl:with-
param name
="ParamUse
CharacterS
tyles" sel
ect="$VarU
seCharacte
rStyles" /
>
|
|
1044 |
|
<xsl:with-
param name
="ParamUse
CharacterS
tyles" sel
ect="$VarU
seCharacte
rStyles" /
>
|
1045 |
|
<xsl:with-
param name
="ParamIgn
oreDocumen
tNumber" s
elect="$Va
rIgnoreDoc
umentNumbe
r" />
|
|
1045 |
|
<xsl:with-
param name
="ParamIgn
oreDocumen
tNumber" s
elect="$Va
rIgnoreDoc
umentNumbe
r" />
|
1046 |
|
<xsl:with-
param name
="ParamCha
racter" se
lect="$Var
BulletChar
acter" />
|
|
1046 |
|
<xsl:with-
param name
="ParamCha
racter" se
lect="$Var
BulletChar
acter" />
|
1047 |
|
<xsl:with-
param name
="ParamIma
ge" select
="$VarBull
etImage" /
>
|
|
1047 |
|
<xsl:with-
param name
="ParamIma
ge" select
="$VarBull
etImage" /
>
|
1048 |
|
<xsl:with-
param name
="ParamSep
arator" se
lect="$Var
BulletSepa
rator" />
|
|
1048 |
|
<xsl:with-
param name
="ParamSep
arator" se
lect="$Var
BulletSepa
rator" />
|
1049 |
|
<xsl:with-
param name
="ParamSty
le" select
="$VarBull
etStyle" /
>
|
|
1049 |
|
<xsl:with-
param name
="ParamSty
le" select
="$VarBull
etStyle" /
>
|
1050 |
|
<
/xsl:call-
template>
|
|
1050 |
|
<
/xsl:call-
template>
|
1051 |
|
|
|
1051 |
|
|
1052 |
|
<
!-- Text R
uns -->
|
|
1052 |
|
<
!-- Text R
uns -->
|
1053 |
|
<
!--
-->
|
|
1053 |
|
<
!--
-->
|
1054 |
|
<
xsl:call-t
emplate na
me="Paragr
aphTextRun
s">
|
|
1054 |
|
<
xsl:call-t
emplate na
me="Paragr
aphTextRun
s">
|
1055 |
|
<xsl:with-
param name
="ParamSpl
its" selec
t="$ParamS
plits" />
|
|
1055 |
|
<xsl:with-
param name
="ParamSpl
its" selec
t="$ParamS
plits" />
|
1056 |
|
<xsl:with-
param name
="ParamCar
go" select
="$ParamCa
rgo" />
|
|
1056 |
|
<xsl:with-
param name
="ParamCar
go" select
="$ParamCa
rgo" />
|
1057 |
|
<xsl:with-
param name
="ParamLin
ks" select
="$ParamLi
nks" />
|
|
1057 |
|
<xsl:with-
param name
="ParamLin
ks" select
="$ParamLi
nks" />
|
1058 |
|
<xsl:with-
param name
="ParamSpl
it" select
="$ParamSp
lit" />
|
|
1058 |
|
<xsl:with-
param name
="ParamSpl
it" select
="$ParamSp
lit" />
|
1059 |
|
<xsl:with-
param name
="ParamPre
serveEmpty
" select="
$VarPreser
veEmpty" /
>
|
|
1059 |
|
<xsl:with-
param name
="ParamPre
serveEmpty
" select="
$VarPreser
veEmpty" /
>
|
1060 |
|
<xsl:with-
param name
="ParamUse
CharacterS
tyles" sel
ect="$VarU
seCharacte
rStyles" /
>
|
|
1060 |
|
<xsl:with-
param name
="ParamUse
CharacterS
tyles" sel
ect="$VarU
seCharacte
rStyles" /
>
|
1061 |
|
<xsl:with-
param name
="ParamPar
agraph" se
lect="$Par
amParagrap
h" />
|
|
1061 |
|
<xsl:with-
param name
="ParamPar
agraph" se
lect="$Par
amParagrap
h" />
|
1062 |
|
<
/xsl:call-
template>
|
|
1062 |
|
<
/xsl:call-
template>
|
1063 |
|
</
xsl:otherw
ise>
|
|
1063 |
|
</
xsl:otherw
ise>
|
1064 |
|
</x
sl:choose>
|
|
1064 |
|
</x
sl:choose>
|
1065 |
|
</xs
l:when>
|
|
1065 |
|
</xs
l:when>
|
1066 |
|
|
|
1066 |
|
|
1067 |
|
<xsl
:otherwise
>
|
|
1067 |
|
<xsl
:otherwise
>
|
1068 |
|
<!-
- Text Run
s -->
|
|
1068 |
|
<!-
- Text Run
s -->
|
1069 |
|
<!-
-
-->
|
|
1069 |
|
<!-
-
-->
|
1070 |
|
<xs
l:call-tem
plate name
="Paragrap
hTextRuns"
>
|
|
1070 |
|
<xs
l:call-tem
plate name
="Paragrap
hTextRuns"
>
|
1071 |
|
<x
sl:with-pa
ram name="
ParamSplit
s" select=
"$ParamSpl
its" />
|
|
1071 |
|
<x
sl:with-pa
ram name="
ParamSplit
s" select=
"$ParamSpl
its" />
|
1072 |
|
<x
sl:with-pa
ram name="
ParamCargo
" select="
$ParamCarg
o" />
|
|
1072 |
|
<x
sl:with-pa
ram name="
ParamCargo
" select="
$ParamCarg
o" />
|
1073 |
|
<x
sl:with-pa
ram name="
ParamLinks
" select="
$ParamLink
s" />
|
|
1073 |
|
<x
sl:with-pa
ram name="
ParamLinks
" select="
$ParamLink
s" />
|
1074 |
|
<x
sl:with-pa
ram name="
ParamSplit
" select="
$ParamSpli
t" />
|
|
1074 |
|
<x
sl:with-pa
ram name="
ParamSplit
" select="
$ParamSpli
t" />
|
1075 |
|
<x
sl:with-pa
ram name="
ParamPrese
rveEmpty"
select="$V
arPreserve
Empty" />
|
|
1075 |
|
<x
sl:with-pa
ram name="
ParamPrese
rveEmpty"
select="$V
arPreserve
Empty" />
|
1076 |
|
<x
sl:with-pa
ram name="
ParamUseCh
aracterSty
les" selec
t="$VarUse
CharacterS
tyles" />
|
|
1076 |
|
<x
sl:with-pa
ram name="
ParamUseCh
aracterSty
les" selec
t="$VarUse
CharacterS
tyles" />
|
1077 |
|
<x
sl:with-pa
ram name="
ParamParag
raph" sele
ct="$Param
Paragraph"
/>
|
|
1077 |
|
<x
sl:with-pa
ram name="
ParamParag
raph" sele
ct="$Param
Paragraph"
/>
|
1078 |
|
</x
sl:call-te
mplate>
|
|
1078 |
|
</x
sl:call-te
mplate>
|
1079 |
|
</xs
l:otherwis
e>
|
|
1079 |
|
</xs
l:otherwis
e>
|
1080 |
|
</xsl
:choose>
|
|
1080 |
|
</xsl
:choose>
|
1081 |
|
</xsl:
when>
|
|
1081 |
|
</xsl:
when>
|
1082 |
|
|
|
1082 |
|
|
1083 |
|
<!-- S
kip Number
-->
|
|
1083 |
|
<!-- S
kip Number
-->
|
1084 |
|
<!--
-->
|
|
1084 |
|
<!--
-->
|
1085 |
|
<xsl:o
therwise>
|
|
1085 |
|
<xsl:o
therwise>
|
1086 |
|
<!--
Text Runs
-->
|
|
1086 |
|
<!--
Text Runs
-->
|
1087 |
|
<!--
-->
|
|
1087 |
|
<!--
-->
|
1088 |
|
<xsl:
call-templ
ate name="
ParagraphT
extRuns">
|
|
1088 |
|
<xsl:
call-templ
ate name="
ParagraphT
extRuns">
|
1089 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1089 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1090 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1090 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1091 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
1091 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1092 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
1092 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
1093 |
|
<xsl
:with-para
m name="Pa
ramPreserv
eEmpty" se
lect="$Var
PreserveEm
pty" />
|
|
1093 |
|
<xsl
:with-para
m name="Pa
ramPreserv
eEmpty" se
lect="$Var
PreserveEm
pty" />
|
1094 |
|
<xsl
:with-para
m name="Pa
ramUseChar
acterStyle
s" select=
"$VarUseCh
aracterSty
les" />
|
|
1094 |
|
<xsl
:with-para
m name="Pa
ramUseChar
acterStyle
s" select=
"$VarUseCh
aracterSty
les" />
|
1095 |
|
<xsl
:with-para
m name="Pa
ramParagra
ph" select
="$ParamPa
ragraph" /
>
|
|
1095 |
|
<xsl
:with-para
m name="Pa
ramParagra
ph" select
="$ParamPa
ragraph" /
>
|
1096 |
|
</xsl
:call-temp
late>
|
|
1096 |
|
</xsl
:call-temp
late>
|
1097 |
|
</xsl:
otherwise>
|
|
1097 |
|
</xsl:
otherwise>
|
1098 |
|
</xsl:c
hoose>
|
|
1098 |
|
</xsl:c
hoose>
|
1099 |
|
|
|
1099 |
|
|
1100 |
|
<!-- End
paragraph
emit -->
|
|
1100 |
|
<!-- End
paragraph
emit -->
|
1101 |
|
<!--
-->
|
|
1101 |
|
<!--
-->
|
1102 |
|
</xsl:el
ement>
|
|
1102 |
|
</xsl:el
ement>
|
1103 |
|
</xsl:tem
plate>
|
|
1103 |
|
</xsl:tem
plate>
|
1104 |
|
|
|
1104 |
|
|
1105 |
|
|
|
1105 |
|
|
1106 |
|
<xsl:temp
late name=
"Number">
|
|
1106 |
|
<xsl:temp
late name=
"Number">
|
1107 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1107 |
|
<xsl:par
am name="P
aramSplits
" />
|
1108 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1108 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1109 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1109 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1110 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1110 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1111 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
|
1111 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
1112 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
|
1112 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
1113 |
|
<xsl:par
am name="P
aramIgnore
DocumentNu
mber" />
|
|
1113 |
|
<xsl:par
am name="P
aramIgnore
DocumentNu
mber" />
|
1114 |
|
<xsl:par
am name="P
aramCharac
ter" />
|
|
1114 |
|
<xsl:par
am name="P
aramCharac
ter" />
|
1115 |
|
<xsl:par
am name="P
aramImage"
/>
|
|
1115 |
|
<xsl:par
am name="P
aramImage"
/>
|
1116 |
|
<xsl:par
am name="P
aramSepara
tor" />
|
|
1116 |
|
<xsl:par
am name="P
aramSepara
tor" />
|
1117 |
|
<xsl:par
am name="P
aramStyle"
/>
|
|
1117 |
|
<xsl:par
am name="P
aramStyle"
/>
|
1118 |
|
|
|
1118 |
|
|
1119 |
|
<xsl:cho
ose>
|
|
1119 |
|
<xsl:cho
ose>
|
1120 |
|
<xsl:wh
en test="$
ParamIgnor
eDocumentN
umber">
|
|
1120 |
|
<xsl:wh
en test="$
ParamIgnor
eDocumentN
umber">
|
1121 |
|
<xsl:c
all-templa
te name="C
ontent-Bul
let">
|
|
1121 |
|
<xsl:c
all-templa
te name="C
ontent-Bul
let">
|
1122 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
|
1122 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
1123 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
|
1123 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
1124 |
|
<xsl:
with-param
name="Par
amParagrap
h" select=
"$ParamPar
agraph" />
|
|
1124 |
|
<xsl:
with-param
name="Par
amParagrap
h" select=
"$ParamPar
agraph" />
|
1125 |
|
<xsl:
with-param
name="Par
amCharacte
r" select=
"$ParamCha
racter" />
|
|
1125 |
|
<xsl:
with-param
name="Par
amCharacte
r" select=
"$ParamCha
racter" />
|
1126 |
|
<xsl:
with-param
name="Par
amImage" s
elect="$Pa
ramImage"
/>
|
|
1126 |
|
<xsl:
with-param
name="Par
amImage" s
elect="$Pa
ramImage"
/>
|
1127 |
|
<xsl:
with-param
name="Par
amSeparato
r" select=
"$ParamSep
arator" />
|
|
1127 |
|
<xsl:
with-param
name="Par
amSeparato
r" select=
"$ParamSep
arator" />
|
1128 |
|
<xsl:
with-param
name="Par
amStyle" s
elect="$Pa
ramStyle"
/>
|
|
1128 |
|
<xsl:
with-param
name="Par
amStyle" s
elect="$Pa
ramStyle"
/>
|
1129 |
|
</xsl:
call-templ
ate>
|
|
1129 |
|
</xsl:
call-templ
ate>
|
1130 |
|
</xsl:w
hen>
|
|
1130 |
|
</xsl:w
hen>
|
1131 |
|
|
|
1131 |
|
|
1132 |
|
<xsl:ot
herwise>
|
|
1132 |
|
<xsl:ot
herwise>
|
1133 |
|
<xsl:v
ariable na
me="VarBul
letPropert
iesAsXML">
|
|
1133 |
|
<xsl:v
ariable na
me="VarBul
letPropert
iesAsXML">
|
1134 |
|
<wwpr
oject:Bull
etProperti
es>
|
|
1134 |
|
<wwpr
oject:Bull
etProperti
es>
|
1135 |
|
<wwp
roject:Pro
perty Name
="bullet-s
tyle" Valu
e="{$Param
Style}" />
|
|
1135 |
|
<wwp
roject:Pro
perty Name
="bullet-s
tyle" Valu
e="{$Param
Style}" />
|
1136 |
|
</wwp
roject:Bul
letPropert
ies>
|
|
1136 |
|
</wwp
roject:Bul
letPropert
ies>
|
1137 |
|
</xsl:
variable>
|
|
1137 |
|
</xsl:
variable>
|
1138 |
|
<xsl:v
ariable na
me="VarBul
letPropert
ies" selec
t="msxsl:n
ode-set($V
arBulletPr
opertiesAs
XML)" />
|
|
1138 |
|
<xsl:v
ariable na
me="VarBul
letPropert
ies" selec
t="msxsl:n
ode-set($V
arBulletPr
opertiesAs
XML)" />
|
1139 |
|
|
|
1139 |
|
|
1140 |
|
<xsl:v
ariable na
me="VarCar
go" select
="$ParamCa
rgo/*[loca
l-name() !
= 'BulletP
roperties'
]/.. | $Va
rBulletPro
perties" /
>
|
|
1140 |
|
<xsl:v
ariable na
me="VarCar
go" select
="$ParamCa
rgo/*[loca
l-name() !
= 'BulletP
roperties'
]/.. | $Va
rBulletPro
perties" /
>
|
1141 |
|
|
|
1141 |
|
|
1142 |
|
<xsl:c
all-templa
te name="T
extRun">
|
|
1142 |
|
<xsl:c
all-templa
te name="T
extRun">
|
1143 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
|
1143 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
1144 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Va
rCargo" />
|
|
1144 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Va
rCargo" />
|
1145 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
|
1145 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
1146 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
|
1146 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
1147 |
|
<xsl:
with-param
name="Par
amParagrap
hID" selec
t="$ParamP
aragraph/@
id" />
|
|
1147 |
|
<xsl:
with-param
name="Par
amParagrap
hID" selec
t="$ParamP
aragraph/@
id" />
|
1148 |
|
<xsl:
with-param
name="Par
amUseChara
cterStyles
" select="
$ParamUseC
haracterSt
yles" />
|
|
1148 |
|
<xsl:
with-param
name="Par
amUseChara
cterStyles
" select="
$ParamUseC
haracterSt
yles" />
|
1149 |
|
<xsl:
with-param
name="Par
amTextRun"
select="$
ParamParag
raph/wwdoc
:Number[1]
" />
|
|
1149 |
|
<xsl:
with-param
name="Par
amTextRun"
select="$
ParamParag
raph/wwdoc
:Number[1]
" />
|
1150 |
|
<xsl:
with-param
name="Par
am
Pos
it
io
n
" select="
0
" />
|
|
1150 |
|
<xsl:
with-param
name="Par
am
Em
it
A
n
chorName
" select="
false()
" />
|
1151 |
|
</xsl:
call-templ
ate>
|
|
1151 |
|
</xsl:
call-templ
ate>
|
1152 |
|
</xsl:o
therwise>
|
|
1152 |
|
</xsl:o
therwise>
|
1153 |
|
</xsl:ch
oose>
|
|
1153 |
|
</xsl:ch
oose>
|
1154 |
|
</xsl:tem
plate>
|
|
1154 |
|
</xsl:tem
plate>
|
1155 |
|
|
|
1155 |
|
|
1156 |
|
|
|
1156 |
|
|
1157 |
|
<xsl:temp
late name=
"Paragraph
TextRuns">
|
|
1157 |
|
<xsl:temp
late name=
"Paragraph
TextRuns">
|
1158 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1158 |
|
<xsl:par
am name="P
aramSplits
" />
|
1159 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1159 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1160 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1160 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1161 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1161 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1162 |
|
<xsl:par
am name="P
aramPreser
veEmpty" /
>
|
|
1162 |
|
<xsl:par
am name="P
aramPreser
veEmpty" /
>
|
1163 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
|
1163 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
1164 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
|
1164 |
|
<xsl:par
am name="P
aramParagr
aph" />
|
1165 |
|
|
|
1165 |
|
|
1166 |
|
<!-- Pre
vent white
space issu
es with pr
eformatted
text bloc
ks -->
|
|
1166 |
|
<!-- Pre
vent white
space issu
es with pr
eformatted
text bloc
ks -->
|
1167 |
|
<!--
-->
|
|
1167 |
|
<!--
-->
|
1168 |
|
<wwexsld
oc:NoBreak
/>
|
|
1168 |
|
<wwexsld
oc:NoBreak
/>
|
1169 |
|
|
|
1169 |
|
|
1170 |
|
<!-- Non
-empty tex
t runs -->
|
|
1170 |
|
<!-- Non
-empty tex
t runs -->
|
1171 |
|
<!--
-->
|
|
1171 |
|
<!--
-->
|
1172 |
|
<xsl:var
iable name
="VarTextR
uns" selec
t="$ParamP
aragraph/w
wdoc:TextR
un[count(c
hild::wwdo
c:Text[1]
| child::w
wdoc:Frame
[1] | chil
d::wwdoc:N
ote[1] | c
hild::wwdo
c:LineBrea
k[1] | chi
ld::wwdoc:
Marker[1])
> 0]"
/>
|
|
1172 |
|
<xsl:var
iable name
="VarTextR
uns" selec
t="$ParamP
aragraph/w
wdoc:TextR
un[count(c
hild::wwdo
c:Text[1]
| child::w
wdoc:Frame
[1] | chil
d::wwdoc:N
ote[1] | c
hild::wwdo
c:LineBrea
k[1] | chi
ld::wwdoc:
Marker[1])
> 0]"
/>
|
|
|
|
|
1173 |
|
<xsl:var
iable name
="VarNonMa
rkerTextRu
ns" select
="$ParamPa
ragraph/ww
doc:TextRu
n[count(ch
ild::wwdoc
:Text[1] |
child::ww
doc:Frame[
1] | child
::wwdoc:No
te[1] | ch
ild::wwdoc
:LineBreak
[1]) >
0]" />
|
1173 |
|
|
|
1174 |
|
|
1174 |
|
<!-- Che
ck for emp
ty paragra
phs -->
|
|
1175 |
|
<!-- Che
ck for emp
ty paragra
phs -->
|
1175 |
|
<!--
-->
|
|
1176 |
|
<!--
-->
|
1176 |
|
<xsl:cho
ose>
|
|
1177 |
|
<xsl:cho
ose>
|
1177 |
|
<xsl:wh
en test="c
ount($VarT
extRuns[1]
) = 1">
|
|
1178 |
|
<xsl:wh
en test="c
ount($VarT
extRuns[1]
) = 1">
|
1178 |
|
<!-- P
aragraph h
as content
-->
|
|
1179 |
|
<!-- P
aragraph h
as content
-->
|
1179 |
|
<!--
-->
|
|
1180 |
|
<!--
-->
|
1180 |
|
<xsl:f
or-each se
lect="$Var
TextRuns">
|
|
1181 |
|
<xsl:f
or-each se
lect="$Var
TextRuns">
|
1181 |
|
<xsl:
variable n
ame="VarTe
xtRun" sel
ect="." />
|
|
1182 |
|
<xsl:
variable n
ame="VarTe
xtRun" sel
ect="." />
|
1182 |
|
|
|
1183 |
|
|
1183 |
|
<xsl:
call-templ
ate name="
TextRun">
|
|
1184 |
|
<xsl:
call-templ
ate name="
TextRun">
|
1184 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1185 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1185 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1186 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1186 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
1187 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1187 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
1188 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
1188 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
Paragraph/
@id" />
|
|
1189 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
Paragraph/
@id" />
|
1189 |
|
<xsl
:with-para
m name="Pa
ramUseChar
acterStyle
s" select=
"$ParamUse
CharacterS
tyles" />
|
|
1190 |
|
<xsl
:with-para
m name="Pa
ramUseChar
acterStyle
s" select=
"$ParamUse
CharacterS
tyles" />
|
1190 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$VarTextRu
n" />
|
|
1191 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$VarTextRu
n" />
|
1191 |
|
<xsl
:with-para
m name="Pa
ram
Pos
it
io
n
" select="
p
o
si
t
i
on
(
)
" />
|
|
1192 |
|
<xsl
:with-para
m name="Pa
ram
Em
it
A
n
chorName
" select="
c
o
un
t
($VarTextR
un | $VarN
on
MarkerText
Runs[1]
)
= 1
" />
|
1192 |
|
</xsl
:call-temp
late>
|
|
1193 |
|
</xsl
:call-temp
late>
|
1193 |
|
</xsl:
for-each>
|
|
1194 |
|
</xsl:
for-each>
|
1194 |
|
</xsl:w
hen>
|
|
1195 |
|
</xsl:w
hen>
|
1195 |
|
|
|
1196 |
|
|
1196 |
|
<xsl:ot
herwise>
|
|
1197 |
|
<xsl:ot
herwise>
|
1197 |
|
<!-- E
mpty parag
raph! -->
|
|
1198 |
|
<!-- E
mpty parag
raph! -->
|
1198 |
|
<!--
-->
|
|
1199 |
|
<!--
-->
|
1199 |
|
<xsl:i
f test="$P
aramPreser
veEmpty">
|
|
1200 |
|
<xsl:i
f test="$P
aramPreser
veEmpty">
|
1200 |
|
<!--
Force on o
ne line --
>
|
|
1201 |
|
<!--
Force on o
ne line --
>
|
1201 |
|
<!--
--
>
|
|
1202 |
|
<!--
--
>
|
1202 |
|
<wwex
sldoc:NoBr
eak />
|
|
1203 |
|
<wwex
sldoc:NoBr
eak />
|
1203 |
|
|
|
1204 |
|
|
1204 |
|
<html
:span id="
ww{$ParamP
aragraph/@
id}">�
A0;</html:
span>
|
|
1205 |
|
<html
:span id="
ww{$ParamP
aragraph/@
id}">�
A0;</html:
span>
|
1205 |
|
|
|
1206 |
|
|
1206 |
|
<!--
Force on o
ne line --
>
|
|
1207 |
|
<!--
Force on o
ne line --
>
|
1207 |
|
<!--
--
>
|
|
1208 |
|
<!--
--
>
|
1208 |
|
<wwex
sldoc:NoBr
eak />
|
|
1209 |
|
<wwex
sldoc:NoBr
eak />
|
1209 |
|
</xsl:
if>
|
|
1210 |
|
</xsl:
if>
|
1210 |
|
</xsl:o
therwise>
|
|
1211 |
|
</xsl:o
therwise>
|
1211 |
|
</xsl:ch
oose>
|
|
1212 |
|
</xsl:ch
oose>
|
1212 |
|
</xsl:tem
plate>
|
|
1213 |
|
</xsl:tem
plate>
|
1213 |
|
|
|
1214 |
|
|
1214 |
|
|
|
1215 |
|
|
1215 |
|
<xsl:temp
late name=
"LinkInfo"
>
|
|
1216 |
|
<xsl:temp
late name=
"LinkInfo"
>
|
1216 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1217 |
|
<xsl:par
am name="P
aramSplits
" />
|
1217 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1218 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1218 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1219 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1219 |
|
<xsl:par
am name="P
aramDocume
ntLink" />
|
|
1220 |
|
<xsl:par
am name="P
aramDocume
ntLink" />
|
1220 |
|
|
|
1221 |
|
|
1221 |
|
<xsl:ele
ment name=
"LinkInfo"
namespace
="urn:WebW
orks-Engin
e-Links-Sc
hema">
|
|
1222 |
|
<xsl:ele
ment name=
"LinkInfo"
namespace
="urn:WebW
orks-Engin
e-Links-Sc
hema">
|
1222 |
|
<xsl:if
test="cou
nt($ParamD
ocumentLin
k) > 0"
>
|
|
1223 |
|
<xsl:if
test="cou
nt($ParamD
ocumentLin
k) > 0"
>
|
1223 |
|
<!-- R
esolve lin
k -->
|
|
1224 |
|
<!-- R
esolve lin
k -->
|
1224 |
|
<!--
-->
|
|
1225 |
|
<!--
-->
|
1225 |
|
<xsl:v
ariable na
me="VarRes
olvedLinkI
nfoAsXML">
|
|
1226 |
|
<xsl:v
ariable na
me="VarRes
olvedLinkI
nfoAsXML">
|
1226 |
|
<xsl:
call-templ
ate name="
Links-Reso
lve">
|
|
1227 |
|
<xsl:
call-templ
ate name="
Links-Reso
lve">
|
1227 |
|
<xsl
:with-para
m name="Pa
ramAllowBa
ggage" sel
ect="$Para
meterAllow
Baggage" /
>
|
|
1228 |
|
<xsl
:with-para
m name="Pa
ramAllowBa
ggage" sel
ect="$Para
meterAllow
Baggage" /
>
|
1228 |
|
<xsl
:with-para
m name="Pa
ramAllowGr
oupToGroup
" select="
$Parameter
AllowGroup
ToGroup" /
>
|
|
1229 |
|
<xsl
:with-para
m name="Pa
ramAllowGr
oupToGroup
" select="
$Parameter
AllowGroup
ToGroup" /
>
|
1229 |
|
<xsl
:with-para
m name="Pa
ramAllowUR
L" select=
"$Paramete
rAllowURL"
/>
|
|
1230 |
|
<xsl
:with-para
m name="Pa
ramAllowUR
L" select=
"$Paramete
rAllowURL"
/>
|
1230 |
|
<xsl
:with-para
m name="Pa
ramBaggage
SplitFileT
ype" selec
t="$Parame
terBaggage
SplitFileT
ype" />
|
|
1231 |
|
<xsl
:with-para
m name="Pa
ramBaggage
SplitFileT
ype" selec
t="$Parame
terBaggage
SplitFileT
ype" />
|
1231 |
|
<xsl
:with-para
m name="Pa
ramProject
" select="
$GlobalPro
ject" />
|
|
1232 |
|
<xsl
:with-para
m name="Pa
ramProject
" select="
$GlobalPro
ject" />
|
1232 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
1233 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1233 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1234 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1234 |
|
<xsl
:with-para
m name="Pa
ramSplitGr
oupID" sel
ect="$Para
mSplit/@gr
oupID" />
|
|
1235 |
|
<xsl
:with-para
m name="Pa
ramSplitGr
oupID" sel
ect="$Para
mSplit/@gr
oupID" />
|
1235 |
|
<xsl
:with-para
m name="Pa
ramSplitDo
cumentID"
select="$P
aramSplit/
@documentI
D" />
|
|
1236 |
|
<xsl
:with-para
m name="Pa
ramSplitDo
cumentID"
select="$P
aramSplit/
@documentI
D" />
|
1236 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tLink" sel
ect="$Para
mDocumentL
ink" />
|
|
1237 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tLink" sel
ect="$Para
mDocumentL
ink" />
|
1237 |
|
</xsl
:call-temp
late>
|
|
1238 |
|
</xsl
:call-temp
late>
|
1238 |
|
</xsl:
variable>
|
|
1239 |
|
</xsl:
variable>
|
1239 |
|
<xsl:v
ariable na
me="VarRes
olvedLinkI
nfo" selec
t="msxsl:n
ode-set($V
arResolved
LinkInfoAs
XML)/wwlin
ks:Resolve
dLink" />
|
|
1240 |
|
<xsl:v
ariable na
me="VarRes
olvedLinkI
nfo" selec
t="msxsl:n
ode-set($V
arResolved
LinkInfoAs
XML)/wwlin
ks:Resolve
dLink" />
|
1240 |
|
|
|
1241 |
|
|
1241 |
|
<!-- @
title -->
|
|
1242 |
|
<!-- @
title -->
|
1242 |
|
<!--
-->
|
|
1243 |
|
<!--
-->
|
1243 |
|
<xsl:i
f test="st
ring-lengt
h($VarReso
lvedLinkIn
fo/@title)
> 0">
|
|
1244 |
|
<xsl:i
f test="st
ring-lengt
h($VarReso
lvedLinkIn
fo/@title)
> 0">
|
1244 |
|
<xsl:
attribute
name="titl
e">
|
|
1245 |
|
<xsl:
attribute
name="titl
e">
|
1245 |
|
<xsl
:value-of
select="$V
arResolved
LinkInfo/@
title" />
|
|
1246 |
|
<xsl
:value-of
select="$V
arResolved
LinkInfo/@
title" />
|
1246 |
|
</xsl
:attribute
>
|
|
1247 |
|
</xsl
:attribute
>
|
1247 |
|
</xsl:
if>
|
|
1248 |
|
</xsl:
if>
|
1248 |
|
|
|
1249 |
|
|
1249 |
|
<xsl:c
hoose>
|
|
1250 |
|
<xsl:c
hoose>
|
1250 |
|
<!--
Baggage --
>
|
|
1251 |
|
<!--
Baggage --
>
|
1251 |
|
<!--
--
>
|
|
1252 |
|
<!--
--
>
|
1252 |
|
<xsl:
when test=
"$VarResol
vedLinkInf
o/@type =
'baggage'"
>
|
|
1253 |
|
<xsl:
when test=
"$VarResol
vedLinkInf
o/@type =
'baggage'"
>
|
1253 |
|
<xsl
:attribute
name="hre
f">
|
|
1254 |
|
<xsl
:attribute
name="hre
f">
|
1254 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ImageRoo
tedLink">
|
|
1255 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ImageRoo
tedLink">
|
1255 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="$VarRes
olvedLinkI
nfo/@path"
/>
|
|
1256 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="$VarRes
olvedLinkI
nfo/@path"
/>
|
1256 |
|
<x
sl:with-pa
ram name="
ParamTarge
tOutputDir
ectoryPath
" select="
$ParamSpli
t/@target-
output-dir
ectory-pat
h" />
|
|
1257 |
|
<x
sl:with-pa
ram name="
ParamTarge
tOutputDir
ectoryPath
" select="
$ParamSpli
t/@target-
output-dir
ectory-pat
h" />
|
1257 |
|
</x
sl:call-te
mplate>
|
|
1258 |
|
</x
sl:call-te
mplate>
|
1258 |
|
</xs
l:attribut
e>
|
|
1259 |
|
</xs
l:attribut
e>
|
1259 |
|
</xsl
:when>
|
|
1260 |
|
</xsl
:when>
|
1260 |
|
|
|
1261 |
|
|
1261 |
|
<!--
Document -
->
|
|
1262 |
|
<!--
Document -
->
|
1262 |
|
<!--
-
->
|
|
1263 |
|
<!--
-
->
|
1263 |
|
<xsl:
when test=
"($VarReso
lvedLinkIn
fo/@type =
'document
') or ($Va
rResolvedL
inkInfo/@t
ype = 'gro
up') or ($
VarResolve
dLinkInfo/
@type = 'p
roject')">
|
|
1264 |
|
<xsl:
when test=
"($VarReso
lvedLinkIn
fo/@type =
'document
') or ($Va
rResolvedL
inkInfo/@t
ype = 'gro
up') or ($
VarResolve
dLinkInfo/
@type = 'p
roject')">
|
1264 |
|
<xsl
:attribute
name="hre
f">
|
|
1265 |
|
<xsl
:attribute
name="hre
f">
|
1265 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ProjectR
ootedLink"
>
|
|
1266 |
|
<xs
l:call-tem
plate name
="MediaWik
i-ProjectR
ootedLink"
>
|
1266 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="$VarRes
olvedLinkI
nfo/@path"
/>
|
|
1267 |
|
<x
sl:with-pa
ram name="
ParamLinkP
ath" selec
t="$VarRes
olvedLinkI
nfo/@path"
/>
|
1267 |
|
<x
sl:with-pa
ram name="
ParamTarge
tOutputDir
ectoryPath
" select="
$ParamSpli
t/@target-
output-dir
ectory-pat
h" />
|
|
1268 |
|
<x
sl:with-pa
ram name="
ParamTarge
tOutputDir
ectoryPath
" select="
$ParamSpli
t/@target-
output-dir
ectory-pat
h" />
|
1268 |
|
</x
sl:call-te
mplate>
|
|
1269 |
|
</x
sl:call-te
mplate>
|
1269 |
|
</xs
l:attribut
e>
|
|
1270 |
|
</xs
l:attribut
e>
|
1270 |
|
</xsl
:when>
|
|
1271 |
|
</xsl
:when>
|
1271 |
|
|
|
1272 |
|
|
1272 |
|
<!--
URL -->
|
|
1273 |
|
<!--
URL -->
|
1273 |
|
<!--
-->
|
|
1274 |
|
<!--
-->
|
1274 |
|
<xsl:
when test=
"$VarResol
vedLinkInf
o/@type =
'url'">
|
|
1275 |
|
<xsl:
when test=
"$VarResol
vedLinkInf
o/@type =
'url'">
|
1275 |
|
<xsl
:attribute
name="hre
f">
|
|
1276 |
|
<xsl
:attribute
name="hre
f">
|
1276 |
|
<xs
l:value-of
select="$
VarResolve
dLinkInfo/
@url" />
|
|
1277 |
|
<xs
l:value-of
select="$
VarResolve
dLinkInfo/
@url" />
|
1277 |
|
</xs
l:attribut
e>
|
|
1278 |
|
</xs
l:attribut
e>
|
1278 |
|
|
|
1279 |
|
|
1279 |
|
<!--
External
URL Target
-->
|
|
1280 |
|
<!--
External
URL Target
-->
|
1280 |
|
<!--
-->
|
|
1281 |
|
<!--
-->
|
1281 |
|
<xsl
:if test="
not(wwuri:
IsFile($Va
rResolvedL
inkInfo/@u
rl))">
|
|
1282 |
|
<xsl
:if test="
not(wwuri:
IsFile($Va
rResolvedL
inkInfo/@u
rl))">
|
1282 |
|
<xs
l:variable
name="Var
Target" se
lect="wwpr
ojext:GetF
ormatSetti
ng('extern
al-url-tar
get')" />
|
|
1283 |
|
<xs
l:variable
name="Var
Target" se
lect="wwpr
ojext:GetF
ormatSetti
ng('extern
al-url-tar
get')" />
|
1283 |
|
|
|
1284 |
|
|
1284 |
|
<xs
l:if test=
"(string-l
ength($Var
Target) &g
t; 0) and
($VarTarge
t != 'none
')">
|
|
1285 |
|
<xs
l:if test=
"(string-l
ength($Var
Target) &g
t; 0) and
($VarTarge
t != 'none
')">
|
1285 |
|
<x
sl:attribu
te name="t
arget">
|
|
1286 |
|
<x
sl:attribu
te name="t
arget">
|
1286 |
|
<
xsl:value-
of select=
"$VarTarge
t" />
|
|
1287 |
|
<
xsl:value-
of select=
"$VarTarge
t" />
|
1287 |
|
</
xsl:attrib
ute>
|
|
1288 |
|
</
xsl:attrib
ute>
|
1288 |
|
</x
sl:if>
|
|
1289 |
|
</x
sl:if>
|
1289 |
|
</xs
l:if>
|
|
1290 |
|
</xs
l:if>
|
1290 |
|
</xsl
:when>
|
|
1291 |
|
</xsl
:when>
|
1291 |
|
</xsl:
choose>
|
|
1292 |
|
</xsl:
choose>
|
1292 |
|
</xsl:i
f>
|
|
1293 |
|
</xsl:i
f>
|
1293 |
|
</xsl:el
ement>
|
|
1294 |
|
</xsl:el
ement>
|
1294 |
|
</xsl:tem
plate>
|
|
1295 |
|
</xsl:tem
plate>
|
1295 |
|
|
|
1296 |
|
|
1296 |
|
|
|
1297 |
|
|
1297 |
|
<xsl:temp
late name=
"TextRun">
|
|
1298 |
|
<xsl:temp
late name=
"TextRun">
|
1298 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1299 |
|
<xsl:par
am name="P
aramSplits
" />
|
1299 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1300 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1300 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1301 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1301 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1302 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1302 |
|
<xsl:par
am name="P
aramParagr
aphID" />
|
|
1303 |
|
<xsl:par
am name="P
aramParagr
aphID" />
|
1303 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
|
1304 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
1304 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
|
1305 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
1305 |
|
<xsl:par
am name="P
aram
Pos
it
io
n
" />
|
|
1306 |
|
<xsl:par
am name="P
aram
Em
it
A
n
chorName
" />
|
1306 |
|
|
|
1307 |
|
|
1307 |
|
<!-- Get
rule -->
|
|
1308 |
|
<!-- Get
rule -->
|
1308 |
|
<!--
-->
|
|
1309 |
|
<!--
-->
|
1309 |
|
<xsl:var
iable name
="VarRule"
select="w
wprojext:G
etRule('Ch
aracter',
$ParamText
Run/@style
name)" />
|
|
1310 |
|
<xsl:var
iable name
="VarRule"
select="w
wprojext:G
etRule('Ch
aracter',
$ParamText
Run/@style
name)" />
|
1310 |
|
|
|
1311 |
|
|
1311 |
|
<!-- Gen
erate outp
ut? -->
|
|
1312 |
|
<!-- Gen
erate outp
ut? -->
|
1312 |
|
<!---
-->
|
|
1313 |
|
<!---
-->
|
1313 |
|
<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" />
|
|
1314 |
|
<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" />
|
1314 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" />
|
|
1315 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" />
|
1315 |
|
<xsl:if
test="$Var
GenerateOu
tput">
|
|
1316 |
|
<xsl:if
test="$Var
GenerateOu
tput">
|
1316 |
|
<!-- Pa
ss-through
? -->
|
|
1317 |
|
<!-- Pa
ss-through
? -->
|
1317 |
|
<!--
-->
|
|
1318 |
|
<!--
-->
|
1318 |
|
<xsl:va
riable nam
e="VarPass
Through">
|
|
1319 |
|
<xsl:va
riable nam
e="VarPass
Through">
|
1319 |
|
<xsl:v
ariable na
me="VarPas
sThroughOp
tion" sele
ct="$VarRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pas
s-through'
]/@Value"
/>
|
|
1320 |
|
<xsl:v
ariable na
me="VarPas
sThroughOp
tion" sele
ct="$VarRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'pas
s-through'
]/@Value"
/>
|
1320 |
|
|
|
1321 |
|
|
1321 |
|
<xsl:c
hoose>
|
|
1322 |
|
<xsl:c
hoose>
|
1322 |
|
<xsl:
when test=
"$VarPassT
hroughOpti
on = 'true
'">
|
|
1323 |
|
<xsl:
when test=
"$VarPassT
hroughOpti
on = 'true
'">
|
1323 |
|
<xsl
:value-of
select="tr
ue()" />
|
|
1324 |
|
<xsl
:value-of
select="tr
ue()" />
|
1324 |
|
</xsl
:when>
|
|
1325 |
|
</xsl
:when>
|
1325 |
|
|
|
1326 |
|
|
1326 |
|
<xsl:
otherwise>
|
|
1327 |
|
<xsl:
otherwise>
|
1327 |
|
<xsl
:call-temp
late name=
"Condition
s-PassThro
ugh">
|
|
1328 |
|
<xsl
:call-temp
late name=
"Condition
s-PassThro
ugh">
|
1328 |
|
<xs
l:with-par
am name="P
aramCondit
ions" sele
ct="$Param
TextRun/ww
doc:Condit
ions" />
|
|
1329 |
|
<xs
l:with-par
am name="P
aramCondit
ions" sele
ct="$Param
TextRun/ww
doc:Condit
ions" />
|
1329 |
|
</xs
l:call-tem
plate>
|
|
1330 |
|
</xs
l:call-tem
plate>
|
1330 |
|
</xsl
:otherwise
>
|
|
1331 |
|
</xsl
:otherwise
>
|
1331 |
|
</xsl:
choose>
|
|
1332 |
|
</xsl:
choose>
|
1332 |
|
</xsl:v
ariable>
|
|
1333 |
|
</xsl:v
ariable>
|
1333 |
|
|
|
1334 |
|
|
1334 |
|
<xsl:ch
oose>
|
|
1335 |
|
<xsl:ch
oose>
|
1335 |
|
<xsl:w
hen test="
$VarPassTh
rough = 't
rue'">
|
|
1336 |
|
<xsl:w
hen test="
$VarPassTh
rough = 't
rue'">
|
1336 |
|
<xsl:
call-templ
ate name="
TextRun-Pa
ssThrough"
>
|
|
1337 |
|
<xsl:
call-templ
ate name="
TextRun-Pa
ssThrough"
>
|
1337 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$ParamText
Run" />
|
|
1338 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$ParamText
Run" />
|
1338 |
|
</xsl
:call-temp
late>
|
|
1339 |
|
</xsl
:call-temp
late>
|
1339 |
|
</xsl:
when>
|
|
1340 |
|
</xsl:
when>
|
1340 |
|
|
|
1341 |
|
|
1341 |
|
<xsl:o
therwise>
|
|
1342 |
|
<xsl:o
therwise>
|
1342 |
|
<xsl:
call-templ
ate name="
TextRun-No
rmal">
|
|
1343 |
|
<xsl:
call-templ
ate name="
TextRun-No
rmal">
|
1343 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1344 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1344 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1345 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1345 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
1346 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1346 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
1347 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
1347 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
|
1348 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
1348 |
|
<xsl
:with-para
m name="Pa
ramUseChar
acterStyle
s" select=
"$ParamUse
CharacterS
tyles" />
|
|
1349 |
|
<xsl
:with-para
m name="Pa
ramUseChar
acterStyle
s" select=
"$ParamUse
CharacterS
tyles" />
|
1349 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$ParamText
Run" />
|
|
1350 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$ParamText
Run" />
|
1350 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Va
rRule" />
|
|
1351 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Va
rRule" />
|
1351 |
|
<xsl
:with-para
m name="Pa
ram
Pos
it
io
n
" select="
$Param
Pos
it
io
n
" />
|
|
1352 |
|
<xsl
:with-para
m name="Pa
ram
Em
it
A
n
chorName
" select="
$Param
Em
it
A
n
chorName
" />
|
1352 |
|
</xsl
:call-temp
late>
|
|
1353 |
|
</xsl
:call-temp
late>
|
1353 |
|
</xsl:
otherwise>
|
|
1354 |
|
</xsl:
otherwise>
|
1354 |
|
</xsl:c
hoose>
|
|
1355 |
|
</xsl:c
hoose>
|
1355 |
|
</xsl:if
>
|
|
1356 |
|
</xsl:if
>
|
1356 |
|
</xsl:tem
plate>
|
|
1357 |
|
</xsl:tem
plate>
|
1357 |
|
|
|
1358 |
|
|
1358 |
|
|
|
1359 |
|
|
1359 |
|
<xsl:temp
late name=
"TextRun-P
assThrough
">
|
|
1360 |
|
<xsl:temp
late name=
"TextRun-P
assThrough
">
|
1360 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
|
1361 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
1361 |
|
|
|
1362 |
|
|
1362 |
|
<wwexsld
oc:Text di
sable-outp
ut-escapin
g="yes">
|
|
1363 |
|
<wwexsld
oc:Text di
sable-outp
ut-escapin
g="yes">
|
1363 |
|
<xsl:fo
r-each sel
ect="$Para
mTextRun/w
wdoc:Text"
>
|
|
1364 |
|
<xsl:fo
r-each sel
ect="$Para
mTextRun/w
wdoc:Text"
>
|
1364 |
|
<xsl:v
ariable na
me="VarTex
t" select=
"." />
|
|
1365 |
|
<xsl:v
ariable na
me="VarTex
t" select=
"." />
|
1365 |
|
|
|
1366 |
|
|
1366 |
|
<xsl:v
alue-of se
lect="$Var
Text/@valu
e" />
|
|
1367 |
|
<xsl:v
alue-of se
lect="$Var
Text/@valu
e" />
|
1367 |
|
</xsl:f
or-each>
|
|
1368 |
|
</xsl:f
or-each>
|
1368 |
|
</wwexsl
doc:Text>
|
|
1369 |
|
</wwexsl
doc:Text>
|
1369 |
|
</xsl:tem
plate>
|
|
1370 |
|
</xsl:tem
plate>
|
1370 |
|
|
|
1371 |
|
|
1371 |
|
|
|
1372 |
|
|
1372 |
|
<xsl:temp
late name=
"TextRun-N
ormal">
|
|
1373 |
|
<xsl:temp
late name=
"TextRun-N
ormal">
|
1373 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1374 |
|
<xsl:par
am name="P
aramSplits
" />
|
1374 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1375 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1375 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1376 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1376 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1377 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1377 |
|
<xsl:par
am name="P
aramParagr
aphID" />
|
|
1378 |
|
<xsl:par
am name="P
aramParagr
aphID" />
|
1378 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
|
1379 |
|
<xsl:par
am name="P
aramUseCha
racterStyl
es" />
|
1379 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
|
1380 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
1380 |
|
<xsl:par
am name="P
aramRule"
/>
|
|
1381 |
|
<xsl:par
am name="P
aramRule"
/>
|
1381 |
|
<xsl:par
am name="P
aram
Pos
it
io
n
" />
|
|
1382 |
|
<xsl:par
am name="P
aram
Em
it
A
n
chorName
" />
|
1382 |
|
|
|
1383 |
|
|
1383 |
|
<xsl:cho
ose>
|
|
1384 |
|
<xsl:cho
ose>
|
1384 |
|
<xsl:wh
en test="(
$ParamUseC
haracterSt
yles) and
((string-l
ength($Par
amTextRun/
@stylename
) > 0)
or (count(
$ParamText
Run/wwdoc:
Style) = 1
))">
|
|
1385 |
|
<xsl:wh
en test="(
$ParamUseC
haracterSt
yles) and
((string-l
ength($Par
amTextRun/
@stylename
) > 0)
or (count(
$ParamText
Run/wwdoc:
Style) = 1
))">
|
1385 |
|
<!-- R
esolve pro
ject prope
rties -->
|
|
1386 |
|
<!-- R
esolve pro
ject prope
rties -->
|
1386 |
|
<!--
-->
|
|
1387 |
|
<!--
-->
|
1387 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
esAsXML">
|
|
1388 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
esAsXML">
|
1388 |
|
<xsl:
call-templ
ate name="
Properties
-ResolveCo
ntextRule"
>
|
|
1389 |
|
<xsl:
call-templ
ate name="
Properties
-ResolveCo
ntextRule"
>
|
1389 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tContext"
select="$P
aramTextRu
n" />
|
|
1390 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tContext"
select="$P
aramTextRu
n" />
|
1390 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$ParamR
ule/wwproj
ect:Proper
ties/wwpro
ject:Prope
rty" />
|
|
1391 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$ParamR
ule/wwproj
ect:Proper
ties/wwpro
ject:Prope
rty" />
|
1391 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$ParamTe
xtRun/@sty
lename" />
|
|
1392 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$ParamTe
xtRun/@sty
lename" />
|
1392 |
|
<xsl
:with-para
m name="Pa
ramStyleTy
pe" select
="'Charact
er'" />
|
|
1393 |
|
<xsl
:with-para
m name="Pa
ramStyleTy
pe" select
="'Charact
er'" />
|
1393 |
|
<xsl
:with-para
m name="Pa
ramContext
Style" sel
ect="$Para
mTextRun/w
wdoc:Style
" />
|
|
1394 |
|
<xsl
:with-para
m name="Pa
ramContext
Style" sel
ect="$Para
mTextRun/w
wdoc:Style
" />
|
1394 |
|
</xsl
:call-temp
late>
|
|
1395 |
|
</xsl
:call-temp
late>
|
1395 |
|
</xsl:
variable>
|
|
1396 |
|
</xsl:
variable>
|
1396 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
es" select
="msxsl:no
de-set($Va
rResolvedC
ontextProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
|
1397 |
|
<xsl:v
ariable na
me="VarRes
olvedConte
xtProperti
es" select
="msxsl:no
de-set($Va
rResolvedC
ontextProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
1397 |
|
|
|
1398 |
|
|
1398 |
|
<!-- C
SS propert
ies -->
|
|
1399 |
|
<!-- C
SS propert
ies -->
|
1399 |
|
<!--
-->
|
|
1400 |
|
<!--
-->
|
1400 |
|
<xsl:v
ariable na
me="VarCSS
ContextPro
pertiesAsX
ML">
|
|
1401 |
|
<xsl:v
ariable na
me="VarCSS
ContextPro
pertiesAsX
ML">
|
1401 |
|
<xsl:
call-templ
ate name="
CSS-Transl
ateProject
Properties
">
|
|
1402 |
|
<xsl:
call-templ
ate name="
CSS-Transl
ateProject
Properties
">
|
1402 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarRes
olvedConte
xtProperti
es" />
|
|
1403 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarRes
olvedConte
xtProperti
es" />
|
1403 |
|
<xsl
:with-para
m name="Pa
ramFromAbs
oluteURI"
select="$P
aramSplit/
@path" />
|
|
1404 |
|
<xsl
:with-para
m name="Pa
ramFromAbs
oluteURI"
select="$P
aramSplit/
@path" />
|
1404 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1405 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1405 |
|
</xsl
:call-temp
late>
|
|
1406 |
|
</xsl
:call-temp
late>
|
1406 |
|
</xsl:
variable>
|
|
1407 |
|
</xsl:
variable>
|
1407 |
|
<xsl:v
ariable na
me="VarCSS
ContextPro
perties" s
elect="msx
sl:node-se
t($VarCSSC
ontextProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
|
1408 |
|
<xsl:v
ariable na
me="VarCSS
ContextPro
perties" s
elect="msx
sl:node-se
t($VarCSSC
ontextProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
1408 |
|
|
|
1409 |
|
|
1409 |
|
<!-- A
bbreviatio
n -->
|
|
1410 |
|
<!-- A
bbreviatio
n -->
|
1410 |
|
<!--
-->
|
|
1411 |
|
<!--
-->
|
1411 |
|
<xsl:v
ariable na
me="VarAbb
reviationT
itle">
|
|
1412 |
|
<xsl:v
ariable na
me="VarAbb
reviationT
itle">
|
1412 |
|
<xsl:
call-templ
ate name="
Behaviors-
Options-Op
tionMarker
">
|
|
1413 |
|
<xsl:
call-templ
ate name="
Behaviors-
Options-Op
tionMarker
">
|
1413 |
|
<xsl
:with-para
m name="Pa
ramContain
er" select
="$ParamTe
xtRun" />
|
|
1414 |
|
<xsl
:with-para
m name="Pa
ramContain
er" select
="$ParamTe
xtRun" />
|
1414 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1415 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1415 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
|
1416 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
1416 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Pa
ramRule" /
>
|
|
1417 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Pa
ramRule" /
>
|
1417 |
|
<xsl
:with-para
m name="Pa
ramOption"
select="'
abbreviati
on'" />
|
|
1418 |
|
<xsl
:with-para
m name="Pa
ramOption"
select="'
abbreviati
on'" />
|
1418 |
|
</xsl
:call-temp
late>
|
|
1419 |
|
</xsl
:call-temp
late>
|
1419 |
|
</xsl:
variable>
|
|
1420 |
|
</xsl:
variable>
|
1420 |
|
|
|
1421 |
|
|
1421 |
|
<!-- A
cronym -->
|
|
1422 |
|
<!-- A
cronym -->
|
1422 |
|
<!--
-->
|
|
1423 |
|
<!--
-->
|
1423 |
|
<xsl:v
ariable na
me="VarAcr
onymTitle"
>
|
|
1424 |
|
<xsl:v
ariable na
me="VarAcr
onymTitle"
>
|
1424 |
|
<xsl:
call-templ
ate name="
Behaviors-
Options-Op
tionMarker
">
|
|
1425 |
|
<xsl:
call-templ
ate name="
Behaviors-
Options-Op
tionMarker
">
|
1425 |
|
<xsl
:with-para
m name="Pa
ramContain
er" select
="$ParamTe
xtRun" />
|
|
1426 |
|
<xsl
:with-para
m name="Pa
ramContain
er" select
="$ParamTe
xtRun" />
|
1426 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1427 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1427 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
|
1428 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
1428 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Pa
ramRule" /
>
|
|
1429 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Pa
ramRule" /
>
|
1429 |
|
<xsl
:with-para
m name="Pa
ramOption"
select="'
acronym'"
/>
|
|
1430 |
|
<xsl
:with-para
m name="Pa
ramOption"
select="'
acronym'"
/>
|
1430 |
|
</xsl
:call-temp
late>
|
|
1431 |
|
</xsl
:call-temp
late>
|
1431 |
|
</xsl:
variable>
|
|
1432 |
|
</xsl:
variable>
|
1432 |
|
|
|
1433 |
|
|
1433 |
|
<!-- C
itation --
>
|
|
1434 |
|
<!-- C
itation --
>
|
1434 |
|
<!--
--
>
|
|
1435 |
|
<!--
--
>
|
1435 |
|
<xsl:v
ariable na
me="VarCit
ation">
|
|
1436 |
|
<xsl:v
ariable na
me="VarCit
ation">
|
1436 |
|
<xsl:
call-templ
ate name="
Behaviors-
Options-Op
tionMarker
">
|
|
1437 |
|
<xsl:
call-templ
ate name="
Behaviors-
Options-Op
tionMarker
">
|
1437 |
|
<xsl
:with-para
m name="Pa
ramContain
er" select
="$ParamTe
xtRun" />
|
|
1438 |
|
<xsl
:with-para
m name="Pa
ramContain
er" select
="$ParamTe
xtRun" />
|
1438 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1439 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1439 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
|
1440 |
|
<xsl
:with-para
m name="Pa
ramParagra
phID" sele
ct="$Param
ParagraphI
D" />
|
1440 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Pa
ramRule" /
>
|
|
1441 |
|
<xsl
:with-para
m name="Pa
ramRule" s
elect="$Pa
ramRule" /
>
|
1441 |
|
<xsl
:with-para
m name="Pa
ramOption"
select="'
citation'"
/>
|
|
1442 |
|
<xsl
:with-para
m name="Pa
ramOption"
select="'
citation'"
/>
|
1442 |
|
</xsl
:call-temp
late>
|
|
1443 |
|
</xsl
:call-temp
late>
|
1443 |
|
</xsl:
variable>
|
|
1444 |
|
</xsl:
variable>
|
1444 |
|
|
|
1445 |
|
|
1445 |
|
<!-- T
ag -->
|
|
1446 |
|
<!-- T
ag -->
|
1446 |
|
<!--
-->
|
|
1447 |
|
<!--
-->
|
1447 |
|
<xsl:v
ariable na
me="VarTag
Property"
select="$P
aramRule/w
wproject:P
roperties/
wwproject:
Property[@
Name = 'ta
g']/@Value
" />
|
|
1448 |
|
<xsl:v
ariable na
me="VarTag
Property"
select="$P
aramRule/w
wproject:P
roperties/
wwproject:
Property[@
Name = 'ta
g']/@Value
" />
|
1448 |
|
<xsl:v
ariable na
me="VarTag
">
|
|
1449 |
|
<xsl:v
ariable na
me="VarTag
">
|
1449 |
|
<xsl:
choose>
|
|
1450 |
|
<xsl:
choose>
|
1450 |
|
<xsl
:when test
="string-l
ength($Var
Abbreviati
onTitle) &
gt; 0">
|
|
1451 |
|
<xsl
:when test
="string-l
ength($Var
Abbreviati
onTitle) &
gt; 0">
|
1451 |
|
<xs
l:value-of
select="'
abbr'" />
|
|
1452 |
|
<xs
l:value-of
select="'
abbr'" />
|
1452 |
|
</xs
l:when>
|
|
1453 |
|
</xs
l:when>
|
1453 |
|
<xsl
:when test
="string-l
ength($Var
AcronymTit
le) > 0
">
|
|
1454 |
|
<xsl
:when test
="string-l
ength($Var
AcronymTit
le) > 0
">
|
1454 |
|
<xs
l:value-of
select="'
acronym'"
/>
|
|
1455 |
|
<xs
l:value-of
select="'
acronym'"
/>
|
1455 |
|
</xs
l:when>
|
|
1456 |
|
</xs
l:when>
|
1456 |
|
<xsl
:when test
="string-l
ength($Var
Citation)
> 0">
|
|
1457 |
|
<xsl
:when test
="string-l
ength($Var
Citation)
> 0">
|
1457 |
|
<xs
l:value-of
select="'
q'" />
|
|
1458 |
|
<xs
l:value-of
select="'
q'" />
|
1458 |
|
</xs
l:when>
|
|
1459 |
|
</xs
l:when>
|
1459 |
|
|
|
1460 |
|
|
1460 |
|
<xsl
:otherwise
>
|
|
1461 |
|
<xsl
:otherwise
>
|
1461 |
|
<xs
l:choose>
|
|
1462 |
|
<xs
l:choose>
|
1462 |
|
<x
sl:when te
st="string
-length($V
arTagPrope
rty) >
0">
|
|
1463 |
|
<x
sl:when te
st="string
-length($V
arTagPrope
rty) >
0">
|
1463 |
|
<
xsl:value-
of select=
"$VarTagPr
operty" />
|
|
1464 |
|
<
xsl:value-
of select=
"$VarTagPr
operty" />
|
1464 |
|
</
xsl:when>
|
|
1465 |
|
</
xsl:when>
|
1465 |
|
|
|
1466 |
|
|
1466 |
|
<x
sl:otherwi
se>
|
|
1467 |
|
<x
sl:otherwi
se>
|
1467 |
|
<
xsl:value-
of select=
"'span'" /
>
|
|
1468 |
|
<
xsl:value-
of select=
"'span'" /
>
|
1468 |
|
</
xsl:otherw
ise>
|
|
1469 |
|
</
xsl:otherw
ise>
|
1469 |
|
</x
sl:choose>
|
|
1470 |
|
</x
sl:choose>
|
1470 |
|
</xs
l:otherwis
e>
|
|
1471 |
|
</xs
l:otherwis
e>
|
1471 |
|
</xsl
:choose>
|
|
1472 |
|
</xsl
:choose>
|
1472 |
|
</xsl:
variable>
|
|
1473 |
|
</xsl:
variable>
|
1473 |
|
|
|
1474 |
|
|
1474 |
|
<!-- S
tyle attri
bute -->
|
|
1475 |
|
<!-- S
tyle attri
bute -->
|
1475 |
|
<!--
-->
|
|
1476 |
|
<!--
-->
|
1476 |
|
<xsl:v
ariable na
me="VarSty
leAttribut
e">
|
|
1477 |
|
<xsl:v
ariable na
me="VarSty
leAttribut
e">
|
1477 |
|
<xsl:
call-templ
ate name="
CSS-Inline
Properties
">
|
|
1478 |
|
<xsl:
call-templ
ate name="
CSS-Inline
Properties
">
|
1478 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCSS
ContextPro
perties" /
>
|
|
1479 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCSS
ContextPro
perties" /
>
|
1479 |
|
</xsl
:call-temp
late>
|
|
1480 |
|
</xsl
:call-temp
late>
|
1480 |
|
</xsl:
variable>
|
|
1481 |
|
</xsl:
variable>
|
1481 |
|
|
|
1482 |
|
|
1482 |
|
<xsl:c
hoose>
|
|
1483 |
|
<xsl:c
hoose>
|
1483 |
|
<xsl:
when test=
"(string-l
ength($Par
amTextRun/
@stylename
) > 0)
or (string
-length($V
arStyleAtt
ribute) &g
t; 0)">
|
|
1484 |
|
<xsl:
when test=
"(string-l
ength($Par
amTextRun/
@stylename
) > 0)
or (string
-length($V
arStyleAtt
ribute) &g
t; 0)">
|
1484 |
|
<!--
Character
Style -->
|
|
1485 |
|
<!--
Character
Style -->
|
1485 |
|
<!--
-->
|
|
1486 |
|
<!--
-->
|
1486 |
|
<xsl
:element n
ame="{$Var
Tag}" name
space="{$G
lobalDefau
ltNamespac
e}">
|
|
1487 |
|
<xsl
:element n
ame="{$Var
Tag}" name
space="{$G
lobalDefau
ltNamespac
e}">
|
1487 |
|
<xs
l:if test=
"string-le
ngth($VarS
tyleAttrib
ute) >
0">
|
|
1488 |
|
<xs
l:if test=
"string-le
ngth($VarS
tyleAttrib
ute) >
0">
|
1488 |
|
<x
sl:attribu
te name="s
tyle">
|
|
1489 |
|
<x
sl:attribu
te name="s
tyle">
|
1489 |
|
<
xsl:value-
of select=
"$VarStyle
Attribute"
/>
|
|
1490 |
|
<
xsl:value-
of select=
"$VarStyle
Attribute"
/>
|
1490 |
|
</
xsl:attrib
ute>
|
|
1491 |
|
</
xsl:attrib
ute>
|
1491 |
|
</x
sl:if>
|
|
1492 |
|
</x
sl:if>
|
1492 |
|
|
|
1493 |
|
|
1493 |
|
<!-
- Abbrevia
tion title
-->
|
|
1494 |
|
<!-
- Abbrevia
tion title
-->
|
1494 |
|
<!-
-
-->
|
|
1495 |
|
<!-
-
-->
|
1495 |
|
<xs
l:if test=
"string-le
ngth($VarA
bbreviatio
nTitle) &g
t; 0">
|
|
1496 |
|
<xs
l:if test=
"string-le
ngth($VarA
bbreviatio
nTitle) &g
t; 0">
|
1496 |
|
<x
sl:attribu
te name="t
itle">
|
|
1497 |
|
<x
sl:attribu
te name="t
itle">
|
1497 |
|
<
xsl:value-
of select=
"$VarAbbre
viationTit
le" />
|
|
1498 |
|
<
xsl:value-
of select=
"$VarAbbre
viationTit
le" />
|
1498 |
|
</
xsl:attrib
ute>
|
|
1499 |
|
</
xsl:attrib
ute>
|
1499 |
|
</x
sl:if>
|
|
1500 |
|
</x
sl:if>
|
1500 |
|
|
|
1501 |
|
|
1501 |
|
<!-
- Acronym
title -->
|
|
1502 |
|
<!-
- Acronym
title -->
|
1502 |
|
<!-
-
-->
|
|
1503 |
|
<!-
-
-->
|
1503 |
|
<xs
l:if test=
"string-le
ngth($VarA
cronymTitl
e) > 0"
>
|
|
1504 |
|
<xs
l:if test=
"string-le
ngth($VarA
cronymTitl
e) > 0"
>
|
1504 |
|
<x
sl:attribu
te name="t
itle">
|
|
1505 |
|
<x
sl:attribu
te name="t
itle">
|
1505 |
|
<
xsl:value-
of select=
"$VarAcron
ymTitle" /
>
|
|
1506 |
|
<
xsl:value-
of select=
"$VarAcron
ymTitle" /
>
|
1506 |
|
</
xsl:attrib
ute>
|
|
1507 |
|
</
xsl:attrib
ute>
|
1507 |
|
</x
sl:if>
|
|
1508 |
|
</x
sl:if>
|
1508 |
|
|
|
1509 |
|
|
1509 |
|
<!-
- Cite att
ribute -->
|
|
1510 |
|
<!-
- Cite att
ribute -->
|
1510 |
|
<!-
-
-->
|
|
1511 |
|
<!-
-
-->
|
1511 |
|
<xs
l:if test=
"string-le
ngth($VarC
itation) &
gt; 0">
|
|
1512 |
|
<xs
l:if test=
"string-le
ngth($VarC
itation) &
gt; 0">
|
1512 |
|
<x
sl:attribu
te name="c
ite">
|
|
1513 |
|
<x
sl:attribu
te name="c
ite">
|
1513 |
|
<
xsl:value-
of select=
"$VarCitat
ion" />
|
|
1514 |
|
<
xsl:value-
of select=
"$VarCitat
ion" />
|
1514 |
|
</
xsl:attrib
ute>
|
|
1515 |
|
</
xsl:attrib
ute>
|
1515 |
|
</x
sl:if>
|
|
1516 |
|
</x
sl:if>
|
1516 |
|
|
|
1517 |
|
|
1517 |
|
<xs
l:call-tem
plate name
="TextRunC
hildren">
|
|
1518 |
|
<xs
l:call-tem
plate name
="TextRunC
hildren">
|
1518 |
|
<x
sl:with-pa
ram name="
ParamSplit
s" select=
"$ParamSpl
its" />
|
|
1519 |
|
<x
sl:with-pa
ram name="
ParamSplit
s" select=
"$ParamSpl
its" />
|
1519 |
|
<x
sl:with-pa
ram name="
ParamCargo
" select="
$ParamCarg
o" />
|
|
1520 |
|
<x
sl:with-pa
ram name="
ParamCargo
" select="
$ParamCarg
o" />
|
1520 |
|
<x
sl:with-pa
ram name="
ParamLinks
" select="
$ParamLink
s" />
|
|
1521 |
|
<x
sl:with-pa
ram name="
ParamLinks
" select="
$ParamLink
s" />
|
1521 |
|
<x
sl:with-pa
ram name="
ParamSplit
" select="
$ParamSpli
t" />
|
|
1522 |
|
<x
sl:with-pa
ram name="
ParamSplit
" select="
$ParamSpli
t" />
|
1522 |
|
<x
sl:with-pa
ram name="
ParamParag
raphID" se
lect="$Par
amParagrap
hID" />
|
|
1523 |
|
<x
sl:with-pa
ram name="
ParamParag
raphID" se
lect="$Par
amParagrap
hID" />
|
1523 |
|
<x
sl:with-pa
ram name="
ParamTextR
un" select
="$ParamTe
xtRun" />
|
|
1524 |
|
<x
sl:with-pa
ram name="
ParamTextR
un" select
="$ParamTe
xtRun" />
|
1524 |
|
<x
sl:with-pa
ram name="
Param
Pos
it
io
n
" select="
$Param
Pos
it
io
n
" />
|
|
1525 |
|
<x
sl:with-pa
ram name="
Param
Em
it
A
n
chorName
" select="
$Param
Em
it
A
n
chorName
" />
|
1525 |
|
</x
sl:call-te
mplate>
|
|
1526 |
|
</x
sl:call-te
mplate>
|
1526 |
|
</xs
l:element>
|
|
1527 |
|
</xs
l:element>
|
1527 |
|
</xsl
:when>
|
|
1528 |
|
</xsl
:when>
|
1528 |
|
|
|
1529 |
|
|
1529 |
|
<xsl:
otherwise>
|
|
1530 |
|
<xsl:
otherwise>
|
1530 |
|
<!--
No style
-->
|
|
1531 |
|
<!--
No style
-->
|
1531 |
|
<!--
-->
|
|
1532 |
|
<!--
-->
|
1532 |
|
<xsl
:call-temp
late name=
"TextRunCh
ildren">
|
|
1533 |
|
<xsl
:call-temp
late name=
"TextRunCh
ildren">
|
1533 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
|
1534 |
|
<xs
l:with-par
am name="P
aramSplits
" select="
$ParamSpli
ts" />
|
1534 |
|
<xs
l:with-par
am name="P
aramCargo"
select="$
ParamCargo
" />
|
|
1535 |
|
<xs
l:with-par
am name="P
aramCargo"
select="$
ParamCargo
" />
|
1535 |
|
<xs
l:with-par
am name="P
aramLinks"
select="$
ParamLinks
" />
|
|
1536 |
|
<xs
l:with-par
am name="P
aramLinks"
select="$
ParamLinks
" />
|
1536 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
|
1537 |
|
<xs
l:with-par
am name="P
aramSplit"
select="$
ParamSplit
" />
|
1537 |
|
<xs
l:with-par
am name="P
aramParagr
aphID" sel
ect="$Para
mParagraph
ID" />
|
|
1538 |
|
<xs
l:with-par
am name="P
aramParagr
aphID" sel
ect="$Para
mParagraph
ID" />
|
1538 |
|
<xs
l:with-par
am name="P
aramTextRu
n" select=
"$ParamTex
tRun" />
|
|
1539 |
|
<xs
l:with-par
am name="P
aramTextRu
n" select=
"$ParamTex
tRun" />
|
1539 |
|
<xs
l:with-par
am name="P
aram
Pos
it
io
n
" select="
$Param
Pos
it
io
n
" />
|
|
1540 |
|
<xs
l:with-par
am name="P
aram
Em
it
A
n
chorName
" select="
$Param
Em
it
A
n
chorName
" />
|
1540 |
|
</xs
l:call-tem
plate>
|
|
1541 |
|
</xs
l:call-tem
plate>
|
1541 |
|
</xsl
:otherwise
>
|
|
1542 |
|
</xsl
:otherwise
>
|
1542 |
|
</xsl:
choose>
|
|
1543 |
|
</xsl:
choose>
|
1543 |
|
</xsl:w
hen>
|
|
1544 |
|
</xsl:w
hen>
|
1544 |
|
|
|
1545 |
|
|
1545 |
|
<xsl:ot
herwise>
|
|
1546 |
|
<xsl:ot
herwise>
|
1546 |
|
<!-- N
o style --
>
|
|
1547 |
|
<!-- N
o style --
>
|
1547 |
|
<!--
--
>
|
|
1548 |
|
<!--
--
>
|
1548 |
|
<xsl:c
all-templa
te name="T
extRunChil
dren">
|
|
1549 |
|
<xsl:c
all-templa
te name="T
extRunChil
dren">
|
1549 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
|
1550 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
1550 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Pa
ramCargo"
/>
|
|
1551 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Pa
ramCargo"
/>
|
1551 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
|
1552 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
1552 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
|
1553 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
1553 |
|
<xsl:
with-param
name="Par
amParagrap
hID" selec
t="$ParamP
aragraphID
" />
|
|
1554 |
|
<xsl:
with-param
name="Par
amParagrap
hID" selec
t="$ParamP
aragraphID
" />
|
1554 |
|
<xsl:
with-param
name="Par
amTextRun"
select="$
ParamTextR
un" />
|
|
1555 |
|
<xsl:
with-param
name="Par
amTextRun"
select="$
ParamTextR
un" />
|
1555 |
|
<xsl:
with-param
name="Par
am
Pos
it
io
n
" select="
$Param
Pos
it
io
n
" />
|
|
1556 |
|
<xsl:
with-param
name="Par
am
Em
it
A
n
chorName
" select="
$Param
Em
it
A
n
chorName
" />
|
1556 |
|
</xsl:
call-templ
ate>
|
|
1557 |
|
</xsl:
call-templ
ate>
|
1557 |
|
</xsl:o
therwise>
|
|
1558 |
|
</xsl:o
therwise>
|
1558 |
|
</xsl:ch
oose>
|
|
1559 |
|
</xsl:ch
oose>
|
1559 |
|
</xsl:tem
plate>
|
|
1560 |
|
</xsl:tem
plate>
|
1560 |
|
|
|
1561 |
|
|
1561 |
|
|
|
1562 |
|
|
1562 |
|
<xsl:temp
late name=
"TextRunCh
ildren">
|
|
1563 |
|
<xsl:temp
late name=
"TextRunCh
ildren">
|
1563 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1564 |
|
<xsl:par
am name="P
aramSplits
" />
|
1564 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1565 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1565 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1566 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1566 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1567 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1567 |
|
<xsl:par
am name="P
aramParagr
aphID" />
|
|
1568 |
|
<xsl:par
am name="P
aramParagr
aphID" />
|
1568 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
|
1569 |
|
<xsl:par
am name="P
aramTextRu
n" />
|
1569 |
|
<xsl:par
am name="P
aram
Pos
it
io
n
" />
|
|
1570 |
|
<xsl:par
am name="P
aram
Em
it
A
n
chorName
" />
|
1570 |
|
|
|
1571 |
|
|
1571 |
|
<!-- For
ce anchor
on same li
ne as cont
aining spa
n -->
|
|
1572 |
|
<!-- For
ce anchor
on same li
ne as cont
aining spa
n -->
|
1572 |
|
<!--
-->
|
|
1573 |
|
<!--
-->
|
1573 |
|
<wwexsld
oc:NoBreak
/>
|
|
1574 |
|
<wwexsld
oc:NoBreak
/>
|
1574 |
|
|
|
1575 |
|
|
1575 |
|
<!-- Lin
k? -->
|
|
1576 |
|
<!-- Lin
k? -->
|
1576 |
|
<!--
-->
|
|
1577 |
|
<!--
-->
|
1577 |
|
<xsl:var
iable name
="VarLinkI
nfoAsXML">
|
|
1578 |
|
<xsl:var
iable name
="VarLinkI
nfoAsXML">
|
1578 |
|
<xsl:ca
ll-templat
e name="Li
nkInfo">
|
|
1579 |
|
<xsl:ca
ll-templat
e name="Li
nkInfo">
|
1579 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
1580 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
1580 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
|
1581 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
1581 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
|
1582 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
1582 |
|
<xsl:w
ith-param
name="Para
mDocumentL
ink" selec
t="$ParamT
extRun/wwd
oc:Link" /
>
|
|
1583 |
|
<xsl:w
ith-param
name="Para
mDocumentL
ink" selec
t="$ParamT
extRun/wwd
oc:Link" /
>
|
1583 |
|
</xsl:c
all-templa
te>
|
|
1584 |
|
</xsl:c
all-templa
te>
|
1584 |
|
</xsl:va
riable>
|
|
1585 |
|
</xsl:va
riable>
|
1585 |
|
<xsl:var
iable name
="VarLinkI
nfo" selec
t="msxsl:n
ode-set($V
arLinkInfo
AsXML)/wwl
inks:LinkI
nfo" />
|
|
1586 |
|
<xsl:var
iable name
="VarLinkI
nfo" selec
t="msxsl:n
ode-set($V
arLinkInfo
AsXML)/wwl
inks:LinkI
nfo" />
|
1586 |
|
|
|
1587 |
|
|
1587 |
|
<!-- Han
dle links
and first
textrun an
chor -->
|
|
1588 |
|
<!-- Han
dle links
and first
textrun an
chor -->
|
1588 |
|
<!--
-->
|
|
1589 |
|
<!--
-->
|
1589 |
|
<xsl:cho
ose>
|
|
1590 |
|
<xsl:cho
ose>
|
1590 |
|
<xsl:wh
en test="
string-len
gth($VarLi
nkInfo/@hr
ef) > 0
">
|
|
1591 |
|
<xsl:wh
en test="
($ParamEmi
tAnchorNam
e) and (
string-len
gth($VarLi
nkInfo/@hr
ef) > 0
)
">
|
1591 |
|
<html:
span id="w
w{$ParamPa
ragraphID}
">
|
|
1592 |
|
<html:
span id="w
w{$ParamPa
ragraphID}
">
|
1592 |
|
<xsl:
text>[[</x
sl:text>
|
|
1593 |
|
<xsl:
text>[[</x
sl:text>
|
1593 |
|
<xsl:
value-of s
elect="$Va
rLinkInfo/
@href" />
|
|
1594 |
|
<xsl:
value-of s
elect="$Va
rLinkInfo/
@href" />
|
1594 |
|
<xsl:
text>|</xs
l:text>
|
|
1595 |
|
<xsl:
text>|</xs
l:text>
|
1595 |
|
<xsl:
apply-temp
lates sele
ct="$Param
TextRun/*"
mode="wwm
ode:textru
n">
|
|
1596 |
|
<xsl:
apply-temp
lates sele
ct="$Param
TextRun/*"
mode="wwm
ode:textru
n">
|
1596 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1597 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1597 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1598 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1598 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
1599 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1599 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
1600 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
1600 |
|
</xsl
:apply-tem
plates>
|
|
1601 |
|
</xsl
:apply-tem
plates>
|
1601 |
|
<xsl:
text>]]</x
sl:text>
|
|
1602 |
|
<xsl:
text>]]</x
sl:text>
|
1602 |
|
</html
:span>
|
|
1603 |
|
</html
:span>
|
1603 |
|
</xsl:w
hen>
|
|
1604 |
|
</xsl:w
hen>
|
1604 |
|
|
|
1605 |
|
|
1605 |
|
<xsl:wh
en test="
$ParamPo
s
i
t
i
o
n
=
1
">
|
|
1606 |
|
<xsl:wh
en test="
s
tr
i
ng-leng
t
h($VarL
i
n
kInfo/@hre
f)
>
0
">
|
|
|
|
|
1607 |
|
<xsl:t
ext>[[</xs
l:text>
|
|
|
|
|
1608 |
|
<xsl:v
alue-of se
lect="$Var
LinkInfo/@
href" />
|
|
|
|
|
1609 |
|
<xsl:t
ext>|</xsl
:text>
|
|
|
|
|
1610 |
|
<xsl:a
pply-templ
ates selec
t="$ParamT
extRun/*"
mode="wwmo
de:textrun
">
|
|
|
|
|
1611 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
|
|
|
|
1612 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Pa
ramCargo"
/>
|
|
|
|
|
1613 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
|
|
|
|
1614 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
|
|
|
|
1615 |
|
</xsl:
apply-temp
lates>
|
|
|
|
|
1616 |
|
<xsl:t
ext>]]</xs
l:text>
|
|
|
|
|
1617 |
|
</xsl:w
hen>
|
|
|
|
|
1618 |
|
|
|
|
|
|
1619 |
|
<xsl:wh
en test="$
ParamEmitA
nchorName"
>
|
1606 |
|
<html:
span id="w
w{$ParamPa
ragraphID}
">
|
|
1620 |
|
<html:
span id="w
w{$ParamPa
ragraphID}
">
|
1607 |
|
<xsl:
apply-temp
lates sele
ct="$Param
TextRun/*"
mode="wwm
ode:textru
n">
|
|
1621 |
|
<xsl:
apply-temp
lates sele
ct="$Param
TextRun/*"
mode="wwm
ode:textru
n">
|
1608 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1622 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1609 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1623 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1610 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
1624 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1611 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
1625 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
1612 |
|
</xsl
:apply-tem
plates>
|
|
1626 |
|
</xsl
:apply-tem
plates>
|
1613 |
|
</html
:span>
|
|
1627 |
|
</html
:span>
|
1614 |
|
</xsl:w
hen>
|
|
1628 |
|
</xsl:w
hen>
|
1615 |
|
|
|
1629 |
|
|
1616 |
|
<xsl:ot
herwise>
|
|
1630 |
|
<xsl:ot
herwise>
|
1617 |
|
<xsl:a
pply-templ
ates selec
t="$ParamT
extRun/*"
mode="wwmo
de:textrun
">
|
|
1631 |
|
<xsl:a
pply-templ
ates selec
t="$ParamT
extRun/*"
mode="wwmo
de:textrun
">
|
1618 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
|
1632 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
1619 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Pa
ramCargo"
/>
|
|
1633 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Pa
ramCargo"
/>
|
1620 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
|
1634 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
1621 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
|
1635 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
1622 |
|
</xsl:
apply-temp
lates>
|
|
1636 |
|
</xsl:
apply-temp
lates>
|
1623 |
|
</xsl:o
therwise>
|
|
1637 |
|
</xsl:o
therwise>
|
1624 |
|
</xsl:ch
oose>
|
|
1638 |
|
</xsl:ch
oose>
|
1625 |
|
|
|
1639 |
|
|
1626 |
|
<!-- For
ce anchor
on same li
ne as cont
aining spa
n -->
|
|
1640 |
|
<!-- For
ce anchor
on same li
ne as cont
aining spa
n -->
|
1627 |
|
<!--
-->
|
|
1641 |
|
<!--
-->
|
1628 |
|
<wwexsld
oc:NoBreak
/>
|
|
1642 |
|
<wwexsld
oc:NoBreak
/>
|
1629 |
|
</xsl:tem
plate>
|
|
1643 |
|
</xsl:tem
plate>
|
1630 |
|
|
|
1644 |
|
|
1631 |
|
|
|
1645 |
|
|
1632 |
|
<xsl:temp
late match
="wwdoc:No
te" mode="
wwmode:tex
trun">
|
|
1646 |
|
<xsl:temp
late match
="wwdoc:No
te" mode="
wwmode:tex
trun">
|
1633 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1647 |
|
<xsl:par
am name="P
aramSplits
" />
|
1634 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1648 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1635 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1649 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1636 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1650 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1637 |
|
|
|
1651 |
|
|
1638 |
|
<xsl:var
iable name
="VarConte
xt" select
="." />
|
|
1652 |
|
<xsl:var
iable name
="VarConte
xt" select
="." />
|
1639 |
|
|
|
1653 |
|
|
1640 |
|
<!-- Imp
lement not
es -->
|
|
1654 |
|
<!-- Imp
lement not
es -->
|
1641 |
|
<!--
-->
|
|
1655 |
|
<!--
-->
|
1642 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwno
tes:NoteNu
mbering[1]
">
|
|
1656 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwno
tes:NoteNu
mbering[1]
">
|
1643 |
|
<xsl:va
riable nam
e="VarNote
Number" se
lect="key(
'wwnotes-n
otes-by-id
', $VarCon
text/@id)/
@number" /
>
|
|
1657 |
|
<xsl:va
riable nam
e="VarNote
Number" se
lect="key(
'wwnotes-n
otes-by-id
', $VarCon
text/@id)/
@number" /
>
|
1644 |
|
|
|
1658 |
|
|
1645 |
|
<!-- Fo
rce sup on
same line
as contai
ning span
-->
|
|
1659 |
|
<!-- Fo
rce sup on
same line
as contai
ning span
-->
|
1646 |
|
<!--
-->
|
|
1660 |
|
<!--
-->
|
1647 |
|
<wwexsl
doc:NoBrea
k />
|
|
1661 |
|
<wwexsl
doc:NoBrea
k />
|
1648 |
|
|
|
1662 |
|
|
1649 |
|
<html:s
up>
|
|
1663 |
|
<html:s
up>
|
1650 |
|
<!-- F
orce ancho
r on same
line as co
ntaining s
up -->
|
|
1664 |
|
<!-- F
orce ancho
r on same
line as co
ntaining s
up -->
|
1651 |
|
<!--
-->
|
|
1665 |
|
<!--
-->
|
1652 |
|
<wwexs
ldoc:NoBre
ak />
|
|
1666 |
|
<wwexs
ldoc:NoBre
ak />
|
1653 |
|
|
|
1667 |
|
|
1654 |
|
<html:
span id="w
wfootnote_
inline_{$V
arContext/
@id}">
|
|
1668 |
|
<html:
span id="w
wfootnote_
inline_{$V
arContext/
@id}">
|
1655 |
|
<xsl:
text>[[</x
sl:text>
|
|
1669 |
|
<xsl:
text>[[</x
sl:text>
|
1656 |
|
<xsl:
text>#ww</
xsl:text>
|
|
1670 |
|
<xsl:
text>#ww</
xsl:text>
|
1657 |
|
<xsl:
value-of s
elect="$Va
rContext/@
id" />
|
|
1671 |
|
<xsl:
value-of s
elect="$Va
rContext/@
id" />
|
1658 |
|
<xsl:
text>|</xs
l:text>
|
|
1672 |
|
<xsl:
text>|</xs
l:text>
|
1659 |
|
<xsl:
value-of s
elect="$Va
rNoteNumbe
r" />
|
|
1673 |
|
<xsl:
value-of s
elect="$Va
rNoteNumbe
r" />
|
1660 |
|
<xsl:
text>]]</x
sl:text>
|
|
1674 |
|
<xsl:
text>]]</x
sl:text>
|
1661 |
|
</html
:span>
|
|
1675 |
|
</html
:span>
|
1662 |
|
|
|
1676 |
|
|
1663 |
|
<!-- F
orce ancho
r on same
line as co
ntaining s
up -->
|
|
1677 |
|
<!-- F
orce ancho
r on same
line as co
ntaining s
up -->
|
1664 |
|
<!--
-->
|
|
1678 |
|
<!--
-->
|
1665 |
|
<wwexs
ldoc:NoBre
ak />
|
|
1679 |
|
<wwexs
ldoc:NoBre
ak />
|
1666 |
|
</html:
sup>
|
|
1680 |
|
</html:
sup>
|
1667 |
|
|
|
1681 |
|
|
1668 |
|
<!-- Fo
rce anchor
on same l
ine as con
taining su
p -->
|
|
1682 |
|
<!-- Fo
rce anchor
on same l
ine as con
taining su
p -->
|
1669 |
|
<!--
-->
|
|
1683 |
|
<!--
-->
|
1670 |
|
<wwexsl
doc:NoBrea
k />
|
|
1684 |
|
<wwexsl
doc:NoBrea
k />
|
1671 |
|
</xsl:fo
r-each>
|
|
1685 |
|
</xsl:fo
r-each>
|
1672 |
|
</xsl:tem
plate>
|
|
1686 |
|
</xsl:tem
plate>
|
1673 |
|
|
|
1687 |
|
|
1674 |
|
|
|
1688 |
|
|
1675 |
|
<xsl:temp
late match
="wwdoc:Li
neBreak" m
ode="wwmod
e:textrun"
>
|
|
1689 |
|
<xsl:temp
late match
="wwdoc:Li
neBreak" m
ode="wwmod
e:textrun"
>
|
1676 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1690 |
|
<xsl:par
am name="P
aramSplits
" />
|
1677 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1691 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1678 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1692 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1679 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1693 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1680 |
|
|
|
1694 |
|
|
1681 |
|
<!-- Not
available
for Media
Wiki -->
|
|
1695 |
|
<!-- Not
available
for Media
Wiki -->
|
1682 |
|
<!--
-->
|
|
1696 |
|
<!--
-->
|
1683 |
|
</xsl:tem
plate>
|
|
1697 |
|
</xsl:tem
plate>
|
1684 |
|
|
|
1698 |
|
|
1685 |
|
|
|
1699 |
|
|
1686 |
|
<xsl:temp
late match
="wwdoc:In
dexMarker"
mode="wwm
ode:textru
n">
|
|
1700 |
|
<xsl:temp
late match
="wwdoc:In
dexMarker"
mode="wwm
ode:textru
n">
|
1687 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1701 |
|
<xsl:par
am name="P
aramSplits
" />
|
1688 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1702 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1689 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1703 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1690 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1704 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1691 |
|
|
|
1705 |
|
|
1692 |
|
<!-- Ign
ore index
markers --
>
|
|
1706 |
|
<!-- Ign
ore index
markers --
>
|
1693 |
|
<!--
--
>
|
|
1707 |
|
<!--
--
>
|
1694 |
|
</xsl:tem
plate>
|
|
1708 |
|
</xsl:tem
plate>
|
1695 |
|
|
|
1709 |
|
|
1696 |
|
|
|
1710 |
|
|
1697 |
|
<xsl:temp
late match
="wwdoc:Ma
rker" mode
="wwmode:t
extrun">
|
|
1711 |
|
<xsl:temp
late match
="wwdoc:Ma
rker" mode
="wwmode:t
extrun">
|
1698 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1712 |
|
<xsl:par
am name="P
aramSplits
" />
|
1699 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1713 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1700 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1714 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1701 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1715 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1702 |
|
|
|
1716 |
|
|
1703 |
|
<xsl:var
iable name
="VarMarke
r" select=
"." />
|
|
1717 |
|
<xsl:var
iable name
="VarMarke
r" select=
"." />
|
1704 |
|
|
|
1718 |
|
|
1705 |
|
<!-- Pas
s-through
marker? --
>
|
|
1719 |
|
<!-- Pas
s-through
marker? --
>
|
1706 |
|
<!--
--
>
|
|
1720 |
|
<!--
--
>
|
1707 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwbe
haviors:Be
haviors[1]
">
|
|
1721 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwbe
haviors:Be
haviors[1]
">
|
1708 |
|
<xsl:va
riable nam
e="VarMark
erBehavior
" select="
key('wwbeh
aviors-mar
kers-by-id
', $VarMar
ker/@id)[1
]" />
|
|
1722 |
|
<xsl:va
riable nam
e="VarMark
erBehavior
" select="
key('wwbeh
aviors-mar
kers-by-id
', $VarMar
ker/@id)[1
]" />
|
1709 |
|
|
|
1723 |
|
|
1710 |
|
<xsl:if
test="$Va
rMarkerBeh
avior/@beh
avior = 'p
ass-throug
h'">
|
|
1724 |
|
<xsl:if
test="$Va
rMarkerBeh
avior/@beh
avior = 'p
ass-throug
h'">
|
1711 |
|
<!-- P
ass-throug
h -->
|
|
1725 |
|
<!-- P
ass-throug
h -->
|
1712 |
|
<!--
-->
|
|
1726 |
|
<!--
-->
|
1713 |
|
<xsl:f
or-each se
lect="$Var
Marker/wwd
oc:TextRun
">
|
|
1727 |
|
<xsl:f
or-each se
lect="$Var
Marker/wwd
oc:TextRun
">
|
1714 |
|
<xsl:
variable n
ame="VarTe
xtRun" sel
ect="." />
|
|
1728 |
|
<xsl:
variable n
ame="VarTe
xtRun" sel
ect="." />
|
1715 |
|
|
|
1729 |
|
|
1716 |
|
<xsl:
call-templ
ate name="
TextRun-Pa
ssThrough"
>
|
|
1730 |
|
<xsl:
call-templ
ate name="
TextRun-Pa
ssThrough"
>
|
1717 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$VarTextRu
n" />
|
|
1731 |
|
<xsl
:with-para
m name="Pa
ramTextRun
" select="
$VarTextRu
n" />
|
1718 |
|
</xsl
:call-temp
late>
|
|
1732 |
|
</xsl
:call-temp
late>
|
1719 |
|
</xsl:
for-each>
|
|
1733 |
|
</xsl:
for-each>
|
1720 |
|
</xsl:i
f>
|
|
1734 |
|
</xsl:i
f>
|
1721 |
|
</xsl:fo
r-each>
|
|
1735 |
|
</xsl:fo
r-each>
|
1722 |
|
</xsl:tem
plate>
|
|
1736 |
|
</xsl:tem
plate>
|
1723 |
|
|
|
1737 |
|
|
1724 |
|
|
|
1738 |
|
|
1725 |
|
<xsl:temp
late match
="wwdoc:Te
xt" mode="
wwmode:tex
trun">
|
|
1739 |
|
<xsl:temp
late match
="wwdoc:Te
xt" mode="
wwmode:tex
trun">
|
|
|
|
|
1740 |
|
<xsl:par
am name="P
aramText"
select="."
/>
|
1726 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1741 |
|
<xsl:par
am name="P
aramSplits
" />
|
1727 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1742 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1728 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1743 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1729 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1744 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1730 |
|
|
|
1745 |
|
|
1731 |
|
<
xsl:
v
al
ue
-
of s
e
l
ect="@v
a
lu
e
" /
>
|
|
1746 |
|
<xsl:cal
l-template
name="Med
iaWiki-Esc
apeForLink
">
|
|
|
|
|
1747 |
|
<xsl:wi
th-param n
ame="Param
Text" sele
ct="$Param
Text/@valu
e" />
|
|
|
|
|
1748 |
|
<
/
xsl:
c
al
l
-
t
e
mp
l
a
t
e
>
|
1732 |
|
</xsl:tem
plate>
|
|
1749 |
|
</xsl:tem
plate>
|
1733 |
|
|
|
1750 |
|
|
1734 |
|
|
|
1751 |
|
|
1735 |
|
<xsl:temp
late match
="wwdoc:Ta
ble" mode=
"wwmode:co
ntent">
|
|
1752 |
|
<xsl:temp
late match
="wwdoc:Ta
ble" mode=
"wwmode:co
ntent">
|
1736 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1753 |
|
<xsl:par
am name="P
aramSplits
" />
|
1737 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1754 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1738 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1755 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1739 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
|
1756 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
1740 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1757 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1741 |
|
|
|
1758 |
|
|
1742 |
|
<xsl:var
iable name
="VarTable
" select="
." />
|
|
1759 |
|
<xsl:var
iable name
="VarTable
" select="
." />
|
1743 |
|
|
|
1760 |
|
|
1744 |
|
<!-- Abo
rted? -->
|
|
1761 |
|
<!-- Abo
rted? -->
|
1745 |
|
<!--
-->
|
|
1762 |
|
<!--
-->
|
1746 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
|
1763 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
1747 |
|
<xsl:va
riable nam
e="VarOver
rideRule"
select="ww
projext:Ge
tOverrideR
ule('Table
', $VarTab
le/@stylen
ame, $Para
mSplit/@do
cumentID,
$VarTable/
@id)" />
|
|
1764 |
|
<xsl:va
riable nam
e="VarOver
rideRule"
select="ww
projext:Ge
tOverrideR
ule('Table
', $VarTab
le/@stylen
ame, $Para
mSplit/@do
cumentID,
$VarTable/
@id)" />
|
1748 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
Option" se
lect="$Var
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'gen
erate-outp
ut']/@Valu
e" />
|
|
1765 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
Option" se
lect="$Var
OverrideRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'gen
erate-outp
ut']/@Valu
e" />
|
1749 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
" select="
(string-le
ngth($VarG
enerateOut
putOption)
= 0) or (
$VarGenera
teOutputOp
tion != 'f
alse')" />
|
|
1766 |
|
<xsl:va
riable nam
e="VarGene
rateOutput
" select="
(string-le
ngth($VarG
enerateOut
putOption)
= 0) or (
$VarGenera
teOutputOp
tion != 'f
alse')" />
|
1750 |
|
<xsl:if
test="$Va
rGenerateO
utput">
|
|
1767 |
|
<xsl:if
test="$Va
rGenerateO
utput">
|
1751 |
|
|
|
1768 |
|
|
1752 |
|
<!-- G
et behavio
r -->
|
|
1769 |
|
<!-- G
et behavio
r -->
|
1753 |
|
<!--
-->
|
|
1770 |
|
<!--
-->
|
1754 |
|
<xsl:f
or-each se
lect="$Par
amCargo/ww
behaviors:
Behaviors[
1]">
|
|
1771 |
|
<xsl:f
or-each se
lect="$Par
amCargo/ww
behaviors:
Behaviors[
1]">
|
1755 |
|
<xsl:
variable n
ame="VarTa
bleBehavio
r" select=
"key('wwbe
haviors-ta
bles-by-id
', $VarTab
le/@id)[1]
" />
|
|
1772 |
|
<xsl:
variable n
ame="VarTa
bleBehavio
r" select=
"key('wwbe
haviors-ta
bles-by-id
', $VarTab
le/@id)[1]
" />
|
1756 |
|
|
|
1773 |
|
|
1757 |
|
<!--
Table -->
|
|
1774 |
|
<!--
Table -->
|
1758 |
|
<!--
-->
|
|
1775 |
|
<!--
-->
|
1759 |
|
<xsl:
call-templ
ate name="
Table">
|
|
1776 |
|
<xsl:
call-templ
ate name="
Table">
|
1760 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
1777 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1761 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
1778 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1762 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
1779 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1763 |
|
<xsl
:with-para
m name="Pa
ramTOCData
" select="
$ParamTOCD
ata" />
|
|
1780 |
|
<xsl
:with-para
m name="Pa
ramTOCData
" select="
$ParamTOCD
ata" />
|
1764 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
1781 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
1765 |
|
<xsl
:with-para
m name="Pa
ramTable"
select="$V
arTable" /
>
|
|
1782 |
|
<xsl
:with-para
m name="Pa
ramTable"
select="$V
arTable" /
>
|
1766 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$VarTabl
e/@stylena
me" />
|
|
1783 |
|
<xsl
:with-para
m name="Pa
ramStyleNa
me" select
="$VarTabl
e/@stylena
me" />
|
1767 |
|
<xsl
:with-para
m name="Pa
ramTableBe
havior" se
lect="$Var
TableBehav
ior" />
|
|
1784 |
|
<xsl
:with-para
m name="Pa
ramTableBe
havior" se
lect="$Var
TableBehav
ior" />
|
1768 |
|
</xsl
:call-temp
late>
|
|
1785 |
|
</xsl
:call-temp
late>
|
1769 |
|
</xsl:
for-each>
|
|
1786 |
|
</xsl:
for-each>
|
1770 |
|
</xsl:i
f>
|
|
1787 |
|
</xsl:i
f>
|
1771 |
|
</xsl:if
>
|
|
1788 |
|
</xsl:if
>
|
1772 |
|
</xsl:tem
plate>
|
|
1789 |
|
</xsl:tem
plate>
|
1773 |
|
|
|
1790 |
|
|
1774 |
|
|
|
1791 |
|
|
1775 |
|
<xsl:temp
late name=
"Table-Att
ribute-In-
Pixels">
|
|
1792 |
|
<xsl:temp
late name=
"Table-Att
ribute-In-
Pixels">
|
1776 |
|
<xsl:par
am name="P
aramValue"
/>
|
|
1793 |
|
<xsl:par
am name="P
aramValue"
/>
|
1777 |
|
|
|
1794 |
|
|
1778 |
|
<xsl:cho
ose>
|
|
1795 |
|
<xsl:cho
ose>
|
1779 |
|
<xsl:wh
en test="s
tring-leng
th($ParamV
alue) >
0">
|
|
1796 |
|
<xsl:wh
en test="s
tring-leng
th($ParamV
alue) >
0">
|
1780 |
|
<!-- N
ormalize v
alue for H
TML attrib
ute-->
|
|
1797 |
|
<!-- N
ormalize v
alue for H
TML attrib
ute-->
|
1781 |
|
<!--
-->
|
|
1798 |
|
<!--
-->
|
1782 |
|
<xsl:v
ariable na
me="VarVal
ueToEmit">
|
|
1799 |
|
<xsl:v
ariable na
me="VarVal
ueToEmit">
|
1783 |
|
<xsl:
variable n
ame="VarUn
itsSuffix"
select="w
wunits:Uni
tsSuffix($
ParamValue
)" />
|
|
1800 |
|
<xsl:
variable n
ame="VarUn
itsSuffix"
select="w
wunits:Uni
tsSuffix($
ParamValue
)" />
|
1784 |
|
|
|
1801 |
|
|
1785 |
|
<xsl:
choose>
|
|
1802 |
|
<xsl:
choose>
|
1786 |
|
<xsl
:when test
="string-l
ength($Var
UnitsSuffi
x) > 0"
>
|
|
1803 |
|
<xsl
:when test
="string-l
ength($Var
UnitsSuffi
x) > 0"
>
|
1787 |
|
<xs
l:variable
name="Var
NumPrefix"
select="w
wunits:Num
ericPrefix
($ParamVal
ue)" />
|
|
1804 |
|
<xs
l:variable
name="Var
NumPrefix"
select="w
wunits:Num
ericPrefix
($ParamVal
ue)" />
|
1788 |
|
|
|
1805 |
|
|
1789 |
|
<xs
l:value-of
select="w
wunits:Con
vert($VarN
umPrefix,
$VarUnitsS
uffix, 'px
')" />
|
|
1806 |
|
<xs
l:value-of
select="w
wunits:Con
vert($VarN
umPrefix,
$VarUnitsS
uffix, 'px
')" />
|
1790 |
|
</xs
l:when>
|
|
1807 |
|
</xs
l:when>
|
1791 |
|
|
|
1808 |
|
|
1792 |
|
<xsl
:otherwise
>
|
|
1809 |
|
<xsl
:otherwise
>
|
1793 |
|
<xs
l:value-of
select="$
ParamValue
" />
|
|
1810 |
|
<xs
l:value-of
select="$
ParamValue
" />
|
1794 |
|
</xs
l:otherwis
e>
|
|
1811 |
|
</xs
l:otherwis
e>
|
1795 |
|
</xsl
:choose>
|
|
1812 |
|
</xsl
:choose>
|
1796 |
|
</xsl:
variable>
|
|
1813 |
|
</xsl:
variable>
|
1797 |
|
|
|
1814 |
|
|
1798 |
|
<xsl:v
alue-of se
lect="$Var
ValueToEmi
t" />
|
|
1815 |
|
<xsl:v
alue-of se
lect="$Var
ValueToEmi
t" />
|
1799 |
|
</xsl:w
hen>
|
|
1816 |
|
</xsl:w
hen>
|
1800 |
|
|
|
1817 |
|
|
1801 |
|
<xsl:ot
herwise>
|
|
1818 |
|
<xsl:ot
herwise>
|
1802 |
|
<xsl:v
alue-of se
lect="''"
/>
|
|
1819 |
|
<xsl:v
alue-of se
lect="''"
/>
|
1803 |
|
</xsl:o
therwise>
|
|
1820 |
|
</xsl:o
therwise>
|
1804 |
|
</xsl:ch
oose>
|
|
1821 |
|
</xsl:ch
oose>
|
1805 |
|
</xsl:tem
plate>
|
|
1822 |
|
</xsl:tem
plate>
|
1806 |
|
|
|
1823 |
|
|
1807 |
|
|
|
1824 |
|
|
1808 |
|
<xsl:temp
late name=
"Table">
|
|
1825 |
|
<xsl:temp
late name=
"Table">
|
1809 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
1826 |
|
<xsl:par
am name="P
aramSplits
" />
|
1810 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
1827 |
|
<xsl:par
am name="P
aramCargo"
/>
|
1811 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
1828 |
|
<xsl:par
am name="P
aramLinks"
/>
|
1812 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
|
1829 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
1813 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
1830 |
|
<xsl:par
am name="P
aramSplit"
/>
|
1814 |
|
<xsl:par
am name="P
aramTable"
/>
|
|
1831 |
|
<xsl:par
am name="P
aramTable"
/>
|
1815 |
|
<xsl:par
am name="P
aramStyleN
ame" />
|
|
1832 |
|
<xsl:par
am name="P
aramStyleN
ame" />
|
1816 |
|
<xsl:par
am name="P
aramTableB
ehavior" /
>
|
|
1833 |
|
<xsl:par
am name="P
aramTableB
ehavior" /
>
|
1817 |
|
|
|
1834 |
|
|
1818 |
|
<!-- Not
es -->
|
|
1835 |
|
<!-- Not
es -->
|
1819 |
|
<!--
-->
|
|
1836 |
|
<!--
-->
|
1820 |
|
<xsl:var
iable name
="VarNotes
" select="
$ParamTabl
e//wwdoc:N
ote[not(an
cestor::ww
doc:Frame)
]" />
|
|
1837 |
|
<xsl:var
iable name
="VarNotes
" select="
$ParamTabl
e//wwdoc:N
ote[not(an
cestor::ww
doc:Frame)
]" />
|
1821 |
|
|
|
1838 |
|
|
1822 |
|
<!-- Not
e numberin
g -->
|
|
1839 |
|
<!-- Not
e numberin
g -->
|
1823 |
|
<!--
-->
|
|
1840 |
|
<!--
-->
|
1824 |
|
<xsl:var
iable name
="VarNoteN
umberingAs
XML">
|
|
1841 |
|
<xsl:var
iable name
="VarNoteN
umberingAs
XML">
|
1825 |
|
<xsl:ca
ll-templat
e name="No
tes-Number
">
|
|
1842 |
|
<xsl:ca
ll-templat
e name="No
tes-Number
">
|
1826 |
|
<xsl:w
ith-param
name="Para
mNotes" se
lect="$Var
Notes" />
|
|
1843 |
|
<xsl:w
ith-param
name="Para
mNotes" se
lect="$Var
Notes" />
|
1827 |
|
</xsl:c
all-templa
te>
|
|
1844 |
|
</xsl:c
all-templa
te>
|
1828 |
|
</xsl:va
riable>
|
|
1845 |
|
</xsl:va
riable>
|
1829 |
|
<xsl:var
iable name
="VarNoteN
umbering"
select="ms
xsl:node-s
et($VarNot
eNumbering
AsXML)" />
|
|
1846 |
|
<xsl:var
iable name
="VarNoteN
umbering"
select="ms
xsl:node-s
et($VarNot
eNumbering
AsXML)" />
|
1830 |
|
|
|
1847 |
|
|
1831 |
|
<!-- Car
go for rec
ursion -->
|
|
1848 |
|
<!-- Car
go for rec
ursion -->
|
1832 |
|
<!--
-->
|
|
1849 |
|
<!--
-->
|
1833 |
|
<xsl:var
iable name
="VarCargo
" select="
$ParamCarg
o/*[local-
name() !=
'NoteNumbe
ring']/..
| $VarNote
Numbering"
/>
|
|
1850 |
|
<xsl:var
iable name
="VarCargo
" select="
$ParamCarg
o/*[local-
name() !=
'NoteNumbe
ring']/..
| $VarNote
Numbering"
/>
|
1834 |
|
|
|
1851 |
|
|
1835 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Table',
$ParamTabl
e/@stylena
me, $Param
Split/@doc
umentID, $
ParamTable
/@id)" />
|
|
1852 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Table',
$ParamTabl
e/@stylena
me, $Param
Split/@doc
umentID, $
ParamTable
/@id)" />
|
1836 |
|
|
|
1853 |
|
|
1837 |
|
<!-- Res
olve proje
ct propert
ies -->
|
|
1854 |
|
<!-- Res
olve proje
ct propert
ies -->
|
1838 |
|
<!--
-->
|
|
1855 |
|
<!--
-->
|
1839 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
AsXML">
|
|
1856 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
AsXML">
|
1840 |
|
<xsl:ca
ll-templat
e name="Pr
operties-R
esolveCont
extRule">
|
|
1857 |
|
<xsl:ca
ll-templat
e name="Pr
operties-R
esolveCont
extRule">
|
1841 |
|
<xsl:w
ith-param
name="Para
mDocumentC
ontext" se
lect="$Par
amTable" /
>
|
|
1858 |
|
<xsl:w
ith-param
name="Para
mDocumentC
ontext" se
lect="$Par
amTable" /
>
|
1842 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarConte
xtRule/wwp
roject:Pro
perties/ww
project:Pr
operty" />
|
|
1859 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarConte
xtRule/wwp
roject:Pro
perties/ww
project:Pr
operty" />
|
1843 |
|
<xsl:w
ith-param
name="Para
mStyleName
" select="
$ParamTabl
e/@stylena
me" />
|
|
1860 |
|
<xsl:w
ith-param
name="Para
mStyleName
" select="
$ParamTabl
e/@stylena
me" />
|
1844 |
|
<xsl:w
ith-param
name="Para
mStyleType
" select="
'Table'" /
>
|
|
1861 |
|
<xsl:w
ith-param
name="Para
mStyleType
" select="
'Table'" /
>
|
1845 |
|
<xsl:w
ith-param
name="Para
mContextSt
yle" selec
t="$ParamT
able/wwdoc
:Style" />
|
|
1862 |
|
<xsl:w
ith-param
name="Para
mContextSt
yle" selec
t="$ParamT
able/wwdoc
:Style" />
|
1846 |
|
</xsl:c
all-templa
te>
|
|
1863 |
|
</xsl:c
all-templa
te>
|
1847 |
|
</xsl:va
riable>
|
|
1864 |
|
</xsl:va
riable>
|
1848 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
" select="
msxsl:node
-set($VarR
esolvedCon
textProper
tiesAsXML)
/wwproject
:Property"
/>
|
|
1865 |
|
<xsl:var
iable name
="VarResol
vedContext
Properties
" select="
msxsl:node
-set($VarR
esolvedCon
textProper
tiesAsXML)
/wwproject
:Property"
/>
|
1849 |
|
|
|
1866 |
|
|
1850 |
|
<!-- CSS
propertie
s -->
|
|
1867 |
|
<!-- CSS
propertie
s -->
|
1851 |
|
<!--
-->
|
|
1868 |
|
<!--
-->
|
1852 |
|
<xsl:var
iable name
="VarCSSPr
opertiesAs
XML">
|
|
1869 |
|
<xsl:var
iable name
="VarCSSPr
opertiesAs
XML">
|
1853 |
|
<xsl:ca
ll-templat
e name="CS
S-Translat
eProjectPr
operties">
|
|
1870 |
|
<xsl:ca
ll-templat
e name="CS
S-Translat
eProjectPr
operties">
|
1854 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarResol
vedContext
Properties
" />
|
|
1871 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarResol
vedContext
Properties
" />
|
1855 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Par
amSplit/@p
ath" />
|
|
1872 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Par
amSplit/@p
ath" />
|
1856 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
1873 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
1857 |
|
</xsl:c
all-templa
te>
|
|
1874 |
|
</xsl:c
all-templa
te>
|
1858 |
|
</xsl:va
riable>
|
|
1875 |
|
</xsl:va
riable>
|
1859 |
|
<xsl:var
iable name
="VarCSSPr
operties"
select="ms
xsl:node-s
et($VarCSS
Properties
AsXML)/wwp
roject:Pro
perty" />
|
|
1876 |
|
<xsl:var
iable name
="VarCSSPr
operties"
select="ms
xsl:node-s
et($VarCSS
Properties
AsXML)/wwp
roject:Pro
perty" />
|
1860 |
|
|
|
1877 |
|
|
1861 |
|
<!-- Sty
le attribu
te -->
|
|
1878 |
|
<!-- Sty
le attribu
te -->
|
1862 |
|
<!--
-->
|
|
1879 |
|
<!--
-->
|
1863 |
|
<xsl:var
iable name
="VarStyle
Attribute"
>
|
|
1880 |
|
<xsl:var
iable name
="VarStyle
Attribute"
>
|
1864 |
|
<xsl:ca
ll-templat
e name="CS
S-InlinePr
operties">
|
|
1881 |
|
<xsl:ca
ll-templat
e name="CS
S-InlinePr
operties">
|
1865 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarCSSPr
operties[(
@Name != '
vertical-a
lign')]" /
>
|
|
1882 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$VarCSSPr
operties[(
@Name != '
vertical-a
lign')]" /
>
|
1866 |
|
</xsl:c
all-templa
te>
|
|
1883 |
|
</xsl:c
all-templa
te>
|
1867 |
|
</xsl:va
riable>
|
|
1884 |
|
</xsl:va
riable>
|
1868 |
|
|
|
1885 |
|
|
1869 |
|
<!-- Bor
der -->
|
|
1886 |
|
<!-- Bor
der -->
|
1870 |
|
<!--
-->
|
|
1887 |
|
<!--
-->
|
1871 |
|
<xsl:var
iable name
="VarTable
Border">
|
|
1888 |
|
<xsl:var
iable name
="VarTable
Border">
|
1872 |
|
<xsl:ca
ll-templat
e name="Ta
ble-Attrib
ute-In-Pix
els">
|
|
1889 |
|
<xsl:ca
ll-templat
e name="Ta
ble-Attrib
ute-In-Pix
els">
|
1873 |
|
<xsl:w
ith-param
name="Para
mValue" se
lect="$Var
ResolvedCo
ntextPrope
rties[@Nam
e = 'borde
r']/@Value
" />
|
|
1890 |
|
<xsl:w
ith-param
name="Para
mValue" se
lect="$Var
ResolvedCo
ntextPrope
rties[@Nam
e = 'borde
r']/@Value
" />
|
1874 |
|
</xsl:c
all-templa
te>
|
|
1891 |
|
</xsl:c
all-templa
te>
|
1875 |
|
</xsl:va
riable>
|
|
1892 |
|
</xsl:va
riable>
|
1876 |
|
|
|
1893 |
|
|
1877 |
|
<!-- Cel
l padding
-->
|
|
1894 |
|
<!-- Cel
l padding
-->
|
1878 |
|
<!--
-->
|
|
1895 |
|
<!--
-->
|
1879 |
|
<xsl:var
iable name
="VarTable
CellPaddin
g">
|
|
1896 |
|
<xsl:var
iable name
="VarTable
CellPaddin
g">
|
1880 |
|
<xsl:ca
ll-templat
e name="Ta
ble-Attrib
ute-In-Pix
els">
|
|
1897 |
|
<xsl:ca
ll-templat
e name="Ta
ble-Attrib
ute-In-Pix
els">
|
1881 |
|
<xsl:w
ith-param
name="Para
mValue" se
lect="$Var
ResolvedCo
ntextPrope
rties[@Nam
e = 'cell-
padding']/
@Value" />
|
|
1898 |
|
<xsl:w
ith-param
name="Para
mValue" se
lect="$Var
ResolvedCo
ntextPrope
rties[@Nam
e = 'cell-
padding']/
@Value" />
|
1882 |
|
</xsl:c
all-templa
te>
|
|
1899 |
|
</xsl:c
all-templa
te>
|
1883 |
|
</xsl:va
riable>
|
|
1900 |
|
</xsl:va
riable>
|
1884 |
|
|
|
1901 |
|
|
1885 |
|
<!-- Cel
l spacing
-->
|
|
1902 |
|
<!-- Cel
l spacing
-->
|
1886 |
|
<!--
-->
|
|
1903 |
|
<!--
-->
|
1887 |
|
<xsl:var
iable name
="VarTable
CellSpacin
g">
|
|
1904 |
|
<xsl:var
iable name
="VarTable
CellSpacin
g">
|
1888 |
|
<xsl:ca
ll-templat
e name="Ta
ble-Attrib
ute-In-Pix
els">
|
|
1905 |
|
<xsl:ca
ll-templat
e name="Ta
ble-Attrib
ute-In-Pix
els">
|
1889 |
|
<xsl:w
ith-param
name="Para
mValue" se
lect="$Var
ResolvedCo
ntextPrope
rties[@Nam
e = 'cell-
spacing']/
@Value" />
|
|
1906 |
|
<xsl:w
ith-param
name="Para
mValue" se
lect="$Var
ResolvedCo
ntextPrope
rties[@Nam
e = 'cell-
spacing']/
@Value" />
|
1890 |
|
</xsl:c
all-templa
te>
|
|
1907 |
|
</xsl:c
all-templa
te>
|
1891 |
|
</xsl:va
riable>
|
|
1908 |
|
</xsl:va
riable>
|
1892 |
|
|
|
1909 |
|
|
1893 |
|
<!-- Tab
le vertica
l alignmen
t -->
|
|
1910 |
|
<!-- Tab
le vertica
l alignmen
t -->
|
1894 |
|
<!--
-->
|
|
1911 |
|
<!--
-->
|
1895 |
|
<xsl:var
iable name
="VarTable
VerticalAl
ignment">
|
|
1912 |
|
<xsl:var
iable name
="VarTable
VerticalAl
ignment">
|
1896 |
|
<xsl:va
riable nam
e="VarTabl
eVerticalA
lignmentHi
nt" select
="$VarReso
lvedContex
tPropertie
s[@Name =
'vertical-
align']/@V
alue" />
|
|
1913 |
|
<xsl:va
riable nam
e="VarTabl
eVerticalA
lignmentHi
nt" select
="$VarReso
lvedContex
tPropertie
s[@Name =
'vertical-
align']/@V
alue" />
|
1897 |
|
<xsl:ch
oose>
|
|
1914 |
|
<xsl:ch
oose>
|
1898 |
|
<xsl:w
hen test="
string-len
gth($VarTa
bleVertica
lAlignment
Hint) >
0">
|
|
1915 |
|
<xsl:w
hen test="
string-len
gth($VarTa
bleVertica
lAlignment
Hint) >
0">
|
1899 |
|
<xsl:
value-of s
elect="$Va
rTableVert
icalAlignm
entHint" /
>
|
|
1916 |
|
<xsl:
value-of s
elect="$Va
rTableVert
icalAlignm
entHint" /
>
|
1900 |
|
</xsl:
when>
|
|
1917 |
|
</xsl:
when>
|
1901 |
|
<xsl:o
therwise>
|
|
1918 |
|
<xsl:o
therwise>
|
1902 |
|
<xsl:
value-of s
elect="''"
/>
|
|
1919 |
|
<xsl:
value-of s
elect="''"
/>
|
1903 |
|
</xsl:
otherwise>
|
|
1920 |
|
</xsl:
otherwise>
|
1904 |
|
</xsl:c
hoose>
|
|
1921 |
|
</xsl:c
hoose>
|
1905 |
|
</xsl:va
riable>
|
|
1922 |
|
</xsl:va
riable>
|
1906 |
|
|
|
1923 |
|
|
1907 |
|
<!-- Tab
le summary
-->
|
|
1924 |
|
<!-- Tab
le summary
-->
|
1908 |
|
<!--
-->
|
|
1925 |
|
<!--
-->
|
1909 |
|
<xsl:var
iable name
="VarTable
Summary">
|
|
1926 |
|
<xsl:var
iable name
="VarTable
Summary">
|
1910 |
|
<xsl:ca
ll-templat
e name="Ta
bles-Summa
ry">
|
|
1927 |
|
<xsl:ca
ll-templat
e name="Ta
bles-Summa
ry">
|
1911 |
|
<xsl:w
ith-param
name="Para
mTableBeha
vior" sele
ct="$Param
TableBehav
ior" />
|
|
1928 |
|
<xsl:w
ith-param
name="Para
mTableBeha
vior" sele
ct="$Param
TableBehav
ior" />
|
1912 |
|
</xsl:c
all-templa
te>
|
|
1929 |
|
</xsl:c
all-templa
te>
|
1913 |
|
</xsl:va
riable>
|
|
1930 |
|
</xsl:va
riable>
|
1914 |
|
|
|
1931 |
|
|
1915 |
|
<!-- Cap
tion Side
-->
|
|
1932 |
|
<!-- Cap
tion Side
-->
|
1916 |
|
<!--
-->
|
|
1933 |
|
<!--
-->
|
1917 |
|
<xsl:var
iable name
="VarCapti
onSide">
|
|
1934 |
|
<xsl:var
iable name
="VarCapti
onSide">
|
1918 |
|
<xsl:va
lue-of sel
ect="$VarR
esolvedCon
textProper
ties[@Name
= 'captio
n-side']/@
Value" />
|
|
1935 |
|
<xsl:va
lue-of sel
ect="$VarR
esolvedCon
textProper
ties[@Name
= 'captio
n-side']/@
Value" />
|
1919 |
|
</xsl:va
riable>
|
|
1936 |
|
</xsl:va
riable>
|
1920 |
|
|
|
1937 |
|
|
1921 |
|
<!-- Det
ermine tab
le cell wi
dths -->
|
|
1938 |
|
<!-- Det
ermine tab
le cell wi
dths -->
|
1922 |
|
<!--
-->
|
|
1939 |
|
<!--
-->
|
1923 |
|
<xsl:var
iable name
="VarTable
CellWidths
AsXML">
|
|
1940 |
|
<xsl:var
iable name
="VarTable
CellWidths
AsXML">
|
1924 |
|
<xsl:va
riable nam
e="VarEmit
TableWidth
sOption" s
elect="$Va
rContextRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'tab
le-use-doc
ument-cell
-widths']/
@Value" />
|
|
1941 |
|
<xsl:va
riable nam
e="VarEmit
TableWidth
sOption" s
elect="$Va
rContextRu
le/wwproje
ct:Options
/wwproject
:Option[@N
ame = 'tab
le-use-doc
ument-cell
-widths']/
@Value" />
|
1925 |
|
<xsl:va
riable nam
e="VarEmit
TableWidth
s" select=
"$VarEmitT
ableWidths
Option = '
true'" />
|
|
1942 |
|
<xsl:va
riable nam
e="VarEmit
TableWidth
s" select=
"$VarEmitT
ableWidths
Option = '
true'" />
|
1926 |
|
|
|
1943 |
|
|
1927 |
|
<xsl:if
test="$Va
rEmitTable
Widths">
|
|
1944 |
|
<xsl:if
test="$Va
rEmitTable
Widths">
|
1928 |
|
<xsl:c
all-templa
te name="T
able-CellW
idths">
|
|
1945 |
|
<xsl:c
all-templa
te name="T
able-CellW
idths">
|
1929 |
|
<xsl:
with-param
name="Par
amTable" s
elect="$Pa
ramTable"
/>
|
|
1946 |
|
<xsl:
with-param
name="Par
amTable" s
elect="$Pa
ramTable"
/>
|
1930 |
|
</xsl:
call-templ
ate>
|
|
1947 |
|
</xsl:
call-templ
ate>
|
1931 |
|
</xsl:i
f>
|
|
1948 |
|
</xsl:i
f>
|
1932 |
|
</xsl:va
riable>
|
|
1949 |
|
</xsl:va
riable>
|
1933 |
|
<xsl:var
iable name
="VarTable
CellWidths
" select="
msxsl:node
-set($VarT
ableCellWi
dthsAsXML)
/*" />
|
|
1950 |
|
<xsl:var
iable name
="VarTable
CellWidths
" select="
msxsl:node
-set($VarT
ableCellWi
dthsAsXML)
/*" />
|
1934 |
|
|
|
1951 |
|
|
1935 |
|
<!-- Emi
t <table>
element wi
th attribu
tes. -->
|
|
1952 |
|
<!-- Emi
t <table>
element wi
th attribu
tes. -->
|
1936 |
|
<!--
-->
|
|
1953 |
|
<!--
-->
|
1937 |
|
<html:ta
ble>
|
|
1954 |
|
<html:ta
ble>
|
1938 |
|
|
|
1955 |
|
|
1939 |
|
<!-- st
yle attrib
ute -->
|
|
1956 |
|
<!-- st
yle attrib
ute -->
|
1940 |
|
<!--
-->
|
|
1957 |
|
<!--
-->
|
1941 |
|
<xsl:if
test="str
ing-length
($VarStyle
Attribute)
> 0">
|
|
1958 |
|
<xsl:if
test="str
ing-length
($VarStyle
Attribute)
> 0">
|
1942 |
|
<xsl:a
ttribute n
ame="style
">
|
|
1959 |
|
<xsl:a
ttribute n
ame="style
">
|
1943 |
|
<xsl:
value-of s
elect="$Va
rStyleAttr
ibute" />
|
|
1960 |
|
<xsl:
value-of s
elect="$Va
rStyleAttr
ibute" />
|
1944 |
|
</xsl:
attribute>
|
|
1961 |
|
</xsl:
attribute>
|
1945 |
|
</xsl:i
f>
|
|
1962 |
|
</xsl:i
f>
|
1946 |
|
|
|
1963 |
|
|
1947 |
|
<!-- bo
rder attri
bute -->
|
|
1964 |
|
<!-- bo
rder attri
bute -->
|
1948 |
|
<!--
-->
|
|
1965 |
|
<!--
-->
|
1949 |
|
<xsl:if
test="str
ing-length
($VarTable
Border) &g
t; 0">
|
|
1966 |
|
<xsl:if
test="str
ing-length
($VarTable
Border) &g
t; 0">
|
1950 |
|
<xsl:a
ttribute n
ame="borde
r">
|
|
1967 |
|
<xsl:a
ttribute n
ame="borde
r">
|
1951 |
|
<xsl:
value-of s
elect="$Va
rTableBord
er" />
|
|
1968 |
|
<xsl:
value-of s
elect="$Va
rTableBord
er" />
|
1952 |
|
</xsl:
attribute>
|
|
1969 |
|
</xsl:
attribute>
|
1953 |
|
</xsl:i
f>
|
|
1970 |
|
</xsl:i
f>
|
1954 |
|
|
|
1971 |
|
|
1955 |
|
<!-- ce
llpadding
attribute
-->
|
|
1972 |
|
<!-- ce
llpadding
attribute
-->
|
1956 |
|
<!--
-->
|
|
1973 |
|
<!--
-->
|
1957 |
|
<xsl:if
test="str
ing-length
($VarTable
CellPaddin
g) > 0"
>
|
|
1974 |
|
<xsl:if
test="str
ing-length
($VarTable
CellPaddin
g) > 0"
>
|
1958 |
|
<xsl:a
ttribute n
ame="cellp
adding">
|
|
1975 |
|
<xsl:a
ttribute n
ame="cellp
adding">
|
1959 |
|
<xsl:
value-of s
elect="$Va
rTableCell
Padding" /
>
|
|
1976 |
|
<xsl:
value-of s
elect="$Va
rTableCell
Padding" /
>
|
1960 |
|
</xsl:
attribute>
|
|
1977 |
|
</xsl:
attribute>
|
1961 |
|
</xsl:i
f>
|
|
1978 |
|
</xsl:i
f>
|
1962 |
|
|
|
1979 |
|
|
1963 |
|
<!-- ce
llspacing
attribute
-->
|
|
1980 |
|
<!-- ce
llspacing
attribute
-->
|
1964 |
|
<!--
-->
|
|
1981 |
|
<!--
-->
|
1965 |
|
<xsl:if
test="str
ing-length
($VarTable
CellSpacin
g) > 0"
>
|
|
1982 |
|
<xsl:if
test="str
ing-length
($VarTable
CellSpacin
g) > 0"
>
|
1966 |
|
<xsl:a
ttribute n
ame="cells
pacing">
|
|
1983 |
|
<xsl:a
ttribute n
ame="cells
pacing">
|
1967 |
|
<xsl:
value-of s
elect="$Va
rTableCell
Spacing" /
>
|
|
1984 |
|
<xsl:
value-of s
elect="$Va
rTableCell
Spacing" /
>
|
1968 |
|
</xsl:
attribute>
|
|
1985 |
|
</xsl:
attribute>
|
1969 |
|
</xsl:i
f>
|
|
1986 |
|
</xsl:i
f>
|
1970 |
|
|
|
1987 |
|
|
1971 |
|
<!-- su
mmary attr
ibute -->
|
|
1988 |
|
<!-- su
mmary attr
ibute -->
|
1972 |
|
<!--
-->
|
|
1989 |
|
<!--
-->
|
1973 |
|
<xsl:at
tribute na
me="summar
y">
|
|
1990 |
|
<xsl:at
tribute na
me="summar
y">
|
1974 |
|
<xsl:v
alue-of se
lect="$Var
TableSumma
ry" />
|
|
1991 |
|
<xsl:v
alue-of se
lect="$Var
TableSumma
ry" />
|
1975 |
|
</xsl:a
ttribute>
|
|
1992 |
|
</xsl:a
ttribute>
|
1976 |
|
|
|
1993 |
|
|
1977 |
|
<!-- Ap
ply captio
n template
s -->
|
|
1994 |
|
<!-- Ap
ply captio
n template
s -->
|
1978 |
|
<!--
-->
|
|
1995 |
|
<!--
-->
|
1979 |
|
<xsl:fo
r-each sel
ect="$Para
mTable/wwd
oc:Caption
[1]">
|
|
1996 |
|
<xsl:fo
r-each sel
ect="$Para
mTable/wwd
oc:Caption
[1]">
|
1980 |
|
<html:
caption>
|
|
1997 |
|
<html:
caption>
|
1981 |
|
|
|
1998 |
|
|
1982 |
|
<xsl:
if test="s
tring-leng
th($VarCap
tionSide)
> 0">
|
|
1999 |
|
<xsl:
if test="s
tring-leng
th($VarCap
tionSide)
> 0">
|
1983 |
|
<xsl
:attribute
name="sty
le">
|
|
2000 |
|
<xsl
:attribute
name="sty
le">
|
1984 |
|
<xs
l:value-of
select="c
oncat('cap
tion-side:
', $VarCa
ptionSide)
" />
|
|
2001 |
|
<xs
l:value-of
select="c
oncat('cap
tion-side:
', $VarCa
ptionSide)
" />
|
1985 |
|
</xs
l:attribut
e>
|
|
2002 |
|
</xs
l:attribut
e>
|
1986 |
|
</xsl
:if>
|
|
2003 |
|
</xsl
:if>
|
1987 |
|
|
|
2004 |
|
|
1988 |
|
<!--
Force on o
ne line --
>
|
|
2005 |
|
<!--
Force on o
ne line --
>
|
1989 |
|
<!--
--
>
|
|
2006 |
|
<!--
--
>
|
1990 |
|
<wwex
sldoc:NoBr
eak />
|
|
2007 |
|
<wwex
sldoc:NoBr
eak />
|
1991 |
|
|
|
2008 |
|
|
1992 |
|
<xsl:
apply-temp
lates sele
ct="./*" m
ode="wwmod
e:content"
>
|
|
2009 |
|
<xsl:
apply-temp
lates sele
ct="./*" m
ode="wwmod
e:content"
>
|
1993 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
|
2010 |
|
<xsl
:with-para
m name="Pa
ramSplits"
select="$
ParamSplit
s" />
|
1994 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
|
2011 |
|
<xsl
:with-para
m name="Pa
ramCargo"
select="$P
aramCargo"
/>
|
1995 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
|
2012 |
|
<xsl
:with-para
m name="Pa
ramLinks"
select="$P
aramLinks"
/>
|
1996 |
|
<xsl
:with-para
m name="Pa
ramTOCData
" select="
$ParamTOCD
ata" />
|
|
2013 |
|
<xsl
:with-para
m name="Pa
ramTOCData
" select="
$ParamTOCD
ata" />
|
1997 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
|
2014 |
|
<xsl
:with-para
m name="Pa
ramSplit"
select="$P
aramSplit"
/>
|
1998 |
|
</xsl
:apply-tem
plates>
|
|
2015 |
|
</xsl
:apply-tem
plates>
|
1999 |
|
|
|
2016 |
|
|
2000 |
|
<!--
Force on o
ne line --
>
|
|
2017 |
|
<!--
Force on o
ne line --
>
|
2001 |
|
<!--
--
>
|
|
2018 |
|
<!--
--
>
|
2002 |
|
<wwex
sldoc:NoBr
eak />
|
|
2019 |
|
<wwex
sldoc:NoBr
eak />
|
2003 |
|
|
|
2020 |
|
|
2004 |
|
</html
:caption>
|
|
2021 |
|
</html
:caption>
|
2005 |
|
</xsl:f
or-each>
|
|
2022 |
|
</xsl:f
or-each>
|
2006 |
|
|
|
2023 |
|
|
2007 |
|
<xsl:fo
r-each sel
ect="$Para
mTable/wwd
oc:TableHe
ad|$ParamT
able/wwdoc
:TableBody
|$ParamTab
le/wwdoc:T
ableFoot">
|
|
2024 |
|
<xsl:fo
r-each sel
ect="$Para
mTable/wwd
oc:TableHe
ad|$ParamT
able/wwdoc
:TableBody
|$ParamTab
le/wwdoc:T
ableFoot">
|
2008 |
|
<xsl:v
ariable na
me="VarSec
tion" sele
ct="." />
|
|
2025 |
|
<xsl:v
ariable na
me="VarSec
tion" sele
ct="." />
|
2009 |
|
|
|
2026 |
|
|
2010 |
|
<!-- R
esolve sec
tion prope
rties -->
|
|
2027 |
|
<!-- R
esolve sec
tion prope
rties -->
|
2011 |
|
<!--
-->
|
|
2028 |
|
<!--
-->
|
2012 |
|
<xsl:v
ariable na
me="VarRes
olvedSecti
onProperti
esAsXML">
|
|
2029 |
|
<xsl:v
ariable na
me="VarRes
olvedSecti
onProperti
esAsXML">
|
2013 |
|
<xsl:
call-templ
ate name="
Properties
-Table-Sec
tion-Resol
veContextR
ule">
|
|
2030 |
|
<xsl:
call-templ
ate name="
Properties
-Table-Sec
tion-Resol
veContextR
ule">
|
2014 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCon
textRule/w
wproject:P
roperties/
wwproject:
Property"
/>
|
|
2031 |
|
<xsl
:with-para
m name="Pa
ramPropert
ies" selec
t="$VarCon
textRule/w
wproject:P
roperties/
wwproject:
Property"
/>
|
2015 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tContext"
select="$P
aramTable"
/>
|
|
2032 |
|
<xsl
:with-para
m name="Pa
ramDocumen
tContext"
select="$P
aramTable"
/>
|
2016 |
|
<xsl
:with-para
m name="Pa
ramTable"
select="$P
aramTable"
/>
|
|
2033 |
|
<xsl
:with-para
m name="Pa
ramTable"
select="$P
aramTable"
/>
|
2017 |
|
<xsl
:with-para
m name="Pa
ramSection
" select="
$VarSectio
n" />
|
|
2034 |
|
<xsl
:with-para
m name="Pa
ramSection
" select="
$VarSectio
n" />
|
2018 |
|
</xsl
:call-temp
late>
|
|
2035 |
|
</xsl
:call-temp
late>
|
2019 |
|
</xsl:
variable>
|
|
2036 |
|
</xsl:
variable>
|
2020 |
|
<xsl:v
ariable na
me="VarRes
olvedSecti
onProperti
es" select
="msxsl:no
de-set($Va
rResolvedS
ectionProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
|
2037 |
|
<xsl:v
ariable na
me="VarRes
olvedSecti
onProperti
es" select
="msxsl:no
de-set($Va
rResolvedS
ectionProp
ertiesAsXM
L)/wwproje
ct:Propert
y" />
|
2021 |
|
|
|
2038 |
|
|
2022 |
|
<!-- P
rocess sec
tion rows
-->
|
|
2039 |
|
<!-- P
rocess sec
tion rows
-->
|
2023 |
|
<!--
-->
|
|
2040 |
|
<!--
-->
|
2024 |
|
<xsl:f
or-each se
lect="$Var
Section/ww
doc:TableR
ow">
|
|
2041 |
|
<xsl:f
or-each se
lect="$Var
Section/ww
doc:TableR
ow">
|
2025 |
|
<xsl:
variable n
ame="VarTa
bleRow" se
lect="." /
>
|
|
2042 |
|
<xsl:
variable n
ame="VarTa
bleRow" se
lect="." /
>
|
2026 |
|
<xsl:
variable n
ame="VarRo
wPosition"
select="p
osition()"
/>
|
|
2043 |
|
<xsl:
variable n
ame="VarRo
wPosition"
select="p
osition()"
/>
|
2027 |
|
|
|
2044 |
|
|
2028 |
|
<html
:tr>
|
|
2045 |
|
<html
:tr>
|
2029 |
|
|
|
2046 |
|
|
2030 |
|
<!--
Handle ta
ble level
vertical a
lign at ro
w level --
>
|
|
2047 |
|
<!--
Handle ta
ble level
vertical a
lign at ro
w level --
>
|
2031 |
|
<!--
--
>
|
|
2048 |
|
<!--
--
>
|
2032 |
|
<xsl
:if test="
string-len
gth($VarTa
bleVertica
lAlignment
) > 0">
|
|
2049 |
|
<xsl
:if test="
string-len
gth($VarTa
bleVertica
lAlignment
) > 0">
|
2033 |
|
<xs
l:attribut
e name="st
yle">
|
|
2050 |
|
<xs
l:attribut
e name="st
yle">
|
2034 |
|
<x
sl:value-o
f select="
concat('ve
rtical-ali
gn: ', $Va
rTableVert
icalAlignm
ent, ';')"
/>
|
|
2051 |
|
<x
sl:value-o
f select="
concat('ve
rtical-ali
gn: ', $Va
rTableVert
icalAlignm
ent, ';')"
/>
|
2035 |
|
</x
sl:attribu
te>
|
|
2052 |
|
</x
sl:attribu
te>
|
2036 |
|
</xs
l:if>
|
|
2053 |
|
</xs
l:if>
|
2037 |
|
|
|
2054 |
|
|
2038 |
|
<xsl
:for-each
select="$V
arTableRow
/wwdoc:Tab
leCell">
|
|
2055 |
|
<xsl
:for-each
select="$V
arTableRow
/wwdoc:Tab
leCell">
|
2039 |
|
<xs
l:variable
name="Var
TableCell"
select=".
" />
|
|
2056 |
|
<xs
l:variable
name="Var
TableCell"
select=".
" />
|
2040 |
|
<xs
l:variable
name="Var
CellPositi
on" select
="position
()" />
|
|
2057 |
|
<xs
l:variable
name="Var
CellPositi
on" select
="position
()" />
|
2041 |
|
|
|
2058 |
|
|
2042 |
|
<!-
- Resolve
cell prope
rties -->
|
|
2059 |
|
<!-
- Resolve
cell prope
rties -->
|
2043 |
|
<!-
-
-->
|
|
2060 |
|
<!-
-
-->
|
2044 |
|
<xs
l:variable
name="Var
ResolvedCe
llProperti
esAsXML">
|
|
2061 |
|
<xs
l:variable
name="Var
ResolvedCe
llProperti
esAsXML">
|
2045 |
|
<x
sl:call-te
mplate nam
e="Propert
ies-Table-
Cell-Resol
veProperti
es">
|
|
2062 |
|
<x
sl:call-te
mplate nam
e="Propert
ies-Table-
Cell-Resol
veProperti
es">
|
2046 |
|
<
xsl:with-p
aram name=
"ParamSect
ionPropert
ies" selec
t="$VarRes
olvedSecti
onProperti
es" />
|
|
2063 |
|
<
xsl:with-p
aram name=
"ParamSect
ionPropert
ies" selec
t="$VarRes
olvedSecti
onProperti
es" />
|
2047 |
|
<
xsl:with-p
aram name=
"ParamCell
Style" sel
ect="$VarT
ableCell/w
wdoc:Style
" />
|
|
2064 |
|
<
xsl:with-p
aram name=
"ParamCell
Style" sel
ect="$VarT
ableCell/w
wdoc:Style
" />
|
2048 |
|
<
xsl:with-p
aram name=
"ParamRowI
ndex" sele
ct="$VarRo
wPosition"
/>
|
|
2065 |
|
<
xsl:with-p
aram name=
"ParamRowI
ndex" sele
ct="$VarRo
wPosition"
/>
|
2049 |
|
<
xsl:with-p
aram name=
"ParamColu
mnIndex" s
elect="$Va
rCellPosit
ion" />
|
|
2066 |
|
<
xsl:with-p
aram name=
"ParamColu
mnIndex" s
elect="$Va
rCellPosit
ion" />
|
2050 |
|
</
xsl:call-t
emplate>
|
|
2067 |
|
</
xsl:call-t
emplate>
|
2051 |
|
|
|
2068 |
|
|
2052 |
|
<!
-- Width a
ttribute -
->
|
|
2069 |
|
<!
-- Width a
ttribute -
->
|
2053 |
|
<!
--
-
->
|
|
2070 |
|
<!
--
-
->
|
2054 |
|
<x
sl:for-eac
h select="
$VarTableC
ellWidths[
@id = $Var
TableCell/
@id][1]">
|
|
2071 |
|
<x
sl:for-eac
h select="
$VarTableC
ellWidths[
@id = $Var
TableCell/
@id][1]">
|
2055 |
|
<
xsl:variab
le name="V
arTableCel
lWidth" se
lect="." /
>
|
|
2072 |
|
<
xsl:variab
le name="V
arTableCel
lWidth" se
lect="." /
>
|
2056 |
|
|
|
2073 |
|
|
2057 |
|
<
wwproject:
Property N
ame="width
" Value="{
$VarTableC
ellWidth/@
width}" />
|
|
2074 |
|
<
wwproject:
Property N
ame="width
" Value="{
$VarTableC
ellWidth/@
width}" />
|
2058 |
|
</
xsl:for-ea
ch>
|
|
2075 |
|
</
xsl:for-ea
ch>
|
2059 |
|
</x
sl:variabl
e>
|
|
2076 |
|
</x
sl:variabl
e>
|
2060 |
|
<xs
l:variable
name="Var
ResolvedCe
llProperti
es" select
="msxsl:no
de-set($Va
rResolvedC
ellPropert
iesAsXML)/
wwproject:
Property"
/>
|
|
2077 |
|
<xs
l:variable
name="Var
ResolvedCe
llProperti
es" select
="msxsl:no
de-set($Va
rResolvedC
ellPropert
iesAsXML)/
wwproject:
Property"
/>
|
2061 |
|
|
|
2078 |
|
|
2062 |
|
<!-
- Valid CS
S properti
es -->
|
|
2079 |
|
<!-
- Valid CS
S properti
es -->
|
2063 |
|
<!-
-
-->
|
|
2080 |
|
<!-
-
-->
|
2064 |
|
<xs
l:variable
name="Var
TableCellC
SSProperti
esAsXML">
|
|
2081 |
|
<xs
l:variable
name="Var
TableCellC
SSProperti
esAsXML">
|
2065 |
|
<x
sl:call-te
mplate nam
e="CSS-Tra
nslateProj
ectPropert
ies">
|
|
2082 |
|
<x
sl:call-te
mplate nam
e="CSS-Tra
nslateProj
ectPropert
ies">
|
2066 |
|
<
xsl:with-p
aram name=
"ParamProp
erties" se
lect="$Var
ResolvedCe
llProperti
es" />
|
|
2083 |
|
<
xsl:with-p
aram name=
"ParamProp
erties" se
lect="$Var
ResolvedCe
llProperti
es" />
|
2067 |
|
<
xsl:with-p
aram name=
"ParamFrom
AbsoluteUR
I" select=
"$ParamSpl
it/@path"
/>
|
|
2084 |
|
<
xsl:with-p
aram name=
"ParamFrom
AbsoluteUR
I" select=
"$ParamSpl
it/@path"
/>
|
2068 |
|
<
xsl:with-p
aram name=
"ParamSpli
ts" select
="$ParamSp
lits" />
|
|
2085 |
|
<
xsl:with-p
aram name=
"ParamSpli
ts" select
="$ParamSp
lits" />
|
2069 |
|
</
xsl:call-t
emplate>
|
|
2086 |
|
</
xsl:call-t
emplate>
|
2070 |
|
</x
sl:variabl
e>
|
|
2087 |
|
</x
sl:variabl
e>
|
2071 |
|
<xs
l:variable
name="Var
TableCellC
SSProperti
es" select
="msxsl:no
de-set($Va
rTableCell
CSSPropert
iesAsXML)/
wwproject:
Property"
/>
|
|
2088 |
|
<xs
l:variable
name="Var
TableCellC
SSProperti
es" select
="msxsl:no
de-set($Va
rTableCell
CSSPropert
iesAsXML)/
wwproject:
Property"
/>
|
2072 |
|
|
|
2089 |
|
|
2073 |
|
<!-
- Inline C
SS propert
ies -->
|
|
2090 |
|
<!-
- Inline C
SS propert
ies -->
|
2074 |
|
<!-
-
-->
|
|
2091 |
|
<!-
-
-->
|
2075 |
|
<xs
l:variable
name="Var
InlineCSSP
roperties"
>
|
|
2092 |
|
<xs
l:variable
name="Var
InlineCSSP
roperties"
>
|
2076 |
|
<x
sl:call-te
mplate nam
e="CSS-Inl
inePropert
ies">
|
|
2093 |
|
<x
sl:call-te
mplate nam
e="CSS-Inl
inePropert
ies">
|
2077 |
|
<
xsl:with-p
aram name=
"ParamProp
erties" se
lect="$Var
TableCellC
SSProperti
es" />
|
|
2094 |
|
<
xsl:with-p
aram name=
"ParamProp
erties" se
lect="$Var
TableCellC
SSProperti
es" />
|
2078 |
|
</
xsl:call-t
emplate>
|
|
2095 |
|
</
xsl:call-t
emplate>
|
2079 |
|
</x
sl:variabl
e>
|
|
2096 |
|
</x
sl:variabl
e>
|
2080 |
|
|
|
2097 |
|
|
2081 |
|
<!-
- Calculat
e row span
-->
|
|
2098 |
|
<!-
- Calculat
e row span
-->
|
2082 |
|
<!-
-
-->
|
|
2099 |
|
<!-
-
-->
|
2083 |
|
<xs
l:variable
name="Var
RowSpan">
|
|
2100 |
|
<xs
l:variable
name="Var
RowSpan">
|
2084 |
|
<x
sl:variabl
e name="Va
rRowSpanHi
nt" select
="$VarTabl
eCell/wwdo
c:Style/ww
doc:Attrib
ute[@name
= 'row-spa
n']/@value
" />
|
|
2101 |
|
<x
sl:variabl
e name="Va
rRowSpanHi
nt" select
="$VarTabl
eCell/wwdo
c:Style/ww
doc:Attrib
ute[@name
= 'row-spa
n']/@value
" />
|
2085 |
|
<x
sl:choose>
|
|
2102 |
|
<x
sl:choose>
|
2086 |
|
<
xsl:when t
est="strin
g-length($
VarRowSpan
Hint) >
0">
|
|
2103 |
|
<
xsl:when t
est="strin
g-length($
VarRowSpan
Hint) >
0">
|
2087 |
|
<xsl:value
-of select
="$VarRowS
panHint" /
>
|
|
2104 |
|
<xsl:value
-of select
="$VarRowS
panHint" /
>
|
2088 |
|
<
/xsl:when>
|
|
2105 |
|
<
/xsl:when>
|
2089 |
|
<
xsl:otherw
ise>
|
|
2106 |
|
<
xsl:otherw
ise>
|
2090 |
|
<xsl:value
-of select
="'0'" />
|
|
2107 |
|
<xsl:value
-of select
="'0'" />
|
2091 |
|
<
/xsl:other
wise>
|
|
2108 |
|
<
/xsl:other
wise>
|
2092 |
|
</
xsl:choose
>
|
|
2109 |
|
</
xsl:choose
>
|
2093 |
|
</x
sl:variabl
e>
|
|
2110 |
|
</x
sl:variabl
e>
|
2094 |
|
|
|
2111 |
|
|
2095 |
|
<!-
- Calculat
e column s
pan -->
|
|
2112 |
|
<!-
- Calculat
e column s
pan -->
|
2096 |
|
<!-
-
-->
|
|
2113 |
|
<!-
-
-->
|
2097 |
|
<xs
l:variable
name="Var
ColumnSpan
">
|
|
2114 |
|
<xs
l:variable
name="Var
ColumnSpan
">
|
2098 |
|
<x
sl:variabl
e name="Va
rColumnSpa
nHint" sel
ect="$VarT
ableCell/w
wdoc:Style
/wwdoc:Att
ribute[@na
me = 'colu
mn-span']/
@value" />
|
|
2115 |
|
<x
sl:variabl
e name="Va
rColumnSpa
nHint" sel
ect="$VarT
ableCell/w
wdoc:Style
/wwdoc:Att
ribute[@na
me = 'colu
mn-span']/
@value" />
|
2099 |
|
<x
sl:choose>
|
|
2116 |
|
<x
sl:choose>
|
2100 |
|
<
xsl:when t
est="strin
g-length($
VarColumnS
panHint) &
gt; 0">
|
|
2117 |
|
<
xsl:when t
est="strin
g-length($
VarColumnS
panHint) &
gt; 0">
|
2101 |
|
<xsl:value
-of select
="$VarColu
mnSpanHint
" />
|
|
2118 |
|
<xsl:value
-of select
="$VarColu
mnSpanHint
" />
|
2102 |
|
<
/xsl:when>
|
|
2119 |
|
<
/xsl:when>
|
2103 |
|
<
xsl:otherw
ise>
|
|
2120 |
|
<
xsl:otherw
ise>
|
2104 |
|
<xsl:value
-of select
="'0'" />
|
|
2121 |
|
<xsl:value
-of select
="'0'" />
|
2105 |
|
<
/xsl:other
wise>
|
|
2122 |
|
<
/xsl:other
wise>
|
2106 |
|
</
xsl:choose
>
|
|
2123 |
|
</
xsl:choose
>
|
2107 |
|
</x
sl:variabl
e>
|
|
2124 |
|
</x
sl:variabl
e>
|
2108 |
|
|
|
2125 |
|
|
2109 |
|
<!-
- Emit cel
l -->
|
|
2126 |
|
<!-
- Emit cel
l -->
|
2110 |
|
<!-
-
-->
|
|
2127 |
|
<!-
-
-->
|
2111 |
|
<ht
ml:td>
|
|
2128 |
|
<ht
ml:td>
|
2112 |
|
<!
-- Style a
ttribute -
->
|
|
2129 |
|
<!
-- Style a
ttribute -
->
|
2113 |
|
<!
--
-
->
|
|
2130 |
|
<!
--
-
->
|
2114 |
|
<x
sl:if test
="string-l
ength($Var
InlineCSSP
roperties)
> 0">
|
|
2131 |
|
<x
sl:if test
="string-l
ength($Var
InlineCSSP
roperties)
> 0">
|
2115 |
|
<
xsl:attrib
ute name="
style">
|
|
2132 |
|
<
xsl:attrib
ute name="
style">
|
2116 |
|
<xsl:value
-of select
="$VarInli
neCSSPrope
rties" />
|
|
2133 |
|
<xsl:value
-of select
="$VarInli
neCSSPrope
rties" />
|
2117 |
|
<
/xsl:attri
bute>
|
|
2134 |
|
<
/xsl:attri
bute>
|
2118 |
|
</
xsl:if>
|
|
2135 |
|
</
xsl:if>
|
2119 |
|
|
|
2136 |
|
|
2120 |
|
<!
-- Row spa
n attribut
e -->
|
|
2137 |
|
<!
-- Row spa
n attribut
e -->
|
2121 |
|
<!
--
-->
|
|
2138 |
|
<!
--
-->
|
2122 |
|
<x
sl:if test
="number($
VarRowSpan
) > 0">
|
|
2139 |
|
<x
sl:if test
="number($
VarRowSpan
) > 0">
|
2123 |
|
<
xsl:attrib
ute name="
rowspan">
|
|
2140 |
|
<
xsl:attrib
ute name="
rowspan">
|
2124 |
|
<xsl:value
-of select
="$VarRowS
pan" />
|
|
2141 |
|
<xsl:value
-of select
="$VarRowS
pan" />
|
2125 |
|
<
/xsl:attri
bute>
|
|
2142 |
|
<
/xsl:attri
bute>
|
2126 |
|
</
xsl:if>
|
|
2143 |
|
</
xsl:if>
|
2127 |
|
|
|
2144 |
|
|
2128 |
|
<!
-- Column
span attri
bute -->
|
|
2145 |
|
<!
-- Column
span attri
bute -->
|
2129 |
|
<!
--
-->
|
|
2146 |
|
<!
--
-->
|
2130 |
|
<x
sl:if test
="number($
VarColumnS
pan) >
0">
|
|
2147 |
|
<x
sl:if test
="number($
VarColumnS
pan) >
0">
|
2131 |
|
<
xsl:attrib
ute name="
colspan">
|
|
2148 |
|
<
xsl:attrib
ute name="
colspan">
|
2132 |
|
<xsl:value
-of select
="$VarColu
mnSpan" />
|
|
2149 |
|
<xsl:value
-of select
="$VarColu
mnSpan" />
|
2133 |
|
<
/xsl:attri
bute>
|
|
2150 |
|
<
/xsl:attri
bute>
|
2134 |
|
</
xsl:if>
|
|
2151 |
|
</
xsl:if>
|
2135 |
|
|
|
2152 |
|
|
2136 |
|
<!
-- Recurse
-->
|
|
2153 |
|
<!
-- Recurse
-->
|
2137 |
|
<!
--
-->
|
|
2154 |
|
<!
--
-->
|
2138 |
|
<x
sl:apply-t
emplates s
elect="./*
" mode="ww
mode:conte
nt">
|
|
2155 |
|
<x
sl:apply-t
emplates s
elect="./*
" mode="ww
mode:conte
nt">
|
2139 |
|
<
xsl:with-p
aram name=
"ParamSpli
ts" select
="$ParamSp
lits" />
|
|
2156 |
|
<
xsl:with-p
aram name=
"ParamSpli
ts" select
="$ParamSp
lits" />
|
2140 |
|
<
xsl:with-p
aram name=
"ParamCarg
o" select=
"$VarCargo
" />
|
|
2157 |
|
<
xsl:with-p
aram name=
"ParamCarg
o" select=
"$VarCargo
" />
|
2141 |
|
<
xsl:with-p
aram name=
"ParamLink
s" select=
"$ParamLin
ks" />
|
|
2158 |
|
<
xsl:with-p
aram name=
"ParamLink
s" select=
"$ParamLin
ks" />
|
2142 |
|
<
xsl:with-p
aram name=
"ParamTOCD
ata" selec
t="$ParamT
OCData" />
|
|
2159 |
|
<
xsl:with-p
aram name=
"ParamTOCD
ata" selec
t="$ParamT
OCData" />
|
2143 |
|
<
xsl:with-p
aram name=
"ParamSpli
t" select=
"$ParamSpl
it" />
|
|
2160 |
|
<
xsl:with-p
aram name=
"ParamSpli
t" select=
"$ParamSpl
it" />
|
2144 |
|
</
xsl:apply-
templates>
|
|
2161 |
|
</
xsl:apply-
templates>
|
2145 |
|
</h
tml:td>
|
|
2162 |
|
</h
tml:td>
|
2146 |
|
</xs
l:for-each
>
|
|
2163 |
|
</xs
l:for-each
>
|
2147 |
|
|
|
2164 |
|
|
2148 |
|
</htm
l:tr>
|
|
2165 |
|
</htm
l:tr>
|
2149 |
|
</xsl:
for-each>
|
|
2166 |
|
</xsl:
for-each>
|
2150 |
|
</xsl:f
or-each>
|
|
2167 |
|
</xsl:f
or-each>
|
2151 |
|
|
|
2168 |
|
|
2152 |
|
</html:t
able>
|
|
2169 |
|
</html:t
able>
|
2153 |
|
|
|
2170 |
|
|
2154 |
|
<!-- Tab
le Footnot
es -->
|
|
2171 |
|
<!-- Tab
le Footnot
es -->
|
2155 |
|
<!--
-->
|
|
2172 |
|
<!--
-->
|
2156 |
|
<xsl:cal
l-template
name="Con
tent-Notes
">
|
|
2173 |
|
<xsl:cal
l-template
name="Con
tent-Notes
">
|
2157 |
|
<xsl:wi
th-param n
ame="Param
Notes" sel
ect="$VarN
otes" />
|
|
2174 |
|
<xsl:wi
th-param n
ame="Param
Notes" sel
ect="$VarN
otes" />
|
2158 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
|
2175 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
2159 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$VarC
argo" />
|
|
2176 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$VarC
argo" />
|
2160 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
|
2177 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
2161 |
|
<xsl:wi
th-param n
ame="Param
TOCData" s
elect="$Pa
ramTOCData
" />
|
|
2178 |
|
<xsl:wi
th-param n
ame="Param
TOCData" s
elect="$Pa
ramTOCData
" />
|
2162 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
|
2179 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
2163 |
|
</xsl:ca
ll-templat
e>
|
|
2180 |
|
</xsl:ca
ll-templat
e>
|
2164 |
|
</xsl:tem
plate>
|
|
2181 |
|
</xsl:tem
plate>
|
2165 |
|
|
|
2182 |
|
|
2166 |
|
|
|
2183 |
|
|
2167 |
|
<xsl:temp
late match
="wwdoc:Fr
ame" mode=
"wwmode:co
ntent">
|
|
2184 |
|
<xsl:temp
late match
="wwdoc:Fr
ame" mode=
"wwmode:co
ntent">
|
2168 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
2185 |
|
<xsl:par
am name="P
aramSplits
" />
|
2169 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
2186 |
|
<xsl:par
am name="P
aramCargo"
/>
|
2170 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
2187 |
|
<xsl:par
am name="P
aramLinks"
/>
|
2171 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
|
2188 |
|
<xsl:par
am name="P
aramTOCDat
a" />
|
2172 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
2189 |
|
<xsl:par
am name="P
aramSplit"
/>
|
2173 |
|
|
|
2190 |
|
|
2174 |
|
<!-- Abo
rted? -->
|
|
2191 |
|
<!-- Abo
rted? -->
|
2175 |
|
<!--
-->
|
|
2192 |
|
<!--
-->
|
2176 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
|
2193 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
2177 |
|
<xsl:ca
ll-templat
e name="Fr
ame">
|
|
2194 |
|
<xsl:ca
ll-templat
e name="Fr
ame">
|
2178 |
|
<xsl:w
ith-param
name="Para
mFrame" se
lect="." /
>
|
|
2195 |
|
<xsl:w
ith-param
name="Para
mFrame" se
lect="." /
>
|
2179 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
2196 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
2180 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
|
2197 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
2181 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
|
2198 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
2182 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
|
2199 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
2183 |
|
</xsl:c
all-templa
te>
|
|
2200 |
|
</xsl:c
all-templa
te>
|
2184 |
|
</xsl:if
>
|
|
2201 |
|
</xsl:if
>
|
2185 |
|
</xsl:tem
plate>
|
|
2202 |
|
</xsl:tem
plate>
|
2186 |
|
|
|
2203 |
|
|
2187 |
|
|
|
2204 |
|
|
2188 |
|
<xsl:temp
late match
="wwdoc:Fr
ame" mode=
"wwmode:te
xtrun">
|
|
2205 |
|
<xsl:temp
late match
="wwdoc:Fr
ame" mode=
"wwmode:te
xtrun">
|
2189 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
2206 |
|
<xsl:par
am name="P
aramSplits
" />
|
2190 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
2207 |
|
<xsl:par
am name="P
aramCargo"
/>
|
2191 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
2208 |
|
<xsl:par
am name="P
aramLinks"
/>
|
2192 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
2209 |
|
<xsl:par
am name="P
aramSplit"
/>
|
2193 |
|
|
|
2210 |
|
|
2194 |
|
<xsl:cal
l-template
name="Fra
me">
|
|
2211 |
|
<xsl:cal
l-template
name="Fra
me">
|
2195 |
|
<xsl:wi
th-param n
ame="Param
Frame" sel
ect="." />
|
|
2212 |
|
<xsl:wi
th-param n
ame="Param
Frame" sel
ect="." />
|
2196 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
|
2213 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Par
amSplits"
/>
|
2197 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$Para
mCargo" />
|
|
2214 |
|
<xsl:wi
th-param n
ame="Param
Cargo" sel
ect="$Para
mCargo" />
|
2198 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
|
2215 |
|
<xsl:wi
th-param n
ame="Param
Links" sel
ect="$Para
mLinks" />
|
2199 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
|
2216 |
|
<xsl:wi
th-param n
ame="Param
Split" sel
ect="$Para
mSplit" />
|
2200 |
|
</xsl:ca
ll-templat
e>
|
|
2217 |
|
</xsl:ca
ll-templat
e>
|
2201 |
|
</xsl:tem
plate>
|
|
2218 |
|
</xsl:tem
plate>
|
2202 |
|
|
|
2219 |
|
|
2203 |
|
|
|
2220 |
|
|
2204 |
|
<xsl:temp
late name=
"Frame">
|
|
2221 |
|
<xsl:temp
late name=
"Frame">
|
2205 |
|
<xsl:par
am name="P
aramFrame"
/>
|
|
2222 |
|
<xsl:par
am name="P
aramFrame"
/>
|
2206 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
2223 |
|
<xsl:par
am name="P
aramSplits
" />
|
2207 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
2224 |
|
<xsl:par
am name="P
aramCargo"
/>
|
2208 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
2225 |
|
<xsl:par
am name="P
aramLinks"
/>
|
2209 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
2226 |
|
<xsl:par
am name="P
aramSplit"
/>
|
2210 |
|
|
|
2227 |
|
|
2211 |
|
<!-- Get
splits fr
ame -->
|
|
2228 |
|
<!-- Get
splits fr
ame -->
|
2212 |
|
<!--
-->
|
|
2229 |
|
<!--
-->
|
2213 |
|
<xsl:for
-each sele
ct="$Param
Splits[1]"
>
|
|
2230 |
|
<xsl:for
-each sele
ct="$Param
Splits[1]"
>
|
2214 |
|
<xsl:va
riable nam
e="VarSpli
tsFrame" s
elect="key
('wwsplits
-frames-by
-id', $Par
amFrame/@i
d)[@docume
ntID = $Pa
ramSplit/@
documentID
]" />
|
|
2231 |
|
<xsl:va
riable nam
e="VarSpli
tsFrame" s
elect="key
('wwsplits
-frames-by
-id', $Par
amFrame/@i
d)[@docume
ntID = $Pa
ramSplit/@
documentID
]" />
|
2215 |
|
|
|
2232 |
|
|
2216 |
|
<!-- Fr
ame known?
-->
|
|
2233 |
|
<!-- Fr
ame known?
-->
|
2217 |
|
<!--
-->
|
|
2234 |
|
<!--
-->
|
2218 |
|
<xsl:if
test="cou
nt($VarSpl
itsFrame)
= 1">
|
|
2235 |
|
<xsl:if
test="cou
nt($VarSpl
itsFrame)
= 1">
|
2219 |
|
<!-- E
mit image
-->
|
|
2236 |
|
<!-- E
mit image
-->
|
2220 |
|
<!--
-->
|
|
2237 |
|
<!--
-->
|
2221 |
|
<!-- N
ote number
ing -->
|
|
2238 |
|
<!-- N
ote number
ing -->
|
2222 |
|
<!--
-->
|
|
2239 |
|
<!--
-->
|
2223 |
|
<xsl:v
ariable na
me="VarNot
es" select
="$ParamFr
ame//wwdoc
:Note" />
|
|
2240 |
|
<xsl:v
ariable na
me="VarNot
es" select
="$ParamFr
ame//wwdoc
:Note" />
|
2224 |
|
<xsl:v
ariable na
me="VarNot
eNumbering
AsXML">
|
|
2241 |
|
<xsl:v
ariable na
me="VarNot
eNumbering
AsXML">
|
2225 |
|
<xsl:
call-templ
ate name="
Notes-Numb
er">
|
|
2242 |
|
<xsl:
call-templ
ate name="
Notes-Numb
er">
|
2226 |
|
<xsl
:with-para
m name="Pa
ramNotes"
select="$V
arNotes" /
>
|
|
2243 |
|
<xsl
:with-para
m name="Pa
ramNotes"
select="$V
arNotes" /
>
|
2227 |
|
</xsl
:call-temp
late>
|
|
2244 |
|
</xsl
:call-temp
late>
|
2228 |
|
</xsl:
variable>
|
|
2245 |
|
</xsl:
variable>
|
2229 |
|
<xsl:v
ariable na
me="VarNot
eNumbering
" select="
msxsl:node
-set($VarN
oteNumberi
ngAsXML)"
/>
|
|
2246 |
|
<xsl:v
ariable na
me="VarNot
eNumbering
" select="
msxsl:node
-set($VarN
oteNumberi
ngAsXML)"
/>
|
2230 |
|
|
|
2247 |
|
|
2231 |
|
<!-- F
rame cargo
-->
|
|
2248 |
|
<!-- F
rame cargo
-->
|
2232 |
|
<!--
-->
|
|
2249 |
|
<!--
-->
|
2233 |
|
<xsl:v
ariable na
me="VarCar
go" select
="$ParamCa
rgo/*[loca
l-name() !
= 'NoteNum
bering']/.
. | $VarNo
teNumberin
g" />
|
|
2250 |
|
<xsl:v
ariable na
me="VarCar
go" select
="$ParamCa
rgo/*[loca
l-name() !
= 'NoteNum
bering']/.
. | $VarNo
teNumberin
g" />
|
2234 |
|
|
|
2251 |
|
|
2235 |
|
<!-- E
mit markup
-->
|
|
2252 |
|
<!-- E
mit markup
-->
|
2236 |
|
<!--
-->
|
|
2253 |
|
<!--
-->
|
2237 |
|
<xsl:c
all-templa
te name="F
rame-Marku
p">
|
|
2254 |
|
<xsl:c
all-templa
te name="F
rame-Marku
p">
|
2238 |
|
<xsl:
with-param
name="Par
amFrame" s
elect="$Pa
ramFrame"
/>
|
|
2255 |
|
<xsl:
with-param
name="Par
amFrame" s
elect="$Pa
ramFrame"
/>
|
2239 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
|
2256 |
|
<xsl:
with-param
name="Par
amSplits"
select="$P
aramSplits
" />
|
2240 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Va
rCargo" />
|
|
2257 |
|
<xsl:
with-param
name="Par
amCargo" s
elect="$Va
rCargo" />
|
2241 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
|
2258 |
|
<xsl:
with-param
name="Par
amLinks" s
elect="$Pa
ramLinks"
/>
|
2242 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
|
2259 |
|
<xsl:
with-param
name="Par
amSplit" s
elect="$Pa
ramSplit"
/>
|
2243 |
|
<xsl:
with-param
name="Par
amSplitsFr
ame" selec
t="$VarSpl
itsFrame"
/>
|
|
2260 |
|
<xsl:
with-param
name="Par
amSplitsFr
ame" selec
t="$VarSpl
itsFrame"
/>
|
2244 |
|
</xsl:
call-templ
ate>
|
|
2261 |
|
</xsl:
call-templ
ate>
|
2245 |
|
</xsl:i
f>
|
|
2262 |
|
</xsl:i
f>
|
2246 |
|
</xsl:fo
r-each>
|
|
2263 |
|
</xsl:fo
r-each>
|
2247 |
|
</xsl:tem
plate>
|
|
2264 |
|
</xsl:tem
plate>
|
2248 |
|
|
|
2265 |
|
|
2249 |
|
|
|
2266 |
|
|
2250 |
|
<xsl:temp
late name=
"Frame-Mar
kup">
|
|
2267 |
|
<xsl:temp
late name=
"Frame-Mar
kup">
|
2251 |
|
<xsl:par
am name="P
aramFrame"
/>
|
|
2268 |
|
<xsl:par
am name="P
aramFrame"
/>
|
2252 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
2269 |
|
<xsl:par
am name="P
aramSplits
" />
|
2253 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
2270 |
|
<xsl:par
am name="P
aramCargo"
/>
|
2254 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
2271 |
|
<xsl:par
am name="P
aramLinks"
/>
|
2255 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
2272 |
|
<xsl:par
am name="P
aramSplit"
/>
|
2256 |
|
<xsl:par
am name="P
aramSplits
Frame" />
|
|
2273 |
|
<xsl:par
am name="P
aramSplits
Frame" />
|
2257 |
|
|
|
2274 |
|
|
2258 |
|
<!-- Con
text Rule
-->
|
|
2275 |
|
<!-- Con
text Rule
-->
|
2259 |
|
<!--
-->
|
|
2276 |
|
<!--
-->
|
2260 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Graphic'
, $ParamSp
litsFrame/
@stylename
, $ParamSp
litsFrame/
@documentI
D, $ParamS
plitsFrame
/@id)" />
|
|
2277 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Graphic'
, $ParamSp
litsFrame/
@stylename
, $ParamSp
litsFrame/
@documentI
D, $ParamS
plitsFrame
/@id)" />
|
2261 |
|
|
|
2278 |
|
|
2262 |
|
<!-- Gen
erate? -->
|
|
2279 |
|
<!-- Gen
erate? -->
|
2263 |
|
<!--
-->
|
|
2280 |
|
<!--
-->
|
2264 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/>
|
|
2281 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/>
|
2265 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" />
|
|
2282 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" />
|
2266 |
|
<xsl:if
test="$Var
GenerateOu
tput">
|
|
2283 |
|
<xsl:if
test="$Var
GenerateOu
tput">
|
2267 |
|
<!-- A
ccess imag
e info -->
|
|
2284 |
|
<!-- A
ccess imag
e info -->
|
2268 |
|
<!--
-->
|
|
2285 |
|
<!--
-->
|
2269 |
|
<xsl:v
ariable na
me="VarIma
geInfo" se
lect="wwim
aging:GetI
nfo($Param
SplitsFram
e/@path)"
/>
|
|
2286 |
|
<xsl:v
ariable na
me="VarIma
geInfo" se
lect="wwim
aging:GetI
nfo($Param
SplitsFram
e/@path)"
/>
|
2270 |
|
|
|
2287 |
|
|
2271 |
|
<!-- De
termine th
umbnail --
>
|
|
2288 |
|
<!-- De
termine th
umbnail --
>
|
2272 |
|
<!--
--
>
|
|
2289 |
|
<!--
--
>
|
2273 |
|
<!-- De
termine th
umbnail wi
dth/height
limits --
>
|
|
2290 |
|
<!-- De
termine th
umbnail wi
dth/height
limits --
>
|
2274 |
|
<!--
--
>
|
|
2291 |
|
<!--
--
>
|
2275 |
|
<xsl:va
riable nam
e="VarThum
bnailWidth
Option">
|
|
2292 |
|
<xsl:va
riable nam
e="VarThum
bnailWidth
Option">
|
2276 |
|
<xsl:c
all-templa
te name="I
mages-MaxS
izeOption"
>
|
|
2293 |
|
<xsl:c
all-templa
te name="I
mages-MaxS
izeOption"
>
|
2277 |
|
<xsl:
with-param
name="Par
amMaxSizeO
ptionValue
" select="
$VarContex
tRule/wwpr
oject:Opti
ons/wwproj
ect:Option
[@Name = '
thumbnail-
width']/@V
alue" />
|
|
2294 |
|
<xsl:
with-param
name="Par
amMaxSizeO
ptionValue
" select="
$VarContex
tRule/wwpr
oject:Opti
ons/wwproj
ect:Option
[@Name = '
thumbnail-
width']/@V
alue" />
|
2278 |
|
</xsl:
call-templ
ate>
|
|
2295 |
|
</xsl:
call-templ
ate>
|
2279 |
|
</xsl:v
ariable>
|
|
2296 |
|
</xsl:v
ariable>
|
2280 |
|
|
|
2297 |
|
|
2281 |
|
<xsl:va
riable nam
e="VarThum
bnailHeigh
tOption">
|
|
2298 |
|
<xsl:va
riable nam
e="VarThum
bnailHeigh
tOption">
|
2282 |
|
<xsl:c
all-templa
te name="I
mages-MaxS
izeOption"
>
|
|
2299 |
|
<xsl:c
all-templa
te name="I
mages-MaxS
izeOption"
>
|
2283 |
|
<xsl:
with-param
name="Par
amMaxSizeO
ptionValue
" select="
$VarContex
tRule/wwpr
oject:Opti
ons/wwproj
ect:Option
[@Name = '
thumbnail-
height']/@
Value" />
|
|
2300 |
|
<xsl:
with-param
name="Par
amMaxSizeO
ptionValue
" select="
$VarContex
tRule/wwpr
oject:Opti
ons/wwproj
ect:Option
[@Name = '
thumbnail-
height']/@
Value" />
|
2284 |
|
</xsl:
call-templ
ate>
|
|
2301 |
|
</xsl:
call-templ
ate>
|
2285 |
|
</xsl:v
ariable>
|
|
2302 |
|
</xsl:v
ariable>
|
2286 |
|
|
|
2303 |
|
|
2287 |
|
<!-- De
termine sc
aling rati
o -->
|
|
2304 |
|
<!-- De
termine sc
aling rati
o -->
|
2288 |
|
<!--
-->
|
|
2305 |
|
<!--
-->
|
2289 |
|
<xsl:va
riable nam
e="VarScal
ingRatio">
|
|
2306 |
|
<xsl:va
riable nam
e="VarScal
ingRatio">
|
2290 |
|
<xsl:v
ariable na
me="VarWid
thRatio" s
elect="$Va
rThumbnail
WidthOptio
n div $Var
ImageInfo/
@width" />
|
|
2307 |
|
<xsl:v
ariable na
me="VarWid
thRatio" s
elect="$Va
rThumbnail
WidthOptio
n div $Var
ImageInfo/
@width" />
|
2291 |
|
<xsl:v
ariable na
me="VarHei
ghtRatio"
select="$V
arThumbnai
lHeightOpt
ion div $V
arImageInf
o/@height"
/>
|
|
2308 |
|
<xsl:v
ariable na
me="VarHei
ghtRatio"
select="$V
arThumbnai
lHeightOpt
ion div $V
arImageInf
o/@height"
/>
|
2292 |
|
|
|
2309 |
|
|
2293 |
|
<xsl:c
hoose>
|
|
2310 |
|
<xsl:c
hoose>
|
2294 |
|
<xsl:
when test=
"($VarWidt
hRatio >
; 0) and (
$VarHeight
Ratio >
0)">
|
|
2311 |
|
<xsl:
when test=
"($VarWidt
hRatio >
; 0) and (
$VarHeight
Ratio >
0)">
|
2295 |
|
<xsl
:choose>
|
|
2312 |
|
<xsl
:choose>
|
2296 |
|
<xs
l:when tes
t="$VarWid
thRatio &l
t; $VarHei
ghtRatio">
|
|
2313 |
|
<xs
l:when tes
t="$VarWid
thRatio &l
t; $VarHei
ghtRatio">
|
2297 |
|
<x
sl:value-o
f select="
$VarWidthR
atio" />
|
|
2314 |
|
<x
sl:value-o
f select="
$VarWidthR
atio" />
|
2298 |
|
</x
sl:when>
|
|
2315 |
|
</x
sl:when>
|
2299 |
|
|
|
2316 |
|
|
2300 |
|
<xs
l:otherwis
e>
|
|
2317 |
|
<xs
l:otherwis
e>
|
2301 |
|
<x
sl:value-o
f select="
$VarHeight
Ratio" />
|
|
2318 |
|
<x
sl:value-o
f select="
$VarHeight
Ratio" />
|
2302 |
|
</x
sl:otherwi
se>
|
|
2319 |
|
</x
sl:otherwi
se>
|
2303 |
|
</xs
l:choose>
|
|
2320 |
|
</xs
l:choose>
|
2304 |
|
</xsl
:when>
|
|
2321 |
|
</xsl
:when>
|
2305 |
|
|
|
2322 |
|
|
2306 |
|
<xsl:
when test=
"$VarWidth
Ratio >
0">
|
|
2323 |
|
<xsl:
when test=
"$VarWidth
Ratio >
0">
|
2307 |
|
<xsl
:value-of
select="$V
arWidthRat
io" />
|
|
2324 |
|
<xsl
:value-of
select="$V
arWidthRat
io" />
|
2308 |
|
</xsl
:when>
|
|
2325 |
|
</xsl
:when>
|
2309 |
|
|
|
2326 |
|
|
2310 |
|
<xsl:
when test=
"$VarHeigh
tRatio >
; 0">
|
|
2327 |
|
<xsl:
when test=
"$VarHeigh
tRatio >
; 0">
|
2311 |
|
<xsl
:value-of
select="$V
arHeightRa
tio" />
|
|
2328 |
|
<xsl
:value-of
select="$V
arHeightRa
tio" />
|
2312 |
|
</xsl
:when>
|
|
2329 |
|
</xsl
:when>
|
2313 |
|
|
|
2330 |
|
|
2314 |
|
<xsl:
otherwise>
|
|
2331 |
|
<xsl:
otherwise>
|
2315 |
|
<xsl
:value-of
select="1.
0" />
|
|
2332 |
|
<xsl
:value-of
select="1.
0" />
|
2316 |
|
</xsl
:otherwise
>
|
|
2333 |
|
</xsl
:otherwise
>
|
2317 |
|
</xsl:
choose>
|
|
2334 |
|
</xsl:
choose>
|
2318 |
|
</xsl:v
ariable>
|
|
2335 |
|
</xsl:v
ariable>
|
2319 |
|
|
|
2336 |
|
|
2320 |
|
<!-- Is
as thumbn
ail? -->
|
|
2337 |
|
<!-- Is
as thumbn
ail? -->
|
2321 |
|
<!--
-->
|
|
2338 |
|
<!--
-->
|
2322 |
|
<xsl:va
riable nam
e="VarThum
bnail" sel
ect="($Var
ScalingRat
io > 0.
0) and ($V
arScalingR
atio <
1.0)" />
|
|
2339 |
|
<xsl:va
riable nam
e="VarThum
bnail" sel
ect="($Var
ScalingRat
io > 0.
0) and ($V
arScalingR
atio <
1.0)" />
|
2323 |
|
|
|
2340 |
|
|
2324 |
|
<!-- Em
it image -
->
|
|
2341 |
|
<!-- Em
it image -
->
|
2325 |
|
<!--
-
->
|
|
2342 |
|
<!--
-
->
|
2326 |
|
<xsl:ca
ll-templat
e name="Fr
ame-Markup
-All">
|
|
2343 |
|
<xsl:ca
ll-templat
e name="Fr
ame-Markup
-All">
|
2327 |
|
<xsl:w
ith-param
name="Para
mFrame" se
lect="$Par
amFrame" /
>
|
|
2344 |
|
<xsl:w
ith-param
name="Para
mFrame" se
lect="$Par
amFrame" /
>
|
2328 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
2345 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
2329 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
|
2346 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
2330 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
|
2347 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
2331 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
|
2348 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
2332 |
|
<xsl:w
ith-param
name="Para
mSplitsFra
me" select
="$ParamSp
litsFrame"
/>
|
|
2349 |
|
<xsl:w
ith-param
name="Para
mSplitsFra
me" select
="$ParamSp
litsFrame"
/>
|
2333 |
|
<xsl:w
ith-param
name="Para
mContextRu
le" select
="$VarCont
extRule" /
>
|
|
2350 |
|
<xsl:w
ith-param
name="Para
mContextRu
le" select
="$VarCont
extRule" /
>
|
2334 |
|
<xsl:w
ith-param
name="Para
mImageInfo
" select="
$VarImageI
nfo" />
|
|
2351 |
|
<xsl:w
ith-param
name="Para
mImageInfo
" select="
$VarImageI
nfo" />
|
2335 |
|
<xsl:w
ith-param
name="Para
mThumbnail
" select="
$VarThumbn
ail" />
|
|
2352 |
|
<xsl:w
ith-param
name="Para
mThumbnail
" select="
$VarThumbn
ail" />
|
2336 |
|
<xsl:w
ith-param
name="Para
mScalingRa
tio" selec
t="$VarSca
lingRatio"
/>
|
|
2353 |
|
<xsl:w
ith-param
name="Para
mScalingRa
tio" selec
t="$VarSca
lingRatio"
/>
|
2337 |
|
</xsl:c
all-templa
te>
|
|
2354 |
|
</xsl:c
all-templa
te>
|
2338 |
|
</xsl:if
>
|
|
2355 |
|
</xsl:if
>
|
2339 |
|
</xsl:tem
plate>
|
|
2356 |
|
</xsl:tem
plate>
|
2340 |
|
|
|
2357 |
|
|
2341 |
|
|
|
2358 |
|
|
2342 |
|
<xsl:temp
late name=
"Frame-Mar
kup-All">
|
|
2359 |
|
<xsl:temp
late name=
"Frame-Mar
kup-All">
|
2343 |
|
<xsl:par
am name="P
aramFrame"
/>
|
|
2360 |
|
<xsl:par
am name="P
aramFrame"
/>
|
2344 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
2361 |
|
<xsl:par
am name="P
aramSplits
" />
|
2345 |
|
<xsl:par
am name="P
aramCargo"
/>
|
|
2362 |
|
<xsl:par
am name="P
aramCargo"
/>
|
2346 |
|
<xsl:par
am name="P
aramLinks"
/>
|
|
2363 |
|
<xsl:par
am name="P
aramLinks"
/>
|
2347 |
|
<xsl:par
am name="P
aramSplit"
/>
|
|
2364 |
|
<xsl:par
am name="P
aramSplit"
/>
|
2348 |
|
<xsl:par
am name="P
aramSplits
Frame" />
|
|
2365 |
|
<xsl:par
am name="P
aramSplits
Frame" />
|
2349 |
|
<xsl:par
am name="P
aramContex
tRule" />
|
|
2366 |
|
<xsl:par
am name="P
aramContex
tRule" />
|
2350 |
|
<xsl:par
am name="P
aramImageI
nfo" />
|
|
2367 |
|
<xsl:par
am name="P
aramImageI
nfo" />
|
2351 |
|
<xsl:par
am name="P
aramThumbn
ail" />
|
|
2368 |
|
<xsl:par
am name="P
aramThumbn
ail" />
|
2352 |
|
<xsl:par
am name="P
aramScalin
gRatio" />
|
|
2369 |
|
<xsl:par
am name="P
aramScalin
gRatio" />
|
2353 |
|
|
|
2370 |
|
|
2354 |
|
<!-- Acc
ess frame
behavior -
->
|
|
2371 |
|
<!-- Acc
ess frame
behavior -
->
|
2355 |
|
<!--
-
->
|
|
2372 |
|
<!--
-
->
|
2356 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwbe
haviors:Be
haviors[1]
">
|
|
2373 |
|
<xsl:for
-each sele
ct="$Param
Cargo/wwbe
haviors:Be
haviors[1]
">
|
2357 |
|
<xsl:va
riable nam
e="VarBeha
viorFrame"
select="k
ey('wwbeha
viors-fram
es-by-id',
$ParamFra
me/@id)[1]
" />
|
|
2374 |
|
<xsl:va
riable nam
e="VarBeha
viorFrame"
select="k
ey('wwbeha
viors-fram
es-by-id',
$ParamFra
me/@id)[1]
" />
|
2358 |
|
|
|
2375 |
|
|
2359 |
|
<!-- Wi
dth/Height
-->
|
|
2376 |
|
<!-- Wi
dth/Height
-->
|
2360 |
|
<!--
-->
|
|
2377 |
|
<!--
-->
|
2361 |
|
<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"
/>
|
|
2378 |
|
<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"
/>
|
2362 |
|
<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
')" />
|
|
2379 |
|
<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
')" />
|
2363 |
|
|
|
2380 |
|
|
2364 |
|
<xsl:va
riable nam
e="VarWidt
h">
|
|
2381 |
|
<xsl:va
riable nam
e="VarWidt
h">
|
2365 |
|
<xsl:v
ariable na
me="VarEmi
tWidth">
|
|
2382 |
|
<xsl:v
ariable na
me="VarEmi
tWidth">
|
2366 |
|
<xsl:
variable n
ame="VarWi
dthPropert
yHint" sel
ect="$Para
mContextRu
le/wwproje
ct:Propert
ies/wwproj
ect:Proper
ty[@Name =
'width'][
1]" />
|
|
2383 |
|
<xsl:
variable n
ame="VarWi
dthPropert
yHint" sel
ect="$Para
mContextRu
le/wwproje
ct:Propert
ies/wwproj
ect:Proper
ty[@Name =
'width'][
1]" />
|
2367 |
|
|
|
2384 |
|
|
2368 |
|
<xsl:
choose>
|
|
2385 |
|
<xsl:
choose>
|
2369 |
|
<xsl
:when test
="count($V
arWidthPro
pertyHint)
= 1 and (
$VarWidthP
ropertyHin
t/@Source
= 'DoNotEm
it')">
|
|
2386 |
|
<xsl
:when test
="count($V
arWidthPro
pertyHint)
= 1 and (
$VarWidthP
ropertyHin
t/@Source
= 'DoNotEm
it')">
|
2370 |
|
<xs
l:value-of
select="f
alse()" />
|
|
2387 |
|
<xs
l:value-of
select="f
alse()" />
|
2371 |
|
</xs
l:when>
|
|
2388 |
|
</xs
l:when>
|
2372 |
|
<xsl
:otherwise
>
|
|
2389 |
|
<xsl
:otherwise
>
|
2373 |
|
<xs
l:value-of
select="t
rue()" />
|
|
2390 |
|
<xs
l:value-of
select="t
rue()" />
|
2374 |
|
</xs
l:otherwis
e>
|
|
2391 |
|
</xs
l:otherwis
e>
|
2375 |
|
</xsl
:choose>
|
|
2392 |
|
</xsl
:choose>
|
2376 |
|
</xsl:
variable>
|
|
2393 |
|
</xsl:
variable>
|
2377 |
|
|
|
2394 |
|
|
2378 |
|
<xsl:i
f test="$V
arEmitWidt
h = 'true'
">
|
|
2395 |
|
<xsl:i
f test="$V
arEmitWidt
h = 'true'
">
|
2379 |
|
<xsl:
choose>
|
|
2396 |
|
<xsl:
choose>
|
2380 |
|
<xsl
:when test
="$ParamTh
umbnail">
|
|
2397 |
|
<xsl
:when test
="$ParamTh
umbnail">
|
2381 |
|
<xs
l:value-of
select="c
eiling($Pa
ramImageIn
fo/@width
* $ParamSc
alingRatio
)" />
|
|
2398 |
|
<xs
l:value-of
select="c
eiling($Pa
ramImageIn
fo/@width
* $ParamSc
alingRatio
)" />
|
2382 |
|
</xs
l:when>
|
|
2399 |
|
</xs
l:when>
|
2383 |
|
|
|
2400 |
|
|
2384 |
|
<xsl
:when test
="$ParamSp
litsFrame/
@byref = '
true'">
|
|
2401 |
|
<xsl
:when test
="$ParamSp
litsFrame/
@byref = '
true'">
|
2385 |
|
<xs
l:choose>
|
|
2402 |
|
<xs
l:choose>
|
2386 |
|
<x
sl:when te
st="($VarB
yReference
GraphicsUs
eDocumentD
imensions)
or (numbe
r($ParamIm
ageInfo/@w
idth) = 0)
">
|
|
2403 |
|
<x
sl:when te
st="($VarB
yReference
GraphicsUs
eDocumentD
imensions)
or (numbe
r($ParamIm
ageInfo/@w
idth) = 0)
">
|
2387 |
|
<
xsl:variab
le name="V
arByRefere
nceFrame"
select="$P
aramFrame/
/wwdoc:Fac
et[@type =
'by-refer
ence'][1]/
../.." />
|
|
2404 |
|
<
xsl:variab
le name="V
arByRefere
nceFrame"
select="$P
aramFrame/
/wwdoc:Fac
et[@type =
'by-refer
ence'][1]/
../.." />
|
2388 |
|
|
|
2405 |
|
|
2389 |
|
<
xsl:value-
of select=
"floor(wwu
nits:Conve
rt(wwunits
:NumericPr
efix($VarB
yReference
Frame/wwdo
c:Attribut
e[@name =
'width']/@
value), 'p
t', 'px'))
" />
|
|
2406 |
|
<
xsl:value-
of select=
"floor(wwu
nits:Conve
rt(wwunits
:NumericPr
efix($VarB
yReference
Frame/wwdo
c:Attribut
e[@name =
'width']/@
value), 'p
t', 'px'))
" />
|
2390 |
|
</
xsl:when>
|
|
2407 |
|
</
xsl:when>
|
2391 |
|
|
|
2408 |
|
|
2392 |
|
<x
sl:otherwi
se>
|
|
2409 |
|
<x
sl:otherwi
se>
|
2393 |
|
<
xsl:value-
of select=
"number($P
aramImageI
nfo/@width
)" />
|
|
2410 |
|
<
xsl:value-
of select=
"number($P
aramImageI
nfo/@width
)" />
|
2394 |
|
</
xsl:otherw
ise>
|
|
2411 |
|
</
xsl:otherw
ise>
|
2395 |
|
</x
sl:choose>
|
|
2412 |
|
</x
sl:choose>
|
2396 |
|
</xs
l:when>
|
|
2413 |
|
</xs
l:when>
|
2397 |
|
|
|
2414 |
|
|
2398 |
|
<xsl
:otherwise
>
|
|
2415 |
|
<xsl
:otherwise
>
|
2399 |
|
<xs
l:value-of
select="n
umber($Par
amImageInf
o/@width)"
/>
|
|
2416 |
|
<xs
l:value-of
select="n
umber($Par
amImageInf
o/@width)"
/>
|
2400 |
|
</xs
l:otherwis
e>
|
|
2417 |
|
</xs
l:otherwis
e>
|
2401 |
|
</xsl
:choose>
|
|
2418 |
|
</xsl
:choose>
|
2402 |
|
</xsl:
if>
|
|
2419 |
|
</xsl:
if>
|
2403 |
|
</xsl:v
ariable>
|
|
2420 |
|
</xsl:v
ariable>
|
2404 |
|
|
|
2421 |
|
|
2405 |
|
<xsl:va
riable nam
e="VarHeig
ht">
|
|
2422 |
|
<xsl:va
riable nam
e="VarHeig
ht">
|
2406 |
|
<xsl:v
ariable na
me="VarEmi
tHeight">
|
|
2423 |
|
<xsl:v
ariable na
me="VarEmi
tHeight">
|
2407 |
|
<xsl:
variable n
ame="VarHe
ightProper
tyHint" se
lect="$Par
amContextR
ule/wwproj
ect:Proper
ties/wwpro
ject:Prope
rty[@Name
= 'height'
][1]" />
|
|
2424 |
|
<xsl:
variable n
ame="VarHe
ightProper
tyHint" se
lect="$Par
amContextR
ule/wwproj
ect:Proper
ties/wwpro
ject:Prope
rty[@Name
= 'height'
][1]" />
|
2408 |
|
|
|
2425 |
|
|
2409 |
|
<xsl:
choose>
|
|
2426 |
|
<xsl:
choose>
|
2410 |
|
<xsl
:when test
="count($V
arHeightPr
opertyHint
) = 1 and
($VarHeigh
tPropertyH
int/@Sourc
e = 'DoNot
Emit')">
|
|
2427 |
|
<xsl
:when test
="count($V
arHeightPr
opertyHint
) = 1 and
($VarHeigh
tPropertyH
int/@Sourc
e = 'DoNot
Emit')">
|
2411 |
|
<xs
l:value-of
select="f
alse()" />
|
|
2428 |
|
<xs
l:value-of
select="f
alse()" />
|
2412 |
|
</xs
l:when>
|
|
2429 |
|
</xs
l:when>
|
2413 |
|
<xsl
:otherwise
>
|
|
2430 |
|
<xsl
:otherwise
>
|
2414 |
|
<xs
l:value-of
select="t
rue()" />
|
|
2431 |
|
<xs
l:value-of
select="t
rue()" />
|
2415 |
|
</xs
l:otherwis
e>
|
|
2432 |
|
</xs
l:otherwis
e>
|
2416 |
|
</xsl
:choose>
|
|
2433 |
|
</xsl
:choose>
|
2417 |
|
</xsl:
variable>
|
|
2434 |
|
</xsl:
variable>
|
2418 |
|
|
|
2435 |
|
|
2419 |
|
<xsl:i
f test="$V
arEmitHeig
ht = 'true
'">
|
|
2436 |
|
<xsl:i
f test="$V
arEmitHeig
ht = 'true
'">
|
2420 |
|
<xsl:
choose>
|
|
2437 |
|
<xsl:
choose>
|
2421 |
|
<xsl
:when test
="$ParamTh
umbnail">
|
|
2438 |
|
<xsl
:when test
="$ParamTh
umbnail">
|
2422 |
|
<xs
l:value-of
select="n
umber($Par
amImageInf
o/@height
* $ParamSc
alingRatio
)" />
|
|
2439 |
|
<xs
l:value-of
select="n
umber($Par
amImageInf
o/@height
* $ParamSc
alingRatio
)" />
|
2423 |
|
</xs
l:when>
|
|
2440 |
|
</xs
l:when>
|
2424 |
|
|
|
2441 |
|
|
2425 |
|
<xsl
:when test
="$ParamSp
litsFrame/
@byref = '
true'">
|
|
2442 |
|
<xsl
:when test
="$ParamSp
litsFrame/
@byref = '
true'">
|
2426 |
|
<xs
l:choose>
|
|
2443 |
|
<xs
l:choose>
|
2427 |
|
<x
sl:when te
st="($VarB
yReference
GraphicsUs
eDocumentD
imensions)
or (numbe
r($ParamIm
ageInfo/@h
eight) = 0
)">
|
|
2444 |
|
<x
sl:when te
st="($VarB
yReference
GraphicsUs
eDocumentD
imensions)
or (numbe
r($ParamIm
ageInfo/@h
eight) = 0
)">
|
2428 |
|
<
xsl:variab
le name="V
arByRefere
nceFrame"
select="$P
aramFrame/
/wwdoc:Fac
et[@type =
'by-refer
ence'][1]/
../.." />
|
|
2445 |
|
<
xsl:variab
le name="V
arByRefere
nceFrame"
select="$P
aramFrame/
/wwdoc:Fac
et[@type =
'by-refer
ence'][1]/
../.." />
|
2429 |
|
|
|
2446 |
|
|
2430 |
|
<
xsl:value-
of select=
"floor(wwu
nits:Conve
rt(wwunits
:NumericPr
efix($VarB
yReference
Frame/wwdo
c:Attribut
e[@name =
'height']/
@value), '
pt', 'px')
)" />
|
|
2447 |
|
<
xsl:value-
of select=
"floor(wwu
nits:Conve
rt(wwunits
:NumericPr
efix($VarB
yReference
Frame/wwdo
c:Attribut
e[@name =
'height']/
@value), '
pt', 'px')
)" />
|
2431 |
|
</
xsl:when>
|
|
2448 |
|
</
xsl:when>
|
2432 |
|
|
|
2449 |
|
|
2433 |
|
<x
sl:otherwi
se>
|
|
2450 |
|
<x
sl:otherwi
se>
|
2434 |
|
<
xsl:value-
of select=
"number($P
aramImageI
nfo/@heigh
t)" />
|
|
2451 |
|
<
xsl:value-
of select=
"number($P
aramImageI
nfo/@heigh
t)" />
|
2435 |
|
</
xsl:otherw
ise>
|
|
2452 |
|
</
xsl:otherw
ise>
|
2436 |
|
</x
sl:choose>
|
|
2453 |
|
</x
sl:choose>
|
2437 |
|
</xs
l:when>
|
|
2454 |
|
</xs
l:when>
|
2438 |
|
|
|
2455 |
|
|
2439 |
|
<xsl
:otherwise
>
|
|
2456 |
|
<xsl
:otherwise
>
|
2440 |
|
<xs
l:value-of
select="n
umber($Par
amImageInf
o/@height)
" />
|
|
2457 |
|
<xs
l:value-of
select="n
umber($Par
amImageInf
o/@height)
" />
|
2441 |
|
</xs
l:otherwis
e>
|
|
2458 |
|
</xs
l:otherwis
e>
|
2442 |
|
</xsl
:choose>
|
|
2459 |
|
</xsl
:choose>
|
2443 |
|
</xsl:
if>
|
|
2460 |
|
</xsl:
if>
|
2444 |
|
</xsl:v
ariable>
|
|
2461 |
|
</xsl:v
ariable>
|
2445 |
|
|
|
2462 |
|
|
2446 |
|
<!-- Al
t Text -->
|
|
2463 |
|
<!-- Al
t Text -->
|
2447 |
|
<!--
-->
|
|
2464 |
|
<!--
-->
|
2448 |
|
<xsl:va
riable nam
e="VarAltT
ext">
|
|
2465 |
|
<xsl:va
riable nam
e="VarAltT
ext">
|
2449 |
|
<xsl:c
all-templa
te name="I
mages-AltT
ext">
|
|
2466 |
|
<xsl:c
all-templa
te name="I
mages-AltT
ext">
|
2450 |
|
<xsl:
with-param
name="Par
amFrame" s
elect="$Pa
ramFrame"
/>
|
|
2467 |
|
<xsl:
with-param
name="Par
amFrame" s
elect="$Pa
ramFrame"
/>
|
2451 |
|
<xsl:
with-param
name="Par
amBehavior
Frame" sel
ect="$VarB
ehaviorFra
me" />
|
|
2468 |
|
<xsl:
with-param
name="Par
amBehavior
Frame" sel
ect="$VarB
ehaviorFra
me" />
|
2452 |
|
</xsl:
call-templ
ate>
|
|
2469 |
|
</xsl:
call-templ
ate>
|
2453 |
|
</xsl:v
ariable>
|
|
2470 |
|
</xsl:v
ariable>
|
2454 |
|
|
|
2471 |
|
|
2455 |
|
<!-- Ho
rizontal a
lignment -
->
|
|
2472 |
|
<!-- Ho
rizontal a
lignment -
->
|
2456 |
|
<!--
-
->
|
|
2473 |
|
<!--
-
->
|
2457 |
|
<xsl:va
riable nam
e="VarAlig
nment">
|
|
2474 |
|
<xsl:va
riable nam
e="VarAlig
nment">
|
2458 |
|
<xsl:v
ariable na
me="VarAli
gnProperty
" select="
$ParamCont
extRule/ww
project:Pr
operties/w
wproject:P
roperty[@N
ame = 'flo
at'][1]" /
>
|
|
2475 |
|
<xsl:v
ariable na
me="VarAli
gnProperty
" select="
$ParamCont
extRule/ww
project:Pr
operties/w
wproject:P
roperty[@N
ame = 'flo
at'][1]" /
>
|
2459 |
|
|
|
2476 |
|
|
2460 |
|
<xsl:i
f test="co
unt($VarAl
ignPropert
y) = 1">
|
|
2477 |
|
<xsl:i
f test="co
unt($VarAl
ignPropert
y) = 1">
|
2461 |
|
<xsl:
value-of s
elect="$Va
rAlignProp
erty/@Valu
e" />
|
|
2478 |
|
<xsl:
value-of s
elect="$Va
rAlignProp
erty/@Valu
e" />
|
2462 |
|
</xsl:
if>
|
|
2479 |
|
</xsl:
if>
|
2463 |
|
</xsl:v
ariable>
|
|
2480 |
|
</xsl:v
ariable>
|
2464 |
|
|
|
2481 |
|
|
2465 |
|
<!-- Ty
pe of rend
ering -->
|
|
2482 |
|
<!-- Ty
pe of rend
ering -->
|
2466 |
|
<!--
-->
|
|
2483 |
|
<!--
-->
|
2467 |
|
<xsl:va
riable nam
e="VarType
">
|
|
2484 |
|
<xsl:va
riable nam
e="VarType
">
|
2468 |
|
<xsl:i
f test="$P
aramThumbn
ail = stri
ng(true())
">
|
|
2485 |
|
<xsl:i
f test="$P
aramThumbn
ail = stri
ng(true())
">
|
2469 |
|
<xsl
:value-of
select="'t
humb'" />
|
|
2486 |
|
<xsl
:value-of
select="'t
humb'" />
|
2470 |
|
</xsl:
if>
|
|
2487 |
|
</xsl:
if>
|
2471 |
|
</xsl:v
ariable>
|
|
2488 |
|
</xsl:v
ariable>
|
2472 |
|
|
|
2489 |
|
|
2473 |
|
<!-- Me
diaWiki im
age link -
->
|
|
2490 |
|
<!-- Me
diaWiki im
age link -
->
|
2474 |
|
<!--
-
->
|
|
2491 |
|
<!--
-
->
|
2475 |
|
<xsl:va
riable nam
e="VarImag
eLinkPath"
>
|
|
2492 |
|
<xsl:va
riable nam
e="VarImag
eLinkPath"
>
|
2476 |
|
<xsl:
call-templ
ate name="
MediaWiki-
ImageRoote
dLink">
|
|
2493 |
|
<xsl:
call-templ
ate name="
MediaWiki-
ImageRoote
dLink">
|
2477 |
|
<xsl
:with-para
m name="Pa
ramLinkPat
h" select=
"$ParamIma
geInfo/@pa
th" />
|
|
2494 |
|
<xsl
:with-para
m name="Pa
ramLinkPat
h" select=
"$ParamIma
geInfo/@pa
th" />
|
2478 |
|
<xsl
:with-para
m name="Pa
ramTargetO
utputDirec
toryPath"
select="$P
aramSplit/
@target-ou
tput-direc
tory-path"
/>
|
|
2495 |
|
<xsl
:with-para
m name="Pa
ramTargetO
utputDirec
toryPath"
select="$P
aramSplit/
@target-ou
tput-direc
tory-path"
/>
|
2479 |
|
</xsl
:call-temp
late>
|
|
2496 |
|
</xsl
:call-temp
late>
|
2480 |
|
</xsl:v
ariable>
|
|
2497 |
|
</xsl:v
ariable>
|
2481 |
|
|
|
2498 |
|
|
2482 |
|
<!-- Gr
aphic -->
|
|
2499 |
|
<!-- Gr
aphic -->
|
2483 |
|
<!--
-->
|
|
2500 |
|
<!--
-->
|
2484 |
|
<xsl:te
xt>[[</xsl
:text>
|
|
2501 |
|
<xsl:te
xt>[[</xsl
:text>
|
2485 |
|
<xsl:va
lue-of sel
ect="$VarI
mageLinkPa
th" />
|
|
2502 |
|
<xsl:va
lue-of sel
ect="$VarI
mageLinkPa
th" />
|
2486 |
|
|
|
2503 |
|
|
2487 |
|
<!-- Ty
pe -->
|
|
2504 |
|
<!-- Ty
pe -->
|
2488 |
|
<!--
-->
|
|
2505 |
|
<!--
-->
|
2489 |
|
<xsl:if
test="str
ing-length
($VarType)
> 0">
|
|
2506 |
|
<xsl:if
test="str
ing-length
($VarType)
> 0">
|
2490 |
|
<xsl:t
ext>|</xsl
:text>
|
|
2507 |
|
<xsl:t
ext>|</xsl
:text>
|
2491 |
|
<xsl:v
alue-of se
lect="$Var
Type" />
|
|
2508 |
|
<xsl:v
alue-of se
lect="$Var
Type" />
|
2492 |
|
</xsl:i
f>
|
|
2509 |
|
</xsl:i
f>
|
2493 |
|
|
|
2510 |
|
|
2494 |
|
<!-- Lo
cation -->
|
|
2511 |
|
<!-- Lo
cation -->
|
2495 |
|
<!--
--
>
|
|
2512 |
|
<!--
--
>
|
2496 |
|
<xsl:if
test="str
ing-length
($VarAlign
ment) >
0">
|
|
2513 |
|
<xsl:if
test="str
ing-length
($VarAlign
ment) >
0">
|
2497 |
|
<xsl:t
ext>|</xsl
:text>
|
|
2514 |
|
<xsl:t
ext>|</xsl
:text>
|
2498 |
|
<xsl:v
alue-of se
lect="$Var
Alignment"
/>
|
|
2515 |
|
<xsl:v
alue-of se
lect="$Var
Alignment"
/>
|
2499 |
|
</xsl:i
f>
|
|
2516 |
|
</xsl:i
f>
|
2500 |
|
|
|
2517 |
|
|
2501 |
|
<!-- Si
ze -->
|
|
2518 |
|
<!-- Si
ze -->
|
2502 |
|
<!--
-->
|
|
2519 |
|
<!--
-->
|
2503 |
|
<xsl:if
test="$Va
rType != '
frame'">
|
|
2520 |
|
<xsl:if
test="$Va
rType != '
frame'">
|
2504 |
|
<xsl:i
f test="$V
arWidth &g
t; 0">
|
|
2521 |
|
<xsl:i
f test="$V
arWidth &g
t; 0">
|
2505 |
|
<xsl:
text>|</xs
l:text>
|
|
2522 |
|
<xsl:
text>|</xs
l:text>
|
2506 |
|
<xsl:
value-of s
elect="$Va
rWidth" />
|
|
2523 |
|
<xsl:
value-of s
elect="$Va
rWidth" />
|
2507 |
|
</xsl:
if>
|
|
2524 |
|
</xsl:
if>
|
2508 |
|
|
|
2525 |
|
|
2509 |
|
<xsl:i
f test="($
VarHeight
> 0) an
d ($VarWid
th > 0)
">
|
|
2526 |
|
<xsl:i
f test="($
VarHeight
> 0) an
d ($VarWid
th > 0)
">
|
2510 |
|
<xsl:
text>x</xs
l:text>
|
|
2527 |
|
<xsl:
text>x</xs
l:text>
|
2511 |
|
<xsl:
value-of s
elect="$Va
rHeight" /
>
|
|
2528 |
|
<xsl:
value-of s
elect="$Va
rHeight" /
>
|
2512 |
|
</xsl:
if>
|
|
2529 |
|
</xsl:
if>
|
2513 |
|
|
|
2530 |
|
|
2514 |
|
<xsl:i
f test="$V
arWidth &g
t; 0">
|
|
2531 |
|
<xsl:i
f test="$V
arWidth &g
t; 0">
|
2515 |
|
<xsl:
text>px</x
sl:text>
|
|
2532 |
|
<xsl:
text>px</x
sl:text>
|
2516 |
|
</xsl:
if>
|
|
2533 |
|
</xsl:
if>
|
2517 |
|
</xsl:i
f>
|
|
2534 |
|
</xsl:i
f>
|
2518 |
|
|
|
2535 |
|
|
2519 |
|
<!-- Al
t text -->
|
|
2536 |
|
<!-- Al
t text -->
|
2520 |
|
<!--
-->
|
|
2537 |
|
<!--
-->
|
2521 |
|
<xsl:if
test="str
ing-length
($VarAltTe
xt) > 0
">
|
|
2538 |
|
<xsl:if
test="str
ing-length
($VarAltTe
xt) > 0
">
|
2522 |
|
<xsl:t
ext>|</xsl
:text>
|
|
2539 |
|
<xsl:t
ext>|</xsl
:text>
|
2523 |
|
<xsl:v
alue-of se
lect="$Var
AltText" /
>
|
|
2540 |
|
<xsl:v
alue-of se
lect="$Var
AltText" /
>
|
2524 |
|
</xsl:i
f>
|
|
2541 |
|
</xsl:i
f>
|
2525 |
|
<xsl:te
xt>]]</xsl
:text>
|
|
2542 |
|
<xsl:te
xt>]]</xsl
:text>
|
2526 |
|
|
|
2543 |
|
|
2527 |
|
<xsl:va
riable nam
e="VarNote
s" select=
"$ParamFra
me//wwdoc:
Note" />
|
|
2544 |
|
<xsl:va
riable nam
e="VarNote
s" select=
"$ParamFra
me//wwdoc:
Note" />
|
2528 |
|
<xsl:ca
ll-templat
e name="Co
ntent-Note
s">
|
|
2545 |
|
<xsl:ca
ll-templat
e name="Co
ntent-Note
s">
|
2529 |
|
<xsl:w
ith-param
name="Para
mNotes" se
lect="$Var
Notes" />
|
|
2546 |
|
<xsl:w
ith-param
name="Para
mNotes" se
lect="$Var
Notes" />
|
2530 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
|
2547 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Pa
ramSplits"
/>
|
2531 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
|
2548 |
|
<xsl:w
ith-param
name="Para
mCargo" se
lect="$Par
amCargo" /
>
|
2532 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
|
2549 |
|
<xsl:w
ith-param
name="Para
mLinks" se
lect="$Par
amLinks" /
>
|
2533 |
|
<xsl:w
ith-param
name="Para
mTOCData"
select="''
" />
|
|
2550 |
|
<xsl:w
ith-param
name="Para
mTOCData"
select="''
" />
|
2534 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
|
2551 |
|
<xsl:w
ith-param
name="Para
mSplit" se
lect="$Par
amSplit" /
>
|
2535 |
|
</xsl:c
all-templa
te>
|
|
2552 |
|
</xsl:c
all-templa
te>
|
2536 |
|
</xsl:fo
r-each>
|
|
2553 |
|
</xsl:fo
r-each>
|
2537 |
|
</xsl:tem
plate>
|
|
2554 |
|
</xsl:tem
plate>
|
2538 |
|
</xsl:styl
esheet>
|
|
2555 |
|
</xsl:styl
esheet>
|
Araxis Merge (but not the data content of this report) is Copyright © 1993-2007 Araxis Ltd (www.araxis.com). All rights reserved.