1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?>
|
|
1 |
|
<?xml vers
ion="1.0"
encoding="
UTF-8"?>
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="htt
p://www.w3
.org/TR/ht
ml4"
|
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns="htt
p://www.w3
.org/TR/ht
ml4"
|
3 |
|
xmlns:html
="http://w
ww.w3.org/
TR/html4"
|
|
3 |
|
xmlns:html
="http://w
ww.w3.org/
TR/html4"
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
|
4 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
5 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
|
5 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
6 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
|
6 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
7 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema"
|
|
7 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema"
|
8 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema"
|
|
8 |
|
xmlns:wwfi
les="urn:W
ebWorks-En
gine-Files
-Schema"
|
9 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a"
|
|
9 |
|
xmlns:wwdo
c="urn:Web
Works-Docu
ment-Schem
a"
|
10 |
|
xmlns:wwsp
lits="urn:
WebWorks-E
ngine-Spli
ts-Schema"
|
|
10 |
|
xmlns:wwsp
lits="urn:
WebWorks-E
ngine-Spli
ts-Schema"
|
11 |
|
xmlns:wwto
c="urn:Web
Works-Engi
ne-TOC-Sch
ema"
|
|
11 |
|
xmlns:wwto
c="urn:Web
Works-Engi
ne-TOC-Sch
ema"
|
12 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema"
|
|
12 |
|
xmlns:wwbe
haviors="u
rn:WebWork
s-Behavior
s-Schema"
|
13 |
|
xmlns:wwva
rs="urn:We
bWorks-Var
iables-Sch
ema"
|
|
13 |
|
xmlns:wwva
rs="urn:We
bWorks-Var
iables-Sch
ema"
|
14 |
|
xmlns:wwno
tes="urn:W
ebWorks-Fo
otnote-Sch
ema"
|
|
14 |
|
xmlns:wwno
tes="urn:W
ebWorks-Fo
otnote-Sch
ema"
|
15 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
|
15 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
16 |
|
xmlns:wwpa
ge="urn:We
bWorks-Pag
e-Template
-Schema"
|
|
16 |
|
xmlns:wwpa
ge="urn:We
bWorks-Pag
e-Template
-Schema"
|
17 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma"
|
|
17 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma"
|
18 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
|
18 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
19 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
|
19 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
20 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
|
20 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
21 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
|
21 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
22 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
|
22 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
23 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units"
|
|
23 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units"
|
24 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
|
24 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
25 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
|
25 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
26 |
|
xmlns:wwim
aging="urn
:WebWorks-
XSLT-Exten
sion-Imagi
ng"
|
|
26 |
|
xmlns:wwim
aging="urn
:WebWorks-
XSLT-Exten
sion-Imagi
ng"
|
27 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
|
27 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
28 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwlinks
wwfiles ww
doc wwspli
ts wwtoc w
wbehaviors
wwvars ww
notes wwpr
oject wwpa
ge wwlocal
e wwprogre
ss wwlog w
wfilesyste
m wwuri ww
string wwu
nits wwfil
esext wwpr
ojext wwim
aging wwex
sldoc"
|
|
28 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwlinks
wwfiles ww
doc wwspli
ts wwtoc w
wbehaviors
wwvars ww
notes wwpr
oject wwpa
ge wwlocal
e wwprogre
ss wwlog w
wfilesyste
m wwuri ww
string wwu
nits wwfil
esext wwpr
ojext wwim
aging wwex
sldoc"
|
29 |
|
>
|
|
29 |
|
>
|
30 |
|
<xsl:para
m name="Gl
obalInput"
/>
|
|
30 |
|
<xsl:para
m name="Gl
obalInput"
/>
|
31 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
|
|
31 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
|
32 |
|
<xsl:para
m name="Gl
obalProjec
t" />
|
|
32 |
|
<xsl:para
m name="Gl
obalProjec
t" />
|
33 |
|
<xsl:para
m name="Gl
obalFiles"
/>
|
|
33 |
|
<xsl:para
m name="Gl
obalFiles"
/>
|
34 |
|
<xsl:para
m name="Pa
rameterLoc
aleType" /
>
|
|
34 |
|
<xsl:para
m name="Pa
rameterLoc
aleType" /
>
|
35 |
|
<xsl:para
m name="Pa
rameterPro
jectVariab
lesType" /
>
|
|
35 |
|
<xsl:para
m name="Pa
rameterPro
jectVariab
lesType" /
>
|
36 |
|
<xsl:para
m name="Pa
rameterPag
eTemplateU
RI" />
|
|
36 |
|
<xsl:para
m name="Pa
rameterPag
eTemplateU
RI" />
|
37 |
|
<xsl:para
m name="Pa
rameterTyp
e" />
|
|
37 |
|
<xsl:para
m name="Pa
rameterTyp
e" />
|
38 |
|
<xsl:para
m name="Pa
rameterCat
egory" />
|
|
38 |
|
<xsl:para
m name="Pa
rameterCat
egory" />
|
39 |
|
<xsl:para
m name="Pa
rameterUse
" />
|
|
39 |
|
<xsl:para
m name="Pa
rameterUse
" />
|
40 |
|
<xsl:para
m name="Pa
rameterDep
loy" />
|
|
40 |
|
<xsl:para
m name="Pa
rameterDep
loy" />
|
41 |
|
|
|
41 |
|
|
42 |
|
|
|
42 |
|
|
43 |
|
<xsl:outp
ut method=
"xml" enco
ding="UTF-
8" indent=
"yes" />
|
|
43 |
|
<xsl:outp
ut method=
"xml" enco
ding="UTF-
8" indent=
"yes" />
|
44 |
|
<xsl:name
space-alia
s styleshe
et-prefix=
"html" res
ult-prefix
="#default
" />
|
|
44 |
|
<xsl:name
space-alia
s styleshe
et-prefix=
"html" res
ult-prefix
="#default
" />
|
45 |
|
<xsl:stri
p-space el
ements="*"
/>
|
|
45 |
|
<xsl:stri
p-space el
ements="*"
/>
|
46 |
|
<xsl:pres
erve-space
elements=
"html:scri
pt" />
|
|
46 |
|
<xsl:pres
erve-space
elements=
"html:scri
pt" />
|
47 |
|
|
|
47 |
|
|
48 |
|
|
|
48 |
|
|
49 |
|
<xsl:key
name="wwfi
les-files-
by-type" m
atch="wwfi
les:File"
use="@type
" />
|
|
49 |
|
<xsl:key
name="wwfi
les-files-
by-type" m
atch="wwfi
les:File"
use="@type
" />
|
50 |
|
|
|
50 |
|
|
51 |
|
|
|
51 |
|
|
52 |
|
<xsl:incl
ude href="
wwtransfor
m:common/v
ariables/v
ariables.x
sl" />
|
|
52 |
|
<xsl:incl
ude href="
wwtransfor
m:common/v
ariables/v
ariables.x
sl" />
|
53 |
|
<xsl:incl
ude href="
wwtransfor
m:common/p
ages/paget
emplate.xs
l" />
|
|
53 |
|
<xsl:incl
ude href="
wwtransfor
m:common/p
ages/paget
emplate.xs
l" />
|
54 |
|
|
|
54 |
|
|
55 |
|
|
|
55 |
|
|
56 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m">
|
|
56 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m">
|
57 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums">
|
|
57 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums">
|
58 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/>
|
|
58 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/>
|
59 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath($Param
eterPageTe
mplateURI)
, ':', wwf
ilesystem:
GetChecksu
m(wwuri:As
FilePath($
ParameterP
ageTemplat
eURI)))" /
>
|
|
59 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath($Param
eterPageTe
mplateURI)
, ':', wwf
ilesystem:
GetChecksu
m(wwuri:As
FilePath($
ParameterP
ageTemplat
eURI)))" /
>
|
60 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath('wwtra
nsform:com
mon/variab
les/variab
les.xsl'),
':', wwfi
lesystem:G
etChecksum
(wwuri:AsF
ilePath('w
wtransform
:common/va
riables/va
riables.xs
l')))" />
|
|
60 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath('wwtra
nsform:com
mon/variab
les/variab
les.xsl'),
':', wwfi
lesystem:G
etChecksum
(wwuri:AsF
ilePath('w
wtransform
:common/va
riables/va
riables.xs
l')))" />
|
61 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath('wwtra
nsform:com
mon/pages/
pagetempla
te.xsl'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
common/pag
es/pagetem
plate.xsl'
)))" />
|
|
61 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath('wwtra
nsform:com
mon/pages/
pagetempla
te.xsl'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
common/pag
es/pagetem
plate.xsl'
)))" />
|
62 |
|
</xsl:va
riable>
|
|
62 |
|
</xsl:va
riable>
|
63 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/>
|
|
63 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/>
|
64 |
|
</xsl:var
iable>
|
|
64 |
|
</xsl:var
iable>
|
65 |
|
|
|
65 |
|
|
66 |
|
|
|
66 |
|
|
67 |
|
<!-- Loca
le -->
|
|
67 |
|
<!-- Loca
le -->
|
68 |
|
<!--
-->
|
|
68 |
|
<!--
-->
|
69 |
|
<xsl:vari
able name=
"GlobalLoc
alePath">
|
|
69 |
|
<xsl:vari
able name=
"GlobalLoc
alePath">
|
70 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
|
70 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
71 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterLocale
Type)[1]/@
path" />
|
|
71 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterLocale
Type)[1]/@
path" />
|
72 |
|
</xsl:fo
r-each>
|
|
72 |
|
</xsl:fo
r-each>
|
73 |
|
</xsl:var
iable>
|
|
73 |
|
</xsl:var
iable>
|
74 |
|
<xsl:vari
able name=
"GlobalLoc
ale" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Glo
balLocaleP
ath)" />
|
|
74 |
|
<xsl:vari
able name=
"GlobalLoc
ale" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Glo
balLocaleP
ath)" />
|
75 |
|
|
|
75 |
|
|
76 |
|
|
|
76 |
|
|
77 |
|
<!-- Mapp
ing Entry
Sets -->
|
|
77 |
|
<!-- Mapp
ing Entry
Sets -->
|
78 |
|
<!--
-->
|
|
78 |
|
<!--
-->
|
79 |
|
<xsl:vari
able name=
"GlobalMap
EntrySetsP
ath" selec
t="wwuri:A
sFilePath(
'wwtransfo
rm:html/ma
pentrysets
.xml')" />
|
|
79 |
|
<xsl:vari
able name=
"GlobalMap
EntrySetsP
ath" selec
t="wwuri:A
sFilePath(
'wwtransfo
rm:html/ma
pentrysets
.xml')" />
|
80 |
|
<xsl:vari
able name=
"GlobalMap
EntrySets"
select="w
wexsldoc:L
oadXMLWith
outResolve
r($GlobalM
apEntrySet
sPath)" />
|
|
80 |
|
<xsl:vari
able name=
"GlobalMap
EntrySets"
select="w
wexsldoc:L
oadXMLWith
outResolve
r($GlobalM
apEntrySet
sPath)" />
|
81 |
|
|
|
81 |
|
|
82 |
|
|
|
82 |
|
|
83 |
|
<!-- Page
Template
-->
|
|
83 |
|
<!-- Page
Template
-->
|
84 |
|
<!--
-->
|
|
84 |
|
<!--
-->
|
85 |
|
<xsl:vari
able name=
"GlobalPag
eTemplateP
ath" selec
t="wwuri:A
sFilePath(
$Parameter
PageTempla
teURI)" />
|
|
85 |
|
<xsl:vari
able name=
"GlobalPag
eTemplateP
ath" selec
t="wwuri:A
sFilePath(
$Parameter
PageTempla
teURI)" />
|
86 |
|
<xsl:vari
able name=
"GlobalPag
eTemplate"
select="w
wexsldoc:L
oadXMLWith
outResolve
r($GlobalP
ageTemplat
ePath)" />
|
|
86 |
|
<xsl:vari
able name=
"GlobalPag
eTemplate"
select="w
wexsldoc:L
oadXMLWith
outResolve
r($GlobalP
ageTemplat
ePath)" />
|
87 |
|
|
|
87 |
|
|
88 |
|
|
|
88 |
|
|
89 |
|
<!-- Proj
ect variab
les -->
|
|
89 |
|
<!-- Proj
ect variab
les -->
|
90 |
|
<!--
-->
|
|
90 |
|
<!--
-->
|
91 |
|
<xsl:vari
able name=
"GlobalPro
jectVariab
lesPath">
|
|
91 |
|
<xsl:vari
able name=
"GlobalPro
jectVariab
lesPath">
|
92 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
|
92 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
93 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterProjec
tVariables
Type)[1]/@
path" />
|
|
93 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterProjec
tVariables
Type)[1]/@
path" />
|
94 |
|
</xsl:fo
r-each>
|
|
94 |
|
</xsl:fo
r-each>
|
95 |
|
</xsl:var
iable>
|
|
95 |
|
</xsl:var
iable>
|
96 |
|
<xsl:vari
able name=
"GlobalPro
jectVariab
les" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Glo
balProject
VariablesP
ath)" />
|
|
96 |
|
<xsl:vari
able name=
"GlobalPro
jectVariab
les" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Glo
balProject
VariablesP
ath)" />
|
97 |
|
|
|
97 |
|
|
98 |
|
|
|
98 |
|
|
99 |
|
<xsl:temp
late match
="/">
|
|
99 |
|
<xsl:temp
late match
="/">
|
100 |
|
<wwfiles
:Files ver
sion="1.0"
>
|
|
100 |
|
<wwfiles
:Files ver
sion="1.0"
>
|
101 |
|
|
|
101 |
|
|
102 |
|
<!-- Ge
t page tem
plate file
s -->
|
|
102 |
|
<!-- Ge
t page tem
plate file
s -->
|
103 |
|
<!--
-->
|
|
103 |
|
<!--
-->
|
104 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
lesAsXML">
|
|
104 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
lesAsXML">
|
105 |
|
<xsl:a
pply-templ
ates selec
t="$Global
PageTempla
te" mode="
wwmode:pag
etemplate-
files" />
|
|
105 |
|
<xsl:a
pply-templ
ates selec
t="$Global
PageTempla
te" mode="
wwmode:pag
etemplate-
files" />
|
106 |
|
</xsl:v
ariable>
|
|
106 |
|
</xsl:v
ariable>
|
107 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
les" selec
t="msxsl:n
ode-set($V
arPageTemp
lateFilesA
sXML)" />
|
|
107 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
les" selec
t="msxsl:n
ode-set($V
arPageTemp
lateFilesA
sXML)" />
|
108 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
lesPaths">
|
|
108 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
lesPaths">
|
109 |
|
<xsl:f
or-each se
lect="$Var
PageTempla
teFiles/ww
page:File"
>
|
|
109 |
|
<xsl:f
or-each se
lect="$Var
PageTempla
teFiles/ww
page:File"
>
|
110 |
|
<xsl:
value-of s
elect="@pa
th" />
|
|
110 |
|
<xsl:
value-of s
elect="@pa
th" />
|
111 |
|
<xsl:
value-of s
elect="':'
" />
|
|
111 |
|
<xsl:
value-of s
elect="':'
" />
|
112 |
|
</xsl:
for-each>
|
|
112 |
|
</xsl:
for-each>
|
113 |
|
</xsl:v
ariable>
|
|
113 |
|
</xsl:v
ariable>
|
114 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
lesChecksu
m" select=
"wwstring:
MD5Checksu
m($VarPage
TemplateFi
lesPaths)"
/>
|
|
114 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
lesChecksu
m" select=
"wwstring:
MD5Checksu
m($VarPage
TemplateFi
lesPaths)"
/>
|
115 |
|
|
|
115 |
|
|
116 |
|
<!-- De
termine nu
mber of gr
oups and m
erge steps
-->
|
|
116 |
|
<!-- De
termine nu
mber of gr
oups and m
erge steps
-->
|
117 |
|
<!--
-->
|
|
117 |
|
<!--
-->
|
118 |
|
<xsl:va
riable nam
e="VarProj
ectGroups"
select="$
GlobalProj
ect/wwproj
ect:Projec
t/wwprojec
t:Groups/w
wproject:G
roup" />
|
|
118 |
|
<xsl:va
riable nam
e="VarProj
ectGroups"
select="$
GlobalProj
ect/wwproj
ect:Projec
t/wwprojec
t:Groups/w
wproject:G
roup" />
|
119 |
|
|
|
119 |
|
|
120 |
|
<xsl:va
riable nam
e="VarGrou
psCount" s
elect="cou
nt($Global
Project/ww
project:Pr
oject/wwpr
oject:Grou
ps/wwproje
ct:Group)"
/>
|
|
120 |
|
<xsl:va
riable nam
e="VarGrou
psCount" s
elect="cou
nt($Global
Project/ww
project:Pr
oject/wwpr
oject:Grou
ps/wwproje
ct:Group)"
/>
|
121 |
|
<xsl:va
riable nam
e="VarGrou
psAndMerge
CountAsStr
ing">
|
|
121 |
|
<xsl:va
riable nam
e="VarGrou
psAndMerge
CountAsStr
ing">
|
122 |
|
<xsl:c
hoose>
|
|
122 |
|
<xsl:c
hoose>
|
123 |
|
<xsl:
when test=
"$VarGroup
sCount >
; 1">
|
|
123 |
|
<xsl:
when test=
"$VarGroup
sCount >
; 1">
|
124 |
|
<xsl
:value-of
select="$V
arGroupsCo
unt + 1" /
>
|
|
124 |
|
<xsl
:value-of
select="$V
arGroupsCo
unt + 1" /
>
|
125 |
|
</xsl
:when>
|
|
125 |
|
</xsl
:when>
|
126 |
|
|
|
126 |
|
|
127 |
|
<xsl:
otherwise>
|
|
127 |
|
<xsl:
otherwise>
|
128 |
|
<xsl
:value-of
select="$V
arGroupsCo
unt" />
|
|
128 |
|
<xsl
:value-of
select="$V
arGroupsCo
unt" />
|
129 |
|
</xsl
:otherwise
>
|
|
129 |
|
</xsl
:otherwise
>
|
130 |
|
</xsl:
choose>
|
|
130 |
|
</xsl:
choose>
|
131 |
|
</xsl:v
ariable>
|
|
131 |
|
</xsl:v
ariable>
|
132 |
|
<xsl:va
riable nam
e="VarGrou
psAndMerge
Count" sel
ect="numbe
r($VarGrou
psAndMerge
CountAsStr
ing)" />
|
|
132 |
|
<xsl:va
riable nam
e="VarGrou
psAndMerge
Count" sel
ect="numbe
r($VarGrou
psAndMerge
CountAsStr
ing)" />
|
133 |
|
|
|
133 |
|
|
134 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsSta
rt" select
="wwprogre
ss:Start($
VarGroupsA
ndMergeCou
nt)" />
|
|
134 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsSta
rt" select
="wwprogre
ss:Start($
VarGroupsA
ndMergeCou
nt)" />
|
135 |
|
|
|
135 |
|
|
136 |
|
<!-- Gr
oups -->
|
|
136 |
|
<!-- Gr
oups -->
|
137 |
|
<!--
-->
|
|
137 |
|
<!--
-->
|
138 |
|
<xsl:fo
r-each sel
ect="$VarP
rojectGrou
ps">
|
|
138 |
|
<xsl:fo
r-each sel
ect="$VarP
rojectGrou
ps">
|
139 |
|
<xsl:v
ariable na
me="VarPro
jectGroup"
select=".
" />
|
|
139 |
|
<xsl:v
ariable na
me="VarPro
jectGroup"
select=".
" />
|
140 |
|
|
|
140 |
|
|
141 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupSta
rt" select
="wwprogre
ss:Start(1
)" />
|
|
141 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupSta
rt" select
="wwprogre
ss:Start(1
)" />
|
142 |
|
|
|
142 |
|
|
143 |
|
<!-- A
borted? --
>
|
|
143 |
|
<!-- A
borted? --
>
|
144 |
|
<!--
--
>
|
|
144 |
|
<!--
--
>
|
145 |
|
<xsl:i
f test="no
t(wwprogre
ss:Abort()
)">
|
|
145 |
|
<xsl:i
f test="no
t(wwprogre
ss:Abort()
)">
|
146 |
|
<!--
Create spl
ash page -
->
|
|
146 |
|
<!--
Create spl
ash page -
->
|
147 |
|
<!--
-
->
|
|
147 |
|
<!--
-
->
|
148 |
|
<xsl:
variable n
ame="VarOu
tputDirect
oryPath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
wwprojext:
GetGroupNa
me($VarPro
jectGroup/
@GroupID),
'wwhelp',
'wwhimpl'
, 'common'
, 'html')"
/>
|
|
148 |
|
<xsl:
variable n
ame="VarOu
tputDirect
oryPath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
wwprojext:
GetGroupNa
me($VarPro
jectGroup/
@GroupID),
'wwhelp',
'wwhimpl'
, 'common'
, 'html')"
/>
|
149 |
|
<xsl:
call-templ
ate name="
Splash">
|
|
149 |
|
<xsl:
call-templ
ate name="
Splash">
|
150 |
|
<xsl
:with-para
m name="Pa
ramOutputD
irectoryPa
th" select
="$VarOutp
utDirector
yPath" />
|
|
150 |
|
<xsl
:with-para
m name="Pa
ramOutputD
irectoryPa
th" select
="$VarOutp
utDirector
yPath" />
|
151 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
" select="
$VarPageTe
mplateFile
s" />
|
|
151 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
" select="
$VarPageTe
mplateFile
s" />
|
152 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
Checksum"
select="$V
arPageTemp
lateFilesC
hecksum" /
>
|
|
152 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
Checksum"
select="$V
arPageTemp
lateFilesC
hecksum" /
>
|
153 |
|
<xsl
:with-para
m name="Pa
ramVariabl
es" select
="$GlobalP
rojectVari
ables/wwva
rs:Variabl
es/wwvars:
Group[@gro
upID = $Va
rProjectGr
oup/@Group
ID]//wwvar
s:Variable
" />
|
|
153 |
|
<xsl
:with-para
m name="Pa
ramVariabl
es" select
="$GlobalP
rojectVari
ables/wwva
rs:Variabl
es/wwvars:
Group[@gro
upID = $Va
rProjectGr
oup/@Group
ID]//wwvar
s:Variable
" />
|
154 |
|
</xsl
:call-temp
late>
|
|
154 |
|
</xsl
:call-temp
late>
|
155 |
|
</xsl:
if>
|
|
155 |
|
</xsl:
if>
|
156 |
|
|
|
156 |
|
|
157 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupEnd
" select="
wwprogress
:End()" />
|
|
157 |
|
<xsl:v
ariable na
me="VarPro
gressProje
ctGroupEnd
" select="
wwprogress
:End()" />
|
158 |
|
</xsl:f
or-each>
|
|
158 |
|
</xsl:f
or-each>
|
159 |
|
|
|
159 |
|
|
160 |
|
<!-- Me
rge -->
|
|
160 |
|
<!-- Me
rge -->
|
161 |
|
<!--
-->
|
|
161 |
|
<!--
-->
|
162 |
|
<xsl:if
test="$Va
rGroupsCou
nt > 1"
>
|
|
162 |
|
<xsl:if
test="$Va
rGroupsCou
nt > 1"
>
|
163 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
Start" sel
ect="wwpro
gress:Star
t(1)" />
|
|
163 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
Start" sel
ect="wwpro
gress:Star
t(1)" />
|
164 |
|
|
|
164 |
|
|
165 |
|
<!-- A
borted? --
>
|
|
165 |
|
<!-- A
borted? --
>
|
166 |
|
<!--
--
>
|
|
166 |
|
<!--
--
>
|
167 |
|
<xsl:i
f test="no
t(wwprogre
ss:Abort()
)">
|
|
167 |
|
<xsl:i
f test="no
t(wwprogre
ss:Abort()
)">
|
168 |
|
<!--
Create spl
ash page -
->
|
|
168 |
|
<!--
Create spl
ash page -
->
|
169 |
|
<!--
-
->
|
|
169 |
|
<!--
-
->
|
170 |
|
<xsl:
variable n
ame="VarOu
tputDirect
oryPath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
'wwhelp',
'wwhimpl',
'common',
'html')"
/>
|
|
170 |
|
<xsl:
variable n
ame="VarOu
tputDirect
oryPath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
'wwhelp',
'wwhimpl',
'common',
'html')"
/>
|
171 |
|
<xsl:
call-templ
ate name="
Splash">
|
|
171 |
|
<xsl:
call-templ
ate name="
Splash">
|
172 |
|
<xsl
:with-para
m name="Pa
ramOutputD
irectoryPa
th" select
="$VarOutp
utDirector
yPath" />
|
|
172 |
|
<xsl
:with-para
m name="Pa
ramOutputD
irectoryPa
th" select
="$VarOutp
utDirector
yPath" />
|
173 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
" select="
$VarPageTe
mplateFile
s" />
|
|
173 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
" select="
$VarPageTe
mplateFile
s" />
|
174 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
Checksum"
select="$V
arPageTemp
lateFilesC
hecksum" /
>
|
|
174 |
|
<xsl
:with-para
m name="Pa
ramPageTem
plateFiles
Checksum"
select="$V
arPageTemp
lateFilesC
hecksum" /
>
|
175 |
|
<xsl
:with-para
m name="Pa
ramVariabl
es" select
="$GlobalP
rojectVari
ables//wwv
ars:Variab
le" />
|
|
175 |
|
<xsl
:with-para
m name="Pa
ramVariabl
es" select
="$GlobalP
rojectVari
ables//wwv
ars:Variab
le" />
|
176 |
|
</xsl
:call-temp
late>
|
|
176 |
|
</xsl
:call-temp
late>
|
177 |
|
</xsl:
if>
|
|
177 |
|
</xsl:
if>
|
178 |
|
|
|
178 |
|
|
179 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
End" selec
t="wwprogr
ess:End()"
/>
|
|
179 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
End" selec
t="wwprogr
ess:End()"
/>
|
180 |
|
</xsl:i
f>
|
|
180 |
|
</xsl:i
f>
|
181 |
|
|
|
181 |
|
|
182 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsEnd
" select="
wwprogress
:End()" />
|
|
182 |
|
<xsl:va
riable nam
e="VarProg
ressProjec
tGroupsEnd
" select="
wwprogress
:End()" />
|
183 |
|
|
|
183 |
|
|
184 |
|
</wwfile
s:Files>
|
|
184 |
|
</wwfile
s:Files>
|
185 |
|
</xsl:tem
plate>
|
|
185 |
|
</xsl:tem
plate>
|
186 |
|
|
|
186 |
|
|
187 |
|
|
|
187 |
|
|
188 |
|
<xsl:temp
late name=
"Splash">
|
|
188 |
|
<xsl:temp
late name=
"Splash">
|
189 |
|
<xsl:par
am name="P
aramOutput
DirectoryP
ath" />
|
|
189 |
|
<xsl:par
am name="P
aramOutput
DirectoryP
ath" />
|
190 |
|
<xsl:par
am name="P
aramPageTe
mplateFile
s" />
|
|
190 |
|
<xsl:par
am name="P
aramPageTe
mplateFile
s" />
|
191 |
|
<xsl:par
am name="P
aramPageTe
mplateFile
sChecksum"
/>
|
|
191 |
|
<xsl:par
am name="P
aramPageTe
mplateFile
sChecksum"
/>
|
192 |
|
<xsl:par
am name="P
aramVariab
les" />
|
|
192 |
|
<xsl:par
am name="P
aramVariab
les" />
|
193 |
|
|
|
193 |
|
|
194 |
|
<!-- Out
put -->
|
|
194 |
|
<!-- Out
put -->
|
195 |
|
<!--
-->
|
|
195 |
|
<!--
-->
|
196 |
|
<xsl:var
iable name
="VarPath"
select="w
wfilesyste
m:Combine(
$ParamOutp
utDirector
yPath, 'de
fault.htm'
)" />
|
|
196 |
|
<xsl:var
iable name
="VarPath"
select="w
wfilesyste
m:Combine(
$ParamOutp
utDirector
yPath, 'de
fault.htm'
)" />
|
197 |
|
<xsl:var
iable name
="VarUpToD
ate" selec
t="wwfiles
ext:UpToDa
te($VarPat
h, concat(
$GlobalPro
ject/wwpro
ject:Proje
ct/@Change
ID, ':', $
ParamPageT
emplateFil
esChecksum
), '', '',
$GlobalAc
tionChecks
um)" />
|
|
197 |
|
<xsl:var
iable name
="VarUpToD
ate" selec
t="wwfiles
ext:UpToDa
te($VarPat
h, concat(
$GlobalPro
ject/wwpro
ject:Proje
ct/@Change
ID, ':', $
ParamPageT
emplateFil
esChecksum
), '', '',
$GlobalAc
tionChecks
um)" />
|
198 |
|
<xsl:if
test="not(
$VarUpToDa
te)">
|
|
198 |
|
<xsl:if
test="not(
$VarUpToDa
te)">
|
199 |
|
<xsl:va
riable nam
e="VarResu
ltAsXML">
|
|
199 |
|
<xsl:va
riable nam
e="VarResu
ltAsXML">
|
200 |
|
<!-- C
onditions
-->
|
|
200 |
|
<!-- C
onditions
-->
|
201 |
|
<!--
-->
|
|
201 |
|
<!--
-->
|
202 |
|
<xsl:v
ariable na
me="VarCon
ditionsAsX
ML">
|
|
202 |
|
<xsl:v
ariable na
me="VarCon
ditionsAsX
ML">
|
203 |
|
<!--
wwhelp-sho
w-<page> -
->
|
|
203 |
|
<!--
wwhelp-sho
w-<page> -
->
|
204 |
|
<!--
-
->
|
|
204 |
|
<!--
-
->
|
205 |
|
<xsl:
choose>
|
|
205 |
|
<xsl:
choose>
|
206 |
|
<xsl
:when test
="wwprojex
t:GetForma
tSetting('
wwhelp-sho
w-first-do
cument') =
'true'">
|
|
206 |
|
<xsl
:when test
="wwprojex
t:GetForma
tSetting('
wwhelp-sho
w-first-do
cument') =
'true'">
|
207 |
|
<ww
page:Condi
tion name=
"wwhelp-sh
ow-first-d
ocument" /
>
|
|
207 |
|
<ww
page:Condi
tion name=
"wwhelp-sh
ow-first-d
ocument" /
>
|
208 |
|
</xs
l:when>
|
|
208 |
|
</xs
l:when>
|
209 |
|
|
|
209 |
|
|
210 |
|
<xsl
:otherwise
>
|
|
210 |
|
<xsl
:otherwise
>
|
211 |
|
<ww
page:Condi
tion name=
"wwhelp-sh
ow-splash-
page" />
|
|
211 |
|
<ww
page:Condi
tion name=
"wwhelp-sh
ow-splash-
page" />
|
212 |
|
</xs
l:otherwis
e>
|
|
212 |
|
</xs
l:otherwis
e>
|
213 |
|
</xsl
:choose>
|
|
213 |
|
</xsl
:choose>
|
214 |
|
</xsl:
variable>
|
|
214 |
|
</xsl:
variable>
|
215 |
|
<xsl:v
ariable na
me="VarCon
ditions" s
elect="msx
sl:node-se
t($VarCond
itionsAsXM
L)" />
|
|
215 |
|
<xsl:v
ariable na
me="VarCon
ditions" s
elect="msx
sl:node-se
t($VarCond
itionsAsXM
L)" />
|
216 |
|
|
|
216 |
|
|
217 |
|
<!-- R
eplacement
s -->
|
|
217 |
|
<!-- R
eplacement
s -->
|
218 |
|
<!--
-->
|
|
218 |
|
<!--
-->
|
219 |
|
<xsl:v
ariable na
me="VarRep
lacementsA
sXML">
|
|
219 |
|
<xsl:v
ariable na
me="VarRep
lacementsA
sXML">
|
220 |
|
<!--
Locale -->
|
|
220 |
|
<!--
Locale -->
|
221 |
|
<!--
-->
|
|
221 |
|
<!--
-->
|
222 |
|
<wwpa
ge:Replace
ment name=
"locale" v
alue="{wwp
rojext:Get
FormatSett
ing('local
e', 'en')}
" />
|
|
222 |
|
<wwpa
ge:Replace
ment name=
"locale" v
alue="{wwp
rojext:Get
FormatSett
ing('local
e', 'en')}
" />
|
223 |
|
|
|
223 |
|
|
224 |
|
<!--
Content Ty
pe -->
|
|
224 |
|
<!--
Content Ty
pe -->
|
225 |
|
<!--
-->
|
|
225 |
|
<!--
-->
|
226 |
|
<wwpa
ge:Replace
ment name=
"content-t
ype" value
="{concat(
'text/html
;charset='
, wwprojex
t:GetForma
tSetting('
encoding',
'utf-8'))
}" />
|
|
226 |
|
<wwpa
ge:Replace
ment name=
"content-t
ype" value
="{concat(
'text/html
;charset='
, wwprojex
t:GetForma
tSetting('
encoding',
'utf-8'))
}" />
|
227 |
|
|
|
227 |
|
|
228 |
|
<!--
wwhelp-onl
oad -->
|
|
228 |
|
<!--
wwhelp-onl
oad -->
|
229 |
|
<!--
-->
|
|
229 |
|
<!--
-->
|
230 |
|
<wwpa
ge:Replace
ment name=
"wwhelp-on
load">
|
|
230 |
|
<wwpa
ge:Replace
ment name=
"wwhelp-on
load">
|
231 |
|
<xsl
:choose>
|
|
231 |
|
<xsl
:choose>
|
232 |
|
<xs
l:when tes
t="wwproje
xt:GetForm
atSetting(
'wwhelp-sh
ow-first-d
ocument')
= 'true'">
|
|
232 |
|
<xs
l:when tes
t="wwproje
xt:GetForm
atSetting(
'wwhelp-sh
ow-first-d
ocument')
= 'true'">
|
233 |
|
<x
sl:text>WW
HOnLoad(tr
ue);</xsl:
text>
|
|
233 |
|
<x
sl:text>WW
HOnLoad(tr
ue);</xsl:
text>
|
234 |
|
</x
sl:when>
|
|
234 |
|
</x
sl:when>
|
235 |
|
|
|
235 |
|
|
236 |
|
<xs
l:otherwis
e>
|
|
236 |
|
<xs
l:otherwis
e>
|
237 |
|
<x
sl:text>WW
HOnLoad(fa
lse);</xsl
:text>
|
|
237 |
|
<x
sl:text>WW
HOnLoad(fa
lse);</xsl
:text>
|
238 |
|
</x
sl:otherwi
se>
|
|
238 |
|
</x
sl:otherwi
se>
|
239 |
|
</xs
l:choose>
|
|
239 |
|
</xs
l:choose>
|
240 |
|
</wwp
age:Replac
ement>
|
|
240 |
|
</wwp
age:Replac
ement>
|
241 |
|
|
|
241 |
|
|
242 |
|
<!--
Variables
-->
|
|
242 |
|
<!--
Variables
-->
|
243 |
|
<!--
-->
|
|
243 |
|
<!--
-->
|
244 |
|
<xsl:
variable n
ame="VarVa
riablesAsX
ML">
|
|
244 |
|
<xsl:
variable n
ame="VarVa
riablesAsX
ML">
|
245 |
|
<xsl
:call-temp
late name=
"Variables
-Filter-La
st-Unique"
>
|
|
245 |
|
<xsl
:call-temp
late name=
"Variables
-Filter-La
st-Unique"
>
|
246 |
|
<xs
l:with-par
am name="P
aramVariab
les" selec
t="$ParamV
ariables"
/>
|
|
246 |
|
<xs
l:with-par
am name="P
aramVariab
les" selec
t="$ParamV
ariables"
/>
|
247 |
|
</xs
l:call-tem
plate>
|
|
247 |
|
</xs
l:call-tem
plate>
|
248 |
|
</xsl
:variable>
|
|
248 |
|
</xsl
:variable>
|
249 |
|
<xsl:
variable n
ame="VarVa
riables" s
elect="msx
sl:node-se
t($VarVari
ablesAsXML
)/wwvars:V
ariable" /
>
|
|
249 |
|
<xsl:
variable n
ame="VarVa
riables" s
elect="msx
sl:node-se
t($VarVari
ablesAsXML
)/wwvars:V
ariable" /
>
|
250 |
|
<xsl:
call-templ
ate name="
Variables-
Page-Strin
g-Replacem
ents">
|
|
250 |
|
<xsl:
call-templ
ate name="
Variables-
Page-Strin
g-Replacem
ents">
|
251 |
|
<xsl
:with-para
m name="Pa
ramVariabl
es" select
="$VarVari
ables" />
|
|
251 |
|
<xsl
:with-para
m name="Pa
ramVariabl
es" select
="$VarVari
ables" />
|
252 |
|
</xsl
:call-temp
late>
|
|
252 |
|
</xsl
:call-temp
late>
|
253 |
|
</xsl:
variable>
|
|
253 |
|
</xsl:
variable>
|
254 |
|
<xsl:v
ariable na
me="VarRep
lacements"
select="m
sxsl:node-
set($VarRe
placements
AsXML)" />
|
|
254 |
|
<xsl:v
ariable na
me="VarRep
lacements"
select="m
sxsl:node-
set($VarRe
placements
AsXML)" />
|
255 |
|
|
|
255 |
|
|
256 |
|
<!-- M
ap common
characters
-->
|
|
256 |
|
<!-- M
ap common
characters
-->
|
257 |
|
<!--
-->
|
|
257 |
|
<!--
-->
|
258 |
|
<wwexs
ldoc:Mappi
ngContext>
|
|
258 |
|
<wwexs
ldoc:Mappi
ngContext>
|
259 |
|
<xsl:
copy-of se
lect="$Glo
balMapEntr
ySets/wwex
sldoc:MapE
ntrySets/w
wexsldoc:M
apEntrySet
[@name = '
common']/w
wexsldoc:M
apEntry" /
>
|
|
259 |
|
<xsl:
copy-of se
lect="$Glo
balMapEntr
ySets/wwex
sldoc:MapE
ntrySets/w
wexsldoc:M
apEntrySet
[@name = '
common']/w
wexsldoc:M
apEntry" /
>
|
260 |
|
|
|
260 |
|
|
261 |
|
<!--
Invoke pag
e template
-->
|
|
261 |
|
<!--
Invoke pag
e template
-->
|
262 |
|
<!--
-->
|
|
262 |
|
<!--
-->
|
263 |
|
<xsl:
apply-temp
lates sele
ct="$Globa
lPageTempl
ate" mode=
"wwmode:pa
getemplate
">
|
|
263 |
|
<xsl:
apply-temp
lates sele
ct="$Globa
lPageTempl
ate" mode=
"wwmode:pa
getemplate
">
|
264 |
|
<xsl
:with-para
m name="Pa
ramOutputD
irectoryPa
th" select
="$ParamOu
tputDirect
oryPath" /
>
|
|
264 |
|
<xsl
:with-para
m name="Pa
ramOutputD
irectoryPa
th" select
="$ParamOu
tputDirect
oryPath" /
>
|
265 |
|
<xsl
:with-para
m name="Pa
ramOutputP
ath" selec
t="$VarPat
h" />
|
|
265 |
|
<xsl
:with-para
m name="Pa
ramOutputP
ath" selec
t="$VarPat
h" />
|
266 |
|
<xsl
:with-para
m name="Pa
ramConditi
ons" selec
t="$VarCon
ditions" /
>
|
|
266 |
|
<xsl
:with-para
m name="Pa
ramConditi
ons" selec
t="$VarCon
ditions" /
>
|
267 |
|
<xsl
:with-para
m name="Pa
ramReplace
ments" sel
ect="$VarR
eplacement
s" />
|
|
267 |
|
<xsl
:with-para
m name="Pa
ramReplace
ments" sel
ect="$VarR
eplacement
s" />
|
268 |
|
</xsl
:apply-tem
plates>
|
|
268 |
|
</xsl
:apply-tem
plates>
|
269 |
|
</wwex
sldoc:Mapp
ingContext
>
|
|
269 |
|
</wwex
sldoc:Mapp
ingContext
>
|
270 |
|
</xsl:v
ariable>
|
|
270 |
|
</xsl:v
ariable>
|
271 |
|
<xsl:va
riable nam
e="VarResu
lt" select
="msxsl:no
de-set($Va
rResultAsX
ML)" />
|
|
271 |
|
<xsl:va
riable nam
e="VarResu
lt" select
="msxsl:no
de-set($Va
rResultAsX
ML)" />
|
272 |
|
|
|
272 |
|
|
273 |
|
<!-- Ab
orted? -->
|
|
273 |
|
<!-- Ab
orted? -->
|
274 |
|
<!--
-->
|
|
274 |
|
<!--
-->
|
275 |
|
<xsl:if
test="not
(wwprogres
s:Abort())
">
|
|
275 |
|
<xsl:if
test="not
(wwprogres
s:Abort())
">
|
276 |
|
<xsl:v
ariable na
me="VarWri
teResult"
select="ww
exsldoc:Do
cument($Va
rResult, $
VarPath, '
utf-8', 'h
tml', '4.0
', 'yes',
'no', 'no'
, '-//W3C/
/DTD HTML
4.0//EN',
'http://ww
w.w3.org/T
R/REC-html
40/strict.
dtd')" />
|
|
276 |
|
<xsl:v
ariable na
me="VarWri
teResult"
select="ww
exsldoc:Do
cument($Va
rResult, $
VarPath, '
utf-8', 'h
tml', '4.0
', 'yes',
'no', 'no'
, '-//W3C/
/DTD HTML
4.0//EN',
'http://ww
w.w3.org/T
R/REC-html
40/strict.
dtd')" />
|
277 |
|
</xsl:i
f>
|
|
277 |
|
</xsl:i
f>
|
278 |
|
</xsl:if
>
|
|
278 |
|
</xsl:if
>
|
279 |
|
|
|
279 |
|
|
280 |
|
<!-- Abo
rted? -->
|
|
280 |
|
<!-- Abo
rted? -->
|
281 |
|
<!--
-->
|
|
281 |
|
<!--
-->
|
282 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
|
282 |
|
<xsl:if
test="not(
wwprogress
:Abort())"
>
|
283 |
|
<!-- Re
cord files
-->
|
|
283 |
|
<!-- Re
cord files
-->
|
284 |
|
<!--
-->
|
|
284 |
|
<!--
-->
|
285 |
|
<wwfile
s:File pat
h="{$VarPa
th}" type=
"{$Paramet
erType}" c
hecksum="{
wwfilesyst
em:GetChec
ksum($VarP
ath)}" pro
jectchecks
um="{conca
t($GlobalP
roject/wwp
roject:Pro
ject/@Chan
geID, ':',
$ParamPag
eTemplateF
ilesChecks
um)}" grou
pID="" doc
umentID=""
actionche
cksum="{$G
lobalActio
nChecksum}
" category
="{$Parame
terCategor
y}" use="{
$Parameter
Use}" depl
oy="{$Para
meterDeplo
y}">
|
|
285 |
|
<wwfile
s:File pat
h="{$VarPa
th}" type=
"{$Paramet
erType}" c
hecksum="{
wwfilesyst
em:GetChec
ksum($VarP
ath)}" pro
jectchecks
um="{conca
t($GlobalP
roject/wwp
roject:Pro
ject/@Chan
geID, ':',
$ParamPag
eTemplateF
ilesChecks
um)}" grou
pID="" doc
umentID=""
actionche
cksum="{$G
lobalActio
nChecksum}
" category
="{$Parame
terCategor
y}" use="{
$Parameter
Use}" depl
oy="{$Para
meterDeplo
y}">
|
286 |
|
<wwfil
es:Depends
path="{$G
lobalLocal
ePath}" ch
ecksum="{w
wfilesyste
m:GetCheck
sum($Globa
lLocalePat
h)}" group
ID="" docu
mentID=""
/>
|
|
286 |
|
<wwfil
es:Depends
path="{$G
lobalLocal
ePath}" ch
ecksum="{w
wfilesyste
m:GetCheck
sum($Globa
lLocalePat
h)}" group
ID="" docu
mentID=""
/>
|
287 |
|
<wwfil
es:Depends
path="{$G
lobalMapEn
trySetsPat
h}" checks
um="{wwfil
esystem:Ge
tChecksum(
$GlobalMap
EntrySetsP
ath)}" gro
upID="" do
cumentID="
" />
|
|
287 |
|
<wwfil
es:Depends
path="{$G
lobalMapEn
trySetsPat
h}" checks
um="{wwfil
esystem:Ge
tChecksum(
$GlobalMap
EntrySetsP
ath)}" gro
upID="" do
cumentID="
" />
|
288 |
|
<wwfil
es:Depends
path="{$G
lobalPageT
emplatePat
h}" checks
um="{wwfil
esystem:Ge
tChecksum(
$GlobalPag
eTemplateP
ath)}" gro
upID="" do
cumentID="
" />
|
|
288 |
|
<wwfil
es:Depends
path="{$G
lobalPageT
emplatePat
h}" checks
um="{wwfil
esystem:Ge
tChecksum(
$GlobalPag
eTemplateP
ath)}" gro
upID="" do
cumentID="
" />
|
289 |
|
<wwfil
es:Depends
path="{$G
lobalProje
ctVariable
sPath}" ch
ecksum="{w
wfilesyste
m:GetCheck
sum($Globa
lProjectVa
riablesPat
h)}" group
ID="" docu
mentID=""
/>
|
|
289 |
|
<wwfil
es:Depends
path="{$G
lobalProje
ctVariable
sPath}" ch
ecksum="{w
wfilesyste
m:GetCheck
sum($Globa
lProjectVa
riablesPat
h)}" group
ID="" docu
mentID=""
/>
|
290 |
|
</wwfil
es:File>
|
|
290 |
|
</wwfil
es:File>
|
291 |
|
</xsl:if
>
|
|
291 |
|
</xsl:if
>
|
292 |
|
|
|
292 |
|
|
293 |
|
<!-- Pag
e Template
Files -->
|
|
293 |
|
<!-- Pag
e Template
Files -->
|
294 |
|
<!--
-->
|
|
294 |
|
<!--
-->
|
295 |
|
<xsl:for
-each sele
ct="$Param
PageTempla
teFiles/ww
page:File"
>
|
|
295 |
|
<xsl:for
-each sele
ct="$Param
PageTempla
teFiles/ww
page:File"
>
|
296 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
le" select
="." />
|
|
296 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
le" select
="." />
|
297 |
|
|
|
297 |
|
|
298 |
|
<!-- Ge
t source a
nd destina
tion paths
-->
|
|
298 |
|
<!-- Ge
t source a
nd destina
tion paths
-->
|
299 |
|
<!--
-->
|
|
299 |
|
<!--
-->
|
300 |
|
<xsl:va
riable nam
e="VarSour
cePath" se
lect="wwur
i:AsFilePa
th(concat(
'wwformat:
Pages/', $
VarPageTem
plateFile/
@path))" /
>
|
|
300 |
|
<xsl:va
riable nam
e="VarSour
cePath" se
lect="wwur
i:AsFilePa
th(concat(
'wwformat:
Pages/', $
VarPageTem
plateFile/
@path))" /
>
|
301 |
|
<xsl:va
riable nam
e="VarDest
inationPat
h" select=
"ww
uri:AsFile
Path(wwuri
:MakeAbsol
ute(ww
filesystem
:Combine($
ParamOutpu
tDirectory
Path,
'dummy.com
ponent'),
$VarPageTe
mplateFile
/@path)
)
" />
|
|
301 |
|
<xsl:va
riable nam
e="VarDest
inationPat
h" select=
"ww
filesystem
:Combine($
ParamOutpu
tDirectory
Path,
$VarPageTe
mplateFile
/@path)
" />
|
302 |
|
|
|
302 |
|
|
303 |
|
<!-- Co
py -->
|
|
303 |
|
<!-- Co
py -->
|
304 |
|
<!--
-->
|
|
304 |
|
<!--
-->
|
305 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
leUpToDate
" select="
wwfilesext
:UpToDate(
$VarDestin
ationPath,
'', '', '
', concat(
$GlobalAct
ionChecksu
m, ':', $V
arSourcePa
th))" />
|
|
305 |
|
<xsl:va
riable nam
e="VarPage
TemplateFi
leUpToDate
" select="
wwfilesext
:UpToDate(
$VarDestin
ationPath,
'', '', '
', concat(
$GlobalAct
ionChecksu
m, ':', $V
arSourcePa
th))" />
|
306 |
|
<xsl:if
test="not
($VarPageT
emplateFil
eUpToDate)
">
|
|
306 |
|
<xsl:if
test="not
($VarPageT
emplateFil
eUpToDate)
">
|
307 |
|
<xsl:v
ariable na
me="VarIgn
ore" selec
t="wwfiles
ystem:Copy
File($VarS
ourcePath,
$VarDesti
nationPath
)" />
|
|
307 |
|
<xsl:v
ariable na
me="VarIgn
ore" selec
t="wwfiles
ystem:Copy
File($VarS
ourcePath,
$VarDesti
nationPath
)" />
|
308 |
|
</xsl:i
f>
|
|
308 |
|
</xsl:i
f>
|
309 |
|
|
|
309 |
|
|
310 |
|
<!-- Re
port Files
-->
|
|
310 |
|
<!-- Re
port Files
-->
|
311 |
|
<!--
-->
|
|
311 |
|
<!--
-->
|
312 |
|
<wwfile
s:File pat
h="{$VarDe
stinationP
ath}" type
="{$Parame
terType}"
checksum="
{wwfilesys
tem:GetChe
cksum($Var
Destinatio
nPath)}" p
rojectchec
ksum="" gr
oupID="" d
ocumentID=
"" actionc
hecksum="{
concat($Gl
obalAction
Checksum,
':', $VarS
ourcePath)
}" categor
y="{$Param
eterCatego
ry}" use="
{$Paramete
rUse}" dep
loy="{$Par
ameterDepl
oy}">
|
|
312 |
|
<wwfile
s:File pat
h="{$VarDe
stinationP
ath}" type
="{$Parame
terType}"
checksum="
{wwfilesys
tem:GetChe
cksum($Var
Destinatio
nPath)}" p
rojectchec
ksum="" gr
oupID="" d
ocumentID=
"" actionc
hecksum="{
concat($Gl
obalAction
Checksum,
':', $VarS
ourcePath)
}" categor
y="{$Param
eterCatego
ry}" use="
{$Paramete
rUse}" dep
loy="{$Par
ameterDepl
oy}">
|
313 |
|
<wwfil
es:Depends
path="{$V
arSourcePa
th}" check
sum="{wwfi
lesystem:G
etChecksum
($VarSourc
ePath)}" g
roupID=""
documentID
="" />
|
|
313 |
|
<wwfil
es:Depends
path="{$V
arSourcePa
th}" check
sum="{wwfi
lesystem:G
etChecksum
($VarSourc
ePath)}" g
roupID=""
documentID
="" />
|
314 |
|
</wwfil
es:File>
|
|
314 |
|
</wwfil
es:File>
|
315 |
|
</xsl:fo
r-each>
|
|
315 |
|
</xsl:fo
r-each>
|
316 |
|
</xsl:tem
plate>
|
|
316 |
|
</xsl:tem
plate>
|
317 |
|
</xsl:styl
esheet>
|
|
317 |
|
</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.