1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?> CR LF
|
|
1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?> CR LF
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="urn
:WebWorks-
Behaviors-
Schema" CR LF
|
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="urn
:WebWorks-
Behaviors-
Schema" CR LF
|
3 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema" CR
LF
|
|
3 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema" CR
LF
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform" CR LF
|
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform" CR LF
|
5 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode" CR
LF
|
|
5 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode" CR
LF
|
6 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt" CR LF
|
|
6 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt" CR LF
|
7 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema" CR LF
|
|
7 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema" CR LF
|
8 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema" CR LF
|
|
8 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema" CR LF
|
9 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a" CR LF
|
|
9 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a" CR LF
|
10 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject" CR LF
|
|
10 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject" CR LF
|
11 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma" CR LF
|
|
11 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma" CR LF
|
12 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress" CR LF
|
|
12 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress" CR LF
|
13 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log" CR LF
|
|
13 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log" CR LF
|
14 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem" CR
LF
|
|
14 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem" CR
LF
|
15 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI" CR LF
|
|
15 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI" CR LF
|
16 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
CR LF
|
|
16 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
CR LF
|
17 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s" CR LF
|
|
17 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s" CR LF
|
18 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct" CR LF
|
|
18 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct" CR LF
|
19 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent" CR LF
|
|
19 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent" CR LF
|
20 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwbehavi
ors wwlink
s wwfiles
wwproject
wwlocale w
wprogress
wwlog wwfi
lesystem w
wuri wwstr
ing wwfile
sext wwpro
jext wwexs
ldoc" CR LF
|
|
20 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwbehavi
ors wwlink
s wwfiles
wwproject
wwlocale w
wprogress
wwlog wwfi
lesystem w
wuri wwstr
ing wwfile
sext wwpro
jext wwexs
ldoc" CR LF
|
21 |
|
> CR LF
|
|
21 |
|
> CR LF
|
22 |
|
<xsl:para
m name="Gl
obalInput"
/> CR LF
|
|
22 |
|
<xsl:para
m name="Gl
obalInput"
/> CR LF
|
23 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
CR LF
|
|
23 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
CR LF
|
24 |
|
<xsl:para
m name="Gl
obalProjec
t" /> CR LF
|
|
24 |
|
<xsl:para
m name="Gl
obalProjec
t" /> CR LF
|
25 |
|
<xsl:para
m name="Gl
obalFiles"
/> CR LF
|
|
25 |
|
<xsl:para
m name="Gl
obalFiles"
/> CR LF
|
26 |
|
<xsl:para
m name="Pa
rameterDep
endsType"
/> CR LF
|
|
26 |
|
<xsl:para
m name="Pa
rameterDep
endsType"
/> CR LF
|
27 |
|
<xsl:para
m name="Pa
rameterTyp
e" /> CR LF
|
|
27 |
|
<xsl:para
m name="Pa
rameterTyp
e" /> CR LF
|
28 |
|
<xsl:para
m name="Pa
rameterDro
pDowns" />
CR LF
|
|
28 |
|
<xsl:para
m name="Pa
rameterDro
pDowns" />
CR LF
|
29 |
|
<xsl:para
m name="Pa
rameterPop
ups" /> CR LF
|
|
29 |
|
<xsl:para
m name="Pa
rameterPop
ups" /> CR LF
|
30 |
|
CR LF
|
|
30 |
|
CR LF
|
31 |
|
CR LF
|
|
31 |
|
CR LF
|
32 |
|
<xsl:name
space-alia
s styleshe
et-prefix=
"wwbehavio
rs" result
-prefix="#
default" /
> CR LF
|
|
32 |
|
<xsl:name
space-alia
s styleshe
et-prefix=
"wwbehavio
rs" result
-prefix="#
default" /
> CR LF
|
33 |
|
CR LF
|
|
33 |
|
CR LF
|
34 |
|
CR LF
|
|
34 |
|
CR LF
|
35 |
|
<xsl:key
name="wwfi
les-files-
by-type" m
atch="wwfi
les:File"
use="@type
" /> CR LF
|
|
35 |
|
<xsl:key
name="wwfi
les-files-
by-type" m
atch="wwfi
les:File"
use="@type
" /> CR LF
|
36 |
|
CR LF
|
|
36 |
|
CR LF
|
37 |
|
CR LF
|
|
37 |
|
CR LF
|
38 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m"> CR LF
|
|
38 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m"> CR LF
|
39 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums"> CR LF
|
|
39 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums"> CR LF
|
40 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/> CR LF
|
|
40 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/> CR LF
|
41 |
|
</xsl:va
riable> CR LF
|
|
41 |
|
</xsl:va
riable> CR LF
|
42 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/> CR LF
|
|
42 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/> CR LF
|
43 |
|
</xsl:var
iable> CR LF
|
|
43 |
|
</xsl:var
iable> CR LF
|
44 |
|
CR LF
|
|
44 |
|
CR LF
|
45 |
|
CR LF
|
|
45 |
|
CR LF
|
46 |
|
<xsl:temp
late match
="/"> CR LF
|
|
46 |
|
<xsl:temp
late match
="/"> CR LF
|
47 |
|
<wwfiles
:Files ver
sion="1.0"
> CR LF
|
|
47 |
|
<wwfiles
:Files ver
sion="1.0"
> CR LF
|
48 |
|
CR LF
|
|
48 |
|
CR LF
|
49 |
|
<!-- It
erate inpu
t document
s --> CR LF
|
|
49 |
|
<!-- It
erate inpu
t document
s --> CR LF
|
50 |
|
<!--
--> CR LF
|
|
50 |
|
<!--
--> CR LF
|
51 |
|
<xsl:fo
r-each sel
ect="$Glob
alInput[1]
"> CR LF
|
|
51 |
|
<xsl:fo
r-each sel
ect="$Glob
alInput[1]
"> CR LF
|
52 |
|
<xsl:v
ariable na
me="VarWIF
Files" sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterDepend
sType)" />
CR LF
|
|
52 |
|
<xsl:v
ariable na
me="VarWIF
Files" sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterDepend
sType)" />
CR LF
|
53 |
|
CR LF
|
|
53 |
|
CR LF
|
54 |
|
<xsl:v
ariable na
me="VarPro
gressWIFFi
lesStart"
select="ww
progress:S
tart(count
($VarWIFFi
les))" /> CR
LF
|
|
54 |
|
<xsl:v
ariable na
me="VarPro
gressWIFFi
lesStart"
select="ww
progress:S
tart(count
($VarWIFFi
les))" /> CR
LF
|
55 |
|
CR LF
|
|
55 |
|
CR LF
|
56 |
|
<xsl:f
or-each se
lect="$Var
WIFFiles">
CR LF
|
|
56 |
|
<xsl:f
or-each se
lect="$Var
WIFFiles">
CR LF
|
57 |
|
<xsl:
variable n
ame="VarWI
FFile" sel
ect="." />
CR LF
|
|
57 |
|
<xsl:
variable n
ame="VarWI
FFile" sel
ect="." />
CR LF
|
58 |
|
CR LF
|
|
58 |
|
CR LF
|
59 |
|
<xsl:
variable n
ame="VarPr
ogressWIFF
ileStart"
select="ww
progress:S
tart(1)" /
> CR LF
|
|
59 |
|
<xsl:
variable n
ame="VarPr
ogressWIFF
ileStart"
select="ww
progress:S
tart(1)" /
> CR LF
|
60 |
|
CR LF
|
|
60 |
|
CR LF
|
61 |
|
<!--
Aborted? -
-> CR LF
|
|
61 |
|
<!--
Aborted? -
-> CR LF
|
62 |
|
<!--
-
-> CR LF
|
|
62 |
|
<!--
-
-> CR LF
|
63 |
|
<xsl:
if test="n
ot(wwprogr
ess:Abort(
))"> CR LF
|
|
63 |
|
<xsl:
if test="n
ot(wwprogr
ess:Abort(
))"> CR LF
|
64 |
|
<!--
Up to dat
e? --> CR LF
|
|
64 |
|
<!--
Up to dat
e? --> CR LF
|
65 |
|
<!--
--> CR LF
|
|
65 |
|
<!--
--> CR LF
|
66 |
|
<xsl
:variable
name="VarP
ath" selec
t="wwfiles
ystem:Comb
ine(wwfile
system:Get
DirectoryN
ame($VarWI
FFile/@pat
h), concat
(translate
($Paramete
rType, ':'
, '_'), '.
xml'))" />
CR LF
|
|
66 |
|
<xsl
:variable
name="VarP
ath" selec
t="wwfiles
ystem:Comb
ine(wwfile
system:Get
DirectoryN
ame($VarWI
FFile/@pat
h), concat
(translate
($Paramete
rType, ':'
, '_'), '.
xml'))" />
CR LF
|
67 |
|
<xsl
:variable
name="VarU
pToDate" s
elect="wwf
ilesext:Up
ToDate($Va
rPath, $Gl
obalProjec
t/wwprojec
t:Project/
@ChangeID,
$VarWIFFi
le/@groupI
D, $VarWIF
File/@docu
mentID, $G
lobalActio
nChecksum)
" /> CR LF
|
|
67 |
|
<xsl
:variable
name="VarU
pToDate" s
elect="wwf
ilesext:Up
ToDate($Va
rPath, $Gl
obalProjec
t/wwprojec
t:Project/
@ChangeID,
$VarWIFFi
le/@groupI
D, $VarWIF
File/@docu
mentID, $G
lobalActio
nChecksum)
" /> CR LF
|
68 |
|
<xsl
:if test="
not($VarUp
ToDate)"> CR
LF
|
|
68 |
|
<xsl
:if test="
not($VarUp
ToDate)"> CR
LF
|
69 |
|
<xs
l:variable
name="Var
ResultAsXM
L"> CR LF
|
|
69 |
|
<xs
l:variable
name="Var
ResultAsXM
L"> CR LF
|
70 |
|
<!
-- Behavio
rs --> CR LF
|
|
70 |
|
<!
-- Behavio
rs --> CR LF
|
71 |
|
<!
--
--> CR LF
|
|
71 |
|
<!
--
--> CR LF
|
72 |
|
<x
sl:call-te
mplate nam
e="Behavio
rs"> CR LF
|
|
72 |
|
<x
sl:call-te
mplate nam
e="Behavio
rs"> CR LF
|
73 |
|
<
xsl:with-p
aram name=
"ParamWIFF
ile" selec
t="$VarWIF
File" /> CR LF
|
|
73 |
|
<
xsl:with-p
aram name=
"ParamWIFF
ile" selec
t="$VarWIF
File" /> CR LF
|
74 |
|
</
xsl:call-t
emplate> CR LF
|
|
74 |
|
</
xsl:call-t
emplate> CR LF
|
75 |
|
</x
sl:variabl
e> CR LF
|
|
75 |
|
</x
sl:variabl
e> CR LF
|
76 |
|
<xs
l:variable
name="Var
Result" se
lect="msxs
l:node-set
($VarResul
tAsXML)" /
> CR LF
|
|
76 |
|
<xs
l:variable
name="Var
Result" se
lect="msxs
l:node-set
($VarResul
tAsXML)" /
> CR LF
|
77 |
|
<xs
l:variable
name="Var
WriteResul
t" select=
"wwexsldoc
:Document(
$VarResult
, $VarPath
, 'utf-8',
'xml', '1
.0', 'yes'
)" /> CR LF
|
|
77 |
|
<xs
l:variable
name="Var
WriteResul
t" select=
"wwexsldoc
:Document(
$VarResult
, $VarPath
, 'utf-8',
'xml', '1
.0', 'yes'
)" /> CR LF
|
78 |
|
</xs
l:if> CR LF
|
|
78 |
|
</xs
l:if> CR LF
|
79 |
|
CR LF
|
|
79 |
|
CR LF
|
80 |
|
<wwf
iles:File
path="{$Va
rPath}" ty
pe="{$Para
meterType}
" checksum
="{wwfiles
ystem:GetC
hecksum($V
arPath)}"
projectche
cksum="{$G
lobalProje
ct/wwproje
ct:Project
/@ChangeID
}" groupID
="{$VarWIF
File/@grou
pID}" docu
mentID="{$
VarWIFFile
/@document
ID}" actio
nchecksum=
"{$GlobalA
ctionCheck
sum}"> CR LF
|
|
80 |
|
<wwf
iles:File
path="{$Va
rPath}" ty
pe="{$Para
meterType}
" checksum
="{wwfiles
ystem:GetC
hecksum($V
arPath)}"
projectche
cksum="{$G
lobalProje
ct/wwproje
ct:Project
/@ChangeID
}" groupID
="{$VarWIF
File/@grou
pID}" docu
mentID="{$
VarWIFFile
/@document
ID}" actio
nchecksum=
"{$GlobalA
ctionCheck
sum}"> CR LF
|
81 |
|
<ww
files:Depe
nds path="
{$VarWIFFi
le/@path}"
checksum=
"{$VarWIFF
ile/@check
sum}" grou
pID="{$Var
WIFFile/@g
roupID}" d
ocumentID=
"{$VarWIFF
ile/@docum
entID}" />
CR LF
|
|
81 |
|
<ww
files:Depe
nds path="
{$VarWIFFi
le/@path}"
checksum=
"{$VarWIFF
ile/@check
sum}" grou
pID="{$Var
WIFFile/@g
roupID}" d
ocumentID=
"{$VarWIFF
ile/@docum
entID}" />
CR LF
|
82 |
|
</ww
files:File
> CR LF
|
|
82 |
|
</ww
files:File
> CR LF
|
83 |
|
</xsl
:if> CR LF
|
|
83 |
|
</xsl
:if> CR LF
|
84 |
|
CR LF
|
|
84 |
|
CR LF
|
85 |
|
<xsl:
variable n
ame="VarPr
ogressWIFF
ileEnd" se
lect="wwpr
ogress:End
()" /> CR LF
|
|
85 |
|
<xsl:
variable n
ame="VarPr
ogressWIFF
ileEnd" se
lect="wwpr
ogress:End
()" /> CR LF
|
86 |
|
</xsl:
for-each> CR
LF
|
|
86 |
|
</xsl:
for-each> CR
LF
|
87 |
|
CR LF
|
|
87 |
|
CR LF
|
88 |
|
<xsl:v
ariable na
me="VarPro
gressWIFFi
lesEnd" se
lect="wwpr
ogress:End
()" /> CR LF
|
|
88 |
|
<xsl:v
ariable na
me="VarPro
gressWIFFi
lesEnd" se
lect="wwpr
ogress:End
()" /> CR LF
|
89 |
|
</xsl:f
or-each> CR LF
|
|
89 |
|
</xsl:f
or-each> CR LF
|
90 |
|
CR LF
|
|
90 |
|
CR LF
|
91 |
|
</wwfile
s:Files> CR LF
|
|
91 |
|
</wwfile
s:Files> CR LF
|
92 |
|
</xsl:tem
plate> CR LF
|
|
92 |
|
</xsl:tem
plate> CR LF
|
93 |
|
CR LF
|
|
93 |
|
CR LF
|
94 |
|
CR LF
|
|
94 |
|
CR LF
|
95 |
|
<xsl:temp
late name=
"Behaviors
"> CR LF
|
|
95 |
|
<xsl:temp
late name=
"Behaviors
"> CR LF
|
96 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
|
96 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
97 |
|
CR LF
|
|
97 |
|
CR LF
|
98 |
|
<wwbehav
iors:Behav
iors versi
on="1.0"> CR
LF
|
|
98 |
|
<wwbehav
iors:Behav
iors versi
on="1.0"> CR
LF
|
99 |
|
<!-- WI
F document
--> CR LF
|
|
99 |
|
<!-- WI
F document
--> CR LF
|
100 |
|
<!--
--> CR LF
|
|
100 |
|
<!--
--> CR LF
|
101 |
|
<xsl:va
riable nam
e="VarWIFD
ocument" s
elect="wwe
xsldoc:Loa
dXMLWithou
tResolver(
$ParamWIFF
ile/@path)
" /> CR LF
|
|
101 |
|
<xsl:va
riable nam
e="VarWIFD
ocument" s
elect="wwe
xsldoc:Loa
dXMLWithou
tResolver(
$ParamWIFF
ile/@path)
" /> CR LF
|
102 |
|
CR LF
|
|
102 |
|
CR LF
|
103 |
|
<xsl:ap
ply-templa
tes select
="$VarWIFD
ocument/ww
doc:Docume
nt/wwdoc:C
ontent/*"
mode="wwmo
de:behavio
r"> CR LF
|
|
103 |
|
<xsl:ap
ply-templa
tes select
="$VarWIFD
ocument/ww
doc:Docume
nt/wwdoc:C
ontent/*"
mode="wwmo
de:behavio
r"> CR LF
|
104 |
|
<xsl:w
ith-param
name="Para
mWIFFile"
select="$P
aramWIFFil
e" /> CR LF
|
|
104 |
|
<xsl:w
ith-param
name="Para
mWIFFile"
select="$P
aramWIFFil
e" /> CR LF
|
105 |
|
<xsl:w
ith-param
name="Para
mTopLevel"
select="t
rue()" /> CR
LF
|
|
105 |
|
<xsl:w
ith-param
name="Para
mTopLevel"
select="t
rue()" /> CR
LF
|
106 |
|
</xsl:a
pply-templ
ates> CR LF
|
|
106 |
|
</xsl:a
pply-templ
ates> CR LF
|
107 |
|
CR LF
|
|
107 |
|
CR LF
|
108 |
|
</wwbeha
viors:Beha
viors> CR LF
|
|
108 |
|
</wwbeha
viors:Beha
viors> CR LF
|
109 |
|
</xsl:tem
plate> CR LF
|
|
109 |
|
</xsl:tem
plate> CR LF
|
110 |
|
CR LF
|
|
110 |
|
CR LF
|
111 |
|
CR LF
|
|
111 |
|
CR LF
|
112 |
|
<xsl:temp
late match
="wwdoc:Ta
ble" mode=
"wwmode:be
havior"> CR LF
|
|
112 |
|
<xsl:temp
late match
="wwdoc:Ta
ble" mode=
"wwmode:be
havior"> CR LF
|
113 |
|
<xsl:par
am name="P
aramTable"
select=".
" /> CR LF
|
|
113 |
|
<xsl:par
am name="P
aramTable"
select=".
" /> CR LF
|
114 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
|
114 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
115 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
|
115 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
116 |
|
CR LF
|
|
116 |
|
CR LF
|
117 |
|
<!-- Get
context r
ule --> CR LF
|
|
117 |
|
<!-- Get
context r
ule --> CR LF
|
118 |
|
<!--
--> CR LF
|
|
118 |
|
<!--
--> CR LF
|
119 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Table',
$ParamTabl
e/@stylena
me, $Param
WIFFile/@d
ocumentID,
$ParamTab
le/@id)" /
> CR LF
|
|
119 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Table',
$ParamTabl
e/@stylena
me, $Param
WIFFile/@d
ocumentID,
$ParamTab
le/@id)" /
> CR LF
|
120 |
|
CR LF
|
|
120 |
|
CR LF
|
121 |
|
<!-- Gen
erate outp
ut? --> CR LF
|
|
121 |
|
<!-- Gen
erate outp
ut? --> CR LF
|
122 |
|
<!--
--> CR LF
|
|
122 |
|
<!--
--> CR LF
|
123 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/> CR LF
|
|
123 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/> CR LF
|
124 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" /> CR
LF
|
|
124 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" /> CR
LF
|
125 |
|
<xsl:if
test="$Var
GenerateOu
tput"> CR LF
|
|
125 |
|
<xsl:if
test="$Var
GenerateOu
tput"> CR LF
|
126 |
|
<!-- Sp
lit Priori
ty --> CR LF
|
|
126 |
|
<!-- Sp
lit Priori
ty --> CR LF
|
127 |
|
<!--
--> CR LF
|
|
127 |
|
<!--
--> CR LF
|
128 |
|
<xsl:va
riable nam
e="VarSpli
tPriorityO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'split
-priority'
]/@Value"
/> CR LF
|
|
128 |
|
<xsl:va
riable nam
e="VarSpli
tPriorityO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'split
-priority'
]/@Value"
/> CR LF
|
129 |
|
<xsl:va
riable nam
e="VarSpli
tPriority"
> CR LF
|
|
129 |
|
<xsl:va
riable nam
e="VarSpli
tPriority"
> CR LF
|
130 |
|
<xsl:c
hoose> CR LF
|
|
130 |
|
<xsl:c
hoose> CR LF
|
131 |
|
<xsl:
when test=
"string-le
ngth($VarS
plitPriori
tyOption)
= 0"> CR LF
|
|
131 |
|
<xsl:
when test=
"string-le
ngth($VarS
plitPriori
tyOption)
= 0"> CR LF
|
132 |
|
<xsl
:value-of
select="'n
one'" /> CR LF
|
|
132 |
|
<xsl
:value-of
select="'n
one'" /> CR LF
|
133 |
|
</xsl
:when> CR LF
|
|
133 |
|
</xsl
:when> CR LF
|
134 |
|
CR LF
|
|
134 |
|
CR LF
|
135 |
|
<xsl:
otherwise>
CR LF
|
|
135 |
|
<xsl:
otherwise>
CR LF
|
136 |
|
<xsl
:value-of
select="$V
arSplitPri
orityOptio
n" /> CR LF
|
|
136 |
|
<xsl
:value-of
select="$V
arSplitPri
orityOptio
n" /> CR LF
|
137 |
|
</xsl
:otherwise
> CR LF
|
|
137 |
|
</xsl
:otherwise
> CR LF
|
138 |
|
</xsl:
choose> CR LF
|
|
138 |
|
</xsl:
choose> CR LF
|
139 |
|
</xsl:v
ariable> CR LF
|
|
139 |
|
</xsl:v
ariable> CR LF
|
140 |
|
CR LF
|
|
140 |
|
CR LF
|
141 |
|
<!-- Ta
ble --> CR LF
|
|
141 |
|
<!-- Ta
ble --> CR LF
|
142 |
|
<!--
--> CR LF
|
|
142 |
|
<!--
--> CR LF
|
143 |
|
<wwbeha
viors:Tabl
e id="{$Pa
ramTable/@
id}"> CR LF
|
|
143 |
|
<wwbeha
viors:Tabl
e id="{$Pa
ramTable/@
id}"> CR LF
|
144 |
|
<xsl:i
f test="$P
aramTopLev
el"> CR LF
|
|
144 |
|
<xsl:i
f test="$P
aramTopLev
el"> CR LF
|
145 |
|
<xsl:
attribute
name="docu
mentpositi
on"> CR LF
|
|
145 |
|
<xsl:
attribute
name="docu
mentpositi
on"> CR LF
|
146 |
|
<xsl
:value-of
select="po
sition()"
/> CR LF
|
|
146 |
|
<xsl
:value-of
select="po
sition()"
/> CR LF
|
147 |
|
</xsl
:attribute
> CR LF
|
|
147 |
|
</xsl
:attribute
> CR LF
|
148 |
|
<xsl:
attribute
name="spli
tpriority"
> CR LF
|
|
148 |
|
<xsl:
attribute
name="spli
tpriority"
> CR LF
|
149 |
|
<xsl
:value-of
select="$V
arSplitPri
ority" /> CR
LF
|
|
149 |
|
<xsl
:value-of
select="$V
arSplitPri
ority" /> CR
LF
|
150 |
|
</xsl
:attribute
> CR LF
|
|
150 |
|
</xsl
:attribute
> CR LF
|
151 |
|
</xsl:
if> CR LF
|
|
151 |
|
</xsl:
if> CR LF
|
152 |
|
CR LF
|
|
152 |
|
CR LF
|
153 |
|
<xsl:a
pply-templ
ates selec
t="$ParamT
able/wwdoc
:*" mode="
wwmode:beh
avior"> CR LF
|
|
153 |
|
<xsl:a
pply-templ
ates selec
t="$ParamT
able/wwdoc
:*" mode="
wwmode:beh
avior"> CR LF
|
154 |
|
<xsl:
with-param
name="Par
amWIFFile"
select="$
ParamWIFFi
le" /> CR LF
|
|
154 |
|
<xsl:
with-param
name="Par
amWIFFile"
select="$
ParamWIFFi
le" /> CR LF
|
155 |
|
<xsl:
with-param
name="Par
amTopLevel
" select="
false()" /
> CR LF
|
|
155 |
|
<xsl:
with-param
name="Par
amTopLevel
" select="
false()" /
> CR LF
|
156 |
|
</xsl:
apply-temp
lates> CR LF
|
|
156 |
|
</xsl:
apply-temp
lates> CR LF
|
157 |
|
</wwbeh
aviors:Tab
le> CR LF
|
|
157 |
|
</wwbeh
aviors:Tab
le> CR LF
|
158 |
|
</xsl:if
> CR LF
|
|
158 |
|
</xsl:if
> CR LF
|
159 |
|
</xsl:tem
plate> CR LF
|
|
159 |
|
</xsl:tem
plate> CR LF
|
160 |
|
CR LF
|
|
160 |
|
CR LF
|
161 |
|
CR LF
|
|
161 |
|
CR LF
|
162 |
|
<xsl:temp
late match
="wwdoc:Fr
ame" mode=
"wwmode:be
havior"> CR LF
|
|
162 |
|
<xsl:temp
late match
="wwdoc:Fr
ame" mode=
"wwmode:be
havior"> CR LF
|
163 |
|
<xsl:par
am name="P
aramFrame"
select=".
" /> CR LF
|
|
163 |
|
<xsl:par
am name="P
aramFrame"
select=".
" /> CR LF
|
164 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
|
164 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
165 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
|
165 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
166 |
|
CR LF
|
|
166 |
|
CR LF
|
167 |
|
<!-- Get
context r
ule --> CR LF
|
|
167 |
|
<!-- Get
context r
ule --> CR LF
|
168 |
|
<!--
--> CR LF
|
|
168 |
|
<!--
--> CR LF
|
169 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Graphic'
, $ParamFr
ame/@style
name, $Par
amWIFFile/
@documentI
D, $ParamF
rame/@id)"
/> CR LF
|
|
169 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Graphic'
, $ParamFr
ame/@style
name, $Par
amWIFFile/
@documentI
D, $ParamF
rame/@id)"
/> CR LF
|
170 |
|
CR LF
|
|
170 |
|
CR LF
|
171 |
|
<!-- Gen
erate outp
ut? --> CR LF
|
|
171 |
|
<!-- Gen
erate outp
ut? --> CR LF
|
172 |
|
<!--
--> CR LF
|
|
172 |
|
<!--
--> CR LF
|
173 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/> CR LF
|
|
173 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/> CR LF
|
174 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" /> CR
LF
|
|
174 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" /> CR
LF
|
175 |
|
<xsl:if
test="$Var
GenerateOu
tput"> CR LF
|
|
175 |
|
<xsl:if
test="$Var
GenerateOu
tput"> CR LF
|
176 |
|
<!-- Fr
ame --> CR LF
|
|
176 |
|
<!-- Fr
ame --> CR LF
|
177 |
|
<!--
--> CR LF
|
|
177 |
|
<!--
--> CR LF
|
178 |
|
<wwbeha
viors:Fram
e> CR LF
|
|
178 |
|
<wwbeha
viors:Fram
e> CR LF
|
179 |
|
<xsl:i
f test="st
ring-lengt
h($ParamFr
ame/@id) &
gt; 0"> CR LF
|
|
179 |
|
<xsl:i
f test="st
ring-lengt
h($ParamFr
ame/@id) &
gt; 0"> CR LF
|
180 |
|
<xsl:
attribute
name="id">
CR LF
|
|
180 |
|
<xsl:
attribute
name="id">
CR LF
|
181 |
|
<xsl
:value-of
select="$P
aramFrame/
@id" /> CR LF
|
|
181 |
|
<xsl
:value-of
select="$P
aramFrame/
@id" /> CR LF
|
182 |
|
</xsl
:attribute
> CR LF
|
|
182 |
|
</xsl
:attribute
> CR LF
|
183 |
|
</xsl:
if> CR LF
|
|
183 |
|
</xsl:
if> CR LF
|
184 |
|
<xsl:i
f test="$P
aramTopLev
el"> CR LF
|
|
184 |
|
<xsl:i
f test="$P
aramTopLev
el"> CR LF
|
185 |
|
<xsl:
attribute
name="docu
mentpositi
on"> CR LF
|
|
185 |
|
<xsl:
attribute
name="docu
mentpositi
on"> CR LF
|
186 |
|
<xsl
:value-of
select="po
sition()"
/> CR LF
|
|
186 |
|
<xsl
:value-of
select="po
sition()"
/> CR LF
|
187 |
|
</xsl
:attribute
> CR LF
|
|
187 |
|
</xsl
:attribute
> CR LF
|
188 |
|
</xsl:
if> CR LF
|
|
188 |
|
</xsl:
if> CR LF
|
189 |
|
CR LF
|
|
189 |
|
CR LF
|
190 |
|
<xsl:a
pply-templ
ates selec
t="$ParamF
rame/wwdoc
:*" mode="
wwmode:beh
avior"> CR LF
|
|
190 |
|
<xsl:a
pply-templ
ates selec
t="$ParamF
rame/wwdoc
:*" mode="
wwmode:beh
avior"> CR LF
|
191 |
|
<xsl:
with-param
name="Par
amWIFFile"
select="$
ParamWIFFi
le" /> CR LF
|
|
191 |
|
<xsl:
with-param
name="Par
amWIFFile"
select="$
ParamWIFFi
le" /> CR LF
|
192 |
|
<xsl:
with-param
name="Par
amTopLevel
" select="
false()" /
> CR LF
|
|
192 |
|
<xsl:
with-param
name="Par
amTopLevel
" select="
false()" /
> CR LF
|
193 |
|
</xsl:
apply-temp
lates> CR LF
|
|
193 |
|
</xsl:
apply-temp
lates> CR LF
|
194 |
|
</wwbeh
aviors:Fra
me> CR LF
|
|
194 |
|
</wwbeh
aviors:Fra
me> CR LF
|
195 |
|
</xsl:if
> CR LF
|
|
195 |
|
</xsl:if
> CR LF
|
196 |
|
</xsl:tem
plate> CR LF
|
|
196 |
|
</xsl:tem
plate> CR LF
|
197 |
|
CR LF
|
|
197 |
|
CR LF
|
198 |
|
CR LF
|
|
198 |
|
CR LF
|
199 |
|
<xsl:temp
late match
="wwdoc:Pa
ragraph" m
ode="wwmod
e:behavior
"> CR LF
|
|
199 |
|
<xsl:temp
late match
="wwdoc:Pa
ragraph" m
ode="wwmod
e:behavior
"> CR LF
|
200 |
|
<xsl:par
am name="P
aramParagr
aph" selec
t="." /> CR LF
|
|
200 |
|
<xsl:par
am name="P
aramParagr
aph" selec
t="." /> CR LF
|
201 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
|
201 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
202 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
|
202 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
203 |
|
CR LF
|
|
203 |
|
CR LF
|
204 |
|
<!-- Get
context r
ule --> CR LF
|
|
204 |
|
<!-- Get
context r
ule --> CR LF
|
205 |
|
<!--
--> CR LF
|
|
205 |
|
<!--
--> CR LF
|
206 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Paragrap
h', $Param
Paragraph/
@stylename
, $ParamWI
FFile/@doc
umentID, $
ParamParag
raph/@id)"
/> CR LF
|
|
206 |
|
<xsl:var
iable name
="VarConte
xtRule" se
lect="wwpr
ojext:GetC
ontextRule
('Paragrap
h', $Param
Paragraph/
@stylename
, $ParamWI
FFile/@doc
umentID, $
ParamParag
raph/@id)"
/> CR LF
|
207 |
|
CR LF
|
|
207 |
|
CR LF
|
208 |
|
<!-- Gen
erate outp
ut? --> CR LF
|
|
208 |
|
<!-- Gen
erate outp
ut? --> CR LF
|
209 |
|
<!--
--> CR LF
|
|
209 |
|
<!--
--> CR LF
|
210 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/> CR LF
|
|
210 |
|
<xsl:var
iable name
="VarGener
ateOutputO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'gener
ate-output
']/@Value"
/> CR LF
|
211 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" /> CR
LF
|
|
211 |
|
<xsl:var
iable name
="VarGener
ateOutput"
select="(
string-len
gth($VarGe
nerateOutp
utOption)
= 0) or ($
VarGenerat
eOutputOpt
ion != 'fa
lse')" /> CR
LF
|
212 |
|
<xsl:if
test="$Var
GenerateOu
tput"> CR LF
|
|
212 |
|
<xsl:if
test="$Var
GenerateOu
tput"> CR LF
|
213 |
|
<!-- Pr
eserve emp
ty? --> CR LF
|
|
213 |
|
<!-- Pr
eserve emp
ty? --> CR LF
|
214 |
|
<!--
--> CR LF
|
|
214 |
|
<!--
--> CR LF
|
215 |
|
<xsl:va
riable nam
e="VarPres
erveEmptyO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'prese
rve-empty'
]/@Value"
/> CR LF
|
|
215 |
|
<xsl:va
riable nam
e="VarPres
erveEmptyO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'prese
rve-empty'
]/@Value"
/> CR LF
|
216 |
|
<xsl:va
riable nam
e="VarPres
erveEmpty"
select="(
string-len
gth($VarPr
eserveEmpt
yOption) =
0) or ($V
arPreserve
EmptyOptio
n = 'true'
)" /> CR LF
|
|
216 |
|
<xsl:va
riable nam
e="VarPres
erveEmpty"
select="(
string-len
gth($VarPr
eserveEmpt
yOption) =
0) or ($V
arPreserve
EmptyOptio
n = 'true'
)" /> CR LF
|
217 |
|
CR LF
|
|
217 |
|
CR LF
|
218 |
|
<!-- No
n-empty te
xt runs --
> CR LF
|
|
218 |
|
<!-- No
n-empty te
xt runs --
> CR LF
|
219 |
|
<!--
--
> CR LF
|
|
219 |
|
<!--
--
> CR LF
|
220 |
|
<xsl:varia
ble name="
VarTextRun
s" select=
"$ParamPar
agraph/wwd
oc:TextRun
[count(chi
ld::wwdoc:
Text[1] |
child::wwd
oc:Frame[1
] | child:
:wwdoc:Not
e[1] | chi
ld::wwdoc:
LineBreak[
1]
) > 0]"
/>
CR LF
|
|
220 |
|
<xsl:varia
ble name="
VarTextRun
s" select=
"$ParamPar
agraph/wwd
oc:TextRun
[count(chi
ld::wwdoc:
Text[1] |
child::wwd
oc:Frame[1
] | child:
:wwdoc:Not
e[1] | chi
ld::wwdoc:
LineBreak[
1]
| child::
wwdoc:Mark
er[1]
) > 0]"
/>
CR LF
|
221 |
|
CR LF
|
|
221 |
|
CR LF
|
222 |
|
<!-- Em
it? --> CR LF
|
|
222 |
|
<!-- Em
it? --> CR LF
|
223 |
|
<!--
--> CR LF
|
|
223 |
|
<!--
--> CR LF
|
224 |
|
<xsl:if
test="$Va
rPreserveE
mpty or (c
ount($VarT
extRuns[1]
) = 1)"> CR LF
|
|
224 |
|
<xsl:if
test="$Va
rPreserveE
mpty or (c
ount($VarT
extRuns[1]
) = 1)"> CR LF
|
225 |
|
<!-- S
plit Prior
ity --> CR LF
|
|
225 |
|
<!-- S
plit Prior
ity --> CR LF
|
226 |
|
<!--
--> CR LF
|
|
226 |
|
<!--
--> CR LF
|
227 |
|
<xsl:v
ariable na
me="VarSpl
itPriority
Option" se
lect="$Var
ContextRul
e/wwprojec
t:Options/
wwproject:
Option[@Na
me = 'spli
t-priority
']/@Value"
/> CR LF
|
|
227 |
|
<xsl:v
ariable na
me="VarSpl
itPriority
Option" se
lect="$Var
ContextRul
e/wwprojec
t:Options/
wwproject:
Option[@Na
me = 'spli
t-priority
']/@Value"
/> CR LF
|
228 |
|
<xsl:v
ariable na
me="VarSpl
itPriority
"> CR LF
|
|
228 |
|
<xsl:v
ariable na
me="VarSpl
itPriority
"> CR LF
|
229 |
|
<xsl:
choose> CR LF
|
|
229 |
|
<xsl:
choose> CR LF
|
230 |
|
<xsl
:when test
="string-l
ength($Var
SplitPrior
ityOption)
= 0"> CR LF
|
|
230 |
|
<xsl
:when test
="string-l
ength($Var
SplitPrior
ityOption)
= 0"> CR LF
|
231 |
|
<xs
l:value-of
select="'
none'" /> CR
LF
|
|
231 |
|
<xs
l:value-of
select="'
none'" /> CR
LF
|
232 |
|
</xs
l:when> CR LF
|
|
232 |
|
</xs
l:when> CR LF
|
233 |
|
CR LF
|
|
233 |
|
CR LF
|
234 |
|
<xsl
:otherwise
> CR LF
|
|
234 |
|
<xsl
:otherwise
> CR LF
|
235 |
|
<xs
l:value-of
select="$
VarSplitPr
iorityOpti
on" /> CR LF
|
|
235 |
|
<xs
l:value-of
select="$
VarSplitPr
iorityOpti
on" /> CR LF
|
236 |
|
</xs
l:otherwis
e> CR LF
|
|
236 |
|
</xs
l:otherwis
e> CR LF
|
237 |
|
</xsl
:choose> CR LF
|
|
237 |
|
</xsl
:choose> CR LF
|
238 |
|
</xsl:
variable> CR
LF
|
|
238 |
|
</xsl:
variable> CR
LF
|
239 |
|
CR LF
|
|
239 |
|
CR LF
|
240 |
|
<!-- R
elated Top
ic --> CR LF
|
|
240 |
|
<!-- R
elated Top
ic --> CR LF
|
241 |
|
<!--
--> CR LF
|
|
241 |
|
<!--
--> CR LF
|
242 |
|
<xsl:v
ariable na
me="VarRel
atedTopicO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'relat
ed-topic']
/@Value" /
> CR LF
|
|
242 |
|
<xsl:v
ariable na
me="VarRel
atedTopicO
ption" sel
ect="$VarC
ontextRule
/wwproject
:Options/w
wproject:O
ption[@Nam
e = 'relat
ed-topic']
/@Value" /
> CR LF
|
243 |
|
<xsl:v
ariable na
me="VarRel
atedTopic"
> CR LF
|
|
243 |
|
<xsl:v
ariable na
me="VarRel
atedTopic"
> CR LF
|
244 |
|
<xsl:
choose> CR LF
|
|
244 |
|
<xsl:
choose> CR LF
|
245 |
|
<xsl
:when test
="$VarRela
tedTopicOp
tion = 'no
ne'"> CR LF
|
|
245 |
|
<xsl
:when test
="$VarRela
tedTopicOp
tion = 'no
ne'"> CR LF
|
246 |
|
<xs
l:value-of
select="'
'" /> CR LF
|
|
246 |
|
<xs
l:value-of
select="'
'" /> CR LF
|
247 |
|
</xs
l:when> CR LF
|
|
247 |
|
</xs
l:when> CR LF
|
248 |
|
CR LF
|
|
248 |
|
CR LF
|
249 |
|
<xsl
:otherwise
> CR LF
|
|
249 |
|
<xsl
:otherwise
> CR LF
|
250 |
|
<xs
l:value-of
select="$
VarRelated
TopicOptio
n" /> CR LF
|
|
250 |
|
<xs
l:value-of
select="$
VarRelated
TopicOptio
n" /> CR LF
|
251 |
|
</xs
l:otherwis
e> CR LF
|
|
251 |
|
</xs
l:otherwis
e> CR LF
|
252 |
|
</xsl
:choose> CR LF
|
|
252 |
|
</xsl
:choose> CR LF
|
253 |
|
</xsl:
variable> CR
LF
|
|
253 |
|
</xsl:
variable> CR
LF
|
254 |
|
CR LF
|
|
254 |
|
CR LF
|
255 |
|
<!-- D
rop Down -
-> CR LF
|
|
255 |
|
<!-- D
rop Down -
-> CR LF
|
256 |
|
<!--
-
-> CR LF
|
|
256 |
|
<!--
-
-> CR LF
|
257 |
|
<xsl:v
ariable na
me="VarDro
pDownOptio
n" select=
"$VarConte
xtRule/wwp
roject:Opt
ions/wwpro
ject:Optio
n[@Name =
'dropdown'
]/@Value"
/> CR LF
|
|
257 |
|
<xsl:v
ariable na
me="VarDro
pDownOptio
n" select=
"$VarConte
xtRule/wwp
roject:Opt
ions/wwpro
ject:Optio
n[@Name =
'dropdown'
]/@Value"
/> CR LF
|
258 |
|
<xsl:v
ariable na
me="VarDro
pDown"> CR LF
|
|
258 |
|
<xsl:v
ariable na
me="VarDro
pDown"> CR LF
|
259 |
|
<xsl:
choose> CR LF
|
|
259 |
|
<xsl:
choose> CR LF
|
260 |
|
<xsl
:when test
="($Parame
terDropDow
ns != 'tru
e') or (st
ring-lengt
h($VarDrop
DownOption
) = 0)"> CR LF
|
|
260 |
|
<xsl
:when test
="($Parame
terDropDow
ns != 'tru
e') or (st
ring-lengt
h($VarDrop
DownOption
) = 0)"> CR LF
|
261 |
|
<xs
l:value-of
select="'
continue'"
/> CR LF
|
|
261 |
|
<xs
l:value-of
select="'
continue'"
/> CR LF
|
262 |
|
</xs
l:when> CR LF
|
|
262 |
|
</xs
l:when> CR LF
|
263 |
|
CR LF
|
|
263 |
|
CR LF
|
264 |
|
<xsl
:otherwise
> CR LF
|
|
264 |
|
<xsl
:otherwise
> CR LF
|
265 |
|
<xs
l:value-of
select="$
VarDropDow
nOption" /
> CR LF
|
|
265 |
|
<xs
l:value-of
select="$
VarDropDow
nOption" /
> CR LF
|
266 |
|
</xs
l:otherwis
e> CR LF
|
|
266 |
|
</xs
l:otherwis
e> CR LF
|
267 |
|
</xsl
:choose> CR LF
|
|
267 |
|
</xsl
:choose> CR LF
|
268 |
|
</xsl:
variable> CR
LF
|
|
268 |
|
</xsl:
variable> CR
LF
|
269 |
|
CR LF
|
|
269 |
|
CR LF
|
270 |
|
<!-- P
opup --> CR LF
|
|
270 |
|
<!-- P
opup --> CR LF
|
271 |
|
<!--
--> CR LF
|
|
271 |
|
<!--
--> CR LF
|
272 |
|
<xsl:v
ariable na
me="VarPop
upOption"
select="$V
arContextR
ule/wwproj
ect:Option
s/wwprojec
t:Option[@
Name = 'po
pup']/@Val
ue" /> CR LF
|
|
272 |
|
<xsl:v
ariable na
me="VarPop
upOption"
select="$V
arContextR
ule/wwproj
ect:Option
s/wwprojec
t:Option[@
Name = 'po
pup']/@Val
ue" /> CR LF
|
273 |
|
<xsl:v
ariable na
me="VarPop
up"> CR LF
|
|
273 |
|
<xsl:v
ariable na
me="VarPop
up"> CR LF
|
274 |
|
<xsl:
choose> CR LF
|
|
274 |
|
<xsl:
choose> CR LF
|
275 |
|
<xsl
:when test
="($Parame
terPopups
!= 'true')
or (strin
g-length($
VarPopupOp
tion) = 0)
"> CR LF
|
|
275 |
|
<xsl
:when test
="($Parame
terPopups
!= 'true')
or (strin
g-length($
VarPopupOp
tion) = 0)
"> CR LF
|
276 |
|
<xs
l:value-of
select="'
none'" /> CR
LF
|
|
276 |
|
<xs
l:value-of
select="'
none'" /> CR
LF
|
277 |
|
</xs
l:when> CR LF
|
|
277 |
|
</xs
l:when> CR LF
|
278 |
|
CR LF
|
|
278 |
|
CR LF
|
279 |
|
<xsl
:otherwise
> CR LF
|
|
279 |
|
<xsl
:otherwise
> CR LF
|
280 |
|
<xs
l:value-of
select="$
VarPopupOp
tion" /> CR LF
|
|
280 |
|
<xs
l:value-of
select="$
VarPopupOp
tion" /> CR LF
|
281 |
|
</xs
l:otherwis
e> CR LF
|
|
281 |
|
</xs
l:otherwis
e> CR LF
|
282 |
|
</xsl
:choose> CR LF
|
|
282 |
|
</xsl
:choose> CR LF
|
283 |
|
</xsl:
variable> CR
LF
|
|
283 |
|
</xsl:
variable> CR
LF
|
284 |
|
CR LF
|
|
284 |
|
CR LF
|
285 |
|
<!-- P
opup page
style --> CR
LF
|
|
285 |
|
<!-- P
opup page
style --> CR
LF
|
286 |
|
<!--
--> CR
LF
|
|
286 |
|
<!--
--> CR
LF
|
287 |
|
<xsl:v
ariable na
me="VarPop
upPageRule
" select="
$VarContex
tRule/wwpr
oject:Opti
ons/wwproj
ect:Option
[@Name = '
popup-page
-rule']/@V
alue" /> CR LF
|
|
287 |
|
<xsl:v
ariable na
me="VarPop
upPageRule
" select="
$VarContex
tRule/wwpr
oject:Opti
ons/wwproj
ect:Option
[@Name = '
popup-page
-rule']/@V
alue" /> CR LF
|
288 |
|
CR LF
|
|
288 |
|
CR LF
|
289 |
|
<!-- P
aragraph -
-> CR LF
|
|
289 |
|
<!-- P
aragraph -
-> CR LF
|
290 |
|
<!--
-
-> CR LF
|
|
290 |
|
<!--
-
-> CR LF
|
291 |
|
<wwbeh
aviors:Par
agraph id=
"{$ParamPa
ragraph/@i
d}"> CR LF
|
|
291 |
|
<wwbeh
aviors:Par
agraph id=
"{$ParamPa
ragraph/@i
d}"> CR LF
|
292 |
|
<xsl:
if test="$
ParamTopLe
vel"> CR LF
|
|
292 |
|
<xsl:
if test="$
ParamTopLe
vel"> CR LF
|
293 |
|
<xsl
:attribute
name="doc
umentposit
ion"> CR LF
|
|
293 |
|
<xsl
:attribute
name="doc
umentposit
ion"> CR LF
|
294 |
|
<xs
l:value-of
select="p
osition()"
/> CR LF
|
|
294 |
|
<xs
l:value-of
select="p
osition()"
/> CR LF
|
295 |
|
</xs
l:attribut
e> CR LF
|
|
295 |
|
</xs
l:attribut
e> CR LF
|
296 |
|
<xsl
:attribute
name="spl
itpriority
"> CR LF
|
|
296 |
|
<xsl
:attribute
name="spl
itpriority
"> CR LF
|
297 |
|
<xs
l:value-of
select="$
VarSplitPr
iority" />
CR LF
|
|
297 |
|
<xs
l:value-of
select="$
VarSplitPr
iority" />
CR LF
|
298 |
|
</xs
l:attribut
e> CR LF
|
|
298 |
|
</xs
l:attribut
e> CR LF
|
299 |
|
</xsl
:if> CR LF
|
|
299 |
|
</xsl
:if> CR LF
|
300 |
|
<xsl:
if test="s
tring-leng
th($VarRel
atedTopic)
> 0"> CR
LF
|
|
300 |
|
<xsl:
if test="s
tring-leng
th($VarRel
atedTopic)
> 0"> CR
LF
|
301 |
|
<xsl
:attribute
name="rel
atedtopic"
> CR LF
|
|
301 |
|
<xsl
:attribute
name="rel
atedtopic"
> CR LF
|
302 |
|
<xs
l:value-of
select="$
VarRelated
Topic" /> CR
LF
|
|
302 |
|
<xs
l:value-of
select="$
VarRelated
Topic" /> CR
LF
|
303 |
|
</xs
l:attribut
e> CR LF
|
|
303 |
|
</xs
l:attribut
e> CR LF
|
304 |
|
</xsl
:if> CR LF
|
|
304 |
|
</xsl
:if> CR LF
|
305 |
|
CR LF
|
|
305 |
|
CR LF
|
306 |
|
<xsl:
attribute
name="drop
down"> CR LF
|
|
306 |
|
<xsl:
attribute
name="drop
down"> CR LF
|
307 |
|
<xsl
:value-of
select="$V
arDropDown
" /> CR LF
|
|
307 |
|
<xsl
:value-of
select="$V
arDropDown
" /> CR LF
|
308 |
|
</xsl
:attribute
> CR LF
|
|
308 |
|
</xsl
:attribute
> CR LF
|
309 |
|
CR LF
|
|
309 |
|
CR LF
|
310 |
|
<xsl:
attribute
name="popu
p"> CR LF
|
|
310 |
|
<xsl:
attribute
name="popu
p"> CR LF
|
311 |
|
<xsl
:value-of
select="$V
arPopup" /
> CR LF
|
|
311 |
|
<xsl
:value-of
select="$V
arPopup" /
> CR LF
|
312 |
|
</xsl
:attribute
> CR LF
|
|
312 |
|
</xsl
:attribute
> CR LF
|
313 |
|
CR LF
|
|
313 |
|
CR LF
|
314 |
|
<xsl:
if test="$
ParameterP
opups = 't
rue'"> CR LF
|
|
314 |
|
<xsl:
if test="$
ParameterP
opups = 't
rue'"> CR LF
|
315 |
|
<xsl
:attribute
name="pop
up-page-ru
le"> CR LF
|
|
315 |
|
<xsl
:attribute
name="pop
up-page-ru
le"> CR LF
|
316 |
|
<xs
l:value-of
select="$
VarPopupPa
geRule" />
CR LF
|
|
316 |
|
<xs
l:value-of
select="$
VarPopupPa
geRule" />
CR LF
|
317 |
|
</xs
l:attribut
e> CR LF
|
|
317 |
|
</xs
l:attribut
e> CR LF
|
318 |
|
</xsl
:if> CR LF
|
|
318 |
|
</xsl
:if> CR LF
|
319 |
|
CR LF
|
|
319 |
|
CR LF
|
320 |
|
<xsl:
apply-temp
lates sele
ct="$Param
Paragraph/
wwdoc:*" m
ode="wwmod
e:behavior
"> CR LF
|
|
320 |
|
<xsl:
apply-temp
lates sele
ct="$Param
Paragraph/
wwdoc:*" m
ode="wwmod
e:behavior
"> CR LF
|
321 |
|
<xsl
:with-para
m name="Pa
ramWIFFile
" select="
$ParamWIFF
ile" /> CR LF
|
|
321 |
|
<xsl
:with-para
m name="Pa
ramWIFFile
" select="
$ParamWIFF
ile" /> CR LF
|
322 |
|
<xsl
:with-para
m name="Pa
ramTopLeve
l" select=
"false()"
/> CR LF
|
|
322 |
|
<xsl
:with-para
m name="Pa
ramTopLeve
l" select=
"false()"
/> CR LF
|
323 |
|
</xsl
:apply-tem
plates> CR LF
|
|
323 |
|
</xsl
:apply-tem
plates> CR LF
|
324 |
|
</wwbe
haviors:Pa
ragraph> CR LF
|
|
324 |
|
</wwbe
haviors:Pa
ragraph> CR LF
|
325 |
|
</xsl:i
f> CR LF
|
|
325 |
|
</xsl:i
f> CR LF
|
326 |
|
</xsl:if
> CR LF
|
|
326 |
|
</xsl:if
> CR LF
|
327 |
|
</xsl:tem
plate> CR LF
|
|
327 |
|
</xsl:tem
plate> CR LF
|
328 |
|
CR LF
|
|
328 |
|
CR LF
|
329 |
|
CR LF
|
|
329 |
|
CR LF
|
330 |
|
<xsl:temp
late match
="wwdoc:Ma
rker" mode
="wwmode:b
ehavior"> CR
LF
|
|
330 |
|
<xsl:temp
late match
="wwdoc:Ma
rker" mode
="wwmode:b
ehavior"> CR
LF
|
331 |
|
<xsl:par
am name="P
aramMarker
" select="
." /> CR LF
|
|
331 |
|
<xsl:par
am name="P
aramMarker
" select="
." /> CR LF
|
332 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
|
332 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
333 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
|
333 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
334 |
|
CR LF
|
|
334 |
|
CR LF
|
335 |
|
<!-- Get
rule --> CR
LF
|
|
335 |
|
<!-- Get
rule --> CR
LF
|
336 |
|
<!--
--> CR
LF
|
|
336 |
|
<!--
--> CR
LF
|
337 |
|
<xsl:var
iable name
="VarRule"
select="w
wprojext:G
etRule('Ma
rker', $Pa
ramMarker/
@name)" />
CR LF
|
|
337 |
|
<xsl:var
iable name
="VarRule"
select="w
wprojext:G
etRule('Ma
rker', $Pa
ramMarker/
@name)" />
CR LF
|
338 |
|
<xsl:var
iable name
="VarBehav
iorOption"
select="$
VarRule/ww
project:Op
tions/wwpr
oject:Opti
on[@Name =
'marker-t
ype']/@Val
ue" /> CR LF
|
|
338 |
|
<xsl:var
iable name
="VarBehav
iorOption"
select="$
VarRule/ww
project:Op
tions/wwpr
oject:Opti
on[@Name =
'marker-t
ype']/@Val
ue" /> CR LF
|
339 |
|
<xsl:var
iable name
="VarIgnor
e" select=
"(string-l
ength($Var
BehaviorOp
tion) = 0)
or ($VarB
ehaviorOpt
ion = 'ign
ore')" /> CR
LF
|
|
339 |
|
<xsl:var
iable name
="VarIgnor
e" select=
"(string-l
ength($Var
BehaviorOp
tion) = 0)
or ($VarB
ehaviorOpt
ion = 'ign
ore')" /> CR
LF
|
340 |
|
<xsl:if
test="not(
$VarIgnore
)"> CR LF
|
|
340 |
|
<xsl:if
test="not(
$VarIgnore
)"> CR LF
|
341 |
|
<!-- Ma
rker --> CR LF
|
|
341 |
|
<!-- Ma
rker --> CR LF
|
342 |
|
<!--
--> CR LF
|
|
342 |
|
<!--
--> CR LF
|
343 |
|
<wwbeha
viors:Mark
er behavio
r="{$VarBe
haviorOpti
on}" id="{
$ParamMark
er/@id}"> CR
LF
|
|
343 |
|
<wwbeha
viors:Mark
er behavio
r="{$VarBe
haviorOpti
on}" id="{
$ParamMark
er/@id}"> CR
LF
|
344 |
|
<xsl:c
opy-of sel
ect="$Para
mMarker" /
> CR LF
|
|
344 |
|
<xsl:c
opy-of sel
ect="$Para
mMarker" /
> CR LF
|
345 |
|
</wwbeh
aviors:Mar
ker> CR LF
|
|
345 |
|
</wwbeh
aviors:Mar
ker> CR LF
|
346 |
|
</xsl:if
> CR LF
|
|
346 |
|
</xsl:if
> CR LF
|
347 |
|
</xsl:tem
plate> CR LF
|
|
347 |
|
</xsl:tem
plate> CR LF
|
348 |
|
CR LF
|
|
348 |
|
CR LF
|
349 |
|
CR LF
|
|
349 |
|
CR LF
|
350 |
|
<xsl:temp
late match
="wwdoc:Ta
bleCell" m
ode="wwmod
e:behavior
"> CR LF
|
|
350 |
|
<xsl:temp
late match
="wwdoc:Ta
bleCell" m
ode="wwmod
e:behavior
"> CR LF
|
351 |
|
<xsl:par
am name="P
aramTableC
ell" selec
t="." /> CR LF
|
|
351 |
|
<xsl:par
am name="P
aramTableC
ell" selec
t="." /> CR LF
|
352 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
|
352 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
353 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
|
353 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
354 |
|
CR LF
|
|
354 |
|
CR LF
|
355 |
|
<wwbehav
iors:Table
Cell> CR LF
|
|
355 |
|
<wwbehav
iors:Table
Cell> CR LF
|
356 |
|
<xsl:ap
ply-templa
tes select
="$ParamTa
bleCell/ww
doc:*" mod
e="wwmode:
behavior">
CR LF
|
|
356 |
|
<xsl:ap
ply-templa
tes select
="$ParamTa
bleCell/ww
doc:*" mod
e="wwmode:
behavior">
CR LF
|
357 |
|
<xsl:w
ith-param
name="Para
mWIFFile"
select="$P
aramWIFFil
e" /> CR LF
|
|
357 |
|
<xsl:w
ith-param
name="Para
mWIFFile"
select="$P
aramWIFFil
e" /> CR LF
|
358 |
|
<xsl:
with-param
name="Par
amTopLevel
" select="
false()" /
> CR LF
|
|
358 |
|
<xsl:
with-param
name="Par
amTopLevel
" select="
false()" /
> CR LF
|
359 |
|
</xsl:a
pply-templ
ates> CR LF
|
|
359 |
|
</xsl:a
pply-templ
ates> CR LF
|
360 |
|
</wwbeha
viors:Tabl
eCell> CR LF
|
|
360 |
|
</wwbeha
viors:Tabl
eCell> CR LF
|
361 |
|
</xsl:tem
plate> CR LF
|
|
361 |
|
</xsl:tem
plate> CR LF
|
362 |
|
CR LF
|
|
362 |
|
CR LF
|
363 |
|
CR LF
|
|
363 |
|
CR LF
|
364 |
|
<xsl:temp
late match
="wwdoc:*"
mode="wwm
ode:behavi
or"> CR LF
|
|
364 |
|
<xsl:temp
late match
="wwdoc:*"
mode="wwm
ode:behavi
or"> CR LF
|
365 |
|
<xsl:par
am name="P
aramNode"
select="."
/> CR LF
|
|
365 |
|
<xsl:par
am name="P
aramNode"
select="."
/> CR LF
|
366 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
|
366 |
|
<xsl:par
am name="P
aramWIFFil
e" /> CR LF
|
367 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
|
367 |
|
<xsl:par
am name="P
aramTopLev
el" /> CR LF
|
368 |
|
CR LF
|
|
368 |
|
CR LF
|
369 |
|
<xsl:app
ly-templat
es select=
"$ParamNod
e/wwdoc:*"
mode="wwm
ode:behavi
or"> CR LF
|
|
369 |
|
<xsl:app
ly-templat
es select=
"$ParamNod
e/wwdoc:*"
mode="wwm
ode:behavi
or"> CR LF
|
370 |
|
<xsl:wi
th-param n
ame="Param
WIFFile" s
elect="$Pa
ramWIFFile
" /> CR LF
|
|
370 |
|
<xsl:wi
th-param n
ame="Param
WIFFile" s
elect="$Pa
ramWIFFile
" /> CR LF
|
371 |
|
<xsl:wi
th-param n
ame="Param
TopLevel"
select="fa
lse()" /> CR
LF
|
|
371 |
|
<xsl:wi
th-param n
ame="Param
TopLevel"
select="fa
lse()" /> CR
LF
|
372 |
|
</xsl:ap
ply-templa
tes> CR LF
|
|
372 |
|
</xsl:ap
ply-templa
tes> CR LF
|
373 |
|
</xsl:tem
plate> CR LF
|
|
373 |
|
</xsl:tem
plate> CR LF
|
374 |
|
</xsl:styl
esheet> CR LF
|
|
374 |
|
</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.