1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?>
|
|
1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?>
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="urn
:WebWorks-
Engine-Spl
its-Schema
"
|
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="urn
:WebWorks-
Engine-Spl
its-Schema
"
|
3 |
|
xmlns:wwsp
lits="urn:
WebWorks-E
ngine-Spli
ts-Schema"
|
|
3 |
|
xmlns:wwsp
lits="urn:
WebWorks-E
ngine-Spli
ts-Schema"
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
5 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
|
5 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
6 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
|
6 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
7 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema"
|
|
7 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema"
|
8 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a"
|
|
8 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a"
|
9 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema"
|
|
9 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema"
|
10 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
|
10 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
11 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
|
11 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
12 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
|
12 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
13 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
|
13 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
14 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
|
14 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
15 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
|
15 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
16 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
|
16 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
17 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
|
17 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
18 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
|
18 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
19 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwspl
its wwmode
wwfiles w
wdoc wwbeh
aviors wwp
roject wwp
rogress ww
log wwfile
system wwu
ri wwstrin
g wwfilese
xt wwproje
xt wwexsld
oc"
|
|
19 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwspl
its wwmode
wwfiles w
wdoc wwbeh
aviors wwp
roject wwp
rogress ww
log wwfile
system wwu
ri wwstrin
g wwfilese
xt wwproje
xt wwexsld
oc"
|
20 |
|
>
|
|
20 |
|
>
|
21 |
|
<xsl:para
m name="Gl
obalInput"
/>
|
|
21 |
|
<xsl:para
m name="Gl
obalInput"
/>
|
22 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
|
|
22 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
|
23 |
|
<xsl:para
m name="Gl
obalProjec
t" />
|
|
23 |
|
<xsl:para
m name="Gl
obalProjec
t" />
|
24 |
|
<xsl:para
m name="Gl
obalFiles"
/>
|
|
24 |
|
<xsl:para
m name="Gl
obalFiles"
/>
|
25 |
|
<xsl:para
m name="Pa
rameterDoc
umentType"
/>
|
|
25 |
|
<xsl:para
m name="Pa
rameterDoc
umentType"
/>
|
26 |
|
<xsl:para
m name="Pa
rameterDep
endsType"
/>
|
|
26 |
|
<xsl:para
m name="Pa
rameterDep
endsType"
/>
|
27 |
|
<xsl:para
m name="Pa
rameterBeh
aviorsType
" />
|
|
27 |
|
<xsl:para
m name="Pa
rameterBeh
aviorsType
" />
|
28 |
|
<xsl:para
m name="Pa
rameterTyp
e" />
|
|
28 |
|
<xsl:para
m name="Pa
rameterTyp
e" />
|
29 |
|
|
|
29 |
|
|
30 |
|
|
|
30 |
|
|
31 |
|
<xsl:name
space-alia
s styleshe
et-prefix=
"wwsplits"
result-pr
efix="#def
ault" />
|
|
31 |
|
<xsl:name
space-alia
s styleshe
et-prefix=
"wwsplits"
result-pr
efix="#def
ault" />
|
32 |
|
<xsl:stri
p-space el
ements="*"
/>
|
|
32 |
|
<xsl:stri
p-space el
ements="*"
/>
|
33 |
|
|
|
33 |
|
|
34 |
|
|
|
34 |
|
|
35 |
|
<xsl:key
name="wwfi
les-files-
by-documen
tid" match
="wwfiles:
File" use=
"@document
ID" />
|
|
35 |
|
<xsl:key
name="wwfi
les-files-
by-documen
tid" match
="wwfiles:
File" use=
"@document
ID" />
|
36 |
|
<xsl:key
name="wwbe
haviors-sp
lits-by-id
" match="w
wbehaviors
:Split" us
e="@id" />
|
|
36 |
|
<xsl:key
name="wwbe
haviors-sp
lits-by-id
" match="w
wbehaviors
:Split" us
e="@id" />
|
37 |
|
<xsl:key
name="wwbe
haviors-ma
rkers-by-i
d" match="
wwbehavior
s:Marker"
use="@id"
/>
|
|
37 |
|
<xsl:key
name="wwbe
haviors-ma
rkers-by-i
d" match="
wwbehavior
s:Marker"
use="@id"
/>
|
38 |
|
|
|
38 |
|
|
39 |
|
|
|
39 |
|
|
40 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m">
|
|
40 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m">
|
41 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums">
|
|
41 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums">
|
42 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/>
|
|
42 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/>
|
43 |
|
</xsl:va
riable>
|
|
43 |
|
</xsl:va
riable>
|
44 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/>
|
|
44 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/>
|
45 |
|
</xsl:var
iable>
|
|
45 |
|
</xsl:var
iable>
|
46 |
|
|
|
46 |
|
|
47 |
|
|
|
47 |
|
|
48 |
|
<xsl:temp
late match
="/">
|
|
48 |
|
<xsl:temp
late match
="/">
|
49 |
|
<wwfiles
:Files ver
sion="1.0"
>
|
|
49 |
|
<wwfiles
:Files ver
sion="1.0"
>
|
50 |
|
|
|
50 |
|
|
51 |
|
<!-- Gr
oups -->
|
|
51 |
|
<!-- Gr
oups -->
|
52 |
|
<!--
-->
|
|
52 |
|
<!--
-->
|
53 |
|
<xsl:va
riable nam
e="VarProj
ectGroups"
select="$
GlobalProj
ect/wwproj
ect:Projec
t/wwprojec
t:Groups/w
wproject:G
roup" />
|
|
53 |
|
<xsl:va
riable nam
e="VarProj
ectGroups"
select="$
GlobalProj
ect/wwproj
ect:Projec
t/wwprojec
t:Groups/w
wproject:G
roup" />
|
54 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsSta
rt" select
="wwprogre
ss:Start(c
ount($VarP
rojectGrou
ps))" />
|
|
54 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsSta
rt" select
="wwprogre
ss:Start(c
ount($VarP
rojectGrou
ps))" />
|
55 |
|
<xsl:fo
r-each sel
ect="$VarP
rojectGrou
ps">
|
|
55 |
|
<xsl:fo
r-each sel
ect="$VarP
rojectGrou
ps">
|
56 |
|
<xsl:v
ariable na
me="VarPro
jectGroup"
select=".
" />
|
|
56 |
|
<xsl:v
ariable na
me="VarPro
jectGroup"
select=".
" />
|
57 |
|
<xsl:v
ariable na
me="VarPro
jectGroupP
osition" s
elect="pos
ition()" /
>
|
|
57 |
|
<xsl:v
ariable na
me="VarPro
jectGroupP
osition" s
elect="pos
ition()" /
>
|
58 |
|
|
|
58 |
|
|
59 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupSta
rt" select
="wwprogre
ss:Start(1
)" />
|
|
59 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupSta
rt" select
="wwprogre
ss:Start(1
)" />
|
60 |
|
|
|
60 |
|
|
61 |
|
<!-- A
borted? --
>
|
|
61 |
|
<!-- A
borted? --
>
|
62 |
|
<!--
--
>
|
|
62 |
|
<!--
--
>
|
63 |
|
<xsl:i
f test="no
t(wwprogre
ss:Abort()
)">
|
|
63 |
|
<xsl:i
f test="no
t(wwprogre
ss:Abort()
)">
|
64 |
|
<!--
Documents
-->
|
|
64 |
|
<!--
Documents
-->
|
65 |
|
<!--
-->
|
|
65 |
|
<!--
-->
|
66 |
|
<xsl:
variable n
ame="VarPr
ojectDocum
ents" sele
ct="$VarPr
ojectGroup
//wwprojec
t:Document
" />
|
|
66 |
|
<xsl:
variable n
ame="VarPr
ojectDocum
ents" sele
ct="$VarPr
ojectGroup
//wwprojec
t:Document
" />
|
67 |
|
<xsl:
variable n
ame="VarPr
ogressProj
ectDocumen
tsStart" s
elect="wwp
rogress:St
art(count(
$VarProjec
tDocuments
))" />
|
|
67 |
|
<xsl:
variable n
ame="VarPr
ogressProj
ectDocumen
tsStart" s
elect="wwp
rogress:St
art(count(
$VarProjec
tDocuments
))" />
|
68 |
|
<xsl:
for-each s
elect="$Va
rProjectDo
cuments">
|
|
68 |
|
<xsl:
for-each s
elect="$Va
rProjectDo
cuments">
|
69 |
|
<xsl
:variable
name="VarP
rojectDocu
ment" sele
ct="." />
|
|
69 |
|
<xsl
:variable
name="VarP
rojectDocu
ment" sele
ct="." />
|
70 |
|
<xsl
:variable
name="VarP
rojectDocu
mentPositi
on" select
="position
()" />
|
|
70 |
|
<xsl
:variable
name="VarP
rojectDocu
mentPositi
on" select
="position
()" />
|
71 |
|
|
|
71 |
|
|
72 |
|
<xsl
:variable
name="VarP
rogressPro
jectDocume
ntStart" s
elect="wwp
rogress:St
art(1)" />
|
|
72 |
|
<xsl
:variable
name="VarP
rogressPro
jectDocume
ntStart" s
elect="wwp
rogress:St
art(1)" />
|
73 |
|
|
|
73 |
|
|
74 |
|
<!--
Aborted?
-->
|
|
74 |
|
<!--
Aborted?
-->
|
75 |
|
<!--
-->
|
|
75 |
|
<!--
-->
|
76 |
|
<xsl
:if test="
not(wwprog
ress:Abort
())">
|
|
76 |
|
<xsl
:if test="
not(wwprog
ress:Abort
())">
|
77 |
|
<!-
- Splits -
->
|
|
77 |
|
<!-
- Splits -
->
|
78 |
|
<!-
- -
->
|
|
78 |
|
<!-
- -
->
|
79 |
|
<xs
l:for-each
select="$
GlobalFile
s[1]">
|
|
79 |
|
<xs
l:for-each
select="$
GlobalFile
s[1]">
|
80 |
|
<x
sl:variabl
e name="Va
rFilesWith
DocumentID
" select="
key('wwfil
es-files-b
y-document
id', $VarP
rojectDocu
ment/@Docu
mentID)" /
>
|
|
80 |
|
<x
sl:variabl
e name="Va
rFilesWith
DocumentID
" select="
key('wwfil
es-files-b
y-document
id', $VarP
rojectDocu
ment/@Docu
mentID)" /
>
|
81 |
|
|
|
81 |
|
|
82 |
|
<!
-- Load sp
lits -->
|
|
82 |
|
<!
-- Load sp
lits -->
|
83 |
|
<!
--
-->
|
|
83 |
|
<!
--
-->
|
84 |
|
<x
sl:variabl
e name="Va
rFilesSpli
ts" select
="$VarFile
sWithDocum
entID[@typ
e = $Param
eterDepend
sType][1]"
/>
|
|
84 |
|
<x
sl:variabl
e name="Va
rFilesSpli
ts" select
="$VarFile
sWithDocum
entID[@typ
e = $Param
eterDepend
sType][1]"
/>
|
85 |
|
<x
sl:variabl
e name="Va
rSplits" s
elect="wwe
xsldoc:Loa
dXMLWithou
tResolver(
$VarFilesS
plits/@pat
h)" />
|
|
85 |
|
<x
sl:variabl
e name="Va
rSplits" s
elect="wwe
xsldoc:Loa
dXMLWithou
tResolver(
$VarFilesS
plits/@pat
h)" />
|
86 |
|
|
|
86 |
|
|
87 |
|
<x
sl:variabl
e name="Va
rFilesDocu
ment" sele
ct="$VarFi
lesWithDoc
umentID[@t
ype = $Par
ameterDocu
mentType][
1]" />
|
|
87 |
|
<x
sl:variabl
e name="Va
rFilesDocu
ment" sele
ct="$VarFi
lesWithDoc
umentID[@t
ype = $Par
ameterDocu
mentType][
1]" />
|
88 |
|
<x
sl:for-eac
h select="
$VarFilesD
ocument[1]
">
|
|
88 |
|
<x
sl:for-eac
h select="
$VarFilesD
ocument[1]
">
|
89 |
|
<
xsl:variab
le name="V
arFilesBeh
aviors" se
lect="$Var
FilesWithD
ocumentID[
@type = $P
arameterBe
haviorsTyp
e][1]" />
|
|
89 |
|
<
xsl:variab
le name="V
arFilesBeh
aviors" se
lect="$Var
FilesWithD
ocumentID[
@type = $P
arameterBe
haviorsTyp
e][1]" />
|
90 |
|
<
xsl:for-ea
ch select=
"$VarFiles
Behaviors[
1]">
|
|
90 |
|
<
xsl:for-ea
ch select=
"$VarFiles
Behaviors[
1]">
|
91 |
|
<!-- Call
template -
->
|
|
91 |
|
<!-- Call
template -
->
|
92 |
|
<!--
-
->
|
|
92 |
|
<!--
-
->
|
93 |
|
<xsl:varia
ble name="
VarPath" s
elect="wwf
ilesystem:
Combine(ww
filesystem
:GetDirect
oryName($V
arFilesSpl
its/@path)
, concat(t
ranslate($
ParameterT
ype, ':',
'_'),'.xml
'))" />
|
|
93 |
|
<xsl:varia
ble name="
VarPath" s
elect="wwf
ilesystem:
Combine(ww
filesystem
:GetDirect
oryName($V
arFilesSpl
its/@path)
, concat(t
ranslate($
ParameterT
ype, ':',
'_'),'.xml
'))" />
|
94 |
|
<xsl:varia
ble name="
VarUpToDat
e" select=
"wwfilesex
t:UpToDate
($VarPath,
'', $VarF
ilesSplits
/@groupID,
$VarFiles
Splits/@do
cumentID,
$GlobalAct
ionChecksu
m)" />
|
|
94 |
|
<xsl:varia
ble name="
VarUpToDat
e" select=
"wwfilesex
t:UpToDate
($VarPath,
'', $VarF
ilesSplits
/@groupID,
$VarFiles
Splits/@do
cumentID,
$GlobalAct
ionChecksu
m)" />
|
95 |
|
<xsl:if te
st="not($V
arUpToDate
)">
|
|
95 |
|
<xsl:if te
st="not($V
arUpToDate
)">
|
96 |
|
<xsl:vari
able name=
"VarResult
AsXML">
|
|
96 |
|
<xsl:vari
able name=
"VarResult
AsXML">
|
97 |
|
<!-- Loa
d document
-->
|
|
97 |
|
<!-- Loa
d document
-->
|
98 |
|
<!--
-->
|
|
98 |
|
<!--
-->
|
99 |
|
<xsl:var
iable name
="VarDocum
ent" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Var
FilesDocum
ent/@path)
" />
|
|
99 |
|
<xsl:var
iable name
="VarDocum
ent" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Var
FilesDocum
ent/@path)
" />
|
100 |
|
<xsl:var
iable name
="VarBehav
iors" sele
ct="wwexsl
doc:LoadXM
LWithoutRe
solver($Va
rFilesBeha
viors/@pat
h)" />
|
|
100 |
|
<xsl:var
iable name
="VarBehav
iors" sele
ct="wwexsl
doc:LoadXM
LWithoutRe
solver($Va
rFilesBeha
viors/@pat
h)" />
|
101 |
|
|
|
101 |
|
|
102 |
|
<xsl:cal
l-template
name="Nam
eInfo">
|
|
102 |
|
<xsl:cal
l-template
name="Nam
eInfo">
|
103 |
|
<xsl:wi
th-param n
ame="Param
ProjectGro
up" select
="$VarProj
ectGroup"
/>
|
|
103 |
|
<xsl:wi
th-param n
ame="Param
ProjectGro
up" select
="$VarProj
ectGroup"
/>
|
104 |
|
<xsl:wi
th-param n
ame="Param
ProjectGro
upPosition
" select="
$VarProjec
tGroupPosi
tion" />
|
|
104 |
|
<xsl:wi
th-param n
ame="Param
ProjectGro
upPosition
" select="
$VarProjec
tGroupPosi
tion" />
|
105 |
|
<xsl:wi
th-param n
ame="Param
ProjectDoc
ument" sel
ect="$VarP
rojectDocu
ment" />
|
|
105 |
|
<xsl:wi
th-param n
ame="Param
ProjectDoc
ument" sel
ect="$VarP
rojectDocu
ment" />
|
106 |
|
<xsl:wi
th-param n
ame="Param
ProjectDoc
umentPosit
ion" selec
t="$VarPro
jectDocume
ntPosition
" />
|
|
106 |
|
<xsl:wi
th-param n
ame="Param
ProjectDoc
umentPosit
ion" selec
t="$VarPro
jectDocume
ntPosition
" />
|
107 |
|
<xsl:wi
th-param n
ame="Param
Document"
select="$V
arDocument
" />
|
|
107 |
|
<xsl:wi
th-param n
ame="Param
Document"
select="$V
arDocument
" />
|
108 |
|
<xsl:wi
th-param n
ame="Param
Behaviors"
select="$
VarBehavio
rs" />
|
|
108 |
|
<xsl:wi
th-param n
ame="Param
Behaviors"
select="$
VarBehavio
rs" />
|
109 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Var
Splits" />
|
|
109 |
|
<xsl:wi
th-param n
ame="Param
Splits" se
lect="$Var
Splits" />
|
110 |
|
</xsl:ca
ll-templat
e>
|
|
110 |
|
</xsl:ca
ll-templat
e>
|
111 |
|
</xsl:var
iable>
|
|
111 |
|
</xsl:var
iable>
|
112 |
|
<xsl:vari
able name=
"VarResult
" select="
msxsl:node
-set($VarR
esultAsXML
)" />
|
|
112 |
|
<xsl:vari
able name=
"VarResult
" select="
msxsl:node
-set($VarR
esultAsXML
)" />
|
113 |
|
<xsl:vari
able name=
"VarWriteR
esult" sel
ect="wwexs
ldoc:Docum
ent($VarRe
sult, $Var
Path, 'utf
-8', 'xml'
, '1.0', '
yes')" />
|
|
113 |
|
<xsl:vari
able name=
"VarWriteR
esult" sel
ect="wwexs
ldoc:Docum
ent($VarRe
sult, $Var
Path, 'utf
-8', 'xml'
, '1.0', '
yes')" />
|
114 |
|
</xsl:if>
|
|
114 |
|
</xsl:if>
|
115 |
|
|
|
115 |
|
|
116 |
|
<wwfiles:F
ile path="
{$VarPath}
" type="{$
ParameterT
ype}" chec
ksum="{wwf
ilesystem:
GetChecksu
m($VarPath
)}" projec
tchecksum=
"" groupID
="{$VarFil
esSplits/@
groupID}"
documentID
="{$VarFil
esSplits/@
documentID
}" actionc
hecksum="{
$GlobalAct
ionChecksu
m}">
|
|
116 |
|
<wwfiles:F
ile path="
{$VarPath}
" type="{$
ParameterT
ype}" chec
ksum="{wwf
ilesystem:
GetChecksu
m($VarPath
)}" projec
tchecksum=
"" groupID
="{$VarFil
esSplits/@
groupID}"
documentID
="{$VarFil
esSplits/@
documentID
}" actionc
hecksum="{
$GlobalAct
ionChecksu
m}">
|
117 |
|
<wwfiles:
Depends pa
th="{$VarF
ilesDocume
nt/@path}"
checksum=
"{$VarFile
sDocument/
@checksum}
" groupID=
"{$VarFile
sDocument/
@groupID}"
documentI
D="{$VarFi
lesDocumen
t/@documen
tID}" />
|
|
117 |
|
<wwfiles:
Depends pa
th="{$VarF
ilesDocume
nt/@path}"
checksum=
"{$VarFile
sDocument/
@checksum}
" groupID=
"{$VarFile
sDocument/
@groupID}"
documentI
D="{$VarFi
lesDocumen
t/@documen
tID}" />
|
118 |
|
<wwfiles:
Depends pa
th="{$VarF
ilesSplits
/@path}" c
hecksum="{
$VarFilesS
plits/@che
cksum}" gr
oupID="{$V
arFilesSpl
its/@group
ID}" docum
entID="{$V
arFilesSpl
its/@docum
entID}" />
|
|
118 |
|
<wwfiles:
Depends pa
th="{$VarF
ilesSplits
/@path}" c
hecksum="{
$VarFilesS
plits/@che
cksum}" gr
oupID="{$V
arFilesSpl
its/@group
ID}" docum
entID="{$V
arFilesSpl
its/@docum
entID}" />
|
119 |
|
<wwfiles:
Depends pa
th="{$VarF
ilesBehavi
ors/@path}
" checksum
="{$VarFil
esBehavior
s/@checksu
m}" groupI
D="{$VarFi
lesBehavio
rs/@groupI
D}" docume
ntID="{$Va
rFilesBeha
viors/@doc
umentID}"
/>
|
|
119 |
|
<wwfiles:
Depends pa
th="{$VarF
ilesBehavi
ors/@path}
" checksum
="{$VarFil
esBehavior
s/@checksu
m}" groupI
D="{$VarFi
lesBehavio
rs/@groupI
D}" docume
ntID="{$Va
rFilesBeha
viors/@doc
umentID}"
/>
|
120 |
|
</wwfiles:
File>
|
|
120 |
|
</wwfiles:
File>
|
121 |
|
<
/xsl:for-e
ach>
|
|
121 |
|
<
/xsl:for-e
ach>
|
122 |
|
</
xsl:for-ea
ch>
|
|
122 |
|
</
xsl:for-ea
ch>
|
123 |
|
</x
sl:for-eac
h>
|
|
123 |
|
</x
sl:for-eac
h>
|
124 |
|
</xs
l:if>
|
|
124 |
|
</xs
l:if>
|
125 |
|
|
|
125 |
|
|
126 |
|
<xsl
:variable
name="VarP
rogressPro
jectDocume
ntEnd" sel
ect="wwpro
gress:End(
)" />
|
|
126 |
|
<xsl
:variable
name="VarP
rogressPro
jectDocume
ntEnd" sel
ect="wwpro
gress:End(
)" />
|
127 |
|
</xsl
:for-each>
|
|
127 |
|
</xsl
:for-each>
|
128 |
|
|
|
128 |
|
|
129 |
|
<xsl:
variable n
ame="VarPr
ogressProj
ectDocumen
tsEnd" sel
ect="wwpro
gress:End(
)" />
|
|
129 |
|
<xsl:
variable n
ame="VarPr
ogressProj
ectDocumen
tsEnd" sel
ect="wwpro
gress:End(
)" />
|
130 |
|
</xsl:
if>
|
|
130 |
|
</xsl:
if>
|
131 |
|
|
|
131 |
|
|
132 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupEnd
t" select=
"wwprogres
s:End()" /
>
|
|
132 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupEnd
t" select=
"wwprogres
s:End()" /
>
|
133 |
|
</xsl:f
or-each>
|
|
133 |
|
</xsl:f
or-each>
|
134 |
|
|
|
134 |
|
|
135 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsEnd
" select="
wwprogress
:End()" />
|
|
135 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsEnd
" select="
wwprogress
:End()" />
|
136 |
|
</wwfile
s:Files>
|
|
136 |
|
</wwfile
s:Files>
|
137 |
|
</xsl:tem
plate>
|
|
137 |
|
</xsl:tem
plate>
|
138 |
|
|
|
138 |
|
|
139 |
|
|
|
139 |
|
|
140 |
|
<xsl:temp
late name=
"GetFileNa
meMarkers"
>
|
|
140 |
|
<xsl:temp
late name=
"GetFileNa
meMarkers"
>
|
141 |
|
<xsl:par
am name="P
aramBehavi
ors" />
|
|
141 |
|
<xsl:par
am name="P
aramBehavi
ors" />
|
142 |
|
<xsl:par
am name="P
aramMarker
s" />
|
|
142 |
|
<xsl:par
am name="P
aramMarker
s" />
|
143 |
|
|
|
143 |
|
|
144 |
|
<!-- Cre
ate filena
me markers
-->
|
|
144 |
|
<!-- Cre
ate filena
me markers
-->
|
145 |
|
<!--
-->
|
|
145 |
|
<!--
-->
|
146 |
|
<xsl:for
-each sele
ct="$Param
Markers">
|
|
146 |
|
<xsl:for
-each sele
ct="$Param
Markers">
|
147 |
|
<xsl:va
riable nam
e="VarMark
er" select
="." />
|
|
147 |
|
<xsl:va
riable nam
e="VarMark
er" select
="." />
|
148 |
|
|
|
148 |
|
|
149 |
|
<xsl:fo
r-each sel
ect="$Para
mBehaviors
[1]">
|
|
149 |
|
<xsl:fo
r-each sel
ect="$Para
mBehaviors
[1]">
|
150 |
|
<xsl:v
ariable na
me="VarBeh
aviorMarke
r" select=
"key('wwbe
haviors-ma
rkers-by-i
d', $VarMa
rker/@id)"
/>
|
|
150 |
|
<xsl:v
ariable na
me="VarBeh
aviorMarke
r" select=
"key('wwbe
haviors-ma
rkers-by-i
d', $VarMa
rker/@id)"
/>
|
151 |
|
|
|
151 |
|
|
152 |
|
<xsl:f
or-each se
lect="$Var
BehaviorMa
rker[1][(@
behavior =
'filename
') or (@be
havior = '
filename-a
nd-topic')
]">
|
|
152 |
|
<xsl:f
or-each se
lect="$Var
BehaviorMa
rker[1][(@
behavior =
'filename
') or (@be
havior = '
filename-a
nd-topic')
]">
|
153 |
|
<xsl:
variable n
ame="VarFi
leName">
|
|
153 |
|
<xsl:
variable n
ame="VarFi
leName">
|
154 |
|
<xsl
:for-each
select="$V
arMarker/w
wdoc:TextR
un/wwdoc:T
ext">
|
|
154 |
|
<xsl
:for-each
select="$V
arMarker/w
wdoc:TextR
un/wwdoc:T
ext">
|
155 |
|
<xs
l:value-of
select="@
value" />
|
|
155 |
|
<xs
l:value-of
select="@
value" />
|
156 |
|
</xs
l:for-each
>
|
|
156 |
|
</xs
l:for-each
>
|
157 |
|
</xsl
:variable>
|
|
157 |
|
</xsl
:variable>
|
158 |
|
<xsl:
variable n
ame="VarNo
rmalizedFi
leName" se
lect="norm
alize-spac
e($VarFile
Name)" />
|
|
158 |
|
<xsl:
variable n
ame="VarNo
rmalizedFi
leName" se
lect="norm
alize-spac
e($VarFile
Name)" />
|
159 |
|
|
|
159 |
|
|
160 |
|
<xsl:
if test="s
tring-leng
th($VarNor
malizedFil
eName) >
; 0">
|
|
160 |
|
<xsl:
if test="s
tring-leng
th($VarNor
malizedFil
eName) >
; 0">
|
161 |
|
<wws
plits:File
Name value
="{$VarNor
malizedFil
eName}" />
|
|
161 |
|
<wws
plits:File
Name value
="{$VarNor
malizedFil
eName}" />
|
162 |
|
</xsl
:if>
|
|
162 |
|
</xsl
:if>
|
163 |
|
</xsl:
for-each>
|
|
163 |
|
</xsl:
for-each>
|
164 |
|
</xsl:f
or-each>
|
|
164 |
|
</xsl:f
or-each>
|
165 |
|
</xsl:fo
r-each>
|
|
165 |
|
</xsl:fo
r-each>
|
166 |
|
</xsl:tem
plate>
|
|
166 |
|
</xsl:tem
plate>
|
167 |
|
|
|
167 |
|
|
168 |
|
|
|
168 |
|
|
169 |
|
<xsl:temp
late name=
"NameInfo"
>
|
|
169 |
|
<xsl:temp
late name=
"NameInfo"
>
|
170 |
|
<xsl:par
am name="P
aramProjec
tGroup" />
|
|
170 |
|
<xsl:par
am name="P
aramProjec
tGroup" />
|
171 |
|
<xsl:par
am name="P
aramProjec
tGroupPosi
tion" />
|
|
171 |
|
<xsl:par
am name="P
aramProjec
tGroupPosi
tion" />
|
172 |
|
<xsl:par
am name="P
aramProjec
tDocument"
/>
|
|
172 |
|
<xsl:par
am name="P
aramProjec
tDocument"
/>
|
173 |
|
<xsl:par
am name="P
aramProjec
tDocumentP
osition" /
>
|
|
173 |
|
<xsl:par
am name="P
aramProjec
tDocumentP
osition" /
>
|
174 |
|
<xsl:par
am name="P
aramDocume
nt" />
|
|
174 |
|
<xsl:par
am name="P
aramDocume
nt" />
|
175 |
|
<xsl:par
am name="P
aramBehavi
ors" />
|
|
175 |
|
<xsl:par
am name="P
aramBehavi
ors" />
|
176 |
|
<xsl:par
am name="P
aramSplits
" />
|
|
176 |
|
<xsl:par
am name="P
aramSplits
" />
|
177 |
|
|
|
177 |
|
|
178 |
|
<xsl:var
iable name
="VarDocum
entNameWit
houtExtens
ion" selec
t="wwfiles
ystem:GetF
ileNameWit
houtExtens
ion(wwproj
ext:GetDoc
umentPath(
$ParamProj
ectDocumen
t/@Documen
tID))" />
|
|
178 |
|
<xsl:var
iable name
="VarDocum
entNameWit
houtExtens
ion" selec
t="wwfiles
ystem:GetF
ileNameWit
houtExtens
ion(wwproj
ext:GetDoc
umentPath(
$ParamProj
ectDocumen
t/@Documen
tID))" />
|
179 |
|
|
|
179 |
|
|
180 |
|
<wwsplit
s:Splits v
ersion="1.
0">
|
|
180 |
|
<wwsplit
s:Splits v
ersion="1.
0">
|
181 |
|
<xsl:fo
r-each sel
ect="$Para
mSplits/ww
splits:Spl
its/wwspli
ts:Split">
|
|
181 |
|
<xsl:fo
r-each sel
ect="$Para
mSplits/ww
splits:Spl
its/wwspli
ts:Split">
|
182 |
|
<xsl:v
ariable na
me="VarSpl
it" select
="." />
|
|
182 |
|
<xsl:v
ariable na
me="VarSpl
it" select
="." />
|
183 |
|
<xsl:v
ariable na
me="VarPos
ition" sel
ect="posit
ion()" />
|
|
183 |
|
<xsl:v
ariable na
me="VarPos
ition" sel
ect="posit
ion()" />
|
184 |
|
|
|
184 |
|
|
185 |
|
<!-- I
dentify st
art/end po
sitions --
>
|
|
185 |
|
<!-- I
dentify st
art/end po
sitions --
>
|
186 |
|
<!--
--
>
|
|
186 |
|
<!--
--
>
|
187 |
|
<xsl:v
ariable na
me="VarSta
rtPosition
" select="
@documentp
osition" /
>
|
|
187 |
|
<xsl:v
ariable na
me="VarSta
rtPosition
" select="
@documentp
osition" /
>
|
188 |
|
<xsl:v
ariable na
me="VarEnd
Position">
|
|
188 |
|
<xsl:v
ariable na
me="VarEnd
Position">
|
189 |
|
<xsl:
choose>
|
|
189 |
|
<xsl:
choose>
|
190 |
|
<xsl
:when test
="position
() = last(
)">
|
|
190 |
|
<xsl
:when test
="position
() = last(
)">
|
191 |
|
<xs
l:value-of
select="c
ount($Para
mDocument/
wwdoc:Docu
ment/wwdoc
:Content/*
)" />
|
|
191 |
|
<xs
l:value-of
select="c
ount($Para
mDocument/
wwdoc:Docu
ment/wwdoc
:Content/*
)" />
|
192 |
|
</xs
l:when>
|
|
192 |
|
</xs
l:when>
|
193 |
|
|
|
193 |
|
|
194 |
|
<xsl
:otherwise
>
|
|
194 |
|
<xsl
:otherwise
>
|
195 |
|
<xs
l:value-of
select="f
ollowing-s
ibling::ww
splits:Spl
it[1]/@doc
umentposit
ion - 1" /
>
|
|
195 |
|
<xs
l:value-of
select="f
ollowing-s
ibling::ww
splits:Spl
it[1]/@doc
umentposit
ion - 1" /
>
|
196 |
|
</xs
l:otherwis
e>
|
|
196 |
|
</xs
l:otherwis
e>
|
197 |
|
</xsl
:choose>
|
|
197 |
|
</xsl
:choose>
|
198 |
|
</xsl:
variable>
|
|
198 |
|
</xsl:
variable>
|
199 |
|
|
|
199 |
|
|
200 |
|
<!-- S
elect cont
ent -->
|
|
200 |
|
<!-- S
elect cont
ent -->
|
201 |
|
<!--
-->
|
|
201 |
|
<!--
-->
|
202 |
|
<xsl:v
ariable na
me="VarCon
tent" sele
ct="$Param
Document/w
wdoc:Docum
ent/wwdoc:
Content/*[
(position(
) >= $V
arStartPos
ition) and
(position
() <= $
VarEndPosi
tion)]" />
|
|
202 |
|
<xsl:v
ariable na
me="VarCon
tent" sele
ct="$Param
Document/w
wdoc:Docum
ent/wwdoc:
Content/*[
(position(
) >= $V
arStartPos
ition) and
(position
() <= $
VarEndPosi
tion)]" />
|
203 |
|
|
|
203 |
|
|
204 |
|
<xsl:v
ariable na
me="VarSpl
itTitle">
|
|
204 |
|
<xsl:v
ariable na
me="VarSpl
itTitle">
|
205 |
|
<xsl:
for-each s
elect="($V
arContent[
local-name
() = 'Para
graph'
][1] | $Va
rContent//
wwdoc:Para
graph[not(
ancestor::
wwdoc:Fram
e)
][1])[1]/w
wdoc:TextR
un/wwdoc:T
ext">
|
|
205 |
|
<xsl:
for-each s
elect="($V
arContent[
(
local-name
() = 'Para
graph'
) and (cou
nt(./wwdoc
:TextRun/w
wdoc:Text)
> 0)
][1] | $Va
rContent//
wwdoc:Para
graph[not(
ancestor::
wwdoc:Fram
e)
and (coun
t(./wwdoc:
TextRun/ww
doc:Text)
> 0)
][1])[1]/w
wdoc:TextR
un/wwdoc:T
ext">
|
206 |
|
<xsl
:value-of
select="@v
alue" />
|
|
206 |
|
<xsl
:value-of
select="@v
alue" />
|
207 |
|
</xsl
:for-each>
|
|
207 |
|
</xsl
:for-each>
|
208 |
|
</xsl:
variable>
|
|
208 |
|
</xsl:
variable>
|
209 |
|
|
|
209 |
|
|
210 |
|
<!-- S
plit behav
ior -->
|
|
210 |
|
<!-- S
plit behav
ior -->
|
211 |
|
<!--
-->
|
|
211 |
|
<!--
-->
|
212 |
|
<xsl:f
or-each se
lect="$Par
amBehavior
s[1]">
|
|
212 |
|
<xsl:f
or-each se
lect="$Par
amBehavior
s[1]">
|
213 |
|
<xsl:
variable n
ame="VarBe
haviorsSpl
it" select
="key('wwb
ehaviors-s
plits-by-i
d', $VarSp
lit/@id)[1
]" />
|
|
213 |
|
<xsl:
variable n
ame="VarBe
haviorsSpl
it" select
="key('wwb
ehaviors-s
plits-by-i
d', $VarSp
lit/@id)[1
]" />
|
214 |
|
|
|
214 |
|
|
215 |
|
<!--
Window typ
e -->
|
|
215 |
|
<!--
Window typ
e -->
|
216 |
|
<!--
-->
|
|
216 |
|
<!--
-->
|
217 |
|
<xsl:
variable n
ame="VarWi
ndowType"
select="$V
arBehavior
sSplit/@wi
ndow-type"
/>
|
|
217 |
|
<xsl:
variable n
ame="VarWi
ndowType"
select="$V
arBehavior
sSplit/@wi
ndow-type"
/>
|
218 |
|
|
|
218 |
|
|
219 |
|
<!--
Name Info
-->
|
|
219 |
|
<!--
Name Info
-->
|
220 |
|
<!--
-->
|
|
220 |
|
<!--
-->
|
221 |
|
<wwsp
lits:Split
groupID="
{$ParamPro
jectGroup/
@GroupID}"
documentI
D="{$Param
ProjectDoc
ument/@Doc
umentID}"
id="{$VarS
plit/@id}"
position=
"{$VarPosi
tion}" doc
umentstart
position="
{$VarStart
Position}"
documente
ndposition
="{$VarEnd
Position}"
title="{$
VarSplitTi
tle}">
|
|
221 |
|
<wwsp
lits:Split
groupID="
{$ParamPro
jectGroup/
@GroupID}"
documentI
D="{$Param
ProjectDoc
ument/@Doc
umentID}"
id="{$VarS
plit/@id}"
position=
"{$VarPosi
tion}" doc
umentstart
position="
{$VarStart
Position}"
documente
ndposition
="{$VarEnd
Position}"
title="{$
VarSplitTi
tle}">
|
222 |
|
<xsl
:if test="
string-len
gth($VarWi
ndowType)
> 0">
|
|
222 |
|
<xsl
:if test="
string-len
gth($VarWi
ndowType)
> 0">
|
223 |
|
<xs
l:attribut
e name="wi
ndow-type"
>
|
|
223 |
|
<xs
l:attribut
e name="wi
ndow-type"
>
|
224 |
|
<x
sl:value-o
f select="
$VarWindow
Type" />
|
|
224 |
|
<x
sl:value-o
f select="
$VarWindow
Type" />
|
225 |
|
</x
sl:attribu
te>
|
|
225 |
|
</x
sl:attribu
te>
|
226 |
|
</xs
l:if>
|
|
226 |
|
</xs
l:if>
|
227 |
|
<wws
plits:Grou
p name="{$
ParamProje
ctGroup/@N
ame}" id="
{$ParamPro
jectGroup/
@GroupID}"
position=
"{$ParamPr
ojectGroup
Position}"
/>
|
|
227 |
|
<wws
plits:Grou
p name="{$
ParamProje
ctGroup/@N
ame}" id="
{$ParamPro
jectGroup/
@GroupID}"
position=
"{$ParamPr
ojectGroup
Position}"
/>
|
228 |
|
<wws
plits:Docu
ment path=
"{wwprojex
t:GetDocum
entPath($P
aramProjec
tDocument/
@DocumentI
D)}" id="{
$ParamProj
ectDocumen
t/@Documen
tID}" posi
tion="{$Pa
ramProject
DocumentPo
sition}" /
>
|
|
228 |
|
<wws
plits:Docu
ment path=
"{wwprojex
t:GetDocum
entPath($P
aramProjec
tDocument/
@DocumentI
D)}" id="{
$ParamProj
ectDocumen
t/@Documen
tID}" posi
tion="{$Pa
ramProject
DocumentPo
sition}" /
>
|
229 |
|
|
|
229 |
|
|
230 |
|
<!--
Select pa
ge markers
-->
|
|
230 |
|
<!--
Select pa
ge markers
-->
|
231 |
|
<!--
-->
|
|
231 |
|
<!--
-->
|
232 |
|
<xsl
:variable
name="VarP
ageMarkers
" select="
$VarConten
t/wwdoc:Ma
rker | $Va
rContent//
wwdoc:Mark
er[not(anc
estor::wwd
oc:Frame)]
" />
|
|
232 |
|
<xsl
:variable
name="VarP
ageMarkers
" select="
$VarConten
t/wwdoc:Ma
rker | $Va
rContent//
wwdoc:Mark
er[not(anc
estor::wwd
oc:Frame)]
" />
|
233 |
|
|
|
233 |
|
|
234 |
|
<!--
Get last
file name
marker -->
|
|
234 |
|
<!--
Get last
file name
marker -->
|
235 |
|
<!--
-->
|
|
235 |
|
<!--
-->
|
236 |
|
<xsl
:variable
name="VarP
ageFileNam
eMarkersAs
XML">
|
|
236 |
|
<xsl
:variable
name="VarP
ageFileNam
eMarkersAs
XML">
|
237 |
|
<xs
l:call-tem
plate name
="GetFileN
ameMarkers
">
|
|
237 |
|
<xs
l:call-tem
plate name
="GetFileN
ameMarkers
">
|
238 |
|
<x
sl:with-pa
ram name="
ParamBehav
iors" sele
ct="$Param
Behaviors"
/>
|
|
238 |
|
<x
sl:with-pa
ram name="
ParamBehav
iors" sele
ct="$Param
Behaviors"
/>
|
239 |
|
<x
sl:with-pa
ram name="
ParamMarke
rs" select
="$VarPage
Markers" /
>
|
|
239 |
|
<x
sl:with-pa
ram name="
ParamMarke
rs" select
="$VarPage
Markers" /
>
|
240 |
|
</x
sl:call-te
mplate>
|
|
240 |
|
</x
sl:call-te
mplate>
|
241 |
|
</xs
l:variable
>
|
|
241 |
|
</xs
l:variable
>
|
242 |
|
<xsl
:variable
name="VarP
ageFileNam
eMarkers"
select="ms
xsl:node-s
et($VarPag
eFileNameM
arkersAsXM
L)/wwsplit
s:FileName
" />
|
|
242 |
|
<xsl
:variable
name="VarP
ageFileNam
eMarkers"
select="ms
xsl:node-s
et($VarPag
eFileNameM
arkersAsXM
L)/wwsplit
s:FileName
" />
|
243 |
|
<xsl
:copy-of s
elect="$Va
rPageFileN
ameMarkers
[count($Va
rPageFileN
ameMarkers
)]" />
|
|
243 |
|
<xsl
:copy-of s
elect="$Va
rPageFileN
ameMarkers
[count($Va
rPageFileN
ameMarkers
)]" />
|
244 |
|
|
|
244 |
|
|
245 |
|
<!--
Get last
page style
marker --
>
|
|
245 |
|
<!--
Get last
page style
marker --
>
|
246 |
|
<!--
--
>
|
|
246 |
|
<!--
--
>
|
247 |
|
<xsl
:variable
name="VarP
ageStyle">
|
|
247 |
|
<xsl
:variable
name="VarP
ageStyle">
|
248 |
|
<xs
l:variable
name="Var
PageStyleM
arkers" se
lect="$Var
PageMarker
s[@name =
'PageStyle
']" />
|
|
248 |
|
<xs
l:variable
name="Var
PageStyleM
arkers" se
lect="$Var
PageMarker
s[@name =
'PageStyle
']" />
|
249 |
|
<xs
l:variable
name="Var
PageStyleM
arkersCoun
t" select=
"count($Va
rPageStyle
Markers)"
/>
|
|
249 |
|
<xs
l:variable
name="Var
PageStyleM
arkersCoun
t" select=
"count($Va
rPageStyle
Markers)"
/>
|
250 |
|
<xs
l:choose>
|
|
250 |
|
<xs
l:choose>
|
251 |
|
<x
sl:when te
st="$VarPa
geStyleMar
kersCount
> 0">
|
|
251 |
|
<x
sl:when te
st="$VarPa
geStyleMar
kersCount
> 0">
|
252 |
|
<
xsl:for-ea
ch select=
"$VarPageS
tyleMarker
s[$VarPage
StyleMarke
rsCount]/w
wdoc:TextR
un/wwdoc:T
ext">
|
|
252 |
|
<
xsl:for-ea
ch select=
"$VarPageS
tyleMarker
s[$VarPage
StyleMarke
rsCount]/w
wdoc:TextR
un/wwdoc:T
ext">
|
253 |
|
<xsl:value
-of select
="@value"
/>
|
|
253 |
|
<xsl:value
-of select
="@value"
/>
|
254 |
|
<
/xsl:for-e
ach>
|
|
254 |
|
<
/xsl:for-e
ach>
|
255 |
|
</
xsl:when>
|
|
255 |
|
</
xsl:when>
|
256 |
|
<x
sl:otherwi
se>
|
|
256 |
|
<x
sl:otherwi
se>
|
257 |
|
<
xsl:value-
of select=
"'Default'
" />
|
|
257 |
|
<
xsl:value-
of select=
"'Default'
" />
|
258 |
|
</
xsl:otherw
ise>
|
|
258 |
|
</
xsl:otherw
ise>
|
259 |
|
</x
sl:choose>
|
|
259 |
|
</x
sl:choose>
|
260 |
|
</xs
l:variable
>
|
|
260 |
|
</xs
l:variable
>
|
261 |
|
<wws
plits:Page
Style valu
e="{$VarPa
geStyle}"
/>
|
|
261 |
|
<wws
plits:Page
Style valu
e="{$VarPa
geStyle}"
/>
|
262 |
|
|
|
262 |
|
|
263 |
|
<!--
Get frame
s -->
|
|
263 |
|
<!--
Get frame
s -->
|
264 |
|
<!--
-->
|
|
264 |
|
<!--
-->
|
265 |
|
<wws
plits:Fram
es>
|
|
265 |
|
<wws
plits:Fram
es>
|
266 |
|
<xs
l:variable
name="Var
Frames" se
lect="$Var
Content[lo
cal-name()
= 'Frame'
] | $VarCo
ntent//wwd
oc:Frame[c
ount(ances
tor::wwdoc
:Frame[1])
= 0]" />
|
|
266 |
|
<xs
l:variable
name="Var
Frames" se
lect="$Var
Content[lo
cal-name()
= 'Frame'
] | $VarCo
ntent//wwd
oc:Frame[c
ount(ances
tor::wwdoc
:Frame[1])
= 0]" />
|
267 |
|
<xs
l:for-each
select="$
VarFrames"
>
|
|
267 |
|
<xs
l:for-each
select="$
VarFrames"
>
|
268 |
|
<x
sl:variabl
e name="Va
rFrame" se
lect="." /
>
|
|
268 |
|
<x
sl:variabl
e name="Va
rFrame" se
lect="." /
>
|
269 |
|
|
|
269 |
|
|
270 |
|
<x
sl:variabl
e name="Va
rFrameTitl
e">
|
|
270 |
|
<x
sl:variabl
e name="Va
rFrameTitl
e">
|
271 |
|
<
xsl:for-ea
ch select=
"$VarFrame
/wwdoc:Des
cription/w
wdoc:Parag
raph[1]/ww
doc:TextRu
n/wwdoc:Te
xt">
|
|
271 |
|
<
xsl:for-ea
ch select=
"$VarFrame
/wwdoc:Des
cription/w
wdoc:Parag
raph[1]/ww
doc:TextRu
n/wwdoc:Te
xt">
|
272 |
|
<xsl:value
-of select
="@value"
/>
|
|
272 |
|
<xsl:value
-of select
="@value"
/>
|
273 |
|
<
/xsl:for-e
ach>
|
|
273 |
|
<
/xsl:for-e
ach>
|
274 |
|
</
xsl:variab
le>
|
|
274 |
|
</
xsl:variab
le>
|
275 |
|
|
|
275 |
|
|
276 |
|
<w
wsplits:Fr
ame positi
on="{posit
ion()}" ti
tle="{$Var
FrameTitle
}">
|
|
276 |
|
<w
wsplits:Fr
ame positi
on="{posit
ion()}" ti
tle="{$Var
FrameTitle
}">
|
277 |
|
<
xsl:copy-o
f select="
$VarFrame"
/>
|
|
277 |
|
<
xsl:copy-o
f select="
$VarFrame"
/>
|
278 |
|
|
|
278 |
|
|
279 |
|
<
!-- Select
frame mar
kers -->
|
|
279 |
|
<
!-- Select
frame mar
kers -->
|
280 |
|
<
!--
-->
|
|
280 |
|
<
!--
-->
|
281 |
|
<
xsl:variab
le name="V
arFrameMar
kers" sele
ct="$VarFr
ame//wwdoc
:Marker" /
>
|
|
281 |
|
<
xsl:variab
le name="V
arFrameMar
kers" sele
ct="$VarFr
ame//wwdoc
:Marker" /
>
|
282 |
|
|
|
282 |
|
|
283 |
|
<
!-- Get la
st file na
me marker
-->
|
|
283 |
|
<
!-- Get la
st file na
me marker
-->
|
284 |
|
<
!--
-->
|
|
284 |
|
<
!--
-->
|
285 |
|
<
xsl:variab
le name="V
arFrameFil
eNameMarke
rsAsXML">
|
|
285 |
|
<
xsl:variab
le name="V
arFrameFil
eNameMarke
rsAsXML">
|
286 |
|
<xsl:call-
template n
ame="GetFi
leNameMark
ers">
|
|
286 |
|
<xsl:call-
template n
ame="GetFi
leNameMark
ers">
|
287 |
|
<xsl:with
-param nam
e="ParamBe
haviors" s
elect="$Pa
ramBehavio
rs" />
|
|
287 |
|
<xsl:with
-param nam
e="ParamBe
haviors" s
elect="$Pa
ramBehavio
rs" />
|
288 |
|
<xsl:with
-param nam
e="ParamMa
rkers" sel
ect="$VarF
rameMarker
s" />
|
|
288 |
|
<xsl:with
-param nam
e="ParamMa
rkers" sel
ect="$VarF
rameMarker
s" />
|
289 |
|
</xsl:call
-template>
|
|
289 |
|
</xsl:call
-template>
|
290 |
|
<
/xsl:varia
ble>
|
|
290 |
|
<
/xsl:varia
ble>
|
291 |
|
<
xsl:variab
le name="V
arFrameFil
eNameMarke
rs" select
="msxsl:no
de-set($Va
rFrameFile
NameMarker
sAsXML)/ww
splits:Fil
eName" />
|
|
291 |
|
<
xsl:variab
le name="V
arFrameFil
eNameMarke
rs" select
="msxsl:no
de-set($Va
rFrameFile
NameMarker
sAsXML)/ww
splits:Fil
eName" />
|
292 |
|
<
xsl:copy-o
f select="
$VarFrameF
ileNameMar
kers[count
($VarFrame
FileNameMa
rkers)]" /
>
|
|
292 |
|
<
xsl:copy-o
f select="
$VarFrameF
ileNameMar
kers[count
($VarFrame
FileNameMa
rkers)]" /
>
|
293 |
|
</
wwsplits:F
rame>
|
|
293 |
|
</
wwsplits:F
rame>
|
294 |
|
</x
sl:for-eac
h>
|
|
294 |
|
</x
sl:for-eac
h>
|
295 |
|
</ww
splits:Fra
mes>
|
|
295 |
|
</ww
splits:Fra
mes>
|
296 |
|
|
|
296 |
|
|
297 |
|
<!--
Emit Popu
p file nam
es if supp
orted -->
|
|
297 |
|
<!--
Emit Popu
p file nam
es if supp
orted -->
|
298 |
|
<!--
-->
|
|
298 |
|
<!--
-->
|
299 |
|
<wws
plits:Popu
ps>
|
|
299 |
|
<wws
plits:Popu
ps>
|
300 |
|
<xs
l:variable
name="Var
PopupDefin
eParagraph
s" select=
"$VarBehav
iorsSplit/
/wwbehavio
rs:Paragra
ph[(@popup
= 'define
') or (@po
pup = 'def
ine-no-out
put')]" />
|
|
300 |
|
<xs
l:variable
name="Var
PopupDefin
eParagraph
s" select=
"$VarBehav
iorsSplit/
/wwbehavio
rs:Paragra
ph[(@popup
= 'define
') or (@po
pup = 'def
ine-no-out
put')]" />
|
301 |
|
|
|
301 |
|
|
302 |
|
<xs
l:for-each
select="$
VarPopupDe
fineParagr
aphs">
|
|
302 |
|
<xs
l:for-each
select="$
VarPopupDe
fineParagr
aphs">
|
303 |
|
<x
sl:variabl
e name="Va
rPopupPara
graph" sel
ect="." />
|
|
303 |
|
<x
sl:variabl
e name="Va
rPopupPara
graph" sel
ect="." />
|
304 |
|
|
|
304 |
|
|
305 |
|
<w
wsplits:Po
pup groupI
D="{$Param
ProjectGro
up/@GroupI
D}" docume
ntID="{$Pa
ramProject
Document/@
DocumentID
}" id="{$V
arPopupPar
agraph/@id
}" stylena
me="{$VarP
opupParagr
aph/@popup
-page-rule
}" />
|
|
305 |
|
<w
wsplits:Po
pup groupI
D="{$Param
ProjectGro
up/@GroupI
D}" docume
ntID="{$Pa
ramProject
Document/@
DocumentID
}" id="{$V
arPopupPar
agraph/@id
}" stylena
me="{$VarP
opupParagr
aph/@popup
-page-rule
}" />
|
306 |
|
</x
sl:for-eac
h>
|
|
306 |
|
</x
sl:for-eac
h>
|
307 |
|
</ww
splits:Pop
ups>
|
|
307 |
|
</ww
splits:Pop
ups>
|
308 |
|
</wws
plits:Spli
t>
|
|
308 |
|
</wws
plits:Spli
t>
|
309 |
|
</xsl:
for-each>
|
|
309 |
|
</xsl:
for-each>
|
310 |
|
</xsl:f
or-each>
|
|
310 |
|
</xsl:f
or-each>
|
311 |
|
|
|
311 |
|
|
312 |
|
</wwspli
ts:Splits>
|
|
312 |
|
</wwspli
ts:Splits>
|
313 |
|
</xsl:tem
plate>
|
|
313 |
|
</xsl:tem
plate>
|
314 |
|
</xsl:styl
esheet>
|
|
314 |
|
</xsl:styl
esheet>
|
Araxis Merge (but not the data content of this report) is Copyright © 1993-2007 Araxis Ltd (www.araxis.com). All rights reserved.