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