1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?> CR LF
|
|
1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?> CR LF
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform" CR LF
|
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform" CR LF
|
3 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt" CR LF
|
|
3 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt" CR LF
|
4 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode" CR
LF
|
|
4 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode" CR
LF
|
5 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a" CR LF
|
|
5 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a" CR LF
|
6 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject" CR LF
|
|
6 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject" CR LF
|
7 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress" CR LF
|
|
7 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress" CR LF
|
8 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log" CR LF
|
|
8 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log" CR LF
|
9 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem" CR
LF
|
|
9 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem" CR
LF
|
10 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI" CR LF
|
|
10 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI" CR LF
|
11 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
CR LF
|
|
11 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
CR LF
|
12 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units" CR
LF
|
|
12 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units" CR
LF
|
13 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s" CR LF
|
|
13 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s" CR LF
|
14 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct" CR LF
|
|
14 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct" CR LF
|
15 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent" CR LF
|
|
15 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent" CR LF
|
16 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwdoc ww
project ww
progress w
wlog wwfil
esystem ww
uri wwstri
ng wwunits
wwfilesex
t wwprojex
t wwexsldo
c" CR LF
|
|
16 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwdoc ww
project ww
progress w
wlog wwfil
esystem ww
uri wwstri
ng wwunits
wwfilesex
t wwprojex
t wwexsldo
c" CR LF
|
17 |
|
> CR LF
|
|
17 |
|
> CR LF
|
18 |
|
<xsl:key
name="wwpr
oject-prop
erties-by-
name" matc
h="wwproje
ct:Propert
y" use="@N
ame" /> CR LF
|
|
18 |
|
<xsl:key
name="wwpr
oject-prop
erties-by-
name" matc
h="wwproje
ct:Propert
y" use="@N
ame" /> CR LF
|
19 |
|
CR LF
|
|
19 |
|
CR LF
|
20 |
|
CR LF
|
|
20 |
|
CR LF
|
21 |
|
<xsl:temp
late name=
"Property-
FromDocume
nt"> CR LF
|
|
21 |
|
<xsl:temp
late name=
"Property-
FromDocume
nt"> CR LF
|
22 |
|
<xsl:par
am name="P
aramName"
/> CR LF
|
|
22 |
|
<xsl:par
am name="P
aramName"
/> CR LF
|
23 |
|
<xsl:par
am name="P
aramValue"
/> CR LF
|
|
23 |
|
<xsl:par
am name="P
aramValue"
/> CR LF
|
24 |
|
<xsl:par
am name="P
aramSource
" /> CR LF
|
|
24 |
|
<xsl:par
am name="P
aramSource
" /> CR LF
|
25 |
|
CR LF
|
|
25 |
|
CR LF
|
26 |
|
<xsl:var
iable name
="VarValue
"> CR LF
|
|
26 |
|
<xsl:var
iable name
="VarValue
"> CR LF
|
27 |
|
<xsl:ch
oose> CR LF
|
|
27 |
|
<xsl:ch
oose> CR LF
|
28 |
|
<!-- I
nsure font
family na
mes are su
rrounded b
y quotes -
-> CR LF
|
|
28 |
|
<!-- I
nsure font
family na
mes are su
rrounded b
y quotes -
-> CR LF
|
29 |
|
<!--
-
-> CR LF
|
|
29 |
|
<!--
-
-> CR LF
|
30 |
|
<xsl:w
hen test="
$ParamName
= 'font-f
amily'"> CR LF
|
|
30 |
|
<xsl:w
hen test="
$ParamName
= 'font-f
amily'"> CR LF
|
31 |
|
<xsl:
choose> CR LF
|
|
31 |
|
<xsl:
choose> CR LF
|
32 |
|
<xsl
:when test
="contains
($ParamVal
ue, ' ')">
CR LF
|
|
32 |
|
<xsl
:when test
="contains
($ParamVal
ue, ' ')">
CR LF
|
33 |
|
<xs
l:text>&qu
ot;</xsl:t
ext> CR LF
|
|
33 |
|
<xs
l:text>&qu
ot;</xsl:t
ext> CR LF
|
34 |
|
<xs
l:value-of
select="$
ParamValue
" /> CR LF
|
|
34 |
|
<xs
l:value-of
select="$
ParamValue
" /> CR LF
|
35 |
|
<xs
l:text>&qu
ot;</xsl:t
ext> CR LF
|
|
35 |
|
<xs
l:text>&qu
ot;</xsl:t
ext> CR LF
|
36 |
|
</xs
l:when> CR LF
|
|
36 |
|
</xs
l:when> CR LF
|
37 |
|
CR LF
|
|
37 |
|
CR LF
|
38 |
|
<xsl
:otherwise
> CR LF
|
|
38 |
|
<xsl
:otherwise
> CR LF
|
39 |
|
<xs
l:value-of
select="$
ParamValue
" /> CR LF
|
|
39 |
|
<xs
l:value-of
select="$
ParamValue
" /> CR LF
|
40 |
|
</xs
l:otherwis
e> CR LF
|
|
40 |
|
</xs
l:otherwis
e> CR LF
|
41 |
|
</xsl
:choose> CR LF
|
|
41 |
|
</xsl
:choose> CR LF
|
42 |
|
</xsl:
when> CR LF
|
|
42 |
|
</xsl:
when> CR LF
|
43 |
|
CR LF
|
|
43 |
|
CR LF
|
44 |
|
<xsl:o
therwise> CR
LF
|
|
44 |
|
<xsl:o
therwise> CR
LF
|
45 |
|
<xsl:
value-of s
elect="$Pa
ramValue"
/> CR LF
|
|
45 |
|
<xsl:
value-of s
elect="$Pa
ramValue"
/> CR LF
|
46 |
|
</xsl:
otherwise>
CR LF
|
|
46 |
|
</xsl:
otherwise>
CR LF
|
47 |
|
</xsl:c
hoose> CR LF
|
|
47 |
|
</xsl:c
hoose> CR LF
|
48 |
|
</xsl:va
riable> CR LF
|
|
48 |
|
</xsl:va
riable> CR LF
|
49 |
|
CR LF
|
|
49 |
|
CR LF
|
50 |
|
<xsl:if
test="stri
ng-length(
$VarValue)
> 0"> CR
LF
|
|
50 |
|
<xsl:if
test="stri
ng-length(
$VarValue)
> 0"> CR
LF
|
51 |
|
<wwproj
ect:Proper
ty Name="{
$ParamName
}" Value="
{$VarValue
}" Source=
"{$ParamSo
urce}" /> CR
LF
|
|
51 |
|
<wwproj
ect:Proper
ty Name="{
$ParamName
}" Value="
{$VarValue
}" Source=
"{$ParamSo
urce}" /> CR
LF
|
52 |
|
</xsl:if
> CR LF
|
|
52 |
|
</xsl:if
> CR LF
|
53 |
|
</xsl:tem
plate> CR LF
|
|
53 |
|
</xsl:tem
plate> CR LF
|
54 |
|
CR LF
|
|
54 |
|
CR LF
|
55 |
|
CR LF
|
|
55 |
|
CR LF
|
56 |
|
<xsl:temp
late name=
"Property-
Source-Key
ed"> CR LF
|
|
56 |
|
<xsl:temp
late name=
"Property-
Source-Key
ed"> CR LF
|
57 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
57 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
58 |
|
<xsl:par
am name="P
aramName"
/> CR LF
|
|
58 |
|
<xsl:par
am name="P
aramName"
/> CR LF
|
59 |
|
CR LF
|
|
59 |
|
CR LF
|
60 |
|
<!-- Pro
perties de
fined? -->
CR LF
|
|
60 |
|
<!-- Pro
perties de
fined? -->
CR LF
|
61 |
|
<!--
-->
CR LF
|
|
61 |
|
<!--
-->
CR LF
|
62 |
|
<xsl:cho
ose> CR LF
|
|
62 |
|
<xsl:cho
ose> CR LF
|
63 |
|
<xsl:wh
en test="c
ount($Para
mPropertie
s[1]) = 1"
> CR LF
|
|
63 |
|
<xsl:wh
en test="c
ount($Para
mPropertie
s[1]) = 1"
> CR LF
|
64 |
|
<!-- U
se propert
y source?
--> CR LF
|
|
64 |
|
<!-- U
se propert
y source?
--> CR LF
|
65 |
|
<!--
--> CR LF
|
|
65 |
|
<!--
--> CR LF
|
66 |
|
<xsl:f
or-each se
lect="$Par
amProperti
es[1]"> CR LF
|
|
66 |
|
<xsl:f
or-each se
lect="$Par
amProperti
es[1]"> CR LF
|
67 |
|
<xsl:
variable n
ame="VarPr
operties"
select="ke
y('wwproje
ct-propert
ies-by-nam
e', $Param
Name)" /> CR
LF
|
|
67 |
|
<xsl:
variable n
ame="VarPr
operties"
select="ke
y('wwproje
ct-propert
ies-by-nam
e', $Param
Name)" /> CR
LF
|
68 |
|
CR LF
|
|
68 |
|
CR LF
|
69 |
|
<xsl:
choose> CR LF
|
|
69 |
|
<xsl:
choose> CR LF
|
70 |
|
<!--
Use prope
rty source
--> CR LF
|
|
70 |
|
<!--
Use prope
rty source
--> CR LF
|
71 |
|
<!--
--> CR LF
|
|
71 |
|
<!--
--> CR LF
|
72 |
|
<xsl
:when test
="count($V
arProperti
es) > 0
"> CR LF
|
|
72 |
|
<xsl
:when test
="count($V
arProperti
es) > 0
"> CR LF
|
73 |
|
<xs
l:value-of
select="$
VarPropert
ies[1]/@So
urce" /> CR LF
|
|
73 |
|
<xs
l:value-of
select="$
VarPropert
ies[1]/@So
urce" /> CR LF
|
74 |
|
</xs
l:when> CR LF
|
|
74 |
|
</xs
l:when> CR LF
|
75 |
|
CR LF
|
|
75 |
|
CR LF
|
76 |
|
<!--
Default t
o 'Paragra
ph' --> CR LF
|
|
76 |
|
<!--
Default t
o 'Paragra
ph' --> CR LF
|
77 |
|
<!--
--> CR LF
|
|
77 |
|
<!--
--> CR LF
|
78 |
|
<xsl
:otherwise
> CR LF
|
|
78 |
|
<xsl
:otherwise
> CR LF
|
79 |
|
<xs
l:value-of
select="'
Paragraph'
" /> CR LF
|
|
79 |
|
<xs
l:value-of
select="'
Paragraph'
" /> CR LF
|
80 |
|
</xs
l:otherwis
e> CR LF
|
|
80 |
|
</xs
l:otherwis
e> CR LF
|
81 |
|
</xsl
:choose> CR LF
|
|
81 |
|
</xsl
:choose> CR LF
|
82 |
|
</xsl:
for-each> CR
LF
|
|
82 |
|
</xsl:
for-each> CR
LF
|
83 |
|
</xsl:w
hen> CR LF
|
|
83 |
|
</xsl:w
hen> CR LF
|
84 |
|
CR LF
|
|
84 |
|
CR LF
|
85 |
|
<!-- De
fault to '
Paragraph'
--> CR LF
|
|
85 |
|
<!-- De
fault to '
Paragraph'
--> CR LF
|
86 |
|
<!--
--> CR LF
|
|
86 |
|
<!--
--> CR LF
|
87 |
|
<xsl:ot
herwise> CR LF
|
|
87 |
|
<xsl:ot
herwise> CR LF
|
88 |
|
<xsl:v
alue-of se
lect="'Par
agraph'" /
> CR LF
|
|
88 |
|
<xsl:v
alue-of se
lect="'Par
agraph'" /
> CR LF
|
89 |
|
</xsl:o
therwise> CR
LF
|
|
89 |
|
</xsl:o
therwise> CR
LF
|
90 |
|
</xsl:ch
oose> CR LF
|
|
90 |
|
</xsl:ch
oose> CR LF
|
91 |
|
</xsl:tem
plate> CR LF
|
|
91 |
|
</xsl:tem
plate> CR LF
|
92 |
|
CR LF
|
|
92 |
|
CR LF
|
93 |
|
CR LF
|
|
93 |
|
CR LF
|
94 |
|
<xsl:temp
late name=
"Property-
Source-Con
tains"> CR LF
|
|
94 |
|
<xsl:temp
late name=
"Property-
Source-Con
tains"> CR LF
|
95 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
95 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
96 |
|
<xsl:par
am name="P
aramContai
nsName" />
CR LF
|
|
96 |
|
<xsl:par
am name="P
aramContai
nsName" />
CR LF
|
97 |
|
CR LF
|
|
97 |
|
CR LF
|
98 |
|
<!-- Use
property
source -->
CR LF
|
|
98 |
|
<!-- Use
property
source -->
CR LF
|
99 |
|
<!--
-->
CR LF
|
|
99 |
|
<!--
-->
CR LF
|
100 |
|
<xsl:var
iable name
="VarPrope
rties" sel
ect="$Para
mPropertie
s[contains
(@Name, $P
aramContai
nsName)]"
/> CR LF
|
|
100 |
|
<xsl:var
iable name
="VarPrope
rties" sel
ect="$Para
mPropertie
s[contains
(@Name, $P
aramContai
nsName)]"
/> CR LF
|
101 |
|
CR LF
|
|
101 |
|
CR LF
|
102 |
|
<xsl:cho
ose> CR LF
|
|
102 |
|
<xsl:cho
ose> CR LF
|
103 |
|
<!-- Us
e property
source --
> CR LF
|
|
103 |
|
<!-- Us
e property
source --
> CR LF
|
104 |
|
<!--
--
> CR LF
|
|
104 |
|
<!--
--
> CR LF
|
105 |
|
<xsl:wh
en test="c
ount($VarP
roperties)
> 0"> CR
LF
|
|
105 |
|
<xsl:wh
en test="c
ount($VarP
roperties)
> 0"> CR
LF
|
106 |
|
<xsl:v
alue-of se
lect="$Var
Properties
[1]/@Sourc
e" /> CR LF
|
|
106 |
|
<xsl:v
alue-of se
lect="$Var
Properties
[1]/@Sourc
e" /> CR LF
|
107 |
|
</xsl:w
hen> CR LF
|
|
107 |
|
</xsl:w
hen> CR LF
|
108 |
|
CR LF
|
|
108 |
|
CR LF
|
109 |
|
<!-- De
fault to '
Paragraph'
--> CR LF
|
|
109 |
|
<!-- De
fault to '
Paragraph'
--> CR LF
|
110 |
|
<!--
--> CR LF
|
|
110 |
|
<!--
--> CR LF
|
111 |
|
<xsl:ot
herwise> CR LF
|
|
111 |
|
<xsl:ot
herwise> CR LF
|
112 |
|
<xsl:v
alue-of se
lect="'Par
agraph'" /
> CR LF
|
|
112 |
|
<xsl:v
alue-of se
lect="'Par
agraph'" /
> CR LF
|
113 |
|
</xsl:o
therwise> CR
LF
|
|
113 |
|
</xsl:o
therwise> CR
LF
|
114 |
|
</xsl:ch
oose> CR LF
|
|
114 |
|
</xsl:ch
oose> CR LF
|
115 |
|
</xsl:tem
plate> CR LF
|
|
115 |
|
</xsl:tem
plate> CR LF
|
116 |
|
CR LF
|
|
116 |
|
CR LF
|
117 |
|
CR LF
|
|
117 |
|
CR LF
|
118 |
|
<xsl:temp
late name=
"Propertie
s-ResolveR
ule"> CR LF
|
|
118 |
|
<xsl:temp
late name=
"Propertie
s-ResolveR
ule"> CR LF
|
119 |
|
<xsl:par
am name="P
aramDocume
ntContext"
/> CR LF
|
|
119 |
|
<xsl:par
am name="P
aramDocume
ntContext"
/> CR LF
|
120 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
120 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
121 |
|
<xsl:par
am name="P
aramStyleN
ame" /> CR LF
|
|
121 |
|
<xsl:par
am name="P
aramStyleN
ame" /> CR LF
|
122 |
|
<xsl:par
am name="P
aramStyleT
ype" /> CR LF
|
|
122 |
|
<xsl:par
am name="P
aramStyleT
ype" /> CR LF
|
123 |
|
CR LF
|
|
123 |
|
CR LF
|
124 |
|
<!-- Exp
licit --> CR
LF
|
|
124 |
|
<!-- Exp
licit --> CR
LF
|
125 |
|
<!--
--> CR
LF
|
|
125 |
|
<!--
--> CR
LF
|
126 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
|
126 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
127 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
|
127 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
128 |
|
CR LF
|
|
128 |
|
CR LF
|
129 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
|
129 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
130 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
|
130 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
131 |
|
</xsl:i
f> CR LF
|
|
131 |
|
</xsl:i
f> CR LF
|
132 |
|
</xsl:fo
r-each> CR LF
|
|
132 |
|
</xsl:fo
r-each> CR LF
|
133 |
|
CR LF
|
|
133 |
|
CR LF
|
134 |
|
<!-- Cat
alog Style
--> CR LF
|
|
134 |
|
<!-- Cat
alog Style
--> CR LF
|
135 |
|
<!--
--> CR LF
|
|
135 |
|
<!--
--> CR LF
|
136 |
|
<xsl:var
iable name
="VarDocum
entElement
" select="
$ParamDocu
mentContex
t/wwdoc:Do
cument | $
ParamDocum
entContext
/ancestor:
:wwdoc:Doc
ument" /> CR
LF
|
|
136 |
|
<xsl:var
iable name
="VarDocum
entElement
" select="
$ParamDocu
mentContex
t/wwdoc:Do
cument | $
ParamDocum
entContext
/ancestor:
:wwdoc:Doc
ument" /> CR
LF
|
137 |
|
<xsl:var
iable name
="VarCatal
ogStyles"
select="$V
arDocument
Element/ww
doc:Styles
/wwdoc:*[s
tarts-with
(local-nam
e(node()),
$ParamSty
leType)]"
/> CR LF
|
|
137 |
|
<xsl:var
iable name
="VarCatal
ogStyles"
select="$V
arDocument
Element/ww
doc:Styles
/wwdoc:*[s
tarts-with
(local-nam
e(node()),
$ParamSty
leType)]"
/> CR LF
|
138 |
|
<xsl:var
iable name
="VarCatal
ogStyle" s
elect="$Va
rCatalogSt
yles/wwdoc
:*[@name =
$ParamSty
leName]/ww
doc:Style"
/> CR LF
|
|
138 |
|
<xsl:var
iable name
="VarCatal
ogStyle" s
elect="$Va
rCatalogSt
yles/wwdoc
:*[@name =
$ParamSty
leName]/ww
doc:Style"
/> CR LF
|
139 |
|
CR LF
|
|
139 |
|
CR LF
|
140 |
|
<!-- Cat
alog or Pa
ragraph --
> CR LF
|
|
140 |
|
<!-- Cat
alog or Pa
ragraph --
> CR LF
|
141 |
|
<!--
--
> CR LF
|
|
141 |
|
<!--
--
> CR LF
|
142 |
|
<xsl:for
-each sele
ct="$VarCa
talogStyle
/wwdoc:Att
ribute"> CR LF
|
|
142 |
|
<xsl:for
-each sele
ct="$VarCa
talogStyle
/wwdoc:Att
ribute"> CR LF
|
143 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
|
143 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
144 |
|
CR LF
|
|
144 |
|
CR LF
|
145 |
|
<!-- De
termine so
urce --> CR LF
|
|
145 |
|
<!-- De
termine so
urce --> CR LF
|
146 |
|
<!--
--> CR LF
|
|
146 |
|
<!--
--> CR LF
|
147 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
|
147 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
148 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
|
148 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
149 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
|
149 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
150 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
150 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
151 |
|
</xsl:
call-templ
ate> CR LF
|
|
151 |
|
</xsl:
call-templ
ate> CR LF
|
152 |
|
</xsl:v
ariable> CR LF
|
|
152 |
|
</xsl:v
ariable> CR LF
|
153 |
|
CR LF
|
|
153 |
|
CR LF
|
154 |
|
<!-- Em
it? --> CR LF
|
|
154 |
|
<!-- Em
it? --> CR LF
|
155 |
|
<!--
--> CR LF
|
|
155 |
|
<!--
--> CR LF
|
156 |
|
<xsl:if
test="($V
arSource =
'Catalog'
) or ($Var
Source = '
Paragraph'
)"> CR LF
|
|
156 |
|
<xsl:if
test="($V
arSource =
'Catalog'
) or ($Var
Source = '
Paragraph'
)"> CR LF
|
157 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
|
157 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
158 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
158 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
159 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
|
159 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
160 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
|
160 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
161 |
|
</xsl:
call-templ
ate> CR LF
|
|
161 |
|
</xsl:
call-templ
ate> CR LF
|
162 |
|
</xsl:i
f> CR LF
|
|
162 |
|
</xsl:i
f> CR LF
|
163 |
|
</xsl:fo
r-each> CR LF
|
|
163 |
|
</xsl:fo
r-each> CR LF
|
164 |
|
</xsl:tem
plate> CR LF
|
|
164 |
|
</xsl:tem
plate> CR LF
|
165 |
|
CR LF
|
|
165 |
|
CR LF
|
166 |
|
CR LF
|
|
166 |
|
CR LF
|
167 |
|
<xsl:temp
late name=
"Propertie
s-ResolveC
ontextRule
"> CR LF
|
|
167 |
|
<xsl:temp
late name=
"Propertie
s-ResolveC
ontextRule
"> CR LF
|
168 |
|
<xsl:par
am name="P
aramDocume
ntContext"
/> CR LF
|
|
168 |
|
<xsl:par
am name="P
aramDocume
ntContext"
/> CR LF
|
169 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
169 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
170 |
|
<xsl:par
am name="P
aramStyleN
ame" /> CR LF
|
|
170 |
|
<xsl:par
am name="P
aramStyleN
ame" /> CR LF
|
171 |
|
<xsl:par
am name="P
aramStyleT
ype" /> CR LF
|
|
171 |
|
<xsl:par
am name="P
aramStyleT
ype" /> CR LF
|
172 |
|
<xsl:par
am name="P
aramContex
tStyle" />
CR LF
|
|
172 |
|
<xsl:par
am name="P
aramContex
tStyle" />
CR LF
|
173 |
|
CR LF
|
|
173 |
|
CR LF
|
174 |
|
<!-- Exp
licit --> CR
LF
|
|
174 |
|
<!-- Exp
licit --> CR
LF
|
175 |
|
<!--
--> CR
LF
|
|
175 |
|
<!--
--> CR
LF
|
176 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
|
176 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
177 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
|
177 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
178 |
|
CR LF
|
|
178 |
|
CR LF
|
179 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
|
179 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
|
|
180 |
|
<!-- F
ilter out
text-align
for Graph
ic style t
ypes --> CR LF
|
|
|
181 |
|
<!--
--> CR LF
|
|
|
182 |
|
<xsl:i
f test="no
t($VarProp
erty/@Name
= 'text-a
lign' and
$ParamStyl
eType = 'G
raphic')">
CR LF
|
180 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
|
183 |
|
<xsl:
copy-of se
lect="$Var
Property"
/> CR LF
|
181 |
|
</xsl:i
f> CR LF
|
|
184 |
|
</xsl:
if> CR LF
|
|
|
185 |
|
</xsl:i
f> CR LF
|
182 |
|
</xsl:fo
r-each> CR LF
|
|
186 |
|
</xsl:fo
r-each> CR LF
|
183 |
|
CR LF
|
|
187 |
|
CR LF
|
184 |
|
<!-- Par
agraph -->
CR LF
|
|
188 |
|
<!-- Par
agraph -->
CR LF
|
185 |
|
<!--
-->
CR LF
|
|
189 |
|
<!--
-->
CR LF
|
186 |
|
<xsl:for
-each sele
ct="$Param
ContextSty
le/wwdoc:A
ttribute">
CR LF
|
|
190 |
|
<xsl:for
-each sele
ct="$Param
ContextSty
le/wwdoc:A
ttribute">
CR LF
|
187 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
|
191 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
188 |
|
CR LF
|
|
192 |
|
CR LF
|
189 |
|
<!-- De
termine so
urce --> CR LF
|
|
193 |
|
<!-- De
termine so
urce --> CR LF
|
190 |
|
<!--
--> CR LF
|
|
194 |
|
<!--
--> CR LF
|
191 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
|
195 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
192 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
|
196 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
193 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
|
197 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
194 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
198 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
195 |
|
</xsl:
call-templ
ate> CR LF
|
|
199 |
|
</xsl:
call-templ
ate> CR LF
|
196 |
|
</xsl:v
ariable> CR LF
|
|
200 |
|
</xsl:v
ariable> CR LF
|
197 |
|
CR LF
|
|
201 |
|
CR LF
|
198 |
|
<!-- Em
it? --> CR LF
|
|
202 |
|
<!-- Em
it? --> CR LF
|
199 |
|
<!--
--> CR LF
|
|
203 |
|
<!--
--> CR LF
|
200 |
|
<xsl:if
test="$Va
rSource =
'Paragraph
'"> CR LF
|
|
204 |
|
<xsl:if
test="$Va
rSource =
'Paragraph
'"> CR LF
|
|
|
205 |
|
<!-- F
ilter out
text-align
for Graph
ic style t
ypes --> CR LF
|
|
|
206 |
|
<!--
--> CR LF
|
|
|
207 |
|
<xsl:i
f test="no
t($VarAttr
ibute/@nam
e = 'text-
align' and
$ParamSty
leType = '
Graphic')"
> CR LF
|
201 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
|
208 |
|
<xsl:
call-templ
ate name="
Property-F
romDocumen
t"> CR LF
|
202 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
209 |
|
<xsl
:with-para
m name="Pa
ramName" s
elect="$Va
rAttribute
/@name" />
CR LF
|
203 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
|
210 |
|
<xsl
:with-para
m name="Pa
ramValue"
select="$V
arAttribut
e/@value"
/> CR LF
|
204 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
|
211 |
|
<xsl
:with-para
m name="Pa
ramSource"
select="$
VarSource"
/> CR LF
|
205 |
|
</xsl:
call-templ
ate> CR LF
|
|
212 |
|
</xsl
:call-temp
late> CR LF
|
206 |
|
</xsl:i
f> CR LF
|
|
213 |
|
</xsl:
if> CR LF
|
|
|
214 |
|
</xsl:i
f> CR LF
|
207 |
|
</xsl:fo
r-each> CR LF
|
|
215 |
|
</xsl:fo
r-each> CR LF
|
208 |
|
CR LF
|
|
216 |
|
CR LF
|
209 |
|
<!-- Cat
alog Style
--> CR LF
|
|
217 |
|
<!-- Cat
alog Style
--> CR LF
|
210 |
|
<!--
--> CR LF
|
|
218 |
|
<!--
--> CR LF
|
211 |
|
<xsl:var
iable name
="VarDocum
entElement
" select="
$ParamDocu
mentContex
t/wwdoc:Do
cument | $
ParamDocum
entContext
/ancestor:
:wwdoc:Doc
ument" /> CR
LF
|
|
219 |
|
<xsl:var
iable name
="VarDocum
entElement
" select="
$ParamDocu
mentContex
t/wwdoc:Do
cument | $
ParamDocum
entContext
/ancestor:
:wwdoc:Doc
ument" /> CR
LF
|
212 |
|
<xsl:var
iable name
="VarCatal
ogStyles"
select="$V
arDocument
Element/ww
doc:Styles
/wwdoc:*[s
tarts-with
(local-nam
e(node()),
$ParamSty
leType)]"
/> CR LF
|
|
220 |
|
<xsl:var
iable name
="VarCatal
ogStyles"
select="$V
arDocument
Element/ww
doc:Styles
/wwdoc:*[s
tarts-with
(local-nam
e(node()),
$ParamSty
leType)]"
/> CR LF
|
213 |
|
<xsl:var
iable name
="VarCatal
ogStyle" s
elect="$Va
rCatalogSt
yles/wwdoc
:*[@name =
$ParamSty
leName]/ww
doc:Style"
/> CR LF
|
|
221 |
|
<xsl:var
iable name
="VarCatal
ogStyle" s
elect="$Va
rCatalogSt
yles/wwdoc
:*[@name =
$ParamSty
leName]/ww
doc:Style"
/> CR LF
|
214 |
|
CR LF
|
|
222 |
|
CR LF
|
215 |
|
<!-- Cat
alog --> CR LF
|
|
223 |
|
<!-- Cat
alog --> CR LF
|
216 |
|
<!--
--> CR LF
|
|
224 |
|
<!--
--> CR LF
|
217 |
|
<xsl:for
-each sele
ct="$VarCa
talogStyle
/wwdoc:Att
ribute"> CR LF
|
|
225 |
|
<xsl:for
-each sele
ct="$VarCa
talogStyle
/wwdoc:Att
ribute"> CR LF
|
218 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
|
226 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
219 |
|
CR LF
|
|
227 |
|
CR LF
|
220 |
|
<!-- De
termine so
urce --> CR LF
|
|
228 |
|
<!-- De
termine so
urce --> CR LF
|
221 |
|
<!--
--> CR LF
|
|
229 |
|
<!--
--> CR LF
|
222 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
|
230 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
223 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
|
231 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
224 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
|
232 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
225 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
233 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
226 |
|
</xsl:
call-templ
ate> CR LF
|
|
234 |
|
</xsl:
call-templ
ate> CR LF
|
227 |
|
</xsl:v
ariable> CR LF
|
|
235 |
|
</xsl:v
ariable> CR LF
|
228 |
|
CR LF
|
|
236 |
|
CR LF
|
229 |
|
<!-- Al
ready emit
ted? --> CR LF
|
|
237 |
|
<!-- Al
ready emit
ted? --> CR LF
|
230 |
|
<!--
--> CR LF
|
|
238 |
|
<!--
--> CR LF
|
231 |
|
<xsl:if
test="($V
arSource !
= 'Paragra
ph') or (c
ount($Para
mContextSt
yle/wwdoc:
Attribute[
@name = $V
arAttribut
e/@name])
= 0)"> CR LF
|
|
239 |
|
<xsl:if
test="($V
arSource !
= 'Paragra
ph') or (c
ount($Para
mContextSt
yle/wwdoc:
Attribute[
@name = $V
arAttribut
e/@name])
= 0)"> CR LF
|
232 |
|
<!-- E
mit? --> CR LF
|
|
240 |
|
<!-- E
mit? --> CR LF
|
233 |
|
<!--
--> CR LF
|
|
241 |
|
<!--
--> CR LF
|
234 |
|
<xsl:i
f test="($
VarSource
= 'Catalog
') or ($Va
rSource =
'Paragraph
')"> CR LF
|
|
242 |
|
<xsl:i
f test="($
VarSource
= 'Catalog
') or ($Va
rSource =
'Paragraph
')"> CR LF
|
|
|
243 |
|
<!--
Filter out
text-alig
n for Grap
hic style
types --> CR
LF
|
|
|
244 |
|
<!--
--> CR
LF
|
|
|
245 |
|
<xsl:
if test="n
ot($VarAtt
ribute/@na
me = 'text
-align' an
d $ParamSt
yleType =
'Graphic')
"> CR LF
|
235 |
|
<xsl:
call-templ
ate name="
Property-F
romDocumen
t"> CR LF
|
|
246 |
|
<xsl
:call-temp
late name=
"Property-
FromDocume
nt"> CR LF
|
236 |
|
<xsl
:with-para
m name="Pa
ramName" s
elect="$Va
rAttribute
/@name" />
CR LF
|
|
247 |
|
<xs
l:with-par
am name="P
aramName"
select="$V
arAttribut
e/@name" /
> CR LF
|
237 |
|
<xsl
:with-para
m name="Pa
ramValue"
select="$V
arAttribut
e/@value"
/> CR LF
|
|
248 |
|
<xs
l:with-par
am name="P
aramValue"
select="$
VarAttribu
te/@value"
/> CR LF
|
238 |
|
<xsl
:with-para
m name="Pa
ramSource"
select="$
VarSource"
/> CR LF
|
|
249 |
|
<xs
l:with-par
am name="P
aramSource
" select="
$VarSource
" /> CR LF
|
239 |
|
</xsl
:call-temp
late> CR LF
|
|
250 |
|
</xs
l:call-tem
plate> CR LF
|
240 |
|
</xsl:
if> CR LF
|
|
251 |
|
</xsl
:if> CR LF
|
241 |
|
</xsl:i
f> CR LF
|
|
252 |
|
</xsl:
if> CR LF
|
|
|
253 |
|
</xsl:i
f> CR LF
|
242 |
|
</xsl:fo
r-each> CR LF
|
|
254 |
|
</xsl:fo
r-each> CR LF
|
243 |
|
</xsl:tem
plate> CR LF
|
|
255 |
|
</xsl:tem
plate> CR LF
|
244 |
|
CR LF
|
|
256 |
|
CR LF
|
245 |
|
CR LF
|
|
257 |
|
CR LF
|
246 |
|
<xsl:temp
late name=
"Propertie
s-ResolveO
verrideRul
e"> CR LF
|
|
258 |
|
<xsl:temp
late name=
"Propertie
s-ResolveO
verrideRul
e"> CR LF
|
247 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
259 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
248 |
|
<xsl:par
am name="P
aramContex
tStyle" />
CR LF
|
|
260 |
|
<xsl:par
am name="P
aramContex
tStyle" />
CR LF
|
|
|
261 |
|
<xsl:par
am name="P
aramStyleT
ype" selec
t="''" /> CR
LF
|
249 |
|
CR LF
|
|
262 |
|
CR LF
|
250 |
|
<!-- Exp
licit --> CR
LF
|
|
263 |
|
<!-- Exp
licit --> CR
LF
|
251 |
|
<!--
--> CR
LF
|
|
264 |
|
<!--
--> CR
LF
|
252 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
|
265 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
253 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
|
266 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
254 |
|
CR LF
|
|
267 |
|
CR LF
|
255 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
|
268 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
|
|
269 |
|
<!-- F
ilter out
text-align
for Graph
ic style t
ype --> CR LF
|
|
|
270 |
|
<!--
--> CR LF
|
|
|
271 |
|
<xsl:i
f test="no
t($VarProp
erty/@Name
= 'text-a
lign' and
$ParamStyl
eType = 'G
raphic')">
CR LF
|
256 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
|
272 |
|
<xsl:
copy-of se
lect="$Var
Property"
/> CR LF
|
257 |
|
</xsl:i
f> CR LF
|
|
273 |
|
</xsl:
if> CR LF
|
|
|
274 |
|
</xsl:i
f> CR LF
|
258 |
|
</xsl:fo
r-each> CR LF
|
|
275 |
|
</xsl:fo
r-each> CR LF
|
259 |
|
CR LF
|
|
276 |
|
CR LF
|
260 |
|
<!-- Par
agraph -->
CR LF
|
|
277 |
|
<!-- Par
agraph -->
CR LF
|
261 |
|
<!--
-->
CR LF
|
|
278 |
|
<!--
-->
CR LF
|
262 |
|
<xsl:for
-each sele
ct="$Param
ContextSty
le/wwdoc:A
ttribute">
CR LF
|
|
279 |
|
<xsl:for
-each sele
ct="$Param
ContextSty
le/wwdoc:A
ttribute">
CR LF
|
263 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
|
280 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
264 |
|
CR LF
|
|
281 |
|
CR LF
|
265 |
|
<!-- De
termine so
urce --> CR LF
|
|
282 |
|
<!-- De
termine so
urce --> CR LF
|
266 |
|
<!--
--> CR LF
|
|
283 |
|
<!--
--> CR LF
|
267 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
|
284 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
268 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
|
285 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
269 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
|
286 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
270 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
287 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
271 |
|
</xsl:
call-templ
ate> CR LF
|
|
288 |
|
</xsl:
call-templ
ate> CR LF
|
272 |
|
</xsl:v
ariable> CR LF
|
|
289 |
|
</xsl:v
ariable> CR LF
|
273 |
|
CR LF
|
|
290 |
|
CR LF
|
274 |
|
<!-- Em
it? --> CR LF
|
|
291 |
|
<!-- Em
it? --> CR LF
|
275 |
|
<!--
--> CR LF
|
|
292 |
|
<!--
--> CR LF
|
276 |
|
<xsl:if
test="$Va
rSource =
'Paragraph
'"> CR LF
|
|
293 |
|
<xsl:if
test="$Va
rSource =
'Paragraph
'"> CR LF
|
|
|
294 |
|
<!-- F
ilter out
text-align
for Graph
ic style t
ype --> CR LF
|
|
|
295 |
|
<!--
--> CR LF
|
|
|
296 |
|
<xsl:i
f test="no
t($VarAttr
ibute/@nam
e = 'text-
align' and
$ParamSty
leType = '
Graphic')"
> CR LF
|
277 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
|
297 |
|
<xsl:
call-templ
ate name="
Property-F
romDocumen
t"> CR LF
|
278 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
298 |
|
<xsl
:with-para
m name="Pa
ramName" s
elect="$Va
rAttribute
/@name" />
CR LF
|
279 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
|
299 |
|
<xsl
:with-para
m name="Pa
ramValue"
select="$V
arAttribut
e/@value"
/> CR LF
|
280 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
|
300 |
|
<xsl
:with-para
m name="Pa
ramSource"
select="$
VarSource"
/> CR LF
|
281 |
|
</xsl:
call-templ
ate> CR LF
|
|
301 |
|
</xsl
:call-temp
late> CR LF
|
282 |
|
</xsl:i
f> CR LF
|
|
302 |
|
</xsl:
if> CR LF
|
|
|
303 |
|
</xsl:i
f> CR LF
|
283 |
|
</xsl:fo
r-each> CR LF
|
|
304 |
|
</xsl:fo
r-each> CR LF
|
284 |
|
</xsl:tem
plate> CR LF
|
|
305 |
|
</xsl:tem
plate> CR LF
|
285 |
|
CR LF
|
|
306 |
|
CR LF
|
286 |
|
CR LF
|
|
307 |
|
CR LF
|
287 |
|
<xsl:temp
late name=
"Propertie
s-Table-Se
ction-Reso
lveContext
Rule"> CR LF
|
|
308 |
|
<xsl:temp
late name=
"Propertie
s-Table-Se
ction-Reso
lveContext
Rule"> CR LF
|
288 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
309 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
289 |
|
<xsl:par
am name="P
aramDocume
ntContext"
/> CR LF
|
|
310 |
|
<xsl:par
am name="P
aramDocume
ntContext"
/> CR LF
|
290 |
|
<xsl:par
am name="P
aramTable"
/> CR LF
|
|
311 |
|
<xsl:par
am name="P
aramTable"
/> CR LF
|
291 |
|
<xsl:par
am name="P
aramSectio
n" /> CR LF
|
|
312 |
|
<xsl:par
am name="P
aramSectio
n" /> CR LF
|
292 |
|
CR LF
|
|
313 |
|
CR LF
|
293 |
|
<!-- Fil
ter proper
ties --> CR LF
|
|
314 |
|
<!-- Fil
ter proper
ties --> CR LF
|
294 |
|
<!--
--> CR LF
|
|
315 |
|
<!--
--> CR LF
|
295 |
|
<xsl:var
iable name
="VarFilte
redPropert
iesAsXML">
CR LF
|
|
316 |
|
<xsl:var
iable name
="VarFilte
redPropert
iesAsXML">
CR LF
|
296 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Secti
on-FilterP
roperties"
> CR LF
|
|
317 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Secti
on-FilterP
roperties"
> CR LF
|
297 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamPro
perties" /
> CR LF
|
|
318 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamPro
perties" /
> CR LF
|
298 |
|
<xsl:w
ith-param
name="Para
mSection"
select="$P
aramSectio
n" /> CR LF
|
|
319 |
|
<xsl:w
ith-param
name="Para
mSection"
select="$P
aramSectio
n" /> CR LF
|
299 |
|
</xsl:c
all-templa
te> CR LF
|
|
320 |
|
</xsl:c
all-templa
te> CR LF
|
300 |
|
</xsl:va
riable> CR LF
|
|
321 |
|
</xsl:va
riable> CR LF
|
301 |
|
<xsl:var
iable name
="VarFilte
redPropert
ies" selec
t="msxsl:n
ode-set($V
arFiltered
Properties
AsXML)/wwp
roject:Pro
perty" /> CR
LF
|
|
322 |
|
<xsl:var
iable name
="VarFilte
redPropert
ies" selec
t="msxsl:n
ode-set($V
arFiltered
Properties
AsXML)/wwp
roject:Pro
perty" /> CR
LF
|
302 |
|
CR LF
|
|
323 |
|
CR LF
|
303 |
|
<!-- Cat
alog Style
--> CR LF
|
|
324 |
|
<!-- Cat
alog Style
--> CR LF
|
304 |
|
<!--
--> CR LF
|
|
325 |
|
<!--
--> CR LF
|
305 |
|
<xsl:var
iable name
="VarDocum
entElement
" select="
$ParamDocu
mentContex
t/wwdoc:Do
cument | $
ParamDocum
entContext
/ancestor:
:wwdoc:Doc
ument" /> CR
LF
|
|
326 |
|
<xsl:var
iable name
="VarDocum
entElement
" select="
$ParamDocu
mentContex
t/wwdoc:Do
cument | $
ParamDocum
entContext
/ancestor:
:wwdoc:Doc
ument" /> CR
LF
|
306 |
|
<xsl:var
iable name
="VarCatal
ogStyles"
select="$V
arDocument
Element/ww
doc:Styles
/wwdoc:*[s
tarts-with
(local-nam
e(node()),
'Table')]
" /> CR LF
|
|
327 |
|
<xsl:var
iable name
="VarCatal
ogStyles"
select="$V
arDocument
Element/ww
doc:Styles
/wwdoc:*[s
tarts-with
(local-nam
e(node()),
'Table')]
" /> CR LF
|
307 |
|
<xsl:var
iable name
="VarCatal
ogStyle" s
elect="$Va
rCatalogSt
yles/wwdoc
:*[@name =
$ParamTab
le/@stylen
ame]/wwdoc
:Style" />
CR LF
|
|
328 |
|
<xsl:var
iable name
="VarCatal
ogStyle" s
elect="$Va
rCatalogSt
yles/wwdoc
:*[@name =
$ParamTab
le/@stylen
ame]/wwdoc
:Style" />
CR LF
|
308 |
|
CR LF
|
|
329 |
|
CR LF
|
309 |
|
<!-- Res
olve secti
on propert
ies --> CR LF
|
|
330 |
|
<!-- Res
olve secti
on propert
ies --> CR LF
|
310 |
|
<!--
--> CR LF
|
|
331 |
|
<!--
--> CR LF
|
311 |
|
<xsl:cho
ose> CR LF
|
|
332 |
|
<xsl:cho
ose> CR LF
|
312 |
|
<!-- Ta
ble Head -
-> CR LF
|
|
333 |
|
<!-- Ta
ble Head -
-> CR LF
|
313 |
|
<!--
-
-> CR LF
|
|
334 |
|
<!--
-
-> CR LF
|
314 |
|
<xsl:wh
en test="l
ocal-name(
$ParamSect
ion) = 'Ta
bleHead'">
CR LF
|
|
335 |
|
<xsl:wh
en test="l
ocal-name(
$ParamSect
ion) = 'Ta
bleHead'">
CR LF
|
315 |
|
<xsl:v
ariable na
me="VarCat
alogSectio
nStyle" se
lect="$Var
CatalogSty
le/wwdoc:T
ableHead/w
wdoc:Style
" /> CR LF
|
|
336 |
|
<xsl:v
ariable na
me="VarCat
alogSectio
nStyle" se
lect="$Var
CatalogSty
le/wwdoc:T
ableHead/w
wdoc:Style
" /> CR LF
|
316 |
|
<xsl:v
ariable na
me="VarSec
tionStyle"
select="$
ParamTable
/wwdoc:Sty
le/wwdoc:T
ableHead/w
wdoc:Style
" /> CR LF
|
|
337 |
|
<xsl:v
ariable na
me="VarSec
tionStyle"
select="$
ParamTable
/wwdoc:Sty
le/wwdoc:T
ableHead/w
wdoc:Style
" /> CR LF
|
317 |
|
CR LF
|
|
338 |
|
CR LF
|
318 |
|
<xsl:c
all-templa
te name="P
roperties-
Table-Sect
ion-Resolv
eContextPr
operties">
CR LF
|
|
339 |
|
<xsl:c
all-templa
te name="P
roperties-
Table-Sect
ion-Resolv
eContextPr
operties">
CR LF
|
319 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredProper
ties" /> CR LF
|
|
340 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredProper
ties" /> CR LF
|
320 |
|
<xsl:
with-param
name="Par
amCatalogS
ectionStyl
e" select=
"$VarCatal
ogSectionS
tyle" /> CR LF
|
|
341 |
|
<xsl:
with-param
name="Par
amCatalogS
ectionStyl
e" select=
"$VarCatal
ogSectionS
tyle" /> CR LF
|
321 |
|
<xsl:
with-param
name="Par
amSectionS
tyle" sele
ct="$VarSe
ctionStyle
" /> CR LF
|
|
342 |
|
<xsl:
with-param
name="Par
amSectionS
tyle" sele
ct="$VarSe
ctionStyle
" /> CR LF
|
322 |
|
</xsl:
call-templ
ate> CR LF
|
|
343 |
|
</xsl:
call-templ
ate> CR LF
|
323 |
|
</xsl:w
hen> CR LF
|
|
344 |
|
</xsl:w
hen> CR LF
|
324 |
|
CR LF
|
|
345 |
|
CR LF
|
325 |
|
<!-- Ta
ble Footer
--> CR LF
|
|
346 |
|
<!-- Ta
ble Footer
--> CR LF
|
326 |
|
<!--
--> CR LF
|
|
347 |
|
<!--
--> CR LF
|
327 |
|
<xsl:wh
en test="l
ocal-name(
$ParamSect
ion) = 'Ta
bleFoot'">
CR LF
|
|
348 |
|
<xsl:wh
en test="l
ocal-name(
$ParamSect
ion) = 'Ta
bleFoot'">
CR LF
|
328 |
|
<xsl:v
ariable na
me="VarCat
alogSectio
nStyle" se
lect="$Var
CatalogSty
le/wwdoc:T
ableFoot/w
wdoc:Style
" /> CR LF
|
|
349 |
|
<xsl:v
ariable na
me="VarCat
alogSectio
nStyle" se
lect="$Var
CatalogSty
le/wwdoc:T
ableFoot/w
wdoc:Style
" /> CR LF
|
329 |
|
<xsl:v
ariable na
me="VarSec
tionStyle"
select="$
ParamTable
/wwdoc:Sty
le/wwdoc:T
ableFoot/w
wdoc:Style
" /> CR LF
|
|
350 |
|
<xsl:v
ariable na
me="VarSec
tionStyle"
select="$
ParamTable
/wwdoc:Sty
le/wwdoc:T
ableFoot/w
wdoc:Style
" /> CR LF
|
330 |
|
CR LF
|
|
351 |
|
CR LF
|
331 |
|
<xsl:c
all-templa
te name="P
roperties-
Table-Sect
ion-Resolv
eContextPr
operties">
CR LF
|
|
352 |
|
<xsl:c
all-templa
te name="P
roperties-
Table-Sect
ion-Resolv
eContextPr
operties">
CR LF
|
332 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredProper
ties" /> CR LF
|
|
353 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredProper
ties" /> CR LF
|
333 |
|
<xsl:
with-param
name="Par
amCatalogS
ectionStyl
e" select=
"$VarCatal
ogSectionS
tyle" /> CR LF
|
|
354 |
|
<xsl:
with-param
name="Par
amCatalogS
ectionStyl
e" select=
"$VarCatal
ogSectionS
tyle" /> CR LF
|
334 |
|
<xsl:
with-param
name="Par
amSectionS
tyle" sele
ct="$VarSe
ctionStyle
" /> CR LF
|
|
355 |
|
<xsl:
with-param
name="Par
amSectionS
tyle" sele
ct="$VarSe
ctionStyle
" /> CR LF
|
335 |
|
</xsl:
call-templ
ate> CR LF
|
|
356 |
|
</xsl:
call-templ
ate> CR LF
|
336 |
|
</xsl:w
hen> CR LF
|
|
357 |
|
</xsl:w
hen> CR LF
|
337 |
|
CR LF
|
|
358 |
|
CR LF
|
338 |
|
<!-- Ta
ble Body -
-> CR LF
|
|
359 |
|
<!-- Ta
ble Body -
-> CR LF
|
339 |
|
<!--
-
-> CR LF
|
|
360 |
|
<!--
-
-> CR LF
|
340 |
|
<xsl:ot
herwise> CR LF
|
|
361 |
|
<xsl:ot
herwise> CR LF
|
341 |
|
<xsl:v
ariable na
me="VarCat
alogSectio
nStyle" se
lect="$Var
CatalogSty
le/wwdoc:T
ableBody/w
wdoc:Style
" /> CR LF
|
|
362 |
|
<xsl:v
ariable na
me="VarCat
alogSectio
nStyle" se
lect="$Var
CatalogSty
le/wwdoc:T
ableBody/w
wdoc:Style
" /> CR LF
|
342 |
|
<xsl:v
ariable na
me="VarSec
tionStyle"
select="$
ParamTable
/wwdoc:Sty
le/wwdoc:T
ableBody/w
wdoc:Style
" /> CR LF
|
|
363 |
|
<xsl:v
ariable na
me="VarSec
tionStyle"
select="$
ParamTable
/wwdoc:Sty
le/wwdoc:T
ableBody/w
wdoc:Style
" /> CR LF
|
343 |
|
CR LF
|
|
364 |
|
CR LF
|
344 |
|
<xsl:c
all-templa
te name="P
roperties-
Table-Sect
ion-Resolv
eContextPr
operties">
CR LF
|
|
365 |
|
<xsl:c
all-templa
te name="P
roperties-
Table-Sect
ion-Resolv
eContextPr
operties">
CR LF
|
345 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredProper
ties" /> CR LF
|
|
366 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredProper
ties" /> CR LF
|
346 |
|
<xsl:
with-param
name="Par
amCatalogS
ectionStyl
e" select=
"$VarCatal
ogSectionS
tyle" /> CR LF
|
|
367 |
|
<xsl:
with-param
name="Par
amCatalogS
ectionStyl
e" select=
"$VarCatal
ogSectionS
tyle" /> CR LF
|
347 |
|
<xsl:
with-param
name="Par
amSectionS
tyle" sele
ct="$VarSe
ctionStyle
" /> CR LF
|
|
368 |
|
<xsl:
with-param
name="Par
amSectionS
tyle" sele
ct="$VarSe
ctionStyle
" /> CR LF
|
348 |
|
</xsl:
call-templ
ate> CR LF
|
|
369 |
|
</xsl:
call-templ
ate> CR LF
|
349 |
|
</xsl:o
therwise> CR
LF
|
|
370 |
|
</xsl:o
therwise> CR
LF
|
350 |
|
</xsl:ch
oose> CR LF
|
|
371 |
|
</xsl:ch
oose> CR LF
|
351 |
|
</xsl:tem
plate> CR LF
|
|
372 |
|
</xsl:tem
plate> CR LF
|
352 |
|
CR LF
|
|
373 |
|
CR LF
|
353 |
|
CR LF
|
|
374 |
|
CR LF
|
354 |
|
<xsl:temp
late name=
"Propertie
s-Table-Se
ction-Filt
erProperti
es"> CR LF
|
|
375 |
|
<xsl:temp
late name=
"Propertie
s-Table-Se
ction-Filt
erProperti
es"> CR LF
|
355 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
376 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
356 |
|
<xsl:par
am name="P
aramSectio
n" /> CR LF
|
|
377 |
|
<xsl:par
am name="P
aramSectio
n" /> CR LF
|
357 |
|
CR LF
|
|
378 |
|
CR LF
|
358 |
|
<!-- Det
ermine fil
ter --> CR LF
|
|
379 |
|
<!-- Det
ermine fil
ter --> CR LF
|
359 |
|
<!--
--> CR LF
|
|
380 |
|
<!--
--> CR LF
|
360 |
|
<xsl:var
iable name
="VarFilte
r"> CR LF
|
|
381 |
|
<xsl:var
iable name
="VarFilte
r"> CR LF
|
361 |
|
<xsl:ch
oose> CR LF
|
|
382 |
|
<xsl:ch
oose> CR LF
|
362 |
|
<xsl:w
hen test="
local-name
($ParamSec
tion) = 'T
ableHead'"
> CR LF
|
|
383 |
|
<xsl:w
hen test="
local-name
($ParamSec
tion) = 'T
ableHead'"
> CR LF
|
363 |
|
<xsl:
value-of s
elect="'th
ead-'" /> CR
LF
|
|
384 |
|
<xsl:
value-of s
elect="'th
ead-'" /> CR
LF
|
364 |
|
</xsl:
when> CR LF
|
|
385 |
|
</xsl:
when> CR LF
|
365 |
|
CR LF
|
|
386 |
|
CR LF
|
366 |
|
<xsl:w
hen test="
local-name
($ParamSec
tion) = 'T
ableFoot'"
> CR LF
|
|
387 |
|
<xsl:w
hen test="
local-name
($ParamSec
tion) = 'T
ableFoot'"
> CR LF
|
367 |
|
<xsl:
value-of s
elect="'tf
oot-'" /> CR
LF
|
|
388 |
|
<xsl:
value-of s
elect="'tf
oot-'" /> CR
LF
|
368 |
|
</xsl:
when> CR LF
|
|
389 |
|
</xsl:
when> CR LF
|
369 |
|
CR LF
|
|
390 |
|
CR LF
|
370 |
|
<xsl:o
therwise> CR
LF
|
|
391 |
|
<xsl:o
therwise> CR
LF
|
371 |
|
<xsl:
value-of s
elect="'tb
ody-'" /> CR
LF
|
|
392 |
|
<xsl:
value-of s
elect="'tb
ody-'" /> CR
LF
|
372 |
|
</xsl:
otherwise>
CR LF
|
|
393 |
|
</xsl:
otherwise>
CR LF
|
373 |
|
</xsl:c
hoose> CR LF
|
|
394 |
|
</xsl:c
hoose> CR LF
|
374 |
|
</xsl:va
riable> CR LF
|
|
395 |
|
</xsl:va
riable> CR LF
|
375 |
|
CR LF
|
|
396 |
|
CR LF
|
376 |
|
<!-- Fil
ter proper
ties --> CR LF
|
|
397 |
|
<!-- Fil
ter proper
ties --> CR LF
|
377 |
|
<!--
--> CR LF
|
|
398 |
|
<!--
--> CR LF
|
378 |
|
<xsl:for
-each sele
ct="$Param
Properties
"> CR LF
|
|
399 |
|
<xsl:for
-each sele
ct="$Param
Properties
"> CR LF
|
379 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
|
400 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
380 |
|
CR LF
|
|
401 |
|
CR LF
|
381 |
|
<xsl:if
test="sta
rts-with($
VarPropert
y/@Name, $
VarFilter)
"> CR LF
|
|
402 |
|
<xsl:if
test="sta
rts-with($
VarPropert
y/@Name, $
VarFilter)
"> CR LF
|
382 |
|
<wwpro
ject:Prope
rty Name="
{substring
-after($Va
rProperty/
@Name, $Va
rFilter)}"
Value="{$
VarPropert
y/@Value}"
Source="{
$VarProper
ty/@Source
}" /> CR LF
|
|
403 |
|
<wwpro
ject:Prope
rty Name="
{substring
-after($Va
rProperty/
@Name, $Va
rFilter)}"
Value="{$
VarPropert
y/@Value}"
Source="{
$VarProper
ty/@Source
}" /> CR LF
|
383 |
|
</xsl:i
f> CR LF
|
|
404 |
|
</xsl:i
f> CR LF
|
384 |
|
</xsl:fo
r-each> CR LF
|
|
405 |
|
</xsl:fo
r-each> CR LF
|
385 |
|
</xsl:tem
plate> CR LF
|
|
406 |
|
</xsl:tem
plate> CR LF
|
386 |
|
CR LF
|
|
407 |
|
CR LF
|
387 |
|
CR LF
|
|
408 |
|
CR LF
|
388 |
|
<xsl:temp
late name=
"Propertie
s-Table-Se
ction-Reso
lveContext
Properties
"> CR LF
|
|
409 |
|
<xsl:temp
late name=
"Propertie
s-Table-Se
ction-Reso
lveContext
Properties
"> CR LF
|
389 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
410 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
390 |
|
<xsl:par
am name="P
aramCatalo
gSectionSt
yle" /> CR LF
|
|
411 |
|
<xsl:par
am name="P
aramCatalo
gSectionSt
yle" /> CR LF
|
391 |
|
<xsl:par
am name="P
aramSectio
nStyle" />
CR LF
|
|
412 |
|
<xsl:par
am name="P
aramSectio
nStyle" />
CR LF
|
392 |
|
CR LF
|
|
413 |
|
CR LF
|
393 |
|
<!-- DoN
otEmit -->
CR LF
|
|
414 |
|
<!-- DoN
otEmit -->
CR LF
|
394 |
|
<!--
-->
CR LF
|
|
415 |
|
<!--
-->
CR LF
|
395 |
|
<xsl:cop
y-of selec
t="$ParamP
roperties[
@Source =
'DoNotEmit
']" /> CR LF
|
|
416 |
|
<xsl:cop
y-of selec
t="$ParamP
roperties[
@Source =
'DoNotEmit
']" /> CR LF
|
396 |
|
CR LF
|
|
417 |
|
CR LF
|
397 |
|
<!-- Exp
licit --> CR
LF
|
|
418 |
|
<!-- Exp
licit --> CR
LF
|
398 |
|
<!--
--> CR
LF
|
|
419 |
|
<!--
--> CR
LF
|
399 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
|
420 |
|
<xsl:for
-each sele
ct="$Param
Properties
[@Source =
'Explicit
']"> CR LF
|
400 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
|
421 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
401 |
|
CR LF
|
|
422 |
|
CR LF
|
402 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
|
423 |
|
<xsl:if
test="str
ing-length
($VarPrope
rty/@Value
) > 0">
CR LF
|
403 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
|
424 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
404 |
|
</xsl:i
f> CR LF
|
|
425 |
|
</xsl:i
f> CR LF
|
405 |
|
</xsl:fo
r-each> CR LF
|
|
426 |
|
</xsl:fo
r-each> CR LF
|
406 |
|
CR LF
|
|
427 |
|
CR LF
|
407 |
|
<!-- Sec
tion --> CR LF
|
|
428 |
|
<!-- Sec
tion --> CR LF
|
408 |
|
<!--
--> CR LF
|
|
429 |
|
<!--
--> CR LF
|
409 |
|
<xsl:for
-each sele
ct="$Param
SectionSty
le/wwdoc:A
ttribute">
CR LF
|
|
430 |
|
<xsl:for
-each sele
ct="$Param
SectionSty
le/wwdoc:A
ttribute">
CR LF
|
410 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
|
431 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
411 |
|
CR LF
|
|
432 |
|
CR LF
|
412 |
|
<!-- De
termine so
urce --> CR LF
|
|
433 |
|
<!-- De
termine so
urce --> CR LF
|
413 |
|
<!--
--> CR LF
|
|
434 |
|
<!--
--> CR LF
|
414 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
|
435 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
415 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
|
436 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
416 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
|
437 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
417 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
438 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
418 |
|
</xsl:
call-templ
ate> CR LF
|
|
439 |
|
</xsl:
call-templ
ate> CR LF
|
419 |
|
</xsl:v
ariable> CR LF
|
|
440 |
|
</xsl:v
ariable> CR LF
|
420 |
|
CR LF
|
|
441 |
|
CR LF
|
421 |
|
<!-- Em
it? --> CR LF
|
|
442 |
|
<!-- Em
it? --> CR LF
|
422 |
|
<!--
--> CR LF
|
|
443 |
|
<!--
--> CR LF
|
423 |
|
<xsl:if
test="($V
arSource =
'Catalog'
) or ($Var
Source = '
Paragraph'
)"> CR LF
|
|
444 |
|
<xsl:if
test="($V
arSource =
'Catalog'
) or ($Var
Source = '
Paragraph'
)"> CR LF
|
424 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
|
445 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
425 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
446 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
426 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
|
447 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
427 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
|
448 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
428 |
|
</xsl:
call-templ
ate> CR LF
|
|
449 |
|
</xsl:
call-templ
ate> CR LF
|
429 |
|
</xsl:i
f> CR LF
|
|
450 |
|
</xsl:i
f> CR LF
|
430 |
|
</xsl:fo
r-each> CR LF
|
|
451 |
|
</xsl:fo
r-each> CR LF
|
431 |
|
CR LF
|
|
452 |
|
CR LF
|
432 |
|
<!-- Cat
alog --> CR LF
|
|
453 |
|
<!-- Cat
alog --> CR LF
|
433 |
|
<!--
--> CR LF
|
|
454 |
|
<!--
--> CR LF
|
434 |
|
<xsl:for
-each sele
ct="$Param
CatalogSec
tionStyle/
wwdoc:Attr
ibute"> CR LF
|
|
455 |
|
<xsl:for
-each sele
ct="$Param
CatalogSec
tionStyle/
wwdoc:Attr
ibute"> CR LF
|
435 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
|
456 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
436 |
|
CR LF
|
|
457 |
|
CR LF
|
437 |
|
<!-- De
termine so
urce --> CR LF
|
|
458 |
|
<!-- De
termine so
urce --> CR LF
|
438 |
|
<!--
--> CR LF
|
|
459 |
|
<!--
--> CR LF
|
439 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
|
460 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
440 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
|
461 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
441 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
|
462 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$ParamPr
operties"
/> CR LF
|
442 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
463 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
443 |
|
</xsl:
call-templ
ate> CR LF
|
|
464 |
|
</xsl:
call-templ
ate> CR LF
|
444 |
|
</xsl:v
ariable> CR LF
|
|
465 |
|
</xsl:v
ariable> CR LF
|
445 |
|
CR LF
|
|
466 |
|
CR LF
|
446 |
|
<!-- Em
it? --> CR LF
|
|
467 |
|
<!-- Em
it? --> CR LF
|
447 |
|
<!--
--> CR LF
|
|
468 |
|
<!--
--> CR LF
|
448 |
|
<xsl:if
test="($V
arSource =
'Catalog'
) or ($Var
Source = '
Paragraph'
)"> CR LF
|
|
469 |
|
<xsl:if
test="($V
arSource =
'Catalog'
) or ($Var
Source = '
Paragraph'
)"> CR LF
|
449 |
|
<!-- A
lready emi
tted? --> CR
LF
|
|
470 |
|
<!-- A
lready emi
tted? --> CR
LF
|
450 |
|
<!--
--> CR
LF
|
|
471 |
|
<!--
--> CR
LF
|
451 |
|
<xsl:i
f test="co
unt($Param
SectionSty
le/wwdoc:A
ttribute[@
name = $Va
rAttribute
/@name]) =
0"> CR LF
|
|
472 |
|
<xsl:i
f test="co
unt($Param
SectionSty
le/wwdoc:A
ttribute[@
name = $Va
rAttribute
/@name]) =
0"> CR LF
|
452 |
|
<xsl:
call-templ
ate name="
Property-F
romDocumen
t"> CR LF
|
|
473 |
|
<xsl:
call-templ
ate name="
Property-F
romDocumen
t"> CR LF
|
453 |
|
<xsl
:with-para
m name="Pa
ramName" s
elect="$Va
rAttribute
/@name" />
CR LF
|
|
474 |
|
<xsl
:with-para
m name="Pa
ramName" s
elect="$Va
rAttribute
/@name" />
CR LF
|
454 |
|
<xsl
:with-para
m name="Pa
ramValue"
select="$V
arAttribut
e/@value"
/> CR LF
|
|
475 |
|
<xsl
:with-para
m name="Pa
ramValue"
select="$V
arAttribut
e/@value"
/> CR LF
|
455 |
|
<xsl
:with-para
m name="Pa
ramSource"
select="$
VarSource"
/> CR LF
|
|
476 |
|
<xsl
:with-para
m name="Pa
ramSource"
select="$
VarSource"
/> CR LF
|
456 |
|
</xsl
:call-temp
late> CR LF
|
|
477 |
|
</xsl
:call-temp
late> CR LF
|
457 |
|
</xsl:
if> CR LF
|
|
478 |
|
</xsl:
if> CR LF
|
458 |
|
</xsl:i
f> CR LF
|
|
479 |
|
</xsl:i
f> CR LF
|
459 |
|
</xsl:fo
r-each> CR LF
|
|
480 |
|
</xsl:fo
r-each> CR LF
|
460 |
|
</xsl:tem
plate> CR LF
|
|
481 |
|
</xsl:tem
plate> CR LF
|
461 |
|
CR LF
|
|
482 |
|
CR LF
|
462 |
|
CR LF
|
|
483 |
|
CR LF
|
463 |
|
<xsl:temp
late name=
"Propertie
s-Table-Ce
ll-Resolve
Properties
"> CR LF
|
|
484 |
|
<xsl:temp
late name=
"Propertie
s-Table-Ce
ll-Resolve
Properties
"> CR LF
|
464 |
|
<xsl:par
am name="P
aramSectio
nPropertie
s" /> CR LF
|
|
485 |
|
<xsl:par
am name="P
aramSectio
nPropertie
s" /> CR LF
|
465 |
|
<xsl:par
am name="P
aramCellSt
yle" /> CR LF
|
|
486 |
|
<xsl:par
am name="P
aramCellSt
yle" /> CR LF
|
466 |
|
<xsl:par
am name="P
aramRowInd
ex" /> CR LF
|
|
487 |
|
<xsl:par
am name="P
aramRowInd
ex" /> CR LF
|
467 |
|
<xsl:par
am name="P
aramColumn
Index" /> CR
LF
|
|
488 |
|
<xsl:par
am name="P
aramColumn
Index" /> CR
LF
|
468 |
|
CR LF
|
|
489 |
|
CR LF
|
469 |
|
<!-- Bac
kground fi
lter --> CR LF
|
|
490 |
|
<!-- Bac
kground fi
lter --> CR LF
|
470 |
|
<!--
--> CR LF
|
|
491 |
|
<!--
--> CR LF
|
471 |
|
<xsl:var
iable name
="VarBackg
roundFilte
r"> CR LF
|
|
492 |
|
<xsl:var
iable name
="VarBackg
roundFilte
r"> CR LF
|
472 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Cell-
DetermineB
ackgroundF
ilter"> CR LF
|
|
493 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Cell-
DetermineB
ackgroundF
ilter"> CR LF
|
473 |
|
<xsl:w
ith-param
name="Para
mSectionPr
operties"
select="$P
aramSectio
nPropertie
s" /> CR LF
|
|
494 |
|
<xsl:w
ith-param
name="Para
mSectionPr
operties"
select="$P
aramSectio
nPropertie
s" /> CR LF
|
474 |
|
<xsl:w
ith-param
name="Para
mRowIndex"
select="$
ParamRowIn
dex" /> CR LF
|
|
495 |
|
<xsl:w
ith-param
name="Para
mRowIndex"
select="$
ParamRowIn
dex" /> CR LF
|
475 |
|
<xsl:w
ith-param
name="Para
mColumnInd
ex" select
="$ParamCo
lumnIndex"
/> CR LF
|
|
496 |
|
<xsl:w
ith-param
name="Para
mColumnInd
ex" select
="$ParamCo
lumnIndex"
/> CR LF
|
476 |
|
</xsl:c
all-templa
te> CR LF
|
|
497 |
|
</xsl:c
all-templa
te> CR LF
|
477 |
|
</xsl:va
riable> CR LF
|
|
498 |
|
</xsl:va
riable> CR LF
|
478 |
|
CR LF
|
|
499 |
|
CR LF
|
479 |
|
<!-- Fil
ter sectio
n properti
es --> CR LF
|
|
500 |
|
<!-- Fil
ter sectio
n properti
es --> CR LF
|
480 |
|
<!--
--> CR LF
|
|
501 |
|
<!--
--> CR LF
|
481 |
|
<xsl:var
iable name
="VarFilte
redSection
Properties
AsXML"> CR LF
|
|
502 |
|
<xsl:var
iable name
="VarFilte
redSection
Properties
AsXML"> CR LF
|
482 |
|
<xsl:fo
r-each sel
ect="$Para
mSectionPr
operties">
CR LF
|
|
503 |
|
<xsl:fo
r-each sel
ect="$Para
mSectionPr
operties">
CR LF
|
483 |
|
<xsl:v
ariable na
me="VarPro
perty" sel
ect="." />
CR LF
|
|
504 |
|
<xsl:v
ariable na
me="VarPro
perty" sel
ect="." />
CR LF
|
484 |
|
CR LF
|
|
505 |
|
CR LF
|
485 |
|
<xsl:c
hoose> CR LF
|
|
506 |
|
<xsl:c
hoose> CR LF
|
486 |
|
<xsl:
when test=
"starts-wi
th($VarPro
perty/@Nam
e, 'backgr
ound-')"> CR
LF
|
|
507 |
|
<xsl:
when test=
"starts-wi
th($VarPro
perty/@Nam
e, 'backgr
ound-')"> CR
LF
|
487 |
|
<xsl
:if test="
$VarBackgr
oundFilter
= 'normal
'"> CR LF
|
|
508 |
|
<xsl
:if test="
$VarBackgr
oundFilter
= 'normal
'"> CR LF
|
488 |
|
<xs
l:copy-of
select="$V
arProperty
" /> CR LF
|
|
509 |
|
<xs
l:copy-of
select="$V
arProperty
" /> CR LF
|
489 |
|
</xs
l:if> CR LF
|
|
510 |
|
</xs
l:if> CR LF
|
490 |
|
</xsl
:when> CR LF
|
|
511 |
|
</xsl
:when> CR LF
|
491 |
|
CR LF
|
|
512 |
|
CR LF
|
492 |
|
<xsl:
when test=
"starts-wi
th($VarPro
perty/@Nam
e, 'altern
ate-backgr
ound-')"> CR
LF
|
|
513 |
|
<xsl:
when test=
"starts-wi
th($VarPro
perty/@Nam
e, 'altern
ate-backgr
ound-')"> CR
LF
|
493 |
|
<xsl
:if test="
$VarBackgr
oundFilter
= 'altern
ate'"> CR LF
|
|
514 |
|
<xsl
:if test="
$VarBackgr
oundFilter
= 'altern
ate'"> CR LF
|
494 |
|
<ww
project:Pr
operty Nam
e="{substr
ing-after(
$VarProper
ty/@Name,
'alternate
-')}" Valu
e="{$VarPr
operty/@Va
lue}" Sour
ce="{$VarP
roperty/@S
ource}" />
CR LF
|
|
515 |
|
<ww
project:Pr
operty Nam
e="{substr
ing-after(
$VarProper
ty/@Name,
'alternate
-')}" Valu
e="{$VarPr
operty/@Va
lue}" Sour
ce="{$VarP
roperty/@S
ource}" />
CR LF
|
495 |
|
</xs
l:if> CR LF
|
|
516 |
|
</xs
l:if> CR LF
|
496 |
|
</xsl
:when> CR LF
|
|
517 |
|
</xsl
:when> CR LF
|
497 |
|
CR LF
|
|
518 |
|
CR LF
|
498 |
|
<xsl:
otherwise>
CR LF
|
|
519 |
|
<xsl:
otherwise>
CR LF
|
499 |
|
<xsl
:copy-of s
elect="$Va
rProperty"
/> CR LF
|
|
520 |
|
<xsl
:copy-of s
elect="$Va
rProperty"
/> CR LF
|
500 |
|
</xsl
:otherwise
> CR LF
|
|
521 |
|
</xsl
:otherwise
> CR LF
|
501 |
|
</xsl:
choose> CR LF
|
|
522 |
|
</xsl:
choose> CR LF
|
502 |
|
</xsl:f
or-each> CR LF
|
|
523 |
|
</xsl:f
or-each> CR LF
|
503 |
|
</xsl:va
riable> CR LF
|
|
524 |
|
</xsl:va
riable> CR LF
|
504 |
|
<xsl:var
iable name
="VarFilte
redSection
Properties
" select="
msxsl:node
-set($VarF
ilteredSec
tionProper
tiesAsXML)
/wwproject
:Property"
/> CR LF
|
|
525 |
|
<xsl:var
iable name
="VarFilte
redSection
Properties
" select="
msxsl:node
-set($VarF
ilteredSec
tionProper
tiesAsXML)
/wwproject
:Property"
/> CR LF
|
505 |
|
CR LF
|
|
526 |
|
CR LF
|
506 |
|
<!-- Par
agraph -->
CR LF
|
|
527 |
|
<!-- Par
agraph -->
CR LF
|
507 |
|
<!--
-->
CR LF
|
|
528 |
|
<!--
-->
CR LF
|
508 |
|
<xsl:for
-each sele
ct="$Param
CellStyle/
wwdoc:Attr
ibute"> CR LF
|
|
529 |
|
<xsl:for
-each sele
ct="$Param
CellStyle/
wwdoc:Attr
ibute"> CR LF
|
509 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
|
530 |
|
<xsl:va
riable nam
e="VarAttr
ibute" sel
ect="." />
CR LF
|
510 |
|
CR LF
|
|
531 |
|
CR LF
|
511 |
|
<!-- De
termine so
urce --> CR LF
|
|
532 |
|
<!-- De
termine so
urce --> CR LF
|
512 |
|
<!--
--> CR LF
|
|
533 |
|
<!--
--> CR LF
|
513 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
|
534 |
|
<xsl:va
riable nam
e="VarSour
ce"> CR LF
|
514 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
|
535 |
|
<xsl:c
all-templa
te name="P
roperty-So
urce-Keyed
"> CR LF
|
515 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredSectio
nPropertie
s" /> CR LF
|
|
536 |
|
<xsl:
with-param
name="Par
amProperti
es" select
="$VarFilt
eredSectio
nPropertie
s" /> CR LF
|
516 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
537 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
517 |
|
</xsl:
call-templ
ate> CR LF
|
|
538 |
|
</xsl:
call-templ
ate> CR LF
|
518 |
|
</xsl:v
ariable> CR LF
|
|
539 |
|
</xsl:v
ariable> CR LF
|
519 |
|
CR LF
|
|
540 |
|
CR LF
|
520 |
|
<!-- Em
it? --> CR LF
|
|
541 |
|
<!-- Em
it? --> CR LF
|
521 |
|
<!--
--> CR LF
|
|
542 |
|
<!--
--> CR LF
|
522 |
|
<xsl:if
test="$Va
rSource =
'Paragraph
'"> CR LF
|
|
543 |
|
<xsl:if
test="$Va
rSource =
'Paragraph
'"> CR LF
|
523 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
|
544 |
|
<xsl:c
all-templa
te name="P
roperty-Fr
omDocument
"> CR LF
|
524 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
|
545 |
|
<xsl:
with-param
name="Par
amName" se
lect="$Var
Attribute/
@name" /> CR
LF
|
525 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
|
546 |
|
<xsl:
with-param
name="Par
amValue" s
elect="$Va
rAttribute
/@value" /
> CR LF
|
526 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
|
547 |
|
<xsl:
with-param
name="Par
amSource"
select="$V
arSource"
/> CR LF
|
527 |
|
</xsl:
call-templ
ate> CR LF
|
|
548 |
|
</xsl:
call-templ
ate> CR LF
|
528 |
|
</xsl:i
f> CR LF
|
|
549 |
|
</xsl:i
f> CR LF
|
529 |
|
</xsl:fo
r-each> CR LF
|
|
550 |
|
</xsl:fo
r-each> CR LF
|
530 |
|
CR LF
|
|
551 |
|
CR LF
|
531 |
|
<!-- Sec
tion --> CR LF
|
|
552 |
|
<!-- Sec
tion --> CR LF
|
532 |
|
<!--
--> CR LF
|
|
553 |
|
<!--
--> CR LF
|
533 |
|
<xsl:for
-each sele
ct="$VarFi
lteredSect
ionPropert
ies[@Sourc
e != 'DoNo
tEmit']"> CR
LF
|
|
554 |
|
<xsl:for
-each sele
ct="$VarFi
lteredSect
ionPropert
ies[@Sourc
e != 'DoNo
tEmit']"> CR
LF
|
534 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
|
555 |
|
<xsl:va
riable nam
e="VarProp
erty" sele
ct="." /> CR
LF
|
535 |
|
CR LF
|
|
556 |
|
CR LF
|
536 |
|
<!-- Al
ready emit
ted? --> CR LF
|
|
557 |
|
<!-- Al
ready emit
ted? --> CR LF
|
537 |
|
<!--
--> CR LF
|
|
558 |
|
<!--
--> CR LF
|
538 |
|
<xsl:if
test="($V
arProperty
/@Source !
= 'Paragra
ph') or (c
ount($Para
mCellStyle
/wwdoc:Att
ribute[@na
me = $VarP
roperty/@N
ame]) = 0)
"> CR LF
|
|
559 |
|
<xsl:if
test="($V
arProperty
/@Source !
= 'Paragra
ph') or (c
ount($Para
mCellStyle
/wwdoc:Att
ribute[@na
me = $VarP
roperty/@N
ame]) = 0)
"> CR LF
|
539 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
|
560 |
|
<xsl:c
opy-of sel
ect="$VarP
roperty" /
> CR LF
|
540 |
|
</xsl:i
f> CR LF
|
|
561 |
|
</xsl:i
f> CR LF
|
541 |
|
</xsl:fo
r-each> CR LF
|
|
562 |
|
</xsl:fo
r-each> CR LF
|
542 |
|
</xsl:tem
plate> CR LF
|
|
563 |
|
</xsl:tem
plate> CR LF
|
543 |
|
CR LF
|
|
564 |
|
CR LF
|
544 |
|
CR LF
|
|
565 |
|
CR LF
|
545 |
|
<xsl:temp
late name=
"Propertie
s-Table-Ce
ll-Determi
neBackgrou
ndFilter">
CR LF
|
|
566 |
|
<xsl:temp
late name=
"Propertie
s-Table-Ce
ll-Determi
neBackgrou
ndFilter">
CR LF
|
546 |
|
<xsl:par
am name="P
aramSectio
nPropertie
s" /> CR LF
|
|
567 |
|
<xsl:par
am name="P
aramSectio
nPropertie
s" /> CR LF
|
547 |
|
<xsl:par
am name="P
aramRowInd
ex" /> CR LF
|
|
568 |
|
<xsl:par
am name="P
aramRowInd
ex" /> CR LF
|
548 |
|
<xsl:par
am name="P
aramColumn
Index" /> CR
LF
|
|
569 |
|
<xsl:par
am name="P
aramColumn
Index" /> CR
LF
|
549 |
|
CR LF
|
|
570 |
|
CR LF
|
550 |
|
<!-- Det
ermine sha
ding index
--> CR LF
|
|
571 |
|
<!-- Det
ermine sha
ding index
--> CR LF
|
551 |
|
<!--
--> CR LF
|
|
572 |
|
<!--
--> CR LF
|
552 |
|
<xsl:var
iable name
="VarIndex
"> CR LF
|
|
573 |
|
<xsl:var
iable name
="VarIndex
"> CR LF
|
553 |
|
<xsl:ch
oose> CR LF
|
|
574 |
|
<xsl:ch
oose> CR LF
|
554 |
|
<xsl:w
hen test="
$ParamSect
ionPropert
ies[@Name
= 'alterna
te-backgro
und-contex
t']/@Value
= 'column
'"> CR LF
|
|
575 |
|
<xsl:w
hen test="
$ParamSect
ionPropert
ies[@Name
= 'alterna
te-backgro
und-contex
t']/@Value
= 'column
'"> CR LF
|
555 |
|
<xsl:
value-of s
elect="$Pa
ramColumnI
ndex" /> CR LF
|
|
576 |
|
<xsl:
value-of s
elect="$Pa
ramColumnI
ndex" /> CR LF
|
556 |
|
</xsl:
when> CR LF
|
|
577 |
|
</xsl:
when> CR LF
|
557 |
|
CR LF
|
|
578 |
|
CR LF
|
558 |
|
<xsl:o
therwise> CR
LF
|
|
579 |
|
<xsl:o
therwise> CR
LF
|
559 |
|
<xsl:
value-of s
elect="$Pa
ramRowInde
x" /> CR LF
|
|
580 |
|
<xsl:
value-of s
elect="$Pa
ramRowInde
x" /> CR LF
|
560 |
|
</xsl:
otherwise>
CR LF
|
|
581 |
|
</xsl:
otherwise>
CR LF
|
561 |
|
</xsl:c
hoose> CR LF
|
|
582 |
|
</xsl:c
hoose> CR LF
|
562 |
|
</xsl:va
riable> CR LF
|
|
583 |
|
</xsl:va
riable> CR LF
|
563 |
|
CR LF
|
|
584 |
|
CR LF
|
564 |
|
<!-- Det
ermine sha
ding perio
ds --> CR LF
|
|
585 |
|
<!-- Det
ermine sha
ding perio
ds --> CR LF
|
565 |
|
<!--
--> CR LF
|
|
586 |
|
<!--
--> CR LF
|
566 |
|
<xsl:var
iable name
="VarBackg
roundPerio
d"> CR LF
|
|
587 |
|
<xsl:var
iable name
="VarBackg
roundPerio
d"> CR LF
|
567 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Cell-
Background
Period"> CR LF
|
|
588 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Cell-
Background
Period"> CR LF
|
568 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamSec
tionProper
ties" /> CR LF
|
|
589 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamSec
tionProper
ties" /> CR LF
|
569 |
|
<xsl:w
ith-param
name="Para
mPeriodAtt
ributeName
" select="
'backgroun
d-period'"
/> CR LF
|
|
590 |
|
<xsl:w
ith-param
name="Para
mPeriodAtt
ributeName
" select="
'backgroun
d-period'"
/> CR LF
|
570 |
|
</xsl:c
all-templa
te> CR LF
|
|
591 |
|
</xsl:c
all-templa
te> CR LF
|
571 |
|
</xsl:va
riable> CR LF
|
|
592 |
|
</xsl:va
riable> CR LF
|
572 |
|
<xsl:var
iable name
="VarAlter
nateBackgr
oundPeriod
"> CR LF
|
|
593 |
|
<xsl:var
iable name
="VarAlter
nateBackgr
oundPeriod
"> CR LF
|
573 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Cell-
Background
Period"> CR LF
|
|
594 |
|
<xsl:ca
ll-templat
e name="Pr
operties-T
able-Cell-
Background
Period"> CR LF
|
574 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamSec
tionProper
ties" /> CR LF
|
|
595 |
|
<xsl:w
ith-param
name="Para
mPropertie
s" select=
"$ParamSec
tionProper
ties" /> CR LF
|
575 |
|
<xsl:w
ith-param
name="Para
mPeriodAtt
ributeName
" select="
'alternate
-backgroun
d-period'"
/> CR LF
|
|
596 |
|
<xsl:w
ith-param
name="Para
mPeriodAtt
ributeName
" select="
'alternate
-backgroun
d-period'"
/> CR LF
|
576 |
|
</xsl:c
all-templa
te> CR LF
|
|
597 |
|
</xsl:c
all-templa
te> CR LF
|
577 |
|
</xsl:va
riable> CR LF
|
|
598 |
|
</xsl:va
riable> CR LF
|
578 |
|
CR LF
|
|
599 |
|
CR LF
|
579 |
|
<!-- Bac
kground fi
lter --> CR LF
|
|
600 |
|
<!-- Bac
kground fi
lter --> CR LF
|
580 |
|
<!--
--> CR LF
|
|
601 |
|
<!--
--> CR LF
|
581 |
|
<xsl:cho
ose> CR LF
|
|
602 |
|
<xsl:cho
ose> CR LF
|
582 |
|
<xsl:wh
en test="$
VarBackgro
undPeriod
> 0"> CR LF
|
|
603 |
|
<xsl:wh
en test="$
VarBackgro
undPeriod
> 0"> CR LF
|
583 |
|
<xsl:v
ariable na
me="VarPer
iodSum" se
lect="numb
er($VarBac
kgroundPer
iod) + num
ber($VarAl
ternateBac
kgroundPer
iod)" /> CR LF
|
|
604 |
|
<xsl:v
ariable na
me="VarPer
iodSum" se
lect="numb
er($VarBac
kgroundPer
iod) + num
ber($VarAl
ternateBac
kgroundPer
iod)" /> CR LF
|
584 |
|
<xsl:v
ariable na
me="VarPos
itionModSu
m" select=
"(number($
VarIndex)
- 1) mod n
umber($Var
PeriodSum)
" /> CR LF
|
|
605 |
|
<xsl:v
ariable na
me="VarPos
itionModSu
m" select=
"(number($
VarIndex)
- 1) mod n
umber($Var
PeriodSum)
" /> CR LF
|
585 |
|
<xsl:c
hoose> CR LF
|
|
606 |
|
<xsl:c
hoose> CR LF
|
586 |
|
<xsl:
when test=
"number($V
arPosition
ModSum) &l
t; number(
$VarBackgr
oundPeriod
)"> CR LF
|
|
607 |
|
<xsl:
when test=
"number($V
arPosition
ModSum) &l
t; number(
$VarBackgr
oundPeriod
)"> CR LF
|
587 |
|
<xsl
:value-of
select="'n
ormal'" />
CR LF
|
|
608 |
|
<xsl
:value-of
select="'n
ormal'" />
CR LF
|
588 |
|
</xsl
:when> CR LF
|
|
609 |
|
</xsl
:when> CR LF
|
589 |
|
CR LF
|
|
610 |
|
CR LF
|
590 |
|
<xsl:
otherwise>
CR LF
|
|
611 |
|
<xsl:
otherwise>
CR LF
|
591 |
|
<xsl
:value-of
select="'a
lternate'"
/> CR LF
|
|
612 |
|
<xsl
:value-of
select="'a
lternate'"
/> CR LF
|
592 |
|
</xsl
:otherwise
> CR LF
|
|
613 |
|
</xsl
:otherwise
> CR LF
|
593 |
|
</xsl:
choose> CR LF
|
|
614 |
|
</xsl:
choose> CR LF
|
594 |
|
</xsl:w
hen> CR LF
|
|
615 |
|
</xsl:w
hen> CR LF
|
595 |
|
CR LF
|
|
616 |
|
CR LF
|
596 |
|
<xsl:ot
herwise> CR LF
|
|
617 |
|
<xsl:ot
herwise> CR LF
|
597 |
|
<xsl:v
alue-of se
lect="'nor
mal'" /> CR LF
|
|
618 |
|
<xsl:v
alue-of se
lect="'nor
mal'" /> CR LF
|
598 |
|
</xsl:o
therwise> CR
LF
|
|
619 |
|
</xsl:o
therwise> CR
LF
|
599 |
|
</xsl:ch
oose> CR LF
|
|
620 |
|
</xsl:ch
oose> CR LF
|
600 |
|
</xsl:tem
plate> CR LF
|
|
621 |
|
</xsl:tem
plate> CR LF
|
601 |
|
CR LF
|
|
622 |
|
CR LF
|
602 |
|
CR LF
|
|
623 |
|
CR LF
|
603 |
|
<xsl:temp
late name=
"Propertie
s-Table-Ce
ll-Backgro
undPeriod"
> CR LF
|
|
624 |
|
<xsl:temp
late name=
"Propertie
s-Table-Ce
ll-Backgro
undPeriod"
> CR LF
|
604 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
|
625 |
|
<xsl:par
am name="P
aramProper
ties" /> CR LF
|
605 |
|
<xsl:par
am name="P
aramPeriod
AttributeN
ame" /> CR LF
|
|
626 |
|
<xsl:par
am name="P
aramPeriod
AttributeN
ame" /> CR LF
|
606 |
|
CR LF
|
|
627 |
|
CR LF
|
607 |
|
<xsl:var
iable name
="VarPerio
dProperty"
select="$
ParamPrope
rties[@Nam
e = $Param
PeriodAttr
ibuteName]
" /> CR LF
|
|
628 |
|
<xsl:var
iable name
="VarPerio
dProperty"
select="$
ParamPrope
rties[@Nam
e = $Param
PeriodAttr
ibuteName]
" /> CR LF
|
608 |
|
CR LF
|
|
629 |
|
CR LF
|
609 |
|
<xsl:cho
ose> CR LF
|
|
630 |
|
<xsl:cho
ose> CR LF
|
610 |
|
<xsl:wh
en test="c
ount($VarP
eriodPrope
rty) >
0"> CR LF
|
|
631 |
|
<xsl:wh
en test="c
ount($VarP
eriodPrope
rty) >
0"> CR LF
|
611 |
|
<xsl:c
hoose> CR LF
|
|
632 |
|
<xsl:c
hoose> CR LF
|
612 |
|
<xsl:
when test=
"$VarPerio
dProperty/
@Value >
; 0"> CR LF
|
|
633 |
|
<xsl:
when test=
"$VarPerio
dProperty/
@Value >
; 0"> CR LF
|
613 |
|
<xsl
:value-of
select="ro
und($VarPe
riodProper
ty/@Value)
" /> CR LF
|
|
634 |
|
<xsl
:value-of
select="ro
und($VarPe
riodProper
ty/@Value)
" /> CR LF
|
614 |
|
</xsl
:when> CR LF
|
|
635 |
|
</xsl
:when> CR LF
|
615 |
|
CR LF
|
|
636 |
|
CR LF
|
616 |
|
<xsl:
otherwise>
CR LF
|
|
637 |
|
<xsl:
otherwise>
CR LF
|
617 |
|
<xsl
:value-of
select="0"
/> CR LF
|
|
638 |
|
<xsl
:value-of
select="0"
/> CR LF
|
618 |
|
</xsl
:otherwise
> CR LF
|
|
639 |
|
</xsl
:otherwise
> CR LF
|
619 |
|
</xsl:
choose> CR LF
|
|
640 |
|
</xsl:
choose> CR LF
|
620 |
|
</xsl:w
hen> CR LF
|
|
641 |
|
</xsl:w
hen> CR LF
|
621 |
|
CR LF
|
|
642 |
|
CR LF
|
622 |
|
<xsl:ot
herwise> CR LF
|
|
643 |
|
<xsl:ot
herwise> CR LF
|
623 |
|
<xsl:v
alue-of se
lect="0" /
> CR LF
|
|
644 |
|
<xsl:v
alue-of se
lect="0" /
> CR LF
|
624 |
|
</xsl:o
therwise> CR
LF
|
|
645 |
|
</xsl:o
therwise> CR
LF
|
625 |
|
</xsl:ch
oose> CR LF
|
|
646 |
|
</xsl:ch
oose> CR LF
|
626 |
|
</xsl:tem
plate> CR LF
|
|
647 |
|
</xsl:tem
plate> CR LF
|
627 |
|
</xsl:styl
esheet> CR LF
|
|
648 |
|
</xsl:styl
esheet> CR LF
|
Araxis Merge (but not the data content of this report) is Copyright © 1993-2007 Araxis Ltd (www.araxis.com). All rights reserved.