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:wwmu
ltisere="u
rn:WebWork
s-XSLT-Ext
ension-Mul
tiSearchRe
place"
|
|
2 |
|
<xsl:style
sheet vers
ion="1.0"
xmlns:wwmu
ltisere="u
rn:WebWork
s-XSLT-Ext
ension-Mul
tiSearchRe
place"
|
3 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
|
3 |
|
xmlns:xsl=
"http://ww
w.w3.org/1
999/XSL/Tr
ansform"
|
4 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
|
4 |
|
xmlns:msxs
l="urn:sch
emas-micro
soft-com:x
slt"
|
5 |
|
xmlns:wwto
c="urn:Web
Works-Engi
ne-TOC-Sch
ema"
|
|
5 |
|
xmlns:wwto
c="urn:Web
Works-Engi
ne-TOC-Sch
ema"
|
6 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema"
|
|
6 |
|
xmlns:wwli
nks="urn:W
ebWorks-En
gine-Links
-Schema"
|
7 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
|
7 |
|
xmlns:wwmo
de="urn:We
bWorks-Eng
ine-Mode"
|
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:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
|
11 |
|
xmlns:wwpr
oject="urn
:WebWorks-
Publish-Pr
oject"
|
12 |
|
xmlns:wwpa
ge="urn:We
bWorks-Pag
e-Template
-Schema"
|
|
12 |
|
xmlns:wwpa
ge="urn:We
bWorks-Pag
e-Template
-Schema"
|
13 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma"
|
|
13 |
|
xmlns:wwlo
cale="urn:
WebWorks-L
ocale-Sche
ma"
|
14 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
|
14 |
|
xmlns:wwpr
ogress="ur
n:WebWorks
-XSLT-Exte
nsion-Prog
ress"
|
15 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
|
15 |
|
xmlns:wwlo
g="urn:Web
Works-XSLT
-Extension
-Log"
|
16 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
|
16 |
|
xmlns:wwfi
lesystem="
urn:WebWor
ks-XSLT-Ex
tension-Fi
leSystem"
|
17 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
|
17 |
|
xmlns:wwur
i="urn:Web
Works-XSLT
-Extension
-URI"
|
18 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
|
18 |
|
xmlns:wwst
ring="urn:
WebWorks-X
SLT-Extens
ion-String
Utilities"
|
19 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units"
|
|
19 |
|
xmlns:wwun
its="urn:W
ebWorks-XS
LT-Extensi
on-Units"
|
20 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
|
20 |
|
xmlns:wwfi
lesext="ur
n:WebWorks
-XSLT-Exte
nsion-File
s"
|
21 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
|
21 |
|
xmlns:wwpr
ojext="urn
:WebWorks-
XSLT-Exten
sion-Proje
ct"
|
22 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
|
22 |
|
xmlns:wwex
sldoc="urn
:WebWorks-
XSLT-Exten
sion-Docum
ent"
|
23 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwfiles
wwdoc wwsp
lits wwpro
ject wwpag
e wwlocale
wwprogres
s wwlog ww
filesystem
wwuri wws
tring wwun
its wwfile
sext wwpro
jext wwexs
ldoc"
|
|
23 |
|
exclude-re
sult-prefi
xes="xsl m
sxsl wwmod
e wwfiles
wwdoc wwsp
lits wwpro
ject wwpag
e wwlocale
wwprogres
s wwlog ww
filesystem
wwuri wws
tring wwun
its wwfile
sext wwpro
jext wwexs
ldoc"
|
24 |
|
>
|
|
24 |
|
>
|
25 |
|
<xsl:para
m name="Gl
obalInput"
/>
|
|
25 |
|
<xsl:para
m name="Gl
obalInput"
/>
|
26 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
|
|
26 |
|
<xsl:para
m name="Gl
obalPipeli
neName" />
|
27 |
|
<xsl:para
m name="Gl
obalProjec
t" />
|
|
27 |
|
<xsl:para
m name="Gl
obalProjec
t" />
|
28 |
|
<xsl:para
m name="Gl
obalFiles"
/>
|
|
28 |
|
<xsl:para
m name="Gl
obalFiles"
/>
|
29 |
|
<xsl:para
m name="Pa
rameterDep
endsType"
/>
|
|
29 |
|
<xsl:para
m name="Pa
rameterDep
endsType"
/>
|
30 |
|
<xsl:para
m name="Pa
rameterHHP
PageTempla
teURI" />
|
|
30 |
|
<xsl:para
m name="Pa
rameterHHP
PageTempla
teURI" />
|
31 |
|
<xsl:para
m name="Pa
rameterLin
ksType" />
|
|
31 |
|
<xsl:para
m name="Pa
rameterLin
ksType" />
|
32 |
|
<xsl:para
m name="Pa
rameterSpl
itsType" /
>
|
|
32 |
|
<xsl:para
m name="Pa
rameterSpl
itsType" /
>
|
33 |
|
<xsl:para
m name="Pa
rameterPro
jectSplits
Type" />
|
|
33 |
|
<xsl:para
m name="Pa
rameterPro
jectSplits
Type" />
|
34 |
|
<xsl:para
m name="Pa
rameterCop
yFilesType
" />
|
|
34 |
|
<xsl:para
m name="Pa
rameterCop
yFilesType
" />
|
35 |
|
<xsl:para
m name="Pa
rameterBag
gageFilesT
ype" />
|
|
35 |
|
<xsl:para
m name="Pa
rameterBag
gageFilesT
ype" />
|
36 |
|
<xsl:para
m name="Pa
rameterTOC
Type" />
|
|
36 |
|
<xsl:para
m name="Pa
rameterTOC
Type" />
|
37 |
|
<xsl:para
m name="Pa
rameterInd
exType" />
|
|
37 |
|
<xsl:para
m name="Pa
rameterInd
exType" />
|
38 |
|
<xsl:para
m name="Pa
rameterPag
eOutputTyp
e" />
|
|
38 |
|
<xsl:para
m name="Pa
rameterPag
eOutputTyp
e" />
|
39 |
|
<xsl:para
m name="Pa
rameterPop
upPageOutp
utType" />
|
|
39 |
|
<xsl:para
m name="Pa
rameterPop
upPageOutp
utType" />
|
40 |
|
<xsl:para
m name="Pa
rameterWra
pperPageOu
tputType"
/>
|
|
40 |
|
<xsl:para
m name="Pa
rameterWra
pperPageOu
tputType"
/>
|
41 |
|
<xsl:para
m name="Pa
rameterIma
geOutputTy
pe" />
|
|
41 |
|
<xsl:para
m name="Pa
rameterIma
geOutputTy
pe" />
|
42 |
|
<xsl:para
m name="Pa
rameterThu
mbnailImag
eOutputTyp
e" />
|
|
42 |
|
<xsl:para
m name="Pa
rameterThu
mbnailImag
eOutputTyp
e" />
|
43 |
|
<xsl:para
m name="Pa
rameterMer
gePageType
" />
|
|
43 |
|
<xsl:para
m name="Pa
rameterMer
gePageType
" />
|
44 |
|
<xsl:para
m name="Pa
rameterTyp
e" />
|
|
44 |
|
<xsl:para
m name="Pa
rameterTyp
e" />
|
45 |
|
<xsl:para
m name="Pa
rameterMer
geType" />
|
|
45 |
|
<xsl:para
m name="Pa
rameterMer
geType" />
|
46 |
|
<xsl:para
m name="Pa
rameterWha
tIsThisTex
tFileType"
/>
|
|
46 |
|
<xsl:para
m name="Pa
rameterWha
tIsThisTex
tFileType"
/>
|
47 |
|
<xsl:para
m name="Pa
rameterWha
tIsThisHea
derFileTyp
e" />
|
|
47 |
|
<xsl:para
m name="Pa
rameterWha
tIsThisHea
derFileTyp
e" />
|
48 |
|
<xsl:para
m name="Pa
rameterSpl
itFileType
" />
|
|
48 |
|
<xsl:para
m name="Pa
rameterSpl
itFileType
" />
|
49 |
|
<xsl:para
m name="Pa
rameterMap
SplitFileT
ype" />
|
|
49 |
|
<xsl:para
m name="Pa
rameterMap
SplitFileT
ype" />
|
50 |
|
<xsl:para
m name="Pa
rameterCHM
SplitFileT
ype" />
|
|
50 |
|
<xsl:para
m name="Pa
rameterCHM
SplitFileT
ype" />
|
51 |
|
<xsl:para
m name="Pa
rameterLoc
aleType" /
>
|
|
51 |
|
<xsl:para
m name="Pa
rameterLoc
aleType" /
>
|
52 |
|
<xsl:para
m name="Pa
rameterCat
egory" />
|
|
52 |
|
<xsl:para
m name="Pa
rameterCat
egory" />
|
53 |
|
<xsl:para
m name="Pa
rameterUse
" />
|
|
53 |
|
<xsl:para
m name="Pa
rameterUse
" />
|
54 |
|
<xsl:para
m name="Pa
rameterDep
loy" />
|
|
54 |
|
<xsl:para
m name="Pa
rameterDep
loy" />
|
55 |
|
<xsl:para
m name="Pa
rameterMer
geCategory
" />
|
|
55 |
|
<xsl:para
m name="Pa
rameterMer
geCategory
" />
|
56 |
|
<xsl:para
m name="Pa
rameterMer
geUse" />
|
|
56 |
|
<xsl:para
m name="Pa
rameterMer
geUse" />
|
57 |
|
<xsl:para
m name="Pa
rameterMer
geDeploy"
/>
|
|
57 |
|
<xsl:para
m name="Pa
rameterMer
geDeploy"
/>
|
58 |
|
<xsl:para
m name="Pa
rameterDoc
umentPDFTy
pe" />
|
|
58 |
|
<xsl:para
m name="Pa
rameterDoc
umentPDFTy
pe" />
|
59 |
|
<xsl:para
m name="Pa
rameterGro
upPDFType"
/>
|
|
59 |
|
<xsl:para
m name="Pa
rameterGro
upPDFType"
/>
|
60 |
|
|
|
60 |
|
|
61 |
|
|
|
61 |
|
|
62 |
|
<xsl:outp
ut method=
"xml" enco
ding="UTF-
8" indent=
"yes" />
|
|
62 |
|
<xsl:outp
ut method=
"xml" enco
ding="UTF-
8" indent=
"yes" />
|
63 |
|
<xsl:stri
p-space el
ements="*"
/>
|
|
63 |
|
<xsl:stri
p-space el
ements="*"
/>
|
64 |
|
|
|
64 |
|
|
65 |
|
|
|
65 |
|
|
66 |
|
<xsl:incl
ude href="
wwtransfor
m:uri/uri.
xsl" />
|
|
66 |
|
<xsl:incl
ude href="
wwtransfor
m:uri/uri.
xsl" />
|
67 |
|
|
|
67 |
|
|
68 |
|
|
|
68 |
|
|
69 |
|
<xsl:key
name="wwfi
les-files-
by-type" m
atch="wwfi
les:File"
use="@type
" />
|
|
69 |
|
<xsl:key
name="wwfi
les-files-
by-type" m
atch="wwfi
les:File"
use="@type
" />
|
70 |
|
<xsl:key
name="wwfi
les-files-
by-groupid
-type" mat
ch="wwfile
s:File" us
e="concat(
@groupID,
':', @type
)" />
|
|
70 |
|
<xsl:key
name="wwfi
les-files-
by-groupid
-type" mat
ch="wwfile
s:File" us
e="concat(
@groupID,
':', @type
)" />
|
71 |
|
<xsl:key
name="wwli
nks-files-
by-groupid
" match="w
wlinks:Fil
e" use="@g
roupID" />
|
|
71 |
|
<xsl:key
name="wwli
nks-files-
by-groupid
" match="w
wlinks:Fil
e" use="@g
roupID" />
|
72 |
|
<xsl:key
name="wwsp
lits-files
-by-groupi
d-type" ma
tch="wwspl
its:File"
use="conca
t(@groupID
, ':', @ty
pe)" />
|
|
72 |
|
<xsl:key
name="wwsp
lits-files
-by-groupi
d-type" ma
tch="wwspl
its:File"
use="conca
t(@groupID
, ':', @ty
pe)" />
|
73 |
|
<xsl:key
name="wwsp
lits-files
-by-type"
match="wws
plits:File
" use="@ty
pe" />
|
|
73 |
|
<xsl:key
name="wwsp
lits-files
-by-type"
match="wws
plits:File
" use="@ty
pe" />
|
74 |
|
<xsl:key
name="wwsp
lits-split
s-by-group
id" match=
"wwsplits:
Split" use
="@groupID
" />
|
|
74 |
|
<xsl:key
name="wwsp
lits-split
s-by-group
id" match=
"wwsplits:
Split" use
="@groupID
" />
|
75 |
|
<xsl:key
name="wwpr
oject-form
atconfigur
ations-by-
targetid"
match="wwp
roject:For
matConfigu
ration" us
e="@Target
ID" />
|
|
75 |
|
<xsl:key
name="wwpr
oject-form
atconfigur
ations-by-
targetid"
match="wwp
roject:For
matConfigu
ration" us
e="@Target
ID" />
|
76 |
|
<xsl:key
name="wwpr
oject-grou
ps-by-grou
pid" match
="wwprojec
t:Group" u
se="@Group
ID" />
|
|
76 |
|
<xsl:key
name="wwpr
oject-grou
ps-by-grou
pid" match
="wwprojec
t:Group" u
se="@Group
ID" />
|
77 |
|
|
|
77 |
|
|
78 |
|
|
|
78 |
|
|
79 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m">
|
|
79 |
|
<xsl:vari
able name=
"GlobalAct
ionChecksu
m">
|
80 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums">
|
|
80 |
|
<xsl:var
iable name
="VarTrans
formChecks
ums">
|
81 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/>
|
|
81 |
|
<xsl:va
lue-of sel
ect="conca
t(wwuri:As
FilePath('
wwtransfor
m:self'),
':', wwfil
esystem:Ge
tChecksum(
wwuri:AsFi
lePath('ww
transform:
self')))"
/>
|
82 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath($Param
eterHHPPag
eTemplateU
RI), ':',
wwfilesyst
em:GetChec
ksum(wwuri
:AsFilePat
h($Paramet
erHHPPageT
emplateURI
)))" />
|
|
82 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath($Param
eterHHPPag
eTemplateU
RI), ':',
wwfilesyst
em:GetChec
ksum(wwuri
:AsFilePat
h($Paramet
erHHPPageT
emplateURI
)))" />
|
83 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath('wwtra
nsform:uri
/uri.xsl')
, ':', wwf
ilesystem:
GetChecksu
m(wwuri:As
FilePath('
wwtransfor
m:uri/uri.
xsl')))" /
>
|
|
83 |
|
<xsl:va
lue-of sel
ect="conca
t(',', wwu
ri:AsFileP
ath('wwtra
nsform:uri
/uri.xsl')
, ':', wwf
ilesystem:
GetChecksu
m(wwuri:As
FilePath('
wwtransfor
m:uri/uri.
xsl')))" /
>
|
84 |
|
</xsl:va
riable>
|
|
84 |
|
</xsl:va
riable>
|
85 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/>
|
|
85 |
|
<xsl:val
ue-of sele
ct="wwstri
ng:MD5Chec
ksum($VarT
ransformCh
ecksums)"
/>
|
86 |
|
</xsl:var
iable>
|
|
86 |
|
</xsl:var
iable>
|
87 |
|
|
|
87 |
|
|
88 |
|
<xsl:vari
able name=
"GlobalHHP
PageTempla
tePath" se
lect="wwur
i:AsFilePa
th($Parame
terHHPPage
TemplateUR
I)" />
|
|
88 |
|
<xsl:vari
able name=
"GlobalHHP
PageTempla
tePath" se
lect="wwur
i:AsFilePa
th($Parame
terHHPPage
TemplateUR
I)" />
|
89 |
|
|
|
89 |
|
|
90 |
|
<!-- Loca
le -->
|
|
90 |
|
<!-- Loca
le -->
|
91 |
|
<!--
-->
|
|
91 |
|
<!--
-->
|
92 |
|
<xsl:vari
able name=
"GlobalLoc
alePath">
|
|
92 |
|
<xsl:vari
able name=
"GlobalLoc
alePath">
|
93 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
|
93 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
94 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterLocale
Type)[1]/@
path" />
|
|
94 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterLocale
Type)[1]/@
path" />
|
95 |
|
</xsl:fo
r-each>
|
|
95 |
|
</xsl:fo
r-each>
|
96 |
|
</xsl:var
iable>
|
|
96 |
|
</xsl:var
iable>
|
97 |
|
<xsl:vari
able name=
"GlobalLoc
ale" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Glo
balLocaleP
ath)" />
|
|
97 |
|
<xsl:vari
able name=
"GlobalLoc
ale" selec
t="wwexsld
oc:LoadXML
WithoutRes
olver($Glo
balLocaleP
ath)" />
|
98 |
|
|
|
98 |
|
|
99 |
|
|
|
99 |
|
|
100 |
|
<!-- Proj
ect Splits
-->
|
|
100 |
|
<!-- Proj
ect Splits
-->
|
101 |
|
<!--
-->
|
|
101 |
|
<!--
-->
|
102 |
|
<xsl:vari
able name=
"GlobalPro
jectSplits
Path">
|
|
102 |
|
<xsl:vari
able name=
"GlobalPro
jectSplits
Path">
|
103 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
|
103 |
|
<xsl:for
-each sele
ct="$Globa
lFiles[1]"
>
|
104 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterProjec
tSplitsTyp
e)[1]/@pat
h" />
|
|
104 |
|
<xsl:va
lue-of sel
ect="key('
wwfiles-fi
les-by-typ
e', $Param
eterProjec
tSplitsTyp
e)[1]/@pat
h" />
|
105 |
|
</xsl:fo
r-each>
|
|
105 |
|
</xsl:fo
r-each>
|
106 |
|
</xsl:var
iable>
|
|
106 |
|
</xsl:var
iable>
|
107 |
|
<xsl:vari
able name=
"GlobalPro
jectSplits
" select="
wwexsldoc:
LoadXMLWit
houtResolv
er($Global
ProjectSpl
itsPath)"
/>
|
|
107 |
|
<xsl:vari
able name=
"GlobalPro
jectSplits
" select="
wwexsldoc:
LoadXMLWit
houtResolv
er($Global
ProjectSpl
itsPath)"
/>
|
108 |
|
|
|
108 |
|
|
109 |
|
|
|
109 |
|
|
110 |
|
<xsl:temp
late match
="/">
|
|
110 |
|
<xsl:temp
late match
="/">
|
111 |
|
<wwfiles
:Files ver
sion="1.0"
>
|
|
111 |
|
<wwfiles
:Files ver
sion="1.0"
>
|
112 |
|
|
|
112 |
|
|
113 |
|
<!-- It
erate inpu
t document
s -->
|
|
113 |
|
<!-- It
erate inpu
t document
s -->
|
114 |
|
<!--
-->
|
|
114 |
|
<!--
-->
|
115 |
|
<xsl:fo
r-each sel
ect="$Glob
alFiles[1]
">
|
|
115 |
|
<xsl:fo
r-each sel
ect="$Glob
alFiles[1]
">
|
116 |
|
<!-- L
oad projec
t links --
>
|
|
116 |
|
<!-- L
oad projec
t links --
>
|
117 |
|
<!--
--
>
|
|
117 |
|
<!--
--
>
|
118 |
|
<xsl:v
ariable na
me="VarLin
ksPath" se
lect="key(
'wwfiles-f
iles-by-ty
pe', $Para
meterLinks
Type)/@pat
h" />
|
|
118 |
|
<xsl:v
ariable na
me="VarLin
ksPath" se
lect="key(
'wwfiles-f
iles-by-ty
pe', $Para
meterLinks
Type)/@pat
h" />
|
119 |
|
<xsl:v
ariable na
me="VarLin
ks" select
="wwexsldo
c:LoadXMLW
ithoutReso
lver($VarL
inksPath)"
/>
|
|
119 |
|
<xsl:v
ariable na
me="VarLin
ks" select
="wwexsldo
c:LoadXMLW
ithoutReso
lver($VarL
inksPath)"
/>
|
120 |
|
|
|
120 |
|
|
121 |
|
<!-- G
roups -->
|
|
121 |
|
<!-- G
roups -->
|
122 |
|
<!--
-->
|
|
122 |
|
<!--
-->
|
123 |
|
<xsl:v
ariable na
me="VarPro
jectGroups
" select="
$GlobalPro
ject/wwpro
ject:Proje
ct/wwproje
ct:Groups/
wwproject:
Group" />
|
|
123 |
|
<xsl:v
ariable na
me="VarPro
jectGroups
" select="
$GlobalPro
ject/wwpro
ject:Proje
ct/wwproje
ct:Groups/
wwproject:
Group" />
|
124 |
|
<xsl:v
ariable na
me="VarPro
gressGroup
sAndMergeS
tart" sele
ct="wwprog
ress:Start
(count($Va
rProjectGr
oups) + 1)
" />
|
|
124 |
|
<xsl:v
ariable na
me="VarPro
gressGroup
sAndMergeS
tart" sele
ct="wwprog
ress:Start
(count($Va
rProjectGr
oups) + 1)
" />
|
125 |
|
<xsl:f
or-each se
lect="$Var
ProjectGro
ups">
|
|
125 |
|
<xsl:f
or-each se
lect="$Var
ProjectGro
ups">
|
126 |
|
<xsl:
variable n
ame="VarPr
ojectGroup
" select="
." />
|
|
126 |
|
<xsl:
variable n
ame="VarPr
ojectGroup
" select="
." />
|
127 |
|
|
|
127 |
|
|
128 |
|
<xsl:
variable n
ame="VarPr
ogressGrou
pStart" se
lect="wwpr
ogress:Sta
rt(1)" />
|
|
128 |
|
<xsl:
variable n
ame="VarPr
ogressGrou
pStart" se
lect="wwpr
ogress:Sta
rt(1)" />
|
129 |
|
|
|
129 |
|
|
130 |
|
<!--
Link files
-->
|
|
130 |
|
<!--
Link files
-->
|
131 |
|
<!--
-->
|
|
131 |
|
<!--
-->
|
132 |
|
<xsl:
for-each s
elect="$Va
rLinks[1]"
>
|
|
132 |
|
<xsl:
for-each s
elect="$Va
rLinks[1]"
>
|
133 |
|
<xsl
:variable
name="VarL
inksFiles"
select="k
ey('wwlink
s-files-by
-groupid',
$VarProje
ctGroup/@G
roupID)" /
>
|
|
133 |
|
<xsl
:variable
name="VarL
inksFiles"
select="k
ey('wwlink
s-files-by
-groupid',
$VarProje
ctGroup/@G
roupID)" /
>
|
134 |
|
|
|
134 |
|
|
135 |
|
<!--
Access sp
lits -->
|
|
135 |
|
<!--
Access sp
lits -->
|
136 |
|
<!--
-->
|
|
136 |
|
<!--
-->
|
137 |
|
<xsl
:for-each
select="$G
lobalFiles
[1]">
|
|
137 |
|
<xsl
:for-each
select="$G
lobalFiles
[1]">
|
138 |
|
|
|
138 |
|
|
139 |
|
<xs
l:variable
name="Var
CopyFiles"
select="k
ey('wwfile
s-files-by
-groupid-t
ype', conc
at($VarPro
jectGroup/
@GroupID,
':', $Para
meterCopyF
ilesType))
" />
|
|
139 |
|
<xs
l:variable
name="Var
CopyFiles"
select="k
ey('wwfile
s-files-by
-groupid-t
ype', conc
at($VarPro
jectGroup/
@GroupID,
':', $Para
meterCopyF
ilesType))
" />
|
140 |
|
<xs
l:variable
name="Var
BaggageFil
es" select
="key('wwf
iles-files
-by-groupi
d-type', c
oncat($Var
ProjectGro
up/@GroupI
D, ':', $P
arameterBa
ggageFiles
Type))" />
|
|
140 |
|
<xs
l:variable
name="Var
BaggageFil
es" select
="key('wwf
iles-files
-by-groupi
d-type', c
oncat($Var
ProjectGro
up/@GroupI
D, ':', $P
arameterBa
ggageFiles
Type))" />
|
141 |
|
|
|
141 |
|
|
142 |
|
<xs
l:variable
name="Var
FilesNameI
nfo" selec
t="key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterS
plitsType)
)" />
|
|
142 |
|
<xs
l:variable
name="Var
FilesNameI
nfo" selec
t="key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterS
plitsType)
)" />
|
143 |
|
<xs
l:for-each
select="$
VarFilesNa
meInfo[1]"
>
|
|
143 |
|
<xs
l:for-each
select="$
VarFilesNa
meInfo[1]"
>
|
144 |
|
<x
sl:variabl
e name="Va
rSplitsFil
eInfo" sel
ect="." />
|
|
144 |
|
<x
sl:variabl
e name="Va
rSplitsFil
eInfo" sel
ect="." />
|
145 |
|
|
|
145 |
|
|
146 |
|
<!
-- Load sp
lits -->
|
|
146 |
|
<!
-- Load sp
lits -->
|
147 |
|
<!
--
-->
|
|
147 |
|
<!
--
-->
|
148 |
|
<x
sl:variabl
e name="Va
rSplits" s
elect="wwe
xsldoc:Loa
dXMLWithou
tResolver(
$VarSplits
FileInfo/@
path)" />
|
|
148 |
|
<x
sl:variabl
e name="Va
rSplits" s
elect="wwe
xsldoc:Loa
dXMLWithou
tResolver(
$VarSplits
FileInfo/@
path)" />
|
149 |
|
|
|
149 |
|
|
150 |
|
<!
-- Iterate
input doc
uments -->
|
|
150 |
|
<!
-- Iterate
input doc
uments -->
|
151 |
|
<!
--
-->
|
|
151 |
|
<!
--
-->
|
152 |
|
<x
sl:for-eac
h select="
$GlobalFil
es[1]">
|
|
152 |
|
<x
sl:for-eac
h select="
$GlobalFil
es[1]">
|
153 |
|
<
!-- Determ
ine group
output dir
ectory pat
h -->
|
|
153 |
|
<
!-- Determ
ine group
output dir
ectory pat
h -->
|
154 |
|
<
!--
-->
|
|
154 |
|
<
!--
-->
|
155 |
|
<
xsl:variab
le name="V
arGroupOut
putDirecto
ryPath" se
lect="wwfi
lesystem:C
ombine(wwp
rojext:Get
TargetOutp
utDirector
yPath(), $
VarProject
Group/@Nam
e)" />
|
|
155 |
|
<
xsl:variab
le name="V
arGroupOut
putDirecto
ryPath" se
lect="wwfi
lesystem:C
ombine(wwp
rojext:Get
TargetOutp
utDirector
yPath(), $
VarProject
Group/@Nam
e)" />
|
156 |
|
|
|
156 |
|
|
157 |
|
<
xsl:variab
le name="V
arPageOutp
utByType"
select="ke
y('wwfiles
-files-by-
groupid-ty
pe', conca
t($VarProj
ectGroup/@
GroupID, '
:', $Param
eterPageOu
tputType))
| key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterP
opupPageOu
tputType))
| key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterW
rapperPage
OutputType
)) | key('
wwfiles-fi
les-by-gro
upid-type'
, concat($
VarProject
Group/@Gro
upID, ':',
$Paramete
rGroupPDFT
ype)) | ke
y('wwfiles
-files-by-
groupid-ty
pe', conca
t($VarProj
ectGroup/@
GroupID, '
:', $Param
eterDocume
ntPDFType)
)" />
|
|
157 |
|
<
xsl:variab
le name="V
arPageOutp
utByType"
select="ke
y('wwfiles
-files-by-
groupid-ty
pe', conca
t($VarProj
ectGroup/@
GroupID, '
:', $Param
eterPageOu
tputType))
| key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterP
opupPageOu
tputType))
| key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterW
rapperPage
OutputType
)) | key('
wwfiles-fi
les-by-gro
upid-type'
, concat($
VarProject
Group/@Gro
upID, ':',
$Paramete
rGroupPDFT
ype)) | ke
y('wwfiles
-files-by-
groupid-ty
pe', conca
t($VarProj
ectGroup/@
GroupID, '
:', $Param
eterDocume
ntPDFType)
)" />
|
158 |
|
<
xsl:variab
le name="V
arImageOut
putByType"
select="k
ey('wwfile
s-files-by
-groupid-t
ype', conc
at($VarPro
jectGroup/
@GroupID,
':', $Para
meterImage
OutputType
)) | key('
wwfiles-fi
les-by-gro
upid-type'
, concat($
VarProject
Group/@Gro
upID, ':',
$Paramete
rThumbnail
ImageOutpu
tType))" /
>
|
|
158 |
|
<
xsl:variab
le name="V
arImageOut
putByType"
select="k
ey('wwfile
s-files-by
-groupid-t
ype', conc
at($VarPro
jectGroup/
@GroupID,
':', $Para
meterImage
OutputType
)) | key('
wwfiles-fi
les-by-gro
upid-type'
, concat($
VarProject
Group/@Gro
upID, ':',
$Paramete
rThumbnail
ImageOutpu
tType))" /
>
|
159 |
|
<
xsl:variab
le name="V
arTOCByTyp
e" select=
"key('wwfi
les-files-
by-groupid
-type', co
ncat($VarP
rojectGrou
p/@GroupID
, ':', $Pa
rameterTOC
Type))" />
|
|
159 |
|
<
xsl:variab
le name="V
arTOCByTyp
e" select=
"key('wwfi
les-files-
by-groupid
-type', co
ncat($VarP
rojectGrou
p/@GroupID
, ':', $Pa
rameterTOC
Type))" />
|
160 |
|
<
xsl:variab
le name="V
arIndexByT
ype" selec
t="key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterI
ndexType))
" />
|
|
160 |
|
<
xsl:variab
le name="V
arIndexByT
ype" selec
t="key('ww
files-file
s-by-group
id-type',
concat($Va
rProjectGr
oup/@Group
ID, ':', $
ParameterI
ndexType))
" />
|
161 |
|
<
xsl:variab
le name="V
arWhatIsTh
isTextByTy
pe" select
="key('wwf
iles-files
-by-groupi
d-type', c
oncat($Var
ProjectGro
up/@GroupI
D, ':', $P
arameterWh
atIsThisTe
xtFileType
))" />
|
|
161 |
|
<
xsl:variab
le name="V
arWhatIsTh
isTextByTy
pe" select
="key('wwf
iles-files
-by-groupi
d-type', c
oncat($Var
ProjectGro
up/@GroupI
D, ':', $P
arameterWh
atIsThisTe
xtFileType
))" />
|
162 |
|
<
xsl:variab
le name="V
arWhatIsTh
isHeaderBy
Type" sele
ct="key('w
wfiles-fil
es-by-grou
pid-type',
concat($V
arProjectG
roup/@Grou
pID, ':',
$Parameter
WhatIsThis
HeaderFile
Type))" />
|
|
162 |
|
<
xsl:variab
le name="V
arWhatIsTh
isHeaderBy
Type" sele
ct="key('w
wfiles-fil
es-by-grou
pid-type',
concat($V
arProjectG
roup/@Grou
pID, ':',
$Parameter
WhatIsThis
HeaderFile
Type))" />
|
163 |
|
<
xsl:variab
le name="V
arFilesDoc
umentNodes
" select="
key('wwfil
es-files-b
y-groupid-
type', con
cat($VarPr
ojectGroup
/@GroupID,
':', $Par
ameterDepe
ndsType))"
/>
|
|
163 |
|
<
xsl:variab
le name="V
arFilesDoc
umentNodes
" select="
key('wwfil
es-files-b
y-groupid-
type', con
cat($VarPr
ojectGroup
/@GroupID,
':', $Par
ameterDepe
ndsType))"
/>
|
164 |
|
|
|
164 |
|
|
165 |
|
<
!-- Output
path -->
|
|
165 |
|
<
!-- Output
path -->
|
166 |
|
<
!--
-->
|
|
166 |
|
<
!--
-->
|
167 |
|
<
xsl:variab
le name="V
arPath">
|
|
167 |
|
<
xsl:variab
le name="V
arPath">
|
168 |
|
<xsl:for-e
ach select
="$VarSpli
ts[1]">
|
|
168 |
|
<xsl:for-e
ach select
="$VarSpli
ts[1]">
|
169 |
|
<xsl:valu
e-of selec
t="key('ww
splits-fil
es-by-grou
pid-type',
concat($V
arProjectG
roup/@Grou
pID, ':',
$Parameter
SplitFileT
ype))[1]/@
path"/>
|
|
169 |
|
<xsl:valu
e-of selec
t="key('ww
splits-fil
es-by-grou
pid-type',
concat($V
arProjectG
roup/@Grou
pID, ':',
$Parameter
SplitFileT
ype))[1]/@
path"/>
|
170 |
|
</xsl:for-
each>
|
|
170 |
|
</xsl:for-
each>
|
171 |
|
<
/xsl:varia
ble>
|
|
171 |
|
<
/xsl:varia
ble>
|
172 |
|
|
|
172 |
|
|
173 |
|
<
xsl:variab
le name="V
arCHMPath"
>
|
|
173 |
|
<
xsl:variab
le name="V
arCHMPath"
>
|
174 |
|
<xsl:for-e
ach select
="$VarSpli
ts[1]">
|
|
174 |
|
<xsl:for-e
ach select
="$VarSpli
ts[1]">
|
175 |
|
<xsl:vari
able name=
"VarAbsolu
teCHMPath"
select="k
ey('wwspli
ts-files-b
y-groupid-
type', con
cat($VarPr
ojectGroup
/@GroupID,
':', $Par
ameterCHMS
plitFileTy
pe))[1]/@p
ath"/>
|
|
175 |
|
<xsl:vari
able name=
"VarAbsolu
teCHMPath"
select="k
ey('wwspli
ts-files-b
y-groupid-
type', con
cat($VarPr
ojectGroup
/@GroupID,
':', $Par
ameterCHMS
plitFileTy
pe))[1]/@p
ath"/>
|
176 |
|
<xsl:valu
e-of selec
t="wwfiles
ystem:GetR
elativeTo(
$VarAbsolu
teCHMPath,
$VarPath)
" />
|
|
176 |
|
<xsl:valu
e-of selec
t="wwfiles
ystem:GetR
elativeTo(
$VarAbsolu
teCHMPath,
$VarPath)
" />
|
177 |
|
</xsl:for-
each>
|
|
177 |
|
</xsl:for-
each>
|
178 |
|
<
/xsl:varia
ble>
|
|
178 |
|
<
/xsl:varia
ble>
|
179 |
|
|
|
179 |
|
|
180 |
|
<
!-- Check
to see if
we have a
TOC -->
|
|
180 |
|
<
!-- Check
to see if
we have a
TOC -->
|
181 |
|
<
!--
-->
|
|
181 |
|
<
!--
-->
|
182 |
|
<
xsl:variab
le name="V
arTOCPath"
>
|
|
182 |
|
<
xsl:variab
le name="V
arTOCPath"
>
|
183 |
|
<xsl:if te
st="string
-length($V
arTOCByTyp
e/@path) &
gt; 0">
|
|
183 |
|
<xsl:if te
st="string
-length($V
arTOCByTyp
e/@path) &
gt; 0">
|
184 |
|
<xsl:valu
e-of selec
t="wwfiles
ystem:GetR
elativeTo(
$VarTOCByT
ype/@path,
$VarPath)
" />
|
|
184 |
|
<xsl:valu
e-of selec
t="wwfiles
ystem:GetR
elativeTo(
$VarTOCByT
ype/@path,
$VarPath)
" />
|
185 |
|
</xsl:if>
|
|
185 |
|
</xsl:if>
|
186 |
|
<
/xsl:varia
ble>
|
|
186 |
|
<
/xsl:varia
ble>
|
187 |
|
|
|
187 |
|
|
188 |
|
<
!-- Check
to see if
we have an
Index -->
|
|
188 |
|
<
!-- Check
to see if
we have an
Index -->
|
189 |
|
<
!--
-->
|
|
189 |
|
<
!--
-->
|
190 |
|
<
xsl:variab
le name="V
arIndexPat
h">
|
|
190 |
|
<
xsl:variab
le name="V
arIndexPat
h">
|
191 |
|
<xsl:if te
st="string
-length($V
arIndexByT
ype/@path)
> 0">
|
|
191 |
|
<xsl:if te
st="string
-length($V
arIndexByT
ype/@path)
> 0">
|
192 |
|
<xsl:valu
e-of selec
t="wwfiles
ystem:GetR
elativeTo(
$VarIndexB
yType/@pat
h, $VarPat
h)" />
|
|
192 |
|
<xsl:valu
e-of selec
t="wwfiles
ystem:GetR
elativeTo(
$VarIndexB
yType/@pat
h, $VarPat
h)" />
|
193 |
|
</xsl:if>
|
|
193 |
|
</xsl:if>
|
194 |
|
<
/xsl:varia
ble>
|
|
194 |
|
<
/xsl:varia
ble>
|
195 |
|
|
|
195 |
|
|
196 |
|
<
!-- Map fi
le -->
|
|
196 |
|
<
!-- Map fi
le -->
|
197 |
|
<
!--
-->
|
|
197 |
|
<
!--
-->
|
198 |
|
<
xsl:variab
le name="V
arMapPath"
>
|
|
198 |
|
<
xsl:variab
le name="V
arMapPath"
>
|
199 |
|
<xsl:varia
ble name="
VarCustomM
apFile" se
lect="wwpr
ojext:GetF
ormatSetti
ng('htmlhe
lp-custom-
map-file')
" />
|
|
199 |
|
<xsl:varia
ble name="
VarCustomM
apFile" se
lect="wwpr
ojext:GetF
ormatSetti
ng('htmlhe
lp-custom-
map-file')
" />
|
200 |
|
|
|
200 |
|
|
201 |
|
<xsl:choos
e>
|
|
201 |
|
<xsl:choos
e>
|
202 |
|
<xsl:when
test="str
ing-length
($VarCusto
mMapFile)
> 0">
|
|
202 |
|
<xsl:when
test="str
ing-length
($VarCusto
mMapFile)
> 0">
|
203 |
|
<xsl:var
iable name
="VarTempM
apPath">
|
|
203 |
|
<xsl:var
iable name
="VarTempM
apPath">
|
204 |
|
<xsl:ca
ll-templat
e name="UR
I-ResolveP
rojectFile
URI">
|
|
204 |
|
<xsl:ca
ll-templat
e name="UR
I-ResolveP
rojectFile
URI">
|
205 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Var
Path" />
|
|
205 |
|
<xsl:w
ith-param
name="Para
mFromAbsol
uteURI" se
lect="$Var
Path" />
|
206 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Va
rSplits" /
>
|
|
206 |
|
<xsl:w
ith-param
name="Para
mSplits" s
elect="$Va
rSplits" /
>
|
207 |
|
<xsl:w
ith-param
name="Para
mURI" sele
ct="$VarCu
stomMapFil
e" />
|
|
207 |
|
<xsl:w
ith-param
name="Para
mURI" sele
ct="$VarCu
stomMapFil
e" />
|
208 |
|
</xsl:c
all-templa
te>
|
|
208 |
|
</xsl:c
all-templa
te>
|
209 |
|
</xsl:va
riable>
|
|
209 |
|
</xsl:va
riable>
|
210 |
|
<xsl:val
ue-of sele
ct="wwuri:
Unescape($
VarTempMap
Path)" />
|
|
210 |
|
<xsl:val
ue-of sele
ct="wwuri:
Unescape($
VarTempMap
Path)" />
|
211 |
|
</xsl:whe
n>
|
|
211 |
|
</xsl:whe
n>
|
212 |
|
|
|
212 |
|
|
213 |
|
<xsl:othe
rwise>
|
|
213 |
|
<xsl:othe
rwise>
|
214 |
|
<xsl:var
iable name
="VarAbsol
uteMapPath
">
|
|
214 |
|
<xsl:var
iable name
="VarAbsol
uteMapPath
">
|
215 |
|
<xsl:fo
r-each sel
ect="$VarS
plits[1]">
|
|
215 |
|
<xsl:fo
r-each sel
ect="$VarS
plits[1]">
|
216 |
|
<xsl:v
alue-of se
lect="key(
'wwsplits-
files-by-g
roupid-typ
e', concat
($VarProje
ctGroup/@G
roupID, ':
', $Parame
terMapSpli
tFileType)
)[1]/@path
"/>
|
|
216 |
|
<xsl:v
alue-of se
lect="key(
'wwsplits-
files-by-g
roupid-typ
e', concat
($VarProje
ctGroup/@G
roupID, ':
', $Parame
terMapSpli
tFileType)
)[1]/@path
"/>
|
217 |
|
</xsl:f
or-each>
|
|
217 |
|
</xsl:f
or-each>
|
218 |
|
</xsl:va
riable>
|
|
218 |
|
</xsl:va
riable>
|
219 |
|
|
|
219 |
|
|
220 |
|
<xsl:val
ue-of sele
ct="wwfile
system:Get
RelativeTo
($VarAbsol
uteMapPath
, $VarPath
)" />
|
|
220 |
|
<xsl:val
ue-of sele
ct="wwfile
system:Get
RelativeTo
($VarAbsol
uteMapPath
, $VarPath
)" />
|
221 |
|
</xsl:oth
erwise>
|
|
221 |
|
</xsl:oth
erwise>
|
222 |
|
</xsl:choo
se>
|
|
222 |
|
</xsl:choo
se>
|
223 |
|
<
/xsl:varia
ble>
|
|
223 |
|
<
/xsl:varia
ble>
|
224 |
|
|
|
224 |
|
|
225 |
|
<
!-- Title
-->
|
|
225 |
|
<
!-- Title
-->
|
226 |
|
<
!--
-->
|
|
226 |
|
<
!--
-->
|
227 |
|
<
xsl:variab
le name="V
arTitle">
|
|
227 |
|
<
xsl:variab
le name="V
arTitle">
|
228 |
|
<xsl:varia
ble name="
VarMergeGr
oupTitle">
|
|
228 |
|
<xsl:varia
ble name="
VarMergeGr
oupTitle">
|
229 |
|
<xsl:for-
each selec
t="$Global
Project[1]
">
|
|
229 |
|
<xsl:for-
each selec
t="$Global
Project[1]
">
|
230 |
|
<xsl:var
iable name
="VarForma
tConfigura
tion" sele
ct="key('w
wproject-f
ormatconfi
gurations-
by-targeti
d', wwproj
ext:GetFor
matID())[1
]" />
|
|
230 |
|
<xsl:var
iable name
="VarForma
tConfigura
tion" sele
ct="key('w
wproject-f
ormatconfi
gurations-
by-targeti
d', wwproj
ext:GetFor
matID())[1
]" />
|
231 |
|
<xsl:var
iable name
="VarMerge
Settings"
select="$V
arFormatCo
nfiguratio
n/wwprojec
t:MergeSet
tings" />
|
|
231 |
|
<xsl:var
iable name
="VarMerge
Settings"
select="$V
arFormatCo
nfiguratio
n/wwprojec
t:MergeSet
tings" />
|
232 |
|
|
|
232 |
|
|
233 |
|
<xsl:var
iable name
="VarMerge
Group" sel
ect="$VarM
ergeSettin
gs//wwproj
ect:MergeG
roup[@Grou
pID = $Var
ProjectGro
up/@GroupI
D]" />
|
|
233 |
|
<xsl:var
iable name
="VarMerge
Group" sel
ect="$VarM
ergeSettin
gs//wwproj
ect:MergeG
roup[@Grou
pID = $Var
ProjectGro
up/@GroupI
D]" />
|
234 |
|
<xsl:if
test="coun
t($VarMerg
eGroup) &g
t; 0">
|
|
234 |
|
<xsl:if
test="coun
t($VarMerg
eGroup) &g
t; 0">
|
235 |
|
<xsl:va
lue-of sel
ect="$VarM
ergeGroup/
@Title" />
|
|
235 |
|
<xsl:va
lue-of sel
ect="$VarM
ergeGroup/
@Title" />
|
236 |
|
</xsl:if
>
|
|
236 |
|
</xsl:if
>
|
237 |
|
</xsl:for
-each>
|
|
237 |
|
</xsl:for
-each>
|
238 |
|
</xsl:vari
able>
|
|
238 |
|
</xsl:vari
able>
|
239 |
|
|
|
239 |
|
|
240 |
|
<xsl:choos
e>
|
|
240 |
|
<xsl:choos
e>
|
241 |
|
<!-- Merg
e context
-->
|
|
241 |
|
<!-- Merg
e context
-->
|
242 |
|
<!--
-->
|
|
242 |
|
<!--
-->
|
243 |
|
<xsl:when
test="str
ing-length
($VarMerge
GroupTitle
)">
|
|
243 |
|
<xsl:when
test="str
ing-length
($VarMerge
GroupTitle
)">
|
244 |
|
<xsl:val
ue-of sele
ct="$VarMe
rgeGroupTi
tle" />
|
|
244 |
|
<xsl:val
ue-of sele
ct="$VarMe
rgeGroupTi
tle" />
|
245 |
|
</xsl:whe
n>
|
|
245 |
|
</xsl:whe
n>
|
246 |
|
|
|
246 |
|
|
247 |
|
<!-- Proj
ect group
name -->
|
|
247 |
|
<!-- Proj
ect group
name -->
|
248 |
|
<!--
-->
|
|
248 |
|
<!--
-->
|
249 |
|
<xsl:othe
rwise>
|
|
249 |
|
<xsl:othe
rwise>
|
250 |
|
<xsl:val
ue-of sele
ct="$VarPr
ojectGroup
/@Name" />
|
|
250 |
|
<xsl:val
ue-of sele
ct="$VarPr
ojectGroup
/@Name" />
|
251 |
|
</xsl:oth
erwise>
|
|
251 |
|
</xsl:oth
erwise>
|
252 |
|
</xsl:choo
se>
|
|
252 |
|
</xsl:choo
se>
|
253 |
|
<
/xsl:varia
ble>
|
|
253 |
|
<
/xsl:varia
ble>
|
254 |
|
|
|
254 |
|
|
255 |
|
<
!-- Call t
emplate --
>
|
|
255 |
|
<
!-- Call t
emplate --
>
|
256 |
|
<
!--
--
>
|
|
256 |
|
<
!--
--
>
|
257 |
|
<
xsl:variab
le name="V
arUpToDate
" select="
wwfilesext
:UpToDate(
$VarPath,
$GlobalPro
ject/wwpro
ject:Proje
ct/@Change
ID, $VarPr
ojectGroup
/@GroupID,
'', $Glob
alActionCh
ecksum)" /
>
|
|
257 |
|
<
xsl:variab
le name="V
arUpToDate
" select="
wwfilesext
:UpToDate(
$VarPath,
$GlobalPro
ject/wwpro
ject:Proje
ct/@Change
ID, $VarPr
ojectGroup
/@GroupID,
'', $Glob
alActionCh
ecksum)" /
>
|
258 |
|
<
xsl:if tes
t="not($Va
rUpToDate)
">
|
|
258 |
|
<
xsl:if tes
t="not($Va
rUpToDate)
">
|
259 |
|
<xsl:call-
template n
ame="HtmlH
elpProject
">
|
|
259 |
|
<xsl:call-
template n
ame="HtmlH
elpProject
">
|
260 |
|
<xsl:with
-param nam
e="ParamLi
nksFiles"
select="$V
arLinksFil
es" />
|
|
260 |
|
<xsl:with
-param nam
e="ParamLi
nksFiles"
select="$V
arLinksFil
es" />
|
261 |
|
<xsl:with
-param nam
e="ParamDe
faultTopic
" select="
wwfilesyst
em:GetRela
tiveTo($Va
rSplits/ww
splits:Spl
its/wwspli
ts:Split[1
]/@path, $
VarPath)"
/>
|
|
261 |
|
<xsl:with
-param nam
e="ParamDe
faultTopic
" select="
wwfilesyst
em:GetRela
tiveTo($Va
rSplits/ww
splits:Spl
its/wwspli
ts:Split[1
]/@path, $
VarPath)"
/>
|
262 |
|
<xsl:with
-param nam
e="ParamPa
geOutput"
select="$V
arPageOutp
utByType"
/>
|
|
262 |
|
<xsl:with
-param nam
e="ParamPa
geOutput"
select="$V
arPageOutp
utByType"
/>
|
263 |
|
<xsl:with
-param nam
e="ParamIm
ageOutput"
select="$
VarImageOu
tputByType
" />
|
|
263 |
|
<xsl:with
-param nam
e="ParamIm
ageOutput"
select="$
VarImageOu
tputByType
" />
|
264 |
|
<xsl:with
-param nam
e="ParamOu
tPath" sel
ect="$VarP
ath" />
|
|
264 |
|
<xsl:with
-param nam
e="ParamOu
tPath" sel
ect="$VarP
ath" />
|
265 |
|
<xsl:with
-param nam
e="ParamLC
ID" select
="$GlobalL
ocale/wwlo
cale:Local
e/@lcid" /
>
|
|
265 |
|
<xsl:with
-param nam
e="ParamLC
ID" select
="$GlobalL
ocale/wwlo
cale:Local
e/@lcid" /
>
|
266 |
|
<xsl:with
-param nam
e="ParamTi
tle" selec
t="$VarTit
le" />
|
|
266 |
|
<xsl:with
-param nam
e="ParamTi
tle" selec
t="$VarTit
le" />
|
267 |
|
<xsl:with
-param nam
e="ParamTO
CPath" sel
ect="$VarT
OCPath" />
|
|
267 |
|
<xsl:with
-param nam
e="ParamTO
CPath" sel
ect="$VarT
OCPath" />
|
268 |
|
<xsl:with
-param nam
e="ParamIn
dexPath" s
elect="$Va
rIndexPath
" />
|
|
268 |
|
<xsl:with
-param nam
e="ParamIn
dexPath" s
elect="$Va
rIndexPath
" />
|
269 |
|
<xsl:with
-param nam
e="ParamCH
MPath" sel
ect="$VarC
HMPath" />
|
|
269 |
|
<xsl:with
-param nam
e="ParamCH
MPath" sel
ect="$VarC
HMPath" />
|
270 |
|
<xsl:with
-param nam
e="ParamMa
pPath" sel
ect="$VarM
apPath" />
|
|
270 |
|
<xsl:with
-param nam
e="ParamMa
pPath" sel
ect="$VarM
apPath" />
|
271 |
|
<xsl:with
-param nam
e="ParamFi
lesDocumen
tNodes" se
lect="$Var
FilesDocum
entNodes"
/>
|
|
271 |
|
<xsl:with
-param nam
e="ParamFi
lesDocumen
tNodes" se
lect="$Var
FilesDocum
entNodes"
/>
|
272 |
|
<xsl:with
-param nam
e="ParamCo
pyFiles" s
elect="$Va
rCopyFiles
" />
|
|
272 |
|
<xsl:with
-param nam
e="ParamCo
pyFiles" s
elect="$Va
rCopyFiles
" />
|
273 |
|
<xsl:with
-param nam
e="ParamBa
ggageFiles
" select="
$VarBaggag
eFiles" />
|
|
273 |
|
<xsl:with
-param nam
e="ParamBa
ggageFiles
" select="
$VarBaggag
eFiles" />
|
274 |
|
<xsl:with
-param nam
e="ParamWh
atIsThisTe
xtPath" se
lect="$Var
WhatIsThis
TextByType
/@path" />
|
|
274 |
|
<xsl:with
-param nam
e="ParamWh
atIsThisTe
xtPath" se
lect="$Var
WhatIsThis
TextByType
/@path" />
|
275 |
|
<xsl:with
-param nam
e="ParamWh
atIsThisHe
aderPath"
select="$V
arWhatIsTh
isHeaderBy
Type/@path
" />
|
|
275 |
|
<xsl:with
-param nam
e="ParamWh
atIsThisHe
aderPath"
select="$V
arWhatIsTh
isHeaderBy
Type/@path
" />
|
276 |
|
<xsl:with
-param nam
e="ParamMe
rgeFiles"
select="$G
lobalFiles
/wwmode:Em
ptySelecti
on" />
|
|
276 |
|
<xsl:with
-param nam
e="ParamMe
rgeFiles"
select="$G
lobalFiles
/wwmode:Em
ptySelecti
on" />
|
277 |
|
</xsl:call
-template>
|
|
277 |
|
</xsl:call
-template>
|
278 |
|
<
/xsl:if>
|
|
278 |
|
<
/xsl:if>
|
279 |
|
|
|
279 |
|
|
280 |
|
<
wwfiles:Fi
le path="{
$VarPath}"
type="{$P
arameterTy
pe}" check
sum="{wwfi
lesystem:G
etChecksum
($VarPath)
}" project
checksum="
{$GlobalPr
oject/wwpr
oject:Proj
ect/@Chang
eID}" grou
pID="{$Var
ProjectGro
up/@GroupI
D}" docume
ntID="" ac
tionchecks
um="{$Glob
alActionCh
ecksum}" c
ategory="{
$Parameter
Category}"
use="{$Pa
rameterUse
}" deploy=
"{$Paramet
erDeploy}"
>
|
|
280 |
|
<
wwfiles:Fi
le path="{
$VarPath}"
type="{$P
arameterTy
pe}" check
sum="{wwfi
lesystem:G
etChecksum
($VarPath)
}" project
checksum="
{$GlobalPr
oject/wwpr
oject:Proj
ect/@Chang
eID}" grou
pID="{$Var
ProjectGro
up/@GroupI
D}" docume
ntID="" ac
tionchecks
um="{$Glob
alActionCh
ecksum}" c
ategory="{
$Parameter
Category}"
use="{$Pa
rameterUse
}" deploy=
"{$Paramet
erDeploy}"
>
|
281 |
|
<wwfiles:D
epends pat
h="{$Globa
lLocalePat
h}" checks
um="{wwfil
esystem:Ge
tChecksum(
$GlobalLoc
alePath)}"
groupID="
" document
ID="" />
|
|
281 |
|
<wwfiles:D
epends pat
h="{$Globa
lLocalePat
h}" checks
um="{wwfil
esystem:Ge
tChecksum(
$GlobalLoc
alePath)}"
groupID="
" document
ID="" />
|
282 |
|
<xsl:if te
st="string
-length($V
arTOCByTyp
e/@path) &
gt; 0">
|
|
282 |
|
<xsl:if te
st="string
-length($V
arTOCByTyp
e/@path) &
gt; 0">
|
283 |
|
<wwfiles:
Depends pa
th="{$VarT
OCByType/@
path}" che
cksum="{$V
arTOCByTyp
e/@checksu
m}" groupI
D="{$VarPr
ojectGroup
/@GroupID}
" document
ID="" />
|
|
283 |
|
<wwfiles:
Depends pa
th="{$VarT
OCByType/@
path}" che
cksum="{$V
arTOCByTyp
e/@checksu
m}" groupI
D="{$VarPr
ojectGroup
/@GroupID}
" document
ID="" />
|
284 |
|
</xsl:if>
|
|
284 |
|
</xsl:if>
|
285 |
|
<xsl:if te
st="string
-length($V
arIndexByT
ype/@path)
> 0">
|
|
285 |
|
<xsl:if te
st="string
-length($V
arIndexByT
ype/@path)
> 0">
|
286 |
|
<wwfiles:
Depends pa
th="{$VarI
ndexByType
/@path}" c
hecksum="{
$VarIndexB
yType/@che
cksum}" gr
oupID="{$V
arProjectG
roup/@Grou
pID}" docu
mentID=""
/>
|
|
286 |
|
<wwfiles:
Depends pa
th="{$VarI
ndexByType
/@path}" c
hecksum="{
$VarIndexB
yType/@che
cksum}" gr
oupID="{$V
arProjectG
roup/@Grou
pID}" docu
mentID=""
/>
|
287 |
|
</xsl:if>
|
|
287 |
|
</xsl:if>
|
288 |
|
<xsl:for-e
ach select
="$VarPage
OutputByTy
pe">
|
|
288 |
|
<xsl:for-e
ach select
="$VarPage
OutputByTy
pe">
|
289 |
|
<wwfiles:
Depends pa
th="{./@pa
th}" check
sum="{./@c
hecksum}"
groupID="{
./@groupID
}" documen
tID="{./@d
ocumentID}
" />
|
|
289 |
|
<wwfiles:
Depends pa
th="{./@pa
th}" check
sum="{./@c
hecksum}"
groupID="{
./@groupID
}" documen
tID="{./@d
ocumentID}
" />
|
290 |
|
</xsl:for-
each>
|
|
290 |
|
</xsl:for-
each>
|
291 |
|
<xsl:for-e
ach select
="$VarCopy
Files">
|
|
291 |
|
<xsl:for-e
ach select
="$VarCopy
Files">
|
292 |
|
<wwfiles:
Depends pa
th="{./@pa
th}" check
sum="{./@c
hecksum}"
groupID="{
./@groupID
}" documen
tID="{./@d
ocumentID}
" />
|
|
292 |
|
<wwfiles:
Depends pa
th="{./@pa
th}" check
sum="{./@c
hecksum}"
groupID="{
./@groupID
}" documen
tID="{./@d
ocumentID}
" />
|
293 |
|
</xsl:for-
each>
|
|
293 |
|
</xsl:for-
each>
|
294 |
|
<wwfiles:D
epends pat
h="{$VarWh
atIsThisTe
xtByType/@
path}" che
cksum="{$V
arWhatIsTh
isTextByTy
pe/@checks
um}" group
ID="{$VarW
hatIsThisT
extByType/
@groupID}"
documentI
D="{$VarWh
atIsThisTe
xtByType/@
documentID
}" />
|
|
294 |
|
<wwfiles:D
epends pat
h="{$VarWh
atIsThisTe
xtByType/@
path}" che
cksum="{$V
arWhatIsTh
isTextByTy
pe/@checks
um}" group
ID="{$VarW
hatIsThisT
extByType/
@groupID}"
documentI
D="{$VarWh
atIsThisTe
xtByType/@
documentID
}" />
|
295 |
|
<wwfiles:D
epends pat
h="{$VarWh
atIsThisHe
aderByType
/@path}" c
hecksum="{
$VarWhatIs
ThisHeader
ByType/@ch
ecksum}" g
roupID="{$
VarWhatIsT
hisHeaderB
yType/@gro
upID}" doc
umentID="{
$VarWhatIs
ThisHeader
ByType/@do
cumentID}"
/>
|
|
295 |
|
<wwfiles:D
epends pat
h="{$VarWh
atIsThisHe
aderByType
/@path}" c
hecksum="{
$VarWhatIs
ThisHeader
ByType/@ch
ecksum}" g
roupID="{$
VarWhatIsT
hisHeaderB
yType/@gro
upID}" doc
umentID="{
$VarWhatIs
ThisHeader
ByType/@do
cumentID}"
/>
|
296 |
|
<
/wwfiles:F
ile>
|
|
296 |
|
<
/wwfiles:F
ile>
|
297 |
|
</
xsl:for-ea
ch>
|
|
297 |
|
</
xsl:for-ea
ch>
|
298 |
|
</x
sl:for-eac
h>
|
|
298 |
|
</x
sl:for-eac
h>
|
299 |
|
</xs
l:for-each
>
|
|
299 |
|
</xs
l:for-each
>
|
300 |
|
|
|
300 |
|
|
301 |
|
</xsl
:for-each>
|
|
301 |
|
</xsl
:for-each>
|
302 |
|
|
|
302 |
|
|
303 |
|
<xsl:
variable n
ame="VarPr
ogressGrou
pEnd" sele
ct="wwprog
ress:End()
" />
|
|
303 |
|
<xsl:
variable n
ame="VarPr
ogressGrou
pEnd" sele
ct="wwprog
ress:End()
" />
|
304 |
|
</xsl:
for-each>
|
|
304 |
|
</xsl:
for-each>
|
305 |
|
|
|
305 |
|
|
306 |
|
<!-- M
erge -->
|
|
306 |
|
<!-- M
erge -->
|
307 |
|
<!--
-->
|
|
307 |
|
<!--
-->
|
308 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
Start" sel
ect="wwpro
gress:Star
t(1)" />
|
|
308 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
Start" sel
ect="wwpro
gress:Star
t(1)" />
|
309 |
|
<xsl:i
f test="co
unt($VarPr
ojectGroup
s) > 1"
>
|
|
309 |
|
<xsl:i
f test="co
unt($VarPr
ojectGroup
s) > 1"
>
|
310 |
|
<!--
Merge path
-->
|
|
310 |
|
<!--
Merge path
-->
|
311 |
|
<!--
-->
|
|
311 |
|
<!--
-->
|
312 |
|
<xsl:
variable n
ame="VarMe
rgePath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
concat(wwp
rojext:Get
FormatName
(), '.hhp'
))" />
|
|
312 |
|
<xsl:
variable n
ame="VarMe
rgePath" s
elect="wwf
ilesystem:
Combine(ww
projext:Ge
tTargetOut
putDirecto
ryPath(),
concat(wwp
rojext:Get
FormatName
(), '.hhp'
))" />
|
313 |
|
|
|
313 |
|
|
314 |
|
<!--
Up-to-date
? -->
|
|
314 |
|
<!--
Up-to-date
? -->
|
315 |
|
<!--
-->
|
|
315 |
|
<!--
-->
|
316 |
|
<xsl:
variable n
ame="VarUp
ToDate" se
lect="wwfi
lesext:UpT
oDate($Var
MergePath,
$GlobalPr
oject/wwpr
oject:Proj
ect/@Chang
eID, '', '
', $Global
ActionChec
ksum)" />
|
|
316 |
|
<xsl:
variable n
ame="VarUp
ToDate" se
lect="wwfi
lesext:UpT
oDate($Var
MergePath,
$GlobalPr
oject/wwpr
oject:Proj
ect/@Chang
eID, '', '
', $Global
ActionChec
ksum)" />
|
317 |
|
<xsl:
if test="n
ot($VarUpT
oDate)">
|
|
317 |
|
<xsl:
if test="n
ot($VarUpT
oDate)">
|
318 |
|
<!--
Locate me
rge page f
ile -->
|
|
318 |
|
<!--
Locate me
rge page f
ile -->
|
319 |
|
<!--
-->
|
|
319 |
|
<!--
-->
|
320 |
|
<xsl
:variable
name="VarM
ergePageFi
le" select
="key('wwf
iles-files
-by-type',
$Paramete
rMergePage
Type)[1]"
/>
|
|
320 |
|
<xsl
:variable
name="VarM
ergePageFi
le" select
="key('wwf
iles-files
-by-type',
$Paramete
rMergePage
Type)[1]"
/>
|
321 |
|
|
|
321 |
|
|
322 |
|
<xsl
:for-each
select="$G
lobalProje
ct[1]">
|
|
322 |
|
<xsl
:for-each
select="$G
lobalProje
ct[1]">
|
323 |
|
<!-
- Merge se
ttings -->
|
|
323 |
|
<!-
- Merge se
ttings -->
|
324 |
|
<!-
-
-->
|
|
324 |
|
<!-
-
-->
|
325 |
|
<xs
l:variable
name="Var
FormatConf
iguration"
select="k
ey('wwproj
ect-format
configurat
ions-by-ta
rgetid', w
wprojext:G
etFormatID
())[1]" />
|
|
325 |
|
<xs
l:variable
name="Var
FormatConf
iguration"
select="k
ey('wwproj
ect-format
configurat
ions-by-ta
rgetid', w
wprojext:G
etFormatID
())[1]" />
|
326 |
|
<xs
l:variable
name="Var
MergeSetti
ngs" selec
t="$VarFor
matConfigu
ration/wwp
roject:Mer
geSettings
" />
|
|
326 |
|
<xs
l:variable
name="Var
MergeSetti
ngs" selec
t="$VarFor
matConfigu
ration/wwp
roject:Mer
geSettings
" />
|
327 |
|
|
|
327 |
|
|
328 |
|
<xs
l:variable
name="Var
MergeTitle
">
|
|
328 |
|
<xs
l:variable
name="Var
MergeTitle
">
|
329 |
|
<x
sl:choose>
|
|
329 |
|
<x
sl:choose>
|
330 |
|
<
xsl:when t
est="strin
g-length($
VarMergeSe
ttings/@Ti
tle) >
0">
|
|
330 |
|
<
xsl:when t
est="strin
g-length($
VarMergeSe
ttings/@Ti
tle) >
0">
|
331 |
|
<xsl:value
-of select
="$VarMerg
eSettings/
@Title" />
|
|
331 |
|
<xsl:value
-of select
="$VarMerg
eSettings/
@Title" />
|
332 |
|
<
/xsl:when>
|
|
332 |
|
<
/xsl:when>
|
333 |
|
|
|
333 |
|
|
334 |
|
<
xsl:otherw
ise>
|
|
334 |
|
<
xsl:otherw
ise>
|
335 |
|
<xsl:value
-of select
="wwprojex
t:GetForma
tName()" /
>
|
|
335 |
|
<xsl:value
-of select
="wwprojex
t:GetForma
tName()" /
>
|
336 |
|
<
/xsl:other
wise>
|
|
336 |
|
<
/xsl:other
wise>
|
337 |
|
</
xsl:choose
>
|
|
337 |
|
</
xsl:choose
>
|
338 |
|
</x
sl:variabl
e>
|
|
338 |
|
</x
sl:variabl
e>
|
339 |
|
|
|
339 |
|
|
340 |
|
<!-
- Locate f
irst merge
group -->
|
|
340 |
|
<!-
- Locate f
irst merge
group -->
|
341 |
|
<!-
-
-->
|
|
341 |
|
<!-
-
-->
|
342 |
|
<xs
l:variable
name="Var
FirstMerge
SettingsGr
oup" selec
t="$VarMer
geSettings
//wwprojec
t:MergeGro
up[1]" />
|
|
342 |
|
<xs
l:variable
name="Var
FirstMerge
SettingsGr
oup" selec
t="$VarMer
geSettings
//wwprojec
t:MergeGro
up[1]" />
|
343 |
|
<xs
l:variable
name="Var
FirstMerge
Group" sel
ect="key('
wwproject-
groups-by-
groupid',
$VarFirstM
ergeSettin
gsGroup/@G
roupID)" /
>
|
|
343 |
|
<xs
l:variable
name="Var
FirstMerge
Group" sel
ect="key('
wwproject-
groups-by-
groupid',
$VarFirstM
ergeSettin
gsGroup/@G
roupID)" /
>
|
344 |
|
<xs
l:variable
name="Var
FirstMerge
GroupOutpu
tDirectory
Path" sele
ct="wwfile
system:Com
bine(wwpro
jext:GetTa
rgetOutput
DirectoryP
ath(), $Va
rFirstMerg
eGroup/@Na
me, 'dummy
.component
')" />
|
|
344 |
|
<xs
l:variable
name="Var
FirstMerge
GroupOutpu
tDirectory
Path" sele
ct="wwfile
system:Com
bine(wwpro
jext:GetTa
rgetOutput
DirectoryP
ath(), $Va
rFirstMerg
eGroup/@Na
me, 'dummy
.component
')" />
|
345 |
|
|
|
345 |
|
|
346 |
|
<xs
l:for-each
select="$
GlobalProj
ectSplits[
1]">
|
|
346 |
|
<xs
l:for-each
select="$
GlobalProj
ectSplits[
1]">
|
347 |
|
<x
sl:variabl
e name="Va
rFirstMerg
eCHMSplit"
select="k
ey('wwspli
ts-files-b
y-groupid-
type', con
cat($VarFi
rstMergeGr
oup/@Group
ID, ':', $
ParameterC
HMSplitFil
eType))[1]
" />
|
|
347 |
|
<x
sl:variabl
e name="Va
rFirstMerg
eCHMSplit"
select="k
ey('wwspli
ts-files-b
y-groupid-
type', con
cat($VarFi
rstMergeGr
oup/@Group
ID, ':', $
ParameterC
HMSplitFil
eType))[1]
" />
|
348 |
|
<x
sl:variabl
e name="Va
rFirstMerg
ePageSplit
" select="
key('wwspl
its-splits
-by-groupi
d', $VarFi
rstMergeGr
oup/@Group
ID)[1]" />
|
|
348 |
|
<x
sl:variabl
e name="Va
rFirstMerg
ePageSplit
" select="
key('wwspl
its-splits
-by-groupi
d', $VarFi
rstMergeGr
oup/@Group
ID)[1]" />
|
349 |
|
<x
sl:variabl
e name="Va
rFirstMerg
eCHMRelati
vePath" se
lect="wwfi
lesystem:G
etFileName
($VarFirst
MergeCHMSp
lit/@path)
" />
|
|
349 |
|
<x
sl:variabl
e name="Va
rFirstMerg
eCHMRelati
vePath" se
lect="wwfi
lesystem:G
etFileName
($VarFirst
MergeCHMSp
lit/@path)
" />
|
350 |
|
<x
sl:variabl
e name="Va
rFirstMerg
ePageRelat
ivePath" s
elect="wwf
ilesystem:
GetRelativ
eTo($VarFi
rstMergePa
geSplit/@p
ath, $VarF
irstMergeG
roupOutput
DirectoryP
ath)" />
|
|
350 |
|
<x
sl:variabl
e name="Va
rFirstMerg
ePageRelat
ivePath" s
elect="wwf
ilesystem:
GetRelativ
eTo($VarFi
rstMergePa
geSplit/@p
ath, $VarF
irstMergeG
roupOutput
DirectoryP
ath)" />
|
351 |
|
|
|
351 |
|
|
352 |
|
<x
sl:variabl
e name="Va
rMergeFile
s" select=
"key('wwsp
lits-files
-by-type',
$Paramete
rCHMSplitF
ileType)"
/>
|
|
352 |
|
<x
sl:variabl
e name="Va
rMergeFile
s" select=
"key('wwsp
lits-files
-by-type',
$Paramete
rCHMSplitF
ileType)"
/>
|
353 |
|
|
|
353 |
|
|
354 |
|
<!
-- Check t
o see if w
e have a T
OC -->
|
|
354 |
|
<!
-- Check t
o see if w
e have a T
OC -->
|
355 |
|
<!
--
-->
|
|
355 |
|
<!
--
-->
|
356 |
|
<x
sl:variabl
e name="Va
rTOCPath">
|
|
356 |
|
<x
sl:variabl
e name="Va
rTOCPath">
|
357 |
|
<
xsl:if tes
t="wwproje
xt:GetForm
atSetting(
'toc-gener
ate', 'tru
e') = 'tru
e'">
|
|
357 |
|
<
xsl:if tes
t="wwproje
xt:GetForm
atSetting(
'toc-gener
ate', 'tru
e') = 'tru
e'">
|
358 |
|
<xsl:value
-of select
="concat(w
wprojext:G
etFormatNa
me(), '.hh
c')" />
|
|
358 |
|
<xsl:value
-of select
="concat(w
wprojext:G
etFormatNa
me(), '.hh
c')" />
|
359 |
|
<
/xsl:if>
|
|
359 |
|
<
/xsl:if>
|
360 |
|
</
xsl:variab
le>
|
|
360 |
|
</
xsl:variab
le>
|
361 |
|
|
|
361 |
|
|
362 |
|
<!
-- Check t
o see if w
e have an
Index -->
|
|
362 |
|
<!
-- Check t
o see if w
e have an
Index -->
|
363 |
|
<!
--
-->
|
|
363 |
|
<!
--
-->
|
364 |
|
<x
sl:variabl
e name="Va
rIndexPath
">
|
|
364 |
|
<x
sl:variabl
e name="Va
rIndexPath
">
|
365 |
|
<
xsl:if tes
t="wwproje
xt:GetForm
atSetting(
'index-gen
erate', 't
rue') = 't
rue'">
|
|
365 |
|
<
xsl:if tes
t="wwproje
xt:GetForm
atSetting(
'index-gen
erate', 't
rue') = 't
rue'">
|
366 |
|
<xsl:value
-of select
="concat(w
wprojext:G
etFormatNa
me(), '.hh
k')" />
|
|
366 |
|
<xsl:value
-of select
="concat(w
wprojext:G
etFormatNa
me(), '.hh
k')" />
|
367 |
|
<
/xsl:if>
|
|
367 |
|
<
/xsl:if>
|
368 |
|
</
xsl:variab
le>
|
|
368 |
|
</
xsl:variab
le>
|
369 |
|
|
|
369 |
|
|
370 |
|
<x
sl:call-te
mplate nam
e="HtmlHel
pProject">
|
|
370 |
|
<x
sl:call-te
mplate nam
e="HtmlHel
pProject">
|
371 |
|
<
xsl:with-p
aram name=
"ParamLink
sFiles" se
lect="$Glo
balFiles/w
wmode:Empt
ySelection
" />
|
|
371 |
|
<
xsl:with-p
aram name=
"ParamLink
sFiles" se
lect="$Glo
balFiles/w
wmode:Empt
ySelection
" />
|
372 |
|
<
xsl:with-p
aram name=
"ParamDefa
ultTopic"
select="co
ncat('ms-i
ts:', $Var
FirstMerge
CHMRelativ
ePath, '::
/', $VarFi
rstMergePa
geRelative
Path)" />
|
|
372 |
|
<
xsl:with-p
aram name=
"ParamDefa
ultTopic"
select="co
ncat('ms-i
ts:', $Var
FirstMerge
CHMRelativ
ePath, '::
/', $VarFi
rstMergePa
geRelative
Path)" />
|
373 |
|
<
xsl:with-p
aram name=
"ParamPage
Output" se
lect="$Var
MergePageF
ile" />
|
|
373 |
|
<
xsl:with-p
aram name=
"ParamPage
Output" se
lect="$Var
MergePageF
ile" />
|
374 |
|
<
xsl:with-p
aram name=
"ParamImag
eOutput" s
elect="$Gl
obalFiles/
wwmode:Emp
tySelectio
n" />
|
|
374 |
|
<
xsl:with-p
aram name=
"ParamImag
eOutput" s
elect="$Gl
obalFiles/
wwmode:Emp
tySelectio
n" />
|
375 |
|
<
xsl:with-p
aram name=
"ParamOutP
ath" selec
t="$VarMer
gePath" />
|
|
375 |
|
<
xsl:with-p
aram name=
"ParamOutP
ath" selec
t="$VarMer
gePath" />
|
376 |
|
<
xsl:with-p
aram name=
"ParamLCID
" select="
$GlobalLoc
ale/wwloca
le:Locale/
@lcid" />
|
|
376 |
|
<
xsl:with-p
aram name=
"ParamLCID
" select="
$GlobalLoc
ale/wwloca
le:Locale/
@lcid" />
|
377 |
|
<
xsl:with-p
aram name=
"ParamTitl
e" select=
"$VarMerge
Title" />
|
|
377 |
|
<
xsl:with-p
aram name=
"ParamTitl
e" select=
"$VarMerge
Title" />
|
378 |
|
<
xsl:with-p
aram name=
"ParamTOCP
ath" selec
t="$VarTOC
Path" />
|
|
378 |
|
<
xsl:with-p
aram name=
"ParamTOCP
ath" selec
t="$VarTOC
Path" />
|
379 |
|
<
xsl:with-p
aram name=
"ParamInde
xPath" sel
ect="$VarI
ndexPath"
/>
|
|
379 |
|
<
xsl:with-p
aram name=
"ParamInde
xPath" sel
ect="$VarI
ndexPath"
/>
|
380 |
|
<
xsl:with-p
aram name=
"ParamCHMP
ath" selec
t="concat(
wwprojext:
GetFormatN
ame(), '.c
hm')" />
|
|
380 |
|
<
xsl:with-p
aram name=
"ParamCHMP
ath" selec
t="concat(
wwprojext:
GetFormatN
ame(), '.c
hm')" />
|
381 |
|
<
xsl:with-p
aram name=
"ParamMapP
ath" selec
t="''" />
|
|
381 |
|
<
xsl:with-p
aram name=
"ParamMapP
ath" selec
t="''" />
|
382 |
|
<
xsl:with-p
aram name=
"ParamFile
sDocumentN
odes" sele
ct="$Globa
lFiles/wwm
ode:EmptyS
election"
/>
|
|
382 |
|
<
xsl:with-p
aram name=
"ParamFile
sDocumentN
odes" sele
ct="$Globa
lFiles/wwm
ode:EmptyS
election"
/>
|
383 |
|
<
xsl:with-p
aram name=
"ParamCopy
Files" sel
ect="$Glob
alFiles/ww
mode:Empty
Selection"
/>
|
|
383 |
|
<
xsl:with-p
aram name=
"ParamCopy
Files" sel
ect="$Glob
alFiles/ww
mode:Empty
Selection"
/>
|
384 |
|
<
xsl:with-p
aram name=
"ParamBagg
ageFiles"
select="$G
lobalFiles
/wwmode:Em
ptySelecti
on" />
|
|
384 |
|
<
xsl:with-p
aram name=
"ParamBagg
ageFiles"
select="$G
lobalFiles
/wwmode:Em
ptySelecti
on" />
|
385 |
|
<
xsl:with-p
aram name=
"ParamWhat
IsThisText
Path" sele
ct="''" />
|
|
385 |
|
<
xsl:with-p
aram name=
"ParamWhat
IsThisText
Path" sele
ct="''" />
|
386 |
|
<
xsl:with-p
aram name=
"ParamWhat
IsThisHead
erPath" se
lect="''"
/>
|
|
386 |
|
<
xsl:with-p
aram name=
"ParamWhat
IsThisHead
erPath" se
lect="''"
/>
|
387 |
|
<
xsl:with-p
aram name=
"ParamMerg
eFiles" se
lect="$Var
MergeFiles
" />
|
|
387 |
|
<
xsl:with-p
aram name=
"ParamMerg
eFiles" se
lect="$Var
MergeFiles
" />
|
388 |
|
</
xsl:call-t
emplate>
|
|
388 |
|
</
xsl:call-t
emplate>
|
389 |
|
</x
sl:for-eac
h>
|
|
389 |
|
</x
sl:for-eac
h>
|
390 |
|
</xs
l:for-each
>
|
|
390 |
|
</xs
l:for-each
>
|
391 |
|
</xsl
:if>
|
|
391 |
|
</xsl
:if>
|
392 |
|
|
|
392 |
|
|
393 |
|
<wwfi
les:File p
ath="{$Var
MergePath}
" type="{$
ParameterM
ergeType}"
checksum=
"{wwfilesy
stem:GetCh
ecksum($Va
rMergePath
)}" projec
tchecksum=
"{$GlobalP
roject/wwp
roject:Pro
ject/@Chan
geID}" gro
upID="" do
cumentID="
" actionch
ecksum="{$
GlobalActi
onChecksum
}" categor
y="{$Param
eterMergeC
ategory}"
use="{$Par
ameterMerg
eUse}" dep
loy="{$Par
ameterMerg
eDeploy}">
|
|
393 |
|
<wwfi
les:File p
ath="{$Var
MergePath}
" type="{$
ParameterM
ergeType}"
checksum=
"{wwfilesy
stem:GetCh
ecksum($Va
rMergePath
)}" projec
tchecksum=
"{$GlobalP
roject/wwp
roject:Pro
ject/@Chan
geID}" gro
upID="" do
cumentID="
" actionch
ecksum="{$
GlobalActi
onChecksum
}" categor
y="{$Param
eterMergeC
ategory}"
use="{$Par
ameterMerg
eUse}" dep
loy="{$Par
ameterMerg
eDeploy}">
|
394 |
|
<wwf
iles:Depen
ds path="{
$GlobalLoc
alePath}"
checksum="
{wwfilesys
tem:GetChe
cksum($Glo
balLocaleP
ath)}" gro
upID="" do
cumentID="
" />
|
|
394 |
|
<wwf
iles:Depen
ds path="{
$GlobalLoc
alePath}"
checksum="
{wwfilesys
tem:GetChe
cksum($Glo
balLocaleP
ath)}" gro
upID="" do
cumentID="
" />
|
395 |
|
</wwf
iles:File>
|
|
395 |
|
</wwf
iles:File>
|
396 |
|
</xsl:
if>
|
|
396 |
|
</xsl:
if>
|
397 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
End" selec
t="wwprogr
ess:End()"
/>
|
|
397 |
|
<xsl:v
ariable na
me="VarPro
gressMerge
End" selec
t="wwprogr
ess:End()"
/>
|
398 |
|
|
|
398 |
|
|
399 |
|
<xsl:v
ariable na
me="VarPro
gressGroup
sAndMergeE
nd" select
="wwprogre
ss:End()"
/>
|
|
399 |
|
<xsl:v
ariable na
me="VarPro
gressGroup
sAndMergeE
nd" select
="wwprogre
ss:End()"
/>
|
400 |
|
</xsl:f
or-each>
|
|
400 |
|
</xsl:f
or-each>
|
401 |
|
</wwfile
s:Files>
|
|
401 |
|
</wwfile
s:Files>
|
402 |
|
</xsl:tem
plate>
|
|
402 |
|
</xsl:tem
plate>
|
403 |
|
|
|
403 |
|
|
404 |
|
|
|
404 |
|
|
405 |
|
<xsl:temp
late name=
"HtmlHelpP
roject">
|
|
405 |
|
<xsl:temp
late name=
"HtmlHelpP
roject">
|
406 |
|
<xsl:par
am name="P
aramLinksF
iles" />
|
|
406 |
|
<xsl:par
am name="P
aramLinksF
iles" />
|
407 |
|
<xsl:par
am name="P
aramDefaul
tTopic" />
|
|
407 |
|
<xsl:par
am name="P
aramDefaul
tTopic" />
|
408 |
|
<xsl:par
am name="P
aramPageOu
tput" />
|
|
408 |
|
<xsl:par
am name="P
aramPageOu
tput" />
|
409 |
|
<xsl:par
am name="P
aramImageO
utput" />
|
|
409 |
|
<xsl:par
am name="P
aramImageO
utput" />
|
410 |
|
<xsl:par
am name="P
aramOutPat
h" />
|
|
410 |
|
<xsl:par
am name="P
aramOutPat
h" />
|
411 |
|
<xsl:par
am name="P
aramLCID"
/>
|
|
411 |
|
<xsl:par
am name="P
aramLCID"
/>
|
412 |
|
<xsl:par
am name="P
aramTitle"
/>
|
|
412 |
|
<xsl:par
am name="P
aramTitle"
/>
|
413 |
|
<xsl:par
am name="P
aramTOCPat
h" />
|
|
413 |
|
<xsl:par
am name="P
aramTOCPat
h" />
|
414 |
|
<xsl:par
am name="P
aramIndexP
ath" />
|
|
414 |
|
<xsl:par
am name="P
aramIndexP
ath" />
|
415 |
|
<xsl:par
am name="P
aramCHMPat
h" />
|
|
415 |
|
<xsl:par
am name="P
aramCHMPat
h" />
|
416 |
|
<xsl:par
am name="P
aramMapPat
h" />
|
|
416 |
|
<xsl:par
am name="P
aramMapPat
h" />
|
417 |
|
<xsl:par
am name="P
aramFilesD
ocumentNod
es" />
|
|
417 |
|
<xsl:par
am name="P
aramFilesD
ocumentNod
es" />
|
418 |
|
<xsl:par
am name="P
aramCopyFi
les" />
|
|
418 |
|
<xsl:par
am name="P
aramCopyFi
les" />
|
419 |
|
<xsl:par
am name="P
aramBaggag
eFiles" />
|
|
419 |
|
<xsl:par
am name="P
aramBaggag
eFiles" />
|
420 |
|
<xsl:par
am name="P
aramWhatIs
ThisTextPa
th" />
|
|
420 |
|
<xsl:par
am name="P
aramWhatIs
ThisTextPa
th" />
|
421 |
|
<xsl:par
am name="P
aramWhatIs
ThisHeader
Path" />
|
|
421 |
|
<xsl:par
am name="P
aramWhatIs
ThisHeader
Path" />
|
422 |
|
<xsl:par
am name="P
aramMergeF
iles" />
|
|
422 |
|
<xsl:par
am name="P
aramMergeF
iles" />
|
423 |
|
|
|
423 |
|
|
424 |
|
<xsl:var
iable name
="VarRepla
cementsAsX
ML">
|
|
424 |
|
<xsl:var
iable name
="VarRepla
cementsAsX
ML">
|
425 |
|
<!-- De
fault topi
c -->
|
|
425 |
|
<!-- De
fault topi
c -->
|
426 |
|
<!--
-->
|
|
426 |
|
<!--
-->
|
427 |
|
<xsl:va
riable nam
e="VarDefa
ultTopic"
select="$P
aramDefaul
tTopic" />
|
|
427 |
|
<xsl:va
riable nam
e="VarDefa
ultTopic"
select="$P
aramDefaul
tTopic" />
|
428 |
|
|
|
428 |
|
|
429 |
|
<!-- Ho
me page --
>
|
|
429 |
|
<!-- Ho
me page --
>
|
430 |
|
<!--
--
>
|
|
430 |
|
<!--
--
>
|
431 |
|
<xsl:va
riable nam
e="VarHome
Page" sele
ct="$Param
DefaultTop
ic" />
|
|
431 |
|
<xsl:va
riable nam
e="VarHome
Page" sele
ct="$Param
DefaultTop
ic" />
|
432 |
|
|
|
432 |
|
|
433 |
|
<!-- Ge
nerate bin
ary TOC --
>
|
|
433 |
|
<!-- Ge
nerate bin
ary TOC --
>
|
434 |
|
<!--
-->
|
|
434 |
|
<!--
-->
|
435 |
|
<xsl:va
riable nam
e="VarGene
rateBinary
TOC">
|
|
435 |
|
<xsl:va
riable nam
e="VarGene
rateBinary
TOC">
|
436 |
|
<xsl:v
ariable na
me="VarGen
erateBinar
yTOCHint"
select="ww
projext:Ge
tFormatSet
ting('html
help-binar
y-toc', 'f
alse')" />
|
|
436 |
|
<xsl:v
ariable na
me="VarGen
erateBinar
yTOCHint"
select="ww
projext:Ge
tFormatSet
ting('html
help-binar
y-toc', 'f
alse')" />
|
437 |
|
<xsl:c
hoose>
|
|
437 |
|
<xsl:c
hoose>
|
438 |
|
<xsl:
when test=
"$VarGener
ateBinaryT
OCHint = '
true'">
|
|
438 |
|
<xsl:
when test=
"$VarGener
ateBinaryT
OCHint = '
true'">
|
439 |
|
<xsl
:value-of
select="'Y
es'" />
|
|
439 |
|
<xsl
:value-of
select="'Y
es'" />
|
440 |
|
</xsl
:when>
|
|
440 |
|
</xsl
:when>
|
441 |
|
|
|
441 |
|
|
442 |
|
<xsl:
otherwise>
|
|
442 |
|
<xsl:
otherwise>
|
443 |
|
<xsl
:value-of
select="'N
o'" />
|
|
443 |
|
<xsl
:value-of
select="'N
o'" />
|
444 |
|
</xsl
:otherwise
>
|
|
444 |
|
</xsl
:otherwise
>
|
445 |
|
</xsl:
choose>
|
|
445 |
|
</xsl:
choose>
|
446 |
|
</xsl:v
ariable>
|
|
446 |
|
</xsl:v
ariable>
|
447 |
|
|
|
447 |
|
|
448 |
|
<!-- Ge
nerate bin
ary index
-->
|
|
448 |
|
<!-- Ge
nerate bin
ary index
-->
|
449 |
|
<!--
-->
|
|
449 |
|
<!--
-->
|
450 |
|
<xsl:va
riable nam
e="VarGene
rateBinary
Index">
|
|
450 |
|
<xsl:va
riable nam
e="VarGene
rateBinary
Index">
|
451 |
|
<xsl:v
ariable na
me="VarGen
erateBinar
yIndexHint
" select="
wwprojext:
GetFormatS
etting('ht
mlhelp-bin
ary-index'
, 'false')
" />
|
|
451 |
|
<xsl:v
ariable na
me="VarGen
erateBinar
yIndexHint
" select="
wwprojext:
GetFormatS
etting('ht
mlhelp-bin
ary-index'
, 'false')
" />
|
452 |
|
<xsl:c
hoose>
|
|
452 |
|
<xsl:c
hoose>
|
453 |
|
<!--
Merged hel
p sets mus
t use bina
ry indices
-->
|
|
453 |
|
<!--
Merged hel
p sets mus
t use bina
ry indices
-->
|
454 |
|
<!--
-->
|
|
454 |
|
<!--
-->
|
455 |
|
<xsl:
when test=
"count($Gl
obalProjec
t/wwprojec
t:Project/
wwproject:
Groups/wwp
roject:Gro
up) > 1
">
|
|
455 |
|
<xsl:
when test=
"count($Gl
obalProjec
t/wwprojec
t:Project/
wwproject:
Groups/wwp
roject:Gro
up) > 1
">
|
456 |
|
<xsl
:value-of
select="'Y
es'" />
|
|
456 |
|
<xsl
:value-of
select="'Y
es'" />
|
457 |
|
</xsl
:when>
|
|
457 |
|
</xsl
:when>
|
458 |
|
|
|
458 |
|
|
459 |
|
<xsl:
when test=
"$VarGener
ateBinaryI
ndexHint =
'true'">
|
|
459 |
|
<xsl:
when test=
"$VarGener
ateBinaryI
ndexHint =
'true'">
|
460 |
|
<xsl
:value-of
select="'Y
es'" />
|
|
460 |
|
<xsl
:value-of
select="'Y
es'" />
|
461 |
|
</xsl
:when>
|
|
461 |
|
</xsl
:when>
|
462 |
|
|
|
462 |
|
|
463 |
|
<xsl:
otherwise>
|
|
463 |
|
<xsl:
otherwise>
|
464 |
|
<xsl
:value-of
select="'N
o'" />
|
|
464 |
|
<xsl
:value-of
select="'N
o'" />
|
465 |
|
</xsl
:otherwise
>
|
|
465 |
|
</xsl
:otherwise
>
|
466 |
|
</xsl:
choose>
|
|
466 |
|
</xsl:
choose>
|
467 |
|
</xsl:v
ariable>
|
|
467 |
|
</xsl:v
ariable>
|
468 |
|
|
|
468 |
|
|
469 |
|
<!-- De
fine outpu
t files --
>
|
|
469 |
|
<!-- De
fine outpu
t files --
>
|
470 |
|
<!--
--
>
|
|
470 |
|
<!--
--
>
|
471 |
|
<xsl:va
riable nam
e="VarFile
s">
|
|
471 |
|
<xsl:va
riable nam
e="VarFile
s">
|
472 |
|
<!-- I
terate out
put html f
iles -->
|
|
472 |
|
<!-- I
terate out
put html f
iles -->
|
473 |
|
<!--
-->
|
|
473 |
|
<!--
-->
|
474 |
|
<xsl:f
or-each se
lect="$Par
amPageOutp
ut">
|
|
474 |
|
<xsl:f
or-each se
lect="$Par
amPageOutp
ut">
|
475 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
|
475 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
476 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
|
476 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
477 |
|
</xsl:
for-each>
|
|
477 |
|
</xsl:
for-each>
|
478 |
|
|
|
478 |
|
|
479 |
|
<!-- I
terate out
put images
-->
|
|
479 |
|
<!-- I
terate out
put images
-->
|
480 |
|
<!--
-->
|
|
480 |
|
<!--
-->
|
481 |
|
<xsl:f
or-each se
lect="$Par
amImageOut
put">
|
|
481 |
|
<xsl:f
or-each se
lect="$Par
amImageOut
put">
|
482 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
|
482 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
483 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
|
483 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
484 |
|
</xsl:
for-each>
|
|
484 |
|
</xsl:
for-each>
|
485 |
|
|
|
485 |
|
|
486 |
|
<!-- I
terate cop
y files --
>
|
|
486 |
|
<!-- I
terate cop
y files --
>
|
487 |
|
<!--
--
>
|
|
487 |
|
<!--
--
>
|
488 |
|
<xsl:f
or-each se
lect="$Par
amCopyFile
s">
|
|
488 |
|
<xsl:f
or-each se
lect="$Par
amCopyFile
s">
|
489 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
|
489 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
490 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
|
490 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
491 |
|
</xsl:
for-each>
|
|
491 |
|
</xsl:
for-each>
|
492 |
|
|
|
492 |
|
|
493 |
|
<!-- I
terate bag
gage files
-->
|
|
493 |
|
<!-- I
terate bag
gage files
-->
|
494 |
|
<!--
-->
|
|
494 |
|
<!--
-->
|
495 |
|
<xsl:f
or-each se
lect="$Par
amBaggageF
iles">
|
|
495 |
|
<xsl:f
or-each se
lect="$Par
amBaggageF
iles">
|
496 |
|
<xsl:
variable n
ame="VarBa
ggageFile"
select=".
" />
|
|
496 |
|
<xsl:
variable n
ame="VarBa
ggageFile"
select=".
" />
|
497 |
|
|
|
497 |
|
|
498 |
|
<xsl:
if test="w
wfilesyste
m:FileExis
ts($VarBag
gageFile/@
path)">
|
|
498 |
|
<xsl:
if test="w
wfilesyste
m:FileExis
ts($VarBag
gageFile/@
path)">
|
499 |
|
<xsl
:value-of
select="ww
filesystem
:GetRelati
veTo($VarB
aggageFile
/@path, $P
aramOutPat
h)" />
|
|
499 |
|
<xsl
:value-of
select="ww
filesystem
:GetRelati
veTo($VarB
aggageFile
/@path, $P
aramOutPat
h)" />
|
500 |
|
<xsl
:value-of
select="'&
#0013;�
10;'" />
|
|
500 |
|
<xsl
:value-of
select="'&
#0013;�
10;'" />
|
501 |
|
</xsl
:if>
|
|
501 |
|
</xsl
:if>
|
502 |
|
</xsl:
for-each>
|
|
502 |
|
</xsl:
for-each>
|
503 |
|
</xsl:v
ariable>
|
|
503 |
|
</xsl:v
ariable>
|
504 |
|
|
|
504 |
|
|
505 |
|
<!-- To
pic aliase
s -->
|
|
505 |
|
<!-- To
pic aliase
s -->
|
506 |
|
<!--
-->
|
|
506 |
|
<!--
-->
|
507 |
|
<xsl:va
riable nam
e="VarAlia
ses">
|
|
507 |
|
<xsl:va
riable nam
e="VarAlia
ses">
|
508 |
|
<!-- I
terate top
ics -->
|
|
508 |
|
<!-- I
terate top
ics -->
|
509 |
|
<!--
-->
|
|
509 |
|
<!--
-->
|
510 |
|
<xsl:f
or-each se
lect="$Par
amLinksFil
es">
|
|
510 |
|
<xsl:f
or-each se
lect="$Par
amLinksFil
es">
|
511 |
|
<xsl:
variable n
ame="VarLi
nkFile" se
lect="." /
>
|
|
511 |
|
<xsl:
variable n
ame="VarLi
nkFile" se
lect="." /
>
|
512 |
|
<xsl:
for-each s
elect="$Va
rLinkFile/
wwlinks:Pa
ragraph[st
ring-lengt
h(@topic)
> 0]">
|
|
512 |
|
<xsl:
for-each s
elect="$Va
rLinkFile/
wwlinks:Pa
ragraph[st
ring-lengt
h(@topic)
> 0]">
|
513 |
|
<xsl
:value-of
select="@t
opic"/>
|
|
513 |
|
<xsl
:value-of
select="@t
opic"/>
|
514 |
|
<xsl
:text> = <
/xsl:text>
|
|
514 |
|
<xsl
:text> = <
/xsl:text>
|
515 |
|
<xsl
:value-of
select="ww
filesystem
:GetRelati
veTo($VarL
inkFile/@p
ath, $Para
mOutPath)"
/>
|
|
515 |
|
<xsl
:value-of
select="ww
filesystem
:GetRelati
veTo($VarL
inkFile/@p
ath, $Para
mOutPath)"
/>
|
516 |
|
<xsl
:value-of
select="'&
#0013;�
10;'" />
|
|
516 |
|
<xsl
:value-of
select="'&
#0013;�
10;'" />
|
517 |
|
</xsl
:for-each>
|
|
517 |
|
</xsl
:for-each>
|
518 |
|
</xsl:
for-each>
|
|
518 |
|
</xsl:
for-each>
|
519 |
|
</xsl:v
ariable>
|
|
519 |
|
</xsl:v
ariable>
|
520 |
|
|
|
520 |
|
|
521 |
|
<!--
Wh
a
t's This
f
iles -->
|
|
521 |
|
<!--
M
a
p
F
iles -->
|
522 |
|
<!--
-->
|
|
522 |
|
<!--
-->
|
523 |
|
<xsl:va
riable nam
e="Var
Wh
a
tIsThis
Files
">
|
|
523 |
|
<xsl:va
riable nam
e="Var
M
a
p
Files
WithPrefix
">
|
|
|
|
|
524 |
|
<xsl:i
f test="st
ring-lengt
h($ParamMa
pPath) >
; 0">
|
|
|
|
|
525 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
|
|
|
|
526 |
|
<xsl:
text>#incl
ude </xsl:
text>
|
|
|
|
|
527 |
|
<xsl:
value-of s
elect="$Pa
ramMapPath
" />
|
|
|
|
|
528 |
|
</xsl:
if>
|
|
|
|
|
529 |
|
|
524 |
|
<xsl:i
f test="st
ring-lengt
h($ParamWh
atIsThisHe
aderPath)
> 0">
|
|
530 |
|
<xsl:i
f test="st
ring-lengt
h($ParamWh
atIsThisHe
aderPath)
> 0">
|
|
|
|
|
531 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
|
|
|
|
532 |
|
<xsl:
text>#incl
ude </xsl:
text>
|
525 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo($Param
WhatIsThis
HeaderPath
, $ParamOu
tPath)" />
|
|
533 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo($Param
WhatIsThis
HeaderPath
, $ParamOu
tPath)" />
|
526 |
|
</xsl:
if>
|
|
534 |
|
</xsl:
if>
|
|
|
|
|
535 |
|
</xsl:v
ariable>
|
|
|
|
|
536 |
|
<xsl:va
riable nam
e="VarMapF
iles">
|
|
|
|
|
537 |
|
<xsl:i
f test="st
ring-lengt
h($VarMapF
ilesWithPr
efix >
0)">
|
|
|
|
|
538 |
|
<xsl:
value-of s
elect="sub
string-aft
er($VarMap
FilesWithP
refix, '&#
0013;
0;')" />
|
|
|
|
|
539 |
|
</xsl:
if>
|
|
|
|
|
540 |
|
</xsl:v
ariable>
|
527 |
|
|
|
541 |
|
|
528 |
|
<xsl:
if test="s
t
ri
ng-
le
n
gth($Par
am
WhatIsThis
T
e
xtPa
th
) > 0
">
|
|
542 |
|
<!-- Wh
at Is This
files -->
|
529 |
|
<xsl:if te
st="string
-length($P
aramWhatIs
ThisHeader
Path) >
0">
|
|
543 |
|
<!--
-->
|
530 |
|
<xsl:value
-of select
="'

'"
/>
|
|
544 |
|
<xsl:
va
ri
ab
le
n
am
e="Var
WhatIsThis
Fil
e
sWi
th
Prefix
">
|
531 |
|
</xsl:if>
|
|
545 |
|
<xsl:if te
st="string
-length($P
aramWhatIs
ThisHeader
Path) >
0">
|
|
|
|
|
546 |
|
<xsl:value
-of select
="'

'"
/>
|
|
|
|
|
547 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo($Param
WhatIsThis
HeaderPath
, $ParamOu
tPath)" />
|
|
|
|
|
548 |
|
</xsl:if>
|
532 |
|
|
|
549 |
|
|
|
|
|
|
550 |
|
<xsl:i
f test="st
ring-lengt
h($ParamWh
atIsThisTe
xtPath) &g
t; 0">
|
|
|
|
|
551 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
533 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo($Param
WhatIsThis
TextPath,
$ParamOutP
ath)" />
|
|
552 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo($Param
WhatIsThis
TextPath,
$ParamOutP
ath)" />
|
534 |
|
</xsl:
if>
|
|
553 |
|
</xsl:
if>
|
535 |
|
</xsl:v
ariable>
|
|
554 |
|
</xsl:v
ariable>
|
|
|
|
|
555 |
|
<xsl:va
riable nam
e="VarWhat
IsThisFile
s">
|
|
|
|
|
556 |
|
<xsl:i
f test="st
ring-lengt
h($VarWhat
IsThisFile
sWithPrefi
x > 0)"
>
|
|
|
|
|
557 |
|
<xsl:
value-of s
elect="sub
string-aft
er($VarWha
tIsThisFil
esWithPref
ix, '
3;
'
)" />
|
|
|
|
|
558 |
|
</xsl:
if>
|
|
|
|
|
559 |
|
</xsl:v
ariable>
|
536 |
|
|
|
560 |
|
|
537 |
|
<!-- Me
rge files
-->
|
|
561 |
|
<!-- Me
rge files
-->
|
538 |
|
<!--
-->
|
|
562 |
|
<!--
-->
|
539 |
|
<xsl:va
riable nam
e="VarMerg
eFiles">
|
|
563 |
|
<xsl:va
riable nam
e="VarMerg
eFiles">
|
540 |
|
<xsl:f
or-each se
lect="$Par
amMergeFil
es">
|
|
564 |
|
<xsl:f
or-each se
lect="$Par
amMergeFil
es">
|
541 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
|
565 |
|
<xsl:
value-of s
elect="wwf
ilesystem:
GetRelativ
eTo(./@pat
h, $ParamO
utPath)" /
>
|
542 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
|
566 |
|
<xsl:
value-of s
elect="'&#
0013;
0;'" />
|
543 |
|
</xsl:
for-each>
|
|
567 |
|
</xsl:
for-each>
|
544 |
|
</xsl:v
ariable>
|
|
568 |
|
</xsl:v
ariable>
|
545 |
|
|
|
569 |
|
|
546 |
|
<wwmult
isere:Entr
y match="$
DefaultTop
ic;" repla
cement="{$
VarDefault
Topic}" />
|
|
570 |
|
<wwmult
isere:Entr
y match="$
DefaultTop
ic;" repla
cement="{$
VarDefault
Topic}" />
|
547 |
|
<wwmult
isere:Entr
y match="$
HomePage;"
replaceme
nt="{$VarH
omePage}"
/>
|
|
571 |
|
<wwmult
isere:Entr
y match="$
HomePage;"
replaceme
nt="{$VarH
omePage}"
/>
|
548 |
|
<wwmult
isere:Entr
y match="$
BinaryTOC;
" replacem
ent="{$Var
GenerateBi
naryTOC}"
/>
|
|
572 |
|
<wwmult
isere:Entr
y match="$
BinaryTOC;
" replacem
ent="{$Var
GenerateBi
naryTOC}"
/>
|
549 |
|
<wwmult
isere:Entr
y match="$
BinaryInde
x;" replac
ement="{$V
arGenerate
BinaryInde
x}" />
|
|
573 |
|
<wwmult
isere:Entr
y match="$
BinaryInde
x;" replac
ement="{$V
arGenerate
BinaryInde
x}" />
|
550 |
|
<wwmult
isere:Entr
y match="$
CompiledFi
le;" repla
cement="{$
ParamCHMPa
th}" />
|
|
574 |
|
<wwmult
isere:Entr
y match="$
CompiledFi
le;" repla
cement="{$
ParamCHMPa
th}" />
|
551 |
|
<wwmult
isere:Entr
y match="$
TOCName;"
replacemen
t="{$Param
TOCPath}"
/>
|
|
575 |
|
<wwmult
isere:Entr
y match="$
TOCName;"
replacemen
t="{$Param
TOCPath}"
/>
|
552 |
|
<wwmult
isere:Entr
y match="$
IndexName;
" replacem
ent="{$Par
amIndexPat
h}" />
|
|
576 |
|
<wwmult
isere:Entr
y match="$
IndexName;
" replacem
ent="{$Par
amIndexPat
h}" />
|
553 |
|
<wwmult
isere:Entr
y match="$
LCID;" rep
lacement="
{$ParamLCI
D}" />
|
|
577 |
|
<wwmult
isere:Entr
y match="$
LCID;" rep
lacement="
{$ParamLCI
D}" />
|
554 |
|
<wwmult
isere:Entr
y match="$
Title;" re
placement=
"{$ParamTi
tle}" />
|
|
578 |
|
<wwmult
isere:Entr
y match="$
Title;" re
placement=
"{$ParamTi
tle}" />
|
555 |
|
<wwmult
isere:Entr
y match="$
WindowDefi
nition;" r
eplacement
="" />
|
|
579 |
|
<wwmult
isere:Entr
y match="$
WindowDefi
nition;" r
eplacement
="" />
|
556 |
|
<wwmult
isere:Entr
y match="$
Files;" re
placement=
"{$VarFile
s}" />
|
|
580 |
|
<wwmult
isere:Entr
y match="$
Files;" re
placement=
"{$VarFile
s}" />
|
557 |
|
<wwmult
isere:Entr
y match="$
Aliases;"
replacemen
t="{$VarAl
iases}" />
|
|
581 |
|
<wwmult
isere:Entr
y match="$
Aliases;"
replacemen
t="{$VarAl
iases}" />
|
558 |
|
<xsl:ch
oose>
|
|
582 |
|
<wwmultise
re:Entry m
atch="$Map
File
s
;" replace
ment="
{$VarMapFi
les}
" />
|
559 |
|
<xsl:w
hen test="
string-len
gth($Param
MapPath) &
gt; 0">
|
|
|
|
|
560 |
|
<wwmu
ltisere:En
try match=
"$MapFile;
">
|
|
|
|
|
561 |
|
<xsl
:attribute
name="rep
lacement">
|
|
|
|
|
562 |
|
<xs
l:text>#in
clude &quo
t;</xsl:te
xt>
|
|
|
|
|
563 |
|
<xs
l:value-of
select="$
ParamMapPa
th" />
|
|
|
|
|
564 |
|
<xs
l:text>&qu
ot;</xsl:t
ext>
|
|
|
|
|
565 |
|
</xs
l:attribut
e>
|
|
|
|
|
566 |
|
</wwm
ultisere:E
ntry>
|
|
|
|
|
567 |
|
</xsl:
when>
|
|
|
|
|
568 |
|
|
|
|
|
|
569 |
|
<xsl:o
therwise>
|
|
|
|
|
570 |
|
<wwmultise
re:Entry m
atch="$Map
File
;" replace
ment="
" />
|
|
|
|
|
571 |
|
</xsl:
otherwise>
|
|
|
|
|
572 |
|
</xsl:c
hoose>
|
|
|
|
|
573 |
|
<wwmult
isere:Entr
y match="$
WhatIsThis
Files;" re
placement=
"{$VarWhat
IsThisFile
s}" />
|
|
583 |
|
<wwmult
isere:Entr
y match="$
WhatIsThis
Files;" re
placement=
"{$VarWhat
IsThisFile
s}" />
|
574 |
|
<wwmult
isere:Entr
y match="$
MergeFiles
;" replace
ment="{$Va
rMergeFile
s}" />
|
|
584 |
|
<wwmult
isere:Entr
y match="$
MergeFiles
;" replace
ment="{$Va
rMergeFile
s}" />
|
575 |
|
</xsl:va
riable>
|
|
585 |
|
</xsl:va
riable>
|
576 |
|
<xsl:var
iable name
="VarRepla
cements" s
elect="msx
sl:node-se
t($VarRepl
acementsAs
XML)/*" />
|
|
586 |
|
<xsl:var
iable name
="VarRepla
cements" s
elect="msx
sl:node-se
t($VarRepl
acementsAs
XML)/*" />
|
577 |
|
<xsl:var
iable name
="VarEncod
ing" selec
t="wwunits
:EncodingF
romCodePag
e($GlobalL
ocale/wwlo
cale:Local
e/@codepag
e)" />
|
|
587 |
|
<xsl:var
iable name
="VarEncod
ing" selec
t="wwunits
:EncodingF
romCodePag
e($GlobalL
ocale/wwlo
cale:Local
e/@codepag
e)" />
|
578 |
|
<xsl:val
ue-of sele
ct="wwmult
isere:Repl
aceAllInFi
le('UTF-8'
, $GlobalH
HPPageTemp
latePath,
$VarEncodi
ng, $Param
OutPath, $
VarReplace
ments)" />
|
|
588 |
|
<xsl:val
ue-of sele
ct="wwmult
isere:Repl
aceAllInFi
le('UTF-8'
, $GlobalH
HPPageTemp
latePath,
$VarEncodi
ng, $Param
OutPath, $
VarReplace
ments)" />
|
579 |
|
</xsl:tem
plate>
|
|
589 |
|
</xsl:tem
plate>
|
580 |
|
</xsl:styl
esheet>
|
|
590 |
|
</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.