Produced by Araxis Merge on Wed Nov 28 17:41:27 2007 UTC. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\Documents and Settings\tavilson\Desktop\Formats\Sun JavaHelp 2.0\Transforms | pages.xsl | Wed Nov 28 15:57:20 2007 UTC |
2 | C:\Program Files\WebWorks\ePublisher Pro\Formats\Sun JavaHelp 2.0\Transforms | pages.xsl | Fri Aug 24 01:16:14 2007 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 4 | 1186 |
Changed | 0 | 0 |
Inserted | 1 | 1 |
Removed | 0 | 0 |
Whitespace | All differences in whitespace within lines are ignored |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
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/1999/ xhtml" | 2 | <xsl:style sheet vers ion="1.0" xmlns="htt p://www.w3 .org/1999/ xhtml" | |||
3 | xmlns:html ="http://w ww.w3.org/ 1999/xhtml " | 3 | xmlns:html ="http://w ww.w3.org/ 1999/xhtml " | |||
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 rameterDep endsType" /> | 34 | <xsl:para m name="Pa rameterDep endsType" /> | |||
35 | <xsl:para m name="Pa rameterSpl itsType" / > | 35 | <xsl:para m name="Pa rameterSpl itsType" / > | |||
36 | <xsl:para m name="Pa rameterPro jectSplits Type" /> | 36 | <xsl:para m name="Pa rameterPro jectSplits Type" /> | |||
37 | <xsl:para m name="Pa rameterLin ksType" /> | 37 | <xsl:para m name="Pa rameterLin ksType" /> | |||
38 | <xsl:para m name="Pa rameterLoc aleType" / > | 38 | <xsl:para m name="Pa rameterLoc aleType" / > | |||
39 | <xsl:para m name="Pa rameterBeh aviorsType " /> | 39 | <xsl:para m name="Pa rameterBeh aviorsType " /> | |||
40 | <xsl:para m name="Pa rameterPro jectVariab lesType" / > | 40 | <xsl:para m name="Pa rameterPro jectVariab lesType" / > | |||
41 | <xsl:para m name="Pa rameterPag eTemplateU RI" /> | 41 | <xsl:para m name="Pa rameterPag eTemplateU RI" /> | |||
42 | <xsl:para m name="Pa rameterTOC DataType" /> | 42 | <xsl:para m name="Pa rameterTOC DataType" /> | |||
43 | <xsl:para m name="Pa rameterAll owBaggage" /> | 43 | <xsl:para m name="Pa rameterAll owBaggage" /> | |||
44 | <xsl:para m name="Pa rameterAll owGroupToG roup" /> | 44 | <xsl:para m name="Pa rameterAll owGroupToG roup" /> | |||
45 | <xsl:para m name="Pa rameterAll owURL" /> | 45 | <xsl:para m name="Pa rameterAll owURL" /> | |||
46 | <xsl:para m name="Pa rameterBag gageSplitF ileType" / > | 46 | <xsl:para m name="Pa rameterBag gageSplitF ileType" / > | |||
47 | <xsl:para m name="Pa rameterTOC SplitFileT ype" /> | 47 | <xsl:para m name="Pa rameterTOC SplitFileT ype" /> | |||
48 | <xsl:para m name="Pa rameterInd exSplitFil eType" /> | 48 | <xsl:para m name="Pa rameterInd exSplitFil eType" /> | |||
49 | <xsl:para m name="Pa rameterTyp e" /> | 49 | <xsl:para m name="Pa rameterTyp e" /> | |||
50 | <xsl:para m name="Pa rameterCat egory" /> | 50 | <xsl:para m name="Pa rameterCat egory" /> | |||
51 | <xsl:para m name="Pa rameterUse " /> | 51 | <xsl:para m name="Pa rameterUse " /> | |||
52 | <xsl:para m name="Pa rameterDep loy" /> | 52 | <xsl:para m name="Pa rameterDep loy" /> | |||
53 | 53 | |||||
54 | 54 | |||||
55 | <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" /> | 55 | <xsl:vari able name= "GlobalDef aultNamesp ace" selec t="'http:/ /www.w3.or g/1999/xht ml'" /> | |||
56 | 56 | |||||
57 | 57 | |||||
58 | <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" /> | 58 | <xsl:outp ut method= "xml" enco ding="UTF- 8" indent= "yes" /> | |||
59 | <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " /> | 59 | <xsl:name space-alia s styleshe et-prefix= "html" res ult-prefix ="#default " /> | |||
60 | <xsl:stri p-space el ements="*" /> | 60 | <xsl:stri p-space el ements="*" /> | |||
61 | <xsl:pres erve-space elements= "html:scri pt" /> | 61 | <xsl:pres erve-space elements= "html:scri pt" /> | |||
62 | 62 | |||||
63 | 63 | |||||
64 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/> | 64 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl"/> | |||
65 | <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" /> | 65 | <xsl:incl ude href=" wwtransfor m:common/c ompanyinfo /companyin fo_content .xsl" /> | |||
66 | <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> | 66 | <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> | |||
67 | <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" /> | 67 | <xsl:incl ude href=" wwtransfor m:common/p ages/pages .xsl" /> | |||
68 | <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> | 68 | <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> | |||
69 | <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" /> | 69 | <xsl:incl ude href=" wwtransfor m:common/p roject/pro perties.xs l" /> | |||
70 | <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" /> | 70 | <xsl:incl ude href=" wwtransfor m:common/t ables/tabl es.xsl" /> | |||
71 | <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" /> | 71 | <xsl:incl ude href=" wwtransfor m:common/v ariables/v ariables.x sl" /> | |||
72 | <xsl:incl ude href=" wwtransfor m:javahelp /css_prope rties.xsl" /> | 72 | <xsl:incl ude href=" wwtransfor m:javahelp /css_prope rties.xsl" /> | |||
73 | <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" /> | 73 | <xsl:incl ude href=" wwtransfor m:common/p ages/paget emplate.xs l" /> | |||
74 | <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" /> | 74 | <xsl:incl ude href=" wwtransfor m:uri/uri. xsl" /> | |||
75 | <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" /> | 75 | <xsl:incl ude href=" wwformat:T ransforms/ content.xs l" /> | |||
76 | 76 | |||||
77 | 77 | |||||
78 | <xsl:vari able name= "GlobalAct ionChecksu m"> | 78 | <xsl:vari able name= "GlobalAct ionChecksu m"> | |||
79 | <xsl:var iable name ="VarTrans formChecks ums"> | 79 | <xsl:var iable name ="VarTrans formChecks ums"> | |||
80 | <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))" /> | 80 | <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(',', wwu ri:AsFileP ath($Param eterPageTe mplateURI) , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath($ ParameterP ageTemplat eURI)))" / > | 81 | <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)))" / > | |||
82 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/im ages.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/images. xsl')))" / > | 82 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/im ages.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/images. xsl')))" / > | |||
83 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/compan yinfo/comp anyinfo_co ntent.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ companyinf o/companyi nfo_conten t.xsl')))" /> | 83 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/compan yinfo/comp anyinfo_co ntent.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ companyinf o/companyi nfo_conten t.xsl')))" /> | |||
84 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/links/ resolve.xs l'), ':', wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/links/re solve.xsl' )))" /> | 84 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/links/ resolve.xs l'), ':', wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/links/re solve.xsl' )))" /> | |||
85 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pages.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ pages/page s.xsl')))" /> | 85 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/pages/ pages.xsl' ), ':', ww filesystem :GetChecks um(wwuri:A sFilePath( 'wwtransfo rm:common/ pages/page s.xsl')))" /> | |||
86 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/conditio ns.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/condi tions.xsl' )))" /> | 86 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/conditio ns.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/condi tions.xsl' )))" /> | |||
87 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/properti es.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/prope rties.xsl' )))" /> | 87 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/projec t/properti es.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: common/pro ject/prope rties.xsl' )))" /> | |||
88 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/tables /tables.xs l'), ':', wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/tables/t ables.xsl' )))" /> | 88 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/tables /tables.xs l'), ':', wwfilesyst em:GetChec ksum(wwuri :AsFilePat h('wwtrans form:commo n/tables/t ables.xsl' )))" /> | |||
89 | <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')))" /> | 89 | <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')))" /> | |||
90 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:jav ahelp/css_ properties .xsl'), ': ', wwfiles ystem:GetC hecksum(ww uri:AsFile Path('wwtr ansform:ja vahelp/css _propertie s.xsl')))" /> | 90 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:jav ahelp/css_ properties .xsl'), ': ', wwfiles ystem:GetC hecksum(ww uri:AsFile Path('wwtr ansform:ja vahelp/css _propertie s.xsl')))" /> | |||
91 | <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' )))" /> | 91 | <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' )))" /> | |||
92 | <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')))" / > | 92 | <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')))" / > | |||
93 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/conte nt.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww format:Tra nsforms/co ntent.xsl' )))" /> | 93 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/conte nt.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww format:Tra nsforms/co ntent.xsl' )))" /> | |||
94 | </xsl:va riable> | 94 | </xsl:va riable> | |||
95 | <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)" /> | 95 | <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)" /> | |||
96 | </xsl:var iable> | 96 | </xsl:var iable> | |||
97 | 97 | |||||
98 | 98 | |||||
99 | <!-- Loca le --> | 99 | <!-- Loca le --> | |||
100 | <!-- --> | 100 | <!-- --> | |||
101 | <xsl:vari able name= "GlobalLoc alePath"> | 101 | <xsl:vari able name= "GlobalLoc alePath"> | |||
102 | <xsl:for -each sele ct="$Globa lFiles[1]" > | 102 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||
103 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" /> | 103 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterLocale Type)[1]/@ path" /> | |||
104 | </xsl:fo r-each> | 104 | </xsl:fo r-each> | |||
105 | </xsl:var iable> | 105 | </xsl:var iable> | |||
106 | <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" /> | 106 | <xsl:vari able name= "GlobalLoc ale" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balLocaleP ath)" /> | |||
107 | 107 | |||||
108 | 108 | |||||
109 | <!-- Mapp ing Entry Sets --> | 109 | <!-- Mapp ing Entry Sets --> | |||
110 | <!-- --> | 110 | <!-- --> | |||
111 | <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:javahel p/mapentry sets.xml') " /> | 111 | <xsl:vari able name= "GlobalMap EntrySetsP ath" selec t="wwuri:A sFilePath( 'wwtransfo rm:javahel p/mapentry sets.xml') " /> | |||
112 | <xsl:vari able name= "GlobalMap EntrySets" select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" /> | 112 | <xsl:vari able name= "GlobalMap EntrySets" select="w wexsldoc:L oadXMLWith outResolve r($GlobalM apEntrySet sPath)" /> | |||
113 | 113 | |||||
114 | 114 | |||||
115 | <!-- Page Template --> | 115 | <!-- Page Template --> | |||
116 | <!-- --> | 116 | <!-- --> | |||
117 | <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" /> | 117 | <xsl:vari able name= "GlobalPag eTemplateP ath" selec t="wwuri:A sFilePath( $Parameter PageTempla teURI)" /> | |||
118 | <xsl:vari able name= "GlobalPag eTemplate" select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" /> | 118 | <xsl:vari able name= "GlobalPag eTemplate" select="w wexsldoc:L oadXMLWith outResolve r($GlobalP ageTemplat ePath)" /> | |||
119 | 119 | |||||
120 | 120 | |||||
121 | <!-- Proj ect Splits --> | 121 | <!-- Proj ect Splits --> | |||
122 | <!-- --> | 122 | <!-- --> | |||
123 | <xsl:vari able name= "GlobalPro jectSplits Path"> | 123 | <xsl:vari able name= "GlobalPro jectSplits Path"> | |||
124 | <xsl:for -each sele ct="$Globa lFiles[1]" > | 124 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||
125 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tSplitsTyp e)[1]/@pat h" /> | 125 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tSplitsTyp e)[1]/@pat h" /> | |||
126 | </xsl:fo r-each> | 126 | </xsl:fo r-each> | |||
127 | </xsl:var iable> | 127 | </xsl:var iable> | |||
128 | <xsl:vari able name= "GlobalPro jectSplits " select=" wwexsldoc: LoadXMLWit houtResolv er($Global ProjectSpl itsPath)" /> | 128 | <xsl:vari able name= "GlobalPro jectSplits " select=" wwexsldoc: LoadXMLWit houtResolv er($Global ProjectSpl itsPath)" /> | |||
129 | 129 | |||||
130 | 130 | |||||
131 | <!-- Proj ect variab les --> | 131 | <!-- Proj ect variab les --> | |||
132 | <!-- --> | 132 | <!-- --> | |||
133 | <xsl:vari able name= "GlobalPro jectVariab lesPath"> | 133 | <xsl:vari able name= "GlobalPro jectVariab lesPath"> | |||
134 | <xsl:for -each sele ct="$Globa lFiles[1]" > | 134 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||
135 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" /> | 135 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterProjec tVariables Type)[1]/@ path" /> | |||
136 | </xsl:fo r-each> | 136 | </xsl:fo r-each> | |||
137 | </xsl:var iable> | 137 | </xsl:var iable> | |||
138 | <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" /> | 138 | <xsl:vari able name= "GlobalPro jectVariab les" selec t="wwexsld oc:LoadXML WithoutRes olver($Glo balProject VariablesP ath)" /> | |||
139 | 139 | |||||
140 | 140 | |||||
141 | <xsl:temp late match ="/"> | 141 | <xsl:temp late match ="/"> | |||
142 | <wwfiles :Files ver sion="1.0" > | 142 | <wwfiles :Files ver sion="1.0" > | |||
143 | 143 | |||||
144 | <xsl:ca ll-templat e name="Do cumentsPag es"> | 144 | <xsl:ca ll-templat e name="Do cumentsPag es"> | |||
145 | <xsl:w ith-param name="Para mInput" se lect="$Glo balInput" /> | 145 | <xsl:w ith-param name="Para mInput" se lect="$Glo balInput" /> | |||
146 | <xsl:w ith-param name="Para mProject" select="$G lobalProje ct" /> | 146 | <xsl:w ith-param name="Para mProject" select="$G lobalProje ct" /> | |||
147 | <xsl:w ith-param name="Para mFiles" se lect="$Glo balFiles" /> | 147 | <xsl:w ith-param name="Para mFiles" se lect="$Glo balFiles" /> | |||
148 | <xsl:w ith-param name="Para mLinksType " select=" $Parameter LinksType" /> | 148 | <xsl:w ith-param name="Para mLinksType " select=" $Parameter LinksType" /> | |||
149 | <xsl:w ith-param name="Para mDependsTy pe" select ="$Paramet erDependsT ype" /> | 149 | <xsl:w ith-param name="Para mDependsTy pe" select ="$Paramet erDependsT ype" /> | |||
150 | <xsl:w ith-param name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" /> | 150 | <xsl:w ith-param name="Para mSplitsTyp e" select= "$Paramete rSplitsTyp e" /> | |||
151 | <xsl:w ith-param name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / > | 151 | <xsl:w ith-param name="Para mBehaviors Type" sele ct="$Param eterBehavi orsType" / > | |||
152 | <xsl:w ith-param name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" /> | 152 | <xsl:w ith-param name="Para mTOCDataTy pe" select ="$Paramet erTOCDataT ype" /> | |||
153 | </xsl:c all-templa te> | 153 | </xsl:c all-templa te> | |||
154 | 154 | |||||
155 | </wwfile s:Files> | 155 | </wwfile s:Files> | |||
156 | </xsl:tem plate> | 156 | </xsl:tem plate> | |||
157 | 157 | |||||
158 | 158 | |||||
159 | <xsl:temp late name= "Page"> | 159 | <xsl:temp late name= "Page"> | |||
160 | <xsl:par am name="P aramFilesS plits" /> | 160 | <xsl:par am name="P aramFilesS plits" /> | |||
161 | <xsl:par am name="P aramSplits " /> | 161 | <xsl:par am name="P aramSplits " /> | |||
162 | <xsl:par am name="P aramBehavi orsFile" / > | 162 | <xsl:par am name="P aramBehavi orsFile" / > | |||
163 | <xsl:par am name="P aramBehavi ors" /> | 163 | <xsl:par am name="P aramBehavi ors" /> | |||
164 | <xsl:par am name="P aramLinks" /> | 164 | <xsl:par am name="P aramLinks" /> | |||
165 | <xsl:par am name="P aramTOCDat a" /> | 165 | <xsl:par am name="P aramTOCDat a" /> | |||
166 | <xsl:par am name="P aramBreadc rumbTOCEnt ry" /> | 166 | <xsl:par am name="P aramBreadc rumbTOCEnt ry" /> | |||
167 | <xsl:par am name="P aramFilesD ocumentNod e" /> | 167 | <xsl:par am name="P aramFilesD ocumentNod e" /> | |||
168 | <xsl:par am name="P aramSplit" /> | 168 | <xsl:par am name="P aramSplit" /> | |||
169 | <xsl:par am name="P aramDocume nt" /> | 169 | <xsl:par am name="P aramDocume nt" /> | |||
170 | <xsl:par am name="P aramConten t" /> | 170 | <xsl:par am name="P aramConten t" /> | |||
171 | 171 | |||||
172 | <!-- Out put --> | 172 | <!-- Out put --> | |||
173 | <!-- --> | 173 | <!-- --> | |||
174 | <xsl:var iable name ="VarUpToD ate" selec t="wwfiles ext:UpToDa te($ParamS plit/@path , $GlobalP roject/wwp roject:Pro ject/@Chan geID, $Par amSplit/@g roupID, $P aramSplit/ @documentI D, $Global ActionChec ksum)" /> | 174 | <xsl:var iable name ="VarUpToD ate" selec t="wwfiles ext:UpToDa te($ParamS plit/@path , $GlobalP roject/wwp roject:Pro ject/@Chan geID, $Par amSplit/@g roupID, $P aramSplit/ @documentI D, $Global ActionChec ksum)" /> | |||
175 | <xsl:if test="not( $VarUpToDa te)"> | 175 | <xsl:if test="not( $VarUpToDa te)"> | |||
176 | <xsl:va riable nam e="VarResu ltAsXML"> | 176 | <xsl:va riable nam e="VarResu ltAsXML"> | |||
177 | <!-- O utput dire ctory path --> | 177 | <!-- O utput dire ctory path --> | |||
178 | <!-- --> | 178 | <!-- --> | |||
179 | <xsl:v ariable na me="VarOut putDirecto ryPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get TargetOutp utDirector yPath(), w wprojext:G etGroupNam e($ParamSp lit/@group ID))" /> | 179 | <xsl:v ariable na me="VarOut putDirecto ryPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get TargetOutp utDirector yPath(), w wprojext:G etGroupNam e($ParamSp lit/@group ID))" /> | |||
180 | 180 | |||||
181 | <!-- P age Rule - -> | 181 | <!-- P age Rule - -> | |||
182 | <!-- - -> | 182 | <!-- - -> | |||
183 | <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page', $ParamSpl it/@stylen ame)" /> | 183 | <xsl:v ariable na me="VarPag eRule" sel ect="wwpro jext:GetRu le('Page', $ParamSpl it/@stylen ame)" /> | |||
184 | 184 | |||||
185 | <!-- S plit files --> | 185 | <!-- S plit files --> | |||
186 | <!-- --> | 186 | <!-- --> | |||
187 | <xsl:f or-each se lect="$Par amSplits[1 ]"> | 187 | <xsl:f or-each se lect="$Par amSplits[1 ]"> | |||
188 | <!-- TOC --> | 188 | <!-- TOC --> | |||
189 | <!-- --> | 189 | <!-- --> | |||
190 | <xsl: variable n ame="VarTO CSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" /> | 190 | <xsl: variable n ame="VarTO CSplitFile " select=" key('wwspl its-files- by-groupid -type', co ncat($Para mSplit/@gr oupID, ':' , $Paramet erTOCSplit FileType)) [1]" /> | |||
191 | 191 | |||||
192 | <!-- Index --> | 192 | <!-- Index --> | |||
193 | <!-- --> | 193 | <!-- --> | |||
194 | <xsl: variable n ame="VarIn dexSplitFi le" select ="key('wws plits-file s-by-group id-type', concat($Pa ramSplit/@ groupID, ' :', $Param eterIndexS plitFileTy pe))[1]" / > | 194 | <xsl: variable n ame="VarIn dexSplitFi le" select ="key('wws plits-file s-by-group id-type', concat($Pa ramSplit/@ groupID, ' :', $Param eterIndexS plitFileTy pe))[1]" / > | |||
195 | 195 | |||||
196 | <!-- Previous - -> | 196 | <!-- Previous - -> | |||
197 | <!-- - -> | 197 | <!-- - -> | |||
198 | <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]" /> | 198 | <xsl: variable n ame="VarPo ssiblePrev iousSplits " select=" $ParamSpli t/precedin g-sibling: :wwsplits: Split[1]" /> | |||
199 | <xsl: variable n ame="VarPr eviousSpli t" select= "($VarPoss iblePrevio usSplits[c ount($VarP ossiblePre viousSplit s) = 1])" /> | 199 | <xsl: variable n ame="VarPr eviousSpli t" select= "($VarPoss iblePrevio usSplits[c ount($VarP ossiblePre viousSplit s) = 1])" /> | |||
200 | 200 | |||||
201 | <!-- Next --> | 201 | <!-- Next --> | |||
202 | <!-- --> | 202 | <!-- --> | |||
203 | <xsl: variable n ame="VarPo ssibleNext Splits" se lect="$Par amSplit/fo llowing-si bling::wws plits:Spli t[1]" /> | 203 | <xsl: variable n ame="VarPo ssibleNext Splits" se lect="$Par amSplit/fo llowing-si bling::wws plits:Spli t[1]" /> | |||
204 | <xsl: variable n ame="VarNe xtSplit" s elect="($V arPossible NextSplits [count($Va rPossibleN extSplits) = 1])" /> | 204 | <xsl: variable n ame="VarNe xtSplit" s elect="($V arPossible NextSplits [count($Va rPossibleN extSplits) = 1])" /> | |||
205 | 205 | |||||
206 | <!-- Skip Navig ation Link --> | 206 | <!-- Skip Navig ation Link --> | |||
207 | <!-- --> | 207 | <!-- --> | |||
208 | <xsl: variable n ame="VarSk ipNavigati onURI"> | 208 | <xsl: variable n ame="VarSk ipNavigati onURI"> | |||
209 | <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'"> | 209 | <xsl :if test=" wwprojext: GetFormatS etting('ac cessibilit y-skip-nav igation-li nk', 'fals e') = 'tru e'"> | |||
210 | <xs l:text>#</ xsl:text> | 210 | <xs l:text>#</ xsl:text> | |||
211 | <xs l:value-of select="$ ParamSplit /@id" /> | 211 | <xs l:value-of select="$ ParamSplit /@id" /> | |||
212 | </xs l:if> | 212 | </xs l:if> | |||
213 | </xsl :variable> | 213 | </xsl :variable> | |||
214 | 214 | |||||
215 | <!-- Notes --> | 215 | <!-- Notes --> | |||
216 | <!-- --> | 216 | <!-- --> | |||
217 | <xsl: variable n ame="VarNo tes" selec t="$ParamC ontent//ww doc:Note[n ot(ancesto r::wwdoc:T able) and not(ancest or::wwdoc: Frame)]" / > | 217 | <xsl: variable n ame="VarNo tes" selec t="$ParamC ontent//ww doc:Note[n ot(ancesto r::wwdoc:T able) and not(ancest or::wwdoc: Frame)]" / > | |||
218 | 218 | |||||
219 | <!-- Note numbe ring --> | 219 | <!-- Note numbe ring --> | |||
220 | <!-- --> | 220 | <!-- --> | |||
221 | <xsl: variable n ame="VarNo teNumberin gAsXML"> | 221 | <xsl: variable n ame="VarNo teNumberin gAsXML"> | |||
222 | <xsl :call-temp late name= "Notes-Num ber"> | 222 | <xsl :call-temp late name= "Notes-Num ber"> | |||
223 | <xs l:with-par am name="P aramNotes" select="$ VarNotes" /> | 223 | <xs l:with-par am name="P aramNotes" select="$ VarNotes" /> | |||
224 | </xs l:call-tem plate> | 224 | </xs l:call-tem plate> | |||
225 | </xsl :variable> | 225 | </xsl :variable> | |||
226 | <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)" /> | 226 | <xsl: variable n ame="VarNo teNumberin g" select= "msxsl:nod e-set($Var NoteNumber ingAsXML)" /> | |||
227 | 227 | |||||
228 | <!-- Cargo --> | 228 | <!-- Cargo --> | |||
229 | <!-- --> | 229 | <!-- --> | |||
230 | <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors | $VarNoteN umbering" /> | 230 | <xsl: variable n ame="VarCa rgo" selec t="$ParamB ehaviors | $VarNoteN umbering" /> | |||
231 | 231 | |||||
232 | <!-- Conditions --> | 232 | <!-- Conditions --> | |||
233 | <!-- --> | 233 | <!-- --> | |||
234 | <xsl: variable n ame="VarIn itialCondi tionsAsXML "> | 234 | <xsl: variable n ame="VarIn itialCondi tionsAsXML "> | |||
235 | <!-- document- css --> | 235 | <!-- document- css --> | |||
236 | <!-- --> | 236 | <!-- --> | |||
237 | <xsl :if test=" string-len gth($VarPa geRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name = 'document- css']/@Val ue) > 0 "> | 237 | <xsl :if test=" string-len gth($VarPa geRule/wwp roject:Opt ions/wwpro ject:Optio n[@Name = 'document- css']/@Val ue) > 0 "> | |||
238 | <ww page:Condi tion name= "document- css" /> | 238 | <ww page:Condi tion name= "document- css" /> | |||
239 | </xs l:if> | 239 | </xs l:if> | |||
240 | 240 | |||||
241 | <!-- skip-navi gation --> | 241 | <!-- skip-navi gation --> | |||
242 | <!-- --> | 242 | <!-- --> | |||
243 | <xsl :if test=" string-len gth($VarSk ipNavigati onURI) > ; 0"> | 243 | <xsl :if test=" string-len gth($VarSk ipNavigati onURI) > ; 0"> | |||
244 | <ww page:Condi tion name= "skip-navi gation" /> | 244 | <ww page:Condi tion name= "skip-navi gation" /> | |||
245 | </xs l:if> | 245 | </xs l:if> | |||
246 | 246 | |||||
247 | <!-- breadcrum bs-top --> | 247 | <!-- breadcrum bs-top --> | |||
248 | <!-- --> | 248 | <!-- --> | |||
249 | <xsl :variable name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name = 'breadc rumbs-top- generate'] /@Value" / > | 249 | <xsl :variable name="VarB readcrumbs TopGenerat eOption" s elect="$Va rPageRule/ wwproject: Options/ww project:Op tion[@Name = 'breadc rumbs-top- generate'] /@Value" / > | |||
250 | <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) "> | 250 | <xsl :if test=" ($VarBread crumbsTopG enerateOpt ion = 'tru e') or (st ring-lengt h($VarBrea dcrumbsTop GenerateOp tion) = 0) "> | |||
251 | <ww page:Condi tion name= "breadcrum bs-top" /> | 251 | <ww page:Condi tion name= "breadcrum bs-top" /> | |||
252 | </xs l:if> | 252 | </xs l:if> | |||
253 | 253 | |||||
254 | <!-- breadcrum bs-bottom --> | 254 | <!-- breadcrum bs-bottom --> | |||
255 | <!-- --> | 255 | <!-- --> | |||
256 | <xsl :variable name="VarB readcrumbs BottomGene rateOption " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'bre adcrumbs-b ottom-gene rate']/@Va lue" /> | 256 | <xsl :variable name="VarB readcrumbs BottomGene rateOption " select=" $VarPageRu le/wwproje ct:Options /wwproject :Option[@N ame = 'bre adcrumbs-b ottom-gene rate']/@Va lue" /> | |||
257 | <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'"> | 257 | <xsl :if test=" $VarBreadc rumbsBotto mGenerateO ption = 't rue'"> | |||
258 | <ww page:Condi tion name= "breadcrum bs-bottom" /> | 258 | <ww page:Condi tion name= "breadcrum bs-bottom" /> | |||
259 | </xs l:if> | 259 | </xs l:if> | |||
260 | 260 | |||||
261 | <!-- navigatio n-top --> | 261 | <!-- navigatio n-top --> | |||
262 | <!-- --> | 262 | <!-- --> | |||
263 | <xsl :variable name="VarN avigationT opGenerate Option" se lect="$Var PageRule/w wproject:O ptions/wwp roject:Opt ion[@Name = 'navigat ion-top-ge nerate']/@ Value" /> | 263 | <xsl :variable name="VarN avigationT opGenerate Option" se lect="$Var PageRule/w wproject:O ptions/wwp roject:Opt ion[@Name = 'navigat ion-top-ge nerate']/@ Value" /> | |||
264 | <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)"> | 264 | <xsl :if test=" ($VarNavig ationTopGe nerateOpti on = 'true ') or (str ing-length ($VarNavig ationTopGe nerateOpti on) = 0)"> | |||
265 | <ww page:Condi tion name= "navigatio n-top" /> | 265 | <ww page:Condi tion name= "navigatio n-top" /> | |||
266 | </xs l:if> | 266 | </xs l:if> | |||
267 | 267 | |||||
268 | <!-- navigatio n-bottom - -> | 268 | <!-- navigatio n-bottom - -> | |||
269 | <!-- - -> | 269 | <!-- - -> | |||
270 | <xsl :variable name="VarN avigationB ottomGener ateOption" select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'navi gation-bot tom-genera te']/@Valu e" /> | 270 | <xsl :variable name="VarN avigationB ottomGener ateOption" select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'navi gation-bot tom-genera te']/@Valu e" /> | |||
271 | <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'"> | 271 | <xsl :if test=" $VarNaviga tionBottom GenerateOp tion = 'tr ue'"> | |||
272 | <ww page:Condi tion name= "navigatio n-bottom" /> | 272 | <ww page:Condi tion name= "navigatio n-bottom" /> | |||
273 | </xs l:if> | 273 | </xs l:if> | |||
274 | 274 | |||||
275 | <!-- Generate TOC? --> | 275 | <!-- Generate TOC? --> | |||
276 | <!-- --> | 276 | <!-- --> | |||
277 | <xsl :if test=" count($Var TOCSplitFi le) = 1"> | 277 | <xsl :if test=" count($Var TOCSplitFi le) = 1"> | |||
278 | <xs l:choose> | 278 | <xs l:choose> | |||
279 | <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1"> | 279 | <x sl:when te st="count( $ParamSpli t | $VarTO CSplitFile ) = 1"> | |||
280 | < !-- naviga tion-toc-c urrent --> | 280 | < !-- naviga tion-toc-c urrent --> | |||
281 | < !-- --> | 281 | < !-- --> | |||
282 | < wwpage:Con dition nam e="navigat ion-toc-cu rrent" /> | 282 | < wwpage:Con dition nam e="navigat ion-toc-cu rrent" /> | |||
283 | </ xsl:when> | 283 | </ xsl:when> | |||
284 | 284 | |||||
285 | <x sl:otherwi se> | 285 | <x sl:otherwi se> | |||
286 | < !-- naviga tion-toc-n ot-current --> | 286 | < !-- naviga tion-toc-n ot-current --> | |||
287 | < !-- --> | 287 | < !-- --> | |||
288 | < wwpage:Con dition nam e="navigat ion-toc-no t-current" /> | 288 | < wwpage:Con dition nam e="navigat ion-toc-no t-current" /> | |||
289 | </ xsl:otherw ise> | 289 | </ xsl:otherw ise> | |||
290 | </x sl:choose> | 290 | </x sl:choose> | |||
291 | </xs l:if> | 291 | </xs l:if> | |||
292 | 292 | |||||
293 | <!-- navigatio n-previous -exists -- > | 293 | <!-- navigatio n-previous -exists -- > | |||
294 | <!-- -- > | 294 | <!-- -- > | |||
295 | <xsl :if test=" count($Var PreviousSp lit) = 1"> | 295 | <xsl :if test=" count($Var PreviousSp lit) = 1"> | |||
296 | <ww page:Condi tion name= "navigatio n-previous -exists" / > | 296 | <ww page:Condi tion name= "navigatio n-previous -exists" / > | |||
297 | </xs l:if> | 297 | </xs l:if> | |||
298 | 298 | |||||
299 | <!-- navigatio n-previous -not-exist s --> | 299 | <!-- navigatio n-previous -not-exist s --> | |||
300 | <!-- --> | 300 | <!-- --> | |||
301 | <xsl :if test=" count($Var PreviousSp lit) = 0"> | 301 | <xsl :if test=" count($Var PreviousSp lit) = 0"> | |||
302 | <ww page:Condi tion name= "navigatio n-previous -not-exist s" /> | 302 | <ww page:Condi tion name= "navigatio n-previous -not-exist s" /> | |||
303 | </xs l:if> | 303 | </xs l:if> | |||
304 | 304 | |||||
305 | <!-- navigatio n-next-exi sts --> | 305 | <!-- navigatio n-next-exi sts --> | |||
306 | <!-- --> | 306 | <!-- --> | |||
307 | <xsl :if test=" count($Var NextSplit) = 1"> | 307 | <xsl :if test=" count($Var NextSplit) = 1"> | |||
308 | <ww page:Condi tion name= "navigatio n-next-exi sts" /> | 308 | <ww page:Condi tion name= "navigatio n-next-exi sts" /> | |||
309 | </xs l:if> | 309 | </xs l:if> | |||
310 | 310 | |||||
311 | <!-- navigatio n-next-not -exists -- > | 311 | <!-- navigatio n-next-not -exists -- > | |||
312 | <!-- -- > | 312 | <!-- -- > | |||
313 | <xsl :if test=" count($Var NextSplit) = 0"> | 313 | <xsl :if test=" count($Var NextSplit) = 0"> | |||
314 | <ww page:Condi tion name= "navigatio n-next-not -exists" / > | 314 | <ww page:Condi tion name= "navigatio n-next-not -exists" / > | |||
315 | </xs l:if> | 315 | </xs l:if> | |||
316 | 316 | |||||
317 | <!-- Generate Index? --> | 317 | <!-- Generate Index? --> | |||
318 | <!-- --> | 318 | <!-- --> | |||
319 | <xsl :if test=" count($Var IndexSplit File) = 1" > | 319 | <xsl :if test=" count($Var IndexSplit File) = 1" > | |||
320 | <xs l:choose> | 320 | <xs l:choose> | |||
321 | <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1"> | 321 | <x sl:when te st="count( $ParamSpli t | $VarIn dexSplitFi le) = 1"> | |||
322 | < !-- naviga tion-index -current - -> | 322 | < !-- naviga tion-index -current - -> | |||
323 | < !-- --> | 323 | < !-- --> | |||
324 | < wwpage:Con dition nam e="navigat ion-index- current" / > | 324 | < wwpage:Con dition nam e="navigat ion-index- current" / > | |||
325 | </ xsl:when> | 325 | </ xsl:when> | |||
326 | 326 | |||||
327 | <x sl:otherwi se> | 327 | <x sl:otherwi se> | |||
328 | < !-- naviga tion-index -not-curre nt --> | 328 | < !-- naviga tion-index -not-curre nt --> | |||
329 | < !-- --> | 329 | < !-- --> | |||
330 | < wwpage:Con dition nam e="navigat ion-index- not-curren t" /> | 330 | < wwpage:Con dition nam e="navigat ion-index- not-curren t" /> | |||
331 | </ xsl:otherw ise> | 331 | </ xsl:otherw ise> | |||
332 | </x sl:choose> | 332 | </x sl:choose> | |||
333 | </xs l:if> | 333 | </xs l:if> | |||
334 | 334 | |||||
335 | <!-- Company I nfo --> | 335 | <!-- Company I nfo --> | |||
336 | <!-- --> | 336 | <!-- --> | |||
337 | <xsl :call-temp late name= "CompanyIn fo-Conditi ons"> | 337 | <xsl :call-temp late name= "CompanyIn fo-Conditi ons"> | |||
338 | <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" /> | 338 | <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" /> | |||
339 | </xs l:call-tem plate> | 339 | </xs l:call-tem plate> | |||
340 | </xsl :variable> | 340 | </xsl :variable> | |||
341 | <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / > | 341 | <xsl: variable n ame="VarIn itialCondi tions" sel ect="msxsl :node-set( $VarInitia lCondition sAsXML)" / > | |||
342 | 342 | |||||
343 | <!-- Set header /footer co nditions - -> | 343 | <!-- Set header /footer co nditions - -> | |||
344 | <!-- - -> | 344 | <!-- - -> | |||
345 | <xsl: variable n ame="VarCo nditionsAs XML"> | 345 | <xsl: variable n ame="VarCo nditionsAs XML"> | |||
346 | <!-- Copy exis ting as is --> | 346 | <!-- Copy exis ting as is --> | |||
347 | <!-- --> | 347 | <!-- --> | |||
348 | <xsl :for-each select="$V arInitialC onditions/ *"> | 348 | <xsl :for-each select="$V arInitialC onditions/ *"> | |||
349 | <xs l:copy-of select="." /> | 349 | <xs l:copy-of select="." /> | |||
350 | </xs l:for-each > | 350 | </xs l:for-each > | |||
351 | 351 | |||||
352 | <xsl :for-each select="$V arInitialC onditions[ 1]"> | 352 | <xsl :for-each select="$V arInitialC onditions[ 1]"> | |||
353 | <!- - header-e xists --> | 353 | <!- - header-e xists --> | |||
354 | <!- - --> | 354 | <!- - --> | |||
355 | <xs l:variable name="Var HeaderExis ts" select ="count(ke y('wwpage- conditions -by-name', 'navigati on-top') | key('wwpa ge-conditi ons-by-nam e', 'bread crumbs-top ') | key(' wwpage-con ditions-by -name', 'c ompany-inf o-top')) & gt; 0" /> | 355 | <xs l:variable name="Var HeaderExis ts" select ="count(ke y('wwpage- conditions -by-name', 'navigati on-top') | key('wwpa ge-conditi ons-by-nam e', 'bread crumbs-top ') | key(' wwpage-con ditions-by -name', 'c ompany-inf o-top')) & gt; 0" /> | |||
356 | <xs l:if test= "$VarHeade rExists"> | 356 | <xs l:if test= "$VarHeade rExists"> | |||
357 | <w wpage:Cond ition name ="header-e xists" /> | 357 | <w wpage:Cond ition name ="header-e xists" /> | |||
358 | </x sl:if> | 358 | </x sl:if> | |||
359 | 359 | |||||
360 | <!- - footer-e xists --> | 360 | <!- - footer-e xists --> | |||
361 | <!- - --> | 361 | <!- - --> | |||
362 | <xs l:variable name="Var FooterExis ts" select ="count(ke y('wwpage- conditions -by-name', 'navigati on-bottom' ) | key('w wpage-cond itions-by- name', 'br eadcrumbs- bottom') | key('wwpa ge-conditi ons-by-nam e', 'compa ny-info-bo ttom')) &g t; 0" /> | 362 | <xs l:variable name="Var FooterExis ts" select ="count(ke y('wwpage- conditions -by-name', 'navigati on-bottom' ) | key('w wpage-cond itions-by- name', 'br eadcrumbs- bottom') | key('wwpa ge-conditi ons-by-nam e', 'compa ny-info-bo ttom')) &g t; 0" /> | |||
363 | <xs l:if test= "$VarFoote rExists"> | 363 | <xs l:if test= "$VarFoote rExists"> | |||
364 | <w wpage:Cond ition name ="footer-e xists" /> | 364 | <w wpage:Cond ition name ="footer-e xists" /> | |||
365 | </x sl:if> | 365 | </x sl:if> | |||
366 | 366 | |||||
367 | <!- - header-f ooter-exis ts --> | 367 | <!- - header-f ooter-exis ts --> | |||
368 | <!- - --> | 368 | <!- - --> | |||
369 | <xs l:choose> | 369 | <xs l:choose> | |||
370 | <x sl:when te st="$VarHe aderExists or $VarFo oterExists "> | 370 | <x sl:when te st="$VarHe aderExists or $VarFo oterExists "> | |||
371 | < wwpage:Con dition nam e="header- footer-exi sts" /> | 371 | < wwpage:Con dition nam e="header- footer-exi sts" /> | |||
372 | </ xsl:when> | 372 | </ xsl:when> | |||
373 | 373 | |||||
374 | <x sl:otherwi se> | 374 | <x sl:otherwi se> | |||
375 | < wwpage:Con dition nam e="header- footer-not -exists" / > | 375 | < wwpage:Con dition nam e="header- footer-not -exists" / > | |||
376 | </ xsl:otherw ise> | 376 | </ xsl:otherw ise> | |||
377 | </x sl:choose> | 377 | </x sl:choose> | |||
378 | </xs l:for-each > | 378 | </xs l:for-each > | |||
379 | </xsl :variable> | 379 | </xsl :variable> | |||
380 | <xsl: variable n ame="VarCo nditions" select="ms xsl:node-s et($VarCon ditionsAsX ML)" /> | 380 | <xsl: variable n ame="VarCo nditions" select="ms xsl:node-s et($VarCon ditionsAsX ML)" /> | |||
381 | 381 | |||||
382 | <!-- Replacemen ts --> | 382 | <!-- Replacemen ts --> | |||
383 | <!-- --> | 383 | <!-- --> | |||
384 | <xsl: variable n ame="VarRe placements AsXML"> | 384 | <xsl: variable n ame="VarRe placements AsXML"> | |||
385 | <!-- body-styl e --> | 385 | <!-- body-styl e --> | |||
386 | <!-- --> | 386 | <!-- --> | |||
387 | <wwp age:Replac ement name ="body-sty le"> | 387 | <wwp age:Replac ement name ="body-sty le"> | |||
388 | <xs l:attribut e name="va lue"> | 388 | <xs l:attribut e name="va lue"> | |||
389 | <! -- CSS pro perties -- > | 389 | <! -- CSS pro perties -- > | |||
390 | <! -- -- > | 390 | <! -- -- > | |||
391 | <x sl:variabl e name="Va rCSSProper tiesAsXML" > | 391 | <x sl:variabl e name="Va rCSSProper tiesAsXML" > | |||
392 | < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties"> | 392 | < xsl:call-t emplate na me="CSS-Tr anslatePro jectProper ties"> | |||
393 | <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property" /> | 393 | <xsl:with- param name ="ParamPro perties" s elect="$Va rPageRule/ wwproject: Properties /wwproject :Property" /> | |||
394 | <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path" /> | 394 | <xsl:with- param name ="ParamFro mAbsoluteU RI" select ="$ParamSp lit/@path" /> | |||
395 | <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" /> | 395 | <xsl:with- param name ="ParamSpl its" selec t="$ParamS plits" /> | |||
396 | < /xsl:call- template> | 396 | < /xsl:call- template> | |||
397 | </ xsl:variab le> | 397 | </ xsl:variab le> | |||
398 | <x sl:variabl e name="Va rCSSProper ties" sele ct="msxsl: node-set($ VarCSSProp ertiesAsXM L)/wwproje ct:Propert y" /> | 398 | <x sl:variabl e name="Va rCSSProper ties" sele ct="msxsl: node-set($ VarCSSProp ertiesAsXM L)/wwproje ct:Propert y" /> | |||
399 | 399 | |||||
400 | <x sl:call-te mplate nam e="CSS-Inl inePropert ies"> | 400 | <x sl:call-te mplate nam e="CSS-Inl inePropert ies"> | |||
401 | < xsl:with-p aram name= "ParamProp erties" se lect="$Var CSSPropert ies[string -length(@V alue) > 0]" /> | 401 | < xsl:with-p aram name= "ParamProp erties" se lect="$Var CSSPropert ies[string -length(@V alue) > 0]" /> | |||
402 | </ xsl:call-t emplate> | 402 | </ xsl:call-t emplate> | |||
403 | </x sl:attribu te> | 403 | </x sl:attribu te> | |||
404 | </ww page:Repla cement> | 404 | </ww page:Repla cement> | |||
405 | 405 | |||||
406 | <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" /> | 406 | <wwp age:Replac ement name ="skip-nav igation-ur i" value=" {$VarSkipN avigationU RI}" /> | |||
407 | <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" /> | 407 | <wwp age:Replac ement name ="title" v alue="{$Pa ramSplit/@ title}" /> | |||
408 | <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" /> | 408 | <wwp age:Replac ement name ="navigati on-toc-tit le" value= "{$VarTOCS plitFile/@ title}" /> | |||
409 | <wwp age:Replac ement name ="navigati on-previou s-title" v alue="{$Gl obalLocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'P revious']/ @value}" / > | 409 | <wwp age:Replac ement name ="navigati on-previou s-title" v alue="{$Gl obalLocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'P revious']/ @value}" / > | |||
410 | <wwp age:Replac ement name ="navigati on-next-ti tle" value ="{$Global Locale/wwl ocale:Loca le/wwlocal e:Strings/ wwlocale:S tring[@nam e = 'Next' ]/@value}" /> | 410 | <wwp age:Replac ement name ="navigati on-next-ti tle" value ="{$Global Locale/wwl ocale:Loca le/wwlocal e:Strings/ wwlocale:S tring[@nam e = 'Next' ]/@value}" /> | |||
411 | <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " /> | 411 | <wwp age:Replac ement name ="navigati on-index-t itle" valu e="{$VarIn dexSplitFi le/@title} " /> | |||
412 | 412 | |||||
413 | <wwp age:Replac ement name ="document -css"> | 413 | <wwp age:Replac ement name ="document -css"> | |||
414 | <xs l:attribut e name="va lue"> | 414 | <xs l:attribut e name="va lue"> | |||
415 | <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI"> | 415 | <x sl:call-te mplate nam e="URI-Res olveProjec tFileURI"> | |||
416 | < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path" /> | 416 | < xsl:with-p aram name= "ParamFrom AbsoluteUR I" select= "$ParamSpl it/@path" /> | |||
417 | < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> | 417 | < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> | |||
418 | < xsl:with-p aram name= "ParamURI" select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / > | 418 | < xsl:with-p aram name= "ParamURI" select="$ VarPageRul e/wwprojec t:Options/ wwproject: Option[@Na me = 'docu ment-css'] /@Value" / > | |||
419 | </ xsl:call-t emplate> | 419 | </ xsl:call-t emplate> | |||
420 | </x sl:attribu te> | 420 | </x sl:attribu te> | |||
421 | </ww page:Repla cement> | 421 | </ww page:Repla cement> | |||
422 | 422 | |||||
423 | <wwp age:Replac ement name ="locale" value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" /> | 423 | <wwp age:Replac ement name ="locale" value="{ww projext:Ge tFormatSet ting('loca le', 'en') }" /> | |||
424 | <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'utf-8') )}" /> | 424 | <wwp age:Replac ement name ="content- type" valu e="{concat ('text/htm l;charset= ', wwproje xt:GetForm atSetting( 'encoding' , 'utf-8') )}" /> | |||
425 | 425 | |||||
426 | <wwp age:Replac ement name ="breadcru mbs-top-st yle"> | 426 | <wwp age:Replac ement name ="breadcru mbs-top-st yle"> | |||
427 | <xs l:attribut e name="va lue"> | 427 | <xs l:attribut e name="va lue"> | |||
428 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-top-alig nment']/@V alue" /> | 428 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-top-alig nment']/@V alue" /> | |||
429 | <x sl:choose> | 429 | <x sl:choose> | |||
430 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | 430 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | |||
431 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | 431 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | |||
432 | < /xsl:when> | 432 | < /xsl:when> | |||
433 | 433 | |||||
434 | < xsl:otherw ise> | 434 | < xsl:otherw ise> | |||
435 | <xsl:value -of select ="'text-al ign: left; '" /> | 435 | <xsl:value -of select ="'text-al ign: left; '" /> | |||
436 | < /xsl:other wise> | 436 | < /xsl:other wise> | |||
437 | </ xsl:choose > | 437 | </ xsl:choose > | |||
438 | </x sl:attribu te> | 438 | </x sl:attribu te> | |||
439 | </ww page:Repla cement> | 439 | </ww page:Repla cement> | |||
440 | 440 | |||||
441 | <wwp age:Replac ement name ="breadcru mbs-bottom -style"> | 441 | <wwp age:Replac ement name ="breadcru mbs-bottom -style"> | |||
442 | <xs l:attribut e name="va lue"> | 442 | <xs l:attribut e name="va lue"> | |||
443 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / > | 443 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' breadcrumb s-bottom-a lignment'] /@Value" / > | |||
444 | <x sl:choose> | 444 | <x sl:choose> | |||
445 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | 445 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | |||
446 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | 446 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | |||
447 | < /xsl:when> | 447 | < /xsl:when> | |||
448 | 448 | |||||
449 | < xsl:otherw ise> | 449 | < xsl:otherw ise> | |||
450 | <xsl:value -of select ="'text-al ign: left; '" /> | 450 | <xsl:value -of select ="'text-al ign: left; '" /> | |||
451 | < /xsl:other wise> | 451 | < /xsl:other wise> | |||
452 | </ xsl:choose > | 452 | </ xsl:choose > | |||
453 | </x sl:attribu te> | 453 | </x sl:attribu te> | |||
454 | </ww page:Repla cement> | 454 | </ww page:Repla cement> | |||
455 | 455 | |||||
456 | <wwp age:Replac ement name ="navigati on-top-sty le"> | 456 | <wwp age:Replac ement name ="navigati on-top-sty le"> | |||
457 | <xs l:attribut e name="va lue"> | 457 | <xs l:attribut e name="va lue"> | |||
458 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" /> | 458 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -top-align ment']/@Va lue" /> | |||
459 | <x sl:choose> | 459 | <x sl:choose> | |||
460 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | 460 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | |||
461 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | 461 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | |||
462 | < /xsl:when> | 462 | < /xsl:when> | |||
463 | 463 | |||||
464 | < xsl:otherw ise> | 464 | < xsl:otherw ise> | |||
465 | <xsl:value -of select ="'text-al ign: left; '" /> | 465 | <xsl:value -of select ="'text-al ign: left; '" /> | |||
466 | < /xsl:other wise> | 466 | < /xsl:other wise> | |||
467 | </ xsl:choose > | 467 | </ xsl:choose > | |||
468 | </x sl:attribu te> | 468 | </x sl:attribu te> | |||
469 | </ww page:Repla cement> | 469 | </ww page:Repla cement> | |||
470 | 470 | |||||
471 | <wwp age:Replac ement name ="navigati on-bottom- style"> | 471 | <wwp age:Replac ement name ="navigati on-bottom- style"> | |||
472 | <xs l:attribut e name="va lue"> | 472 | <xs l:attribut e name="va lue"> | |||
473 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" /> | 473 | <x sl:variabl e name="Va rAlignment Property" select="$V arPageRule /wwproject :Propertie s/wwprojec t:Property [@Name = ' navigation -bottom-al ignment']/ @Value" /> | |||
474 | <x sl:choose> | 474 | <x sl:choose> | |||
475 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | 475 | < xsl:when t est="strin g-length($ VarAlignme ntProperty ) > 0"> | |||
476 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | 476 | <xsl:value -of select ="concat(' text-align : ', $VarA lignmentPr operty, '; ')" /> | |||
477 | < /xsl:when> | 477 | < /xsl:when> | |||
478 | 478 | |||||
479 | < xsl:otherw ise> | 479 | < xsl:otherw ise> | |||
480 | <xsl:value -of select ="'text-al ign: left; '" /> | 480 | <xsl:value -of select ="'text-al ign: left; '" /> | |||
481 | < /xsl:other wise> | 481 | < /xsl:other wise> | |||
482 | </ xsl:choose > | 482 | </ xsl:choose > | |||
483 | </x sl:attribu te> | 483 | </x sl:attribu te> | |||
484 | </ww page:Repla cement> | 484 | </ww page:Repla cement> | |||
485 | 485 | |||||
486 | <xsl :if test=" count($Var TOCSplitFi le) = 1"> | 486 | <xsl :if test=" count($Var TOCSplitFi le) = 1"> | |||
487 | <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Un escape(wwu ri:GetRela tiveTo($Va rTOCSplitF ile/@path, $ParamSpl it/@path)) }" /> | 487 | <ww page:Repla cement nam e="navigat ion-toc-li nk" value= "{wwuri:Un escape(wwu ri:GetRela tiveTo($Va rTOCSplitF ile/@path, $ParamSpl it/@path)) }" /> | |||
488 | </xs l:if> | 488 | </xs l:if> | |||
489 | <xsl :if test=" count($Var PreviousSp lit) = 1"> | 489 | <xsl :if test=" count($Var PreviousSp lit) = 1"> | |||
490 | <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:Unescap e(wwuri:Ge tRelativeT o($VarPrev iousSplit/ @path, $Pa ramSplit/@ path))}" / > | 490 | <ww page:Repla cement nam e="navigat ion-previo us-link" v alue="{wwu ri:Unescap e(wwuri:Ge tRelativeT o($VarPrev iousSplit/ @path, $Pa ramSplit/@ path))}" / > | |||
491 | </xs l:if> | 491 | </xs l:if> | |||
492 | <xsl :if test=" count($Var NextSplit) = 1"> | 492 | <xsl :if test=" count($Var NextSplit) = 1"> | |||
493 | <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:U nescape(ww uri:GetRel ativeTo($V arNextSpli t/@path, $ ParamSplit /@path))}" /> | 493 | <ww page:Repla cement nam e="navigat ion-next-l ink" value ="{wwuri:U nescape(ww uri:GetRel ativeTo($V arNextSpli t/@path, $ ParamSplit /@path))}" /> | |||
494 | </xs l:if> | 494 | </xs l:if> | |||
495 | <xsl :if test=" count($Var IndexSplit File) = 1" > | 495 | <xsl :if test=" count($Var IndexSplit File) = 1" > | |||
496 | <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: Unescape(w wuri:GetRe lativeTo($ VarIndexSp litFile/@p ath, $Para mSplit/@pa th))}" /> | 496 | <ww page:Repla cement nam e="navigat ion-index- link" valu e="{wwuri: Unescape(w wuri:GetRe lativeTo($ VarIndexSp litFile/@p ath, $Para mSplit/@pa th))}" /> | |||
497 | </xs l:if> | 497 | </xs l:if> | |||
498 | 498 | |||||
499 | <!-- Company I nfo --> | 499 | <!-- Company I nfo --> | |||
500 | <!-- --> | 500 | <!-- --> | |||
501 | <xsl :call-temp late name= "CompanyIn fo-Replace ments"> | 501 | <xsl :call-temp late name= "CompanyIn fo-Replace ments"> | |||
502 | <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" /> | 502 | <xs l:with-par am name="P aramPageRu le" select ="$VarPage Rule" /> | |||
503 | <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path" /> | 503 | <xs l:with-par am name="P aramPagePa th" select ="$ParamSp lit/@path" /> | |||
504 | <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> | 504 | <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> | |||
505 | </xs l:call-tem plate> | 505 | </xs l:call-tem plate> | |||
506 | 506 | |||||
507 | <!-- Breadcrum bs --> | 507 | <!-- Breadcrum bs --> | |||
508 | <!-- --> | 508 | <!-- --> | |||
509 | <wwp age:Replac ement name ="breadcru mbs"> | 509 | <wwp age:Replac ement name ="breadcru mbs"> | |||
510 | <xs l:call-tem plate name ="Breadcru mbs"> | 510 | <xs l:call-tem plate name ="Breadcru mbs"> | |||
511 | <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" /> | 511 | <x sl:with-pa ram name=" ParamPageR ule" selec t="$VarPag eRule" /> | |||
512 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | 512 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | |||
513 | <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / > | 513 | <x sl:with-pa ram name=" ParamBread crumbTOCEn try" selec t="$ParamB readcrumbT OCEntry" / > | |||
514 | </x sl:call-te mplate> | 514 | </x sl:call-te mplate> | |||
515 | </ww page:Repla cement> | 515 | </ww page:Repla cement> | |||
516 | 516 | |||||
517 | <!-- Content - -> | 517 | <!-- Content - -> | |||
518 | <!-- - -> | 518 | <!-- - -> | |||
519 | <wwp age:Replac ement name ="content" > | 519 | <wwp age:Replac ement name ="content" > | |||
520 | <xs l:call-tem plate name ="Content- Content"> | 520 | <xs l:call-tem plate name ="Content- Content"> | |||
521 | <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" /> | 521 | <x sl:with-pa ram name=" ParamConte nt" select ="$ParamCo ntent" /> | |||
522 | <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> | 522 | <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> | |||
523 | <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo" /> | 523 | <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo" /> | |||
524 | <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> | 524 | <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> | |||
525 | <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> | 525 | <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> | |||
526 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | 526 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | |||
527 | </x sl:call-te mplate> | 527 | </x sl:call-te mplate> | |||
528 | <xs l:call-tem plate name ="Content- Notes"> | 528 | <xs l:call-tem plate name ="Content- Notes"> | |||
529 | <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes" /> | 529 | <x sl:with-pa ram name=" ParamNotes " select=" $VarNotes" /> | |||
530 | <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> | 530 | <x sl:with-pa ram name=" ParamSplit s" select= "$ParamSpl its" /> | |||
531 | <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo" /> | 531 | <x sl:with-pa ram name=" ParamCargo " select=" $VarCargo" /> | |||
532 | <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> | 532 | <x sl:with-pa ram name=" ParamLinks " select=" $ParamLink s" /> | |||
533 | <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> | 533 | <x sl:with-pa ram name=" ParamTOCDa ta" select ="$ParamTO CData" /> | |||
534 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | 534 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | |||
535 | </x sl:call-te mplate> | 535 | </x sl:call-te mplate> | |||
536 | </ww page:Repla cement> | 536 | </ww page:Repla cement> | |||
537 | 537 | |||||
538 | <!-- Variables --> | 538 | <!-- Variables --> | |||
539 | <!-- --> | 539 | <!-- --> | |||
540 | <xsl :variable name="VarS plitGlobal VariablesA sXML"> | 540 | <xsl :variable name="VarS plitGlobal VariablesA sXML"> | |||
541 | <xs l:call-tem plate name ="Variable s-Globals- Split"> | 541 | <xs l:call-tem plate name ="Variable s-Globals- Split"> | |||
542 | <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" /> | 542 | <x sl:with-pa ram name=" ParamProje ctVariable s" select= "$GlobalPr ojectVaria bles" /> | |||
543 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | 543 | <x sl:with-pa ram name=" ParamSplit " select=" $ParamSpli t" /> | |||
544 | </x sl:call-te mplate> | 544 | </x sl:call-te mplate> | |||
545 | </xs l:variable > | 545 | </xs l:variable > | |||
546 | <xsl :variable name="VarS plitGlobal Variables" select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " /> | 546 | <xsl :variable name="VarS plitGlobal Variables" select="m sxsl:node- set($VarSp litGlobalV ariablesAs XML)/wwvar s:Variable " /> | |||
547 | <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments"> | 547 | <xsl :call-temp late name= "Variables -Page-Stri ng-Replace ments"> | |||
548 | <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / > | 548 | <xs l:with-par am name="P aramVariab les" selec t="$VarSpl itGlobalVa riables" / > | |||
549 | </xs l:call-tem plate> | 549 | </xs l:call-tem plate> | |||
550 | </xsl :variable> | 550 | </xsl :variable> | |||
551 | <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / > | 551 | <xsl: variable n ame="VarRe placements " select=" msxsl:node -set($VarR eplacement sAsXML)" / > | |||
552 | 552 | |||||
553 | <!-- Map common character s --> | 553 | <!-- Map common character s --> | |||
554 | <!-- --> | 554 | <!-- --> | |||
555 | <wwex sldoc:Mapp ingContext > | 555 | <wwex sldoc:Mapp ingContext > | |||
556 | <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name = 'common']/ wwexsldoc: MapEntry" /> | 556 | <xsl :copy-of s elect="$Gl obalMapEnt rySets/wwe xsldoc:Map EntrySets/ wwexsldoc: MapEntrySe t[@name = 'common']/ wwexsldoc: MapEntry" /> | |||
557 | 557 | |||||
558 | <!-- Invoke pa ge templat e --> | 558 | <!-- Invoke pa ge templat e --> | |||
559 | <!-- --> | 559 | <!-- --> | |||
560 | <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e"> | 560 | <xsl :apply-tem plates sel ect="$Glob alPageTemp late" mode ="wwmode:p agetemplat e"> | |||
561 | <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" /> | 561 | <xs l:with-par am name="P aramOutput DirectoryP ath" selec t="$VarOut putDirecto ryPath" /> | |||
562 | <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" /> | 562 | <xs l:with-par am name="P aramOutput Path" sele ct="$Param Split/@pat h" /> | |||
563 | <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions" /> | 563 | <xs l:with-par am name="P aramCondit ions" sele ct="$VarCo nditions" /> | |||
564 | <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" /> | 564 | <xs l:with-par am name="P aramReplac ements" se lect="$Var Replacemen ts" /> | |||
565 | </xs l:apply-te mplates> | 565 | </xs l:apply-te mplates> | |||
566 | </wwe xsldoc:Map pingContex t> | 566 | </wwe xsldoc:Map pingContex t> | |||
567 | </xsl: for-each> | 567 | </xsl: for-each> | |||
568 | </xsl:v ariable> | 568 | </xsl:v ariable> | |||
569 | 569 | |||||
570 | <!-- Ab orted? --> | 570 | <!-- Ab orted? --> | |||
571 | <!-- --> | 571 | <!-- --> | |||
572 | <xsl:if test="not (wwprogres s:Abort()) "> | 572 | <xsl:if test="not (wwprogres s:Abort()) "> | |||
573 | <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" /> | 573 | <xsl:v ariable na me="VarRes ult" selec t="msxsl:n ode-set($V arResultAs XML)" /> | |||
574 | <xsl:v ariable na me="VarWri teResult" select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'ut f-8'), 'ht ml', '4.01 ', 'yes')" /> | 574 | <xsl:v ariable na me="VarWri teResult" select="ww exsldoc:Do cument($Va rResult, $ ParamSplit /@path, ww projext:Ge tFormatSet ting('enco ding', 'ut f-8'), 'ht ml', '4.01 ', 'yes')" /> | |||
575 | </xsl:i f> | 575 | </xsl:i f> | |||
576 | </xsl:if > | 576 | </xsl:if > | |||
577 | 577 | |||||
578 | <!-- Abo rted? --> | 578 | <!-- Abo rted? --> | |||
579 | <!-- --> | 579 | <!-- --> | |||
580 | <xsl:if test="not( wwprogress :Abort())" > | 580 | <xsl:if test="not( wwprogress :Abort())" > | |||
581 | <!-- Re cord files --> | 581 | <!-- Re cord files --> | |||
582 | <!-- --> | 582 | <!-- --> | |||
583 | <wwfile s:File pat h="{$Param Split/@pat h}" type=" {$Paramete rType}" ch ecksum="{w wfilesyste m:GetCheck sum($Param Split/@pat h)}" proje ctchecksum ="{$Global Project/ww project:Pr oject/@Cha ngeID}" gr oupID="{$P aramSplit/ @groupID}" documentI D="{$Param Split/@doc umentID}" actionchec ksum="{$Gl obalAction Checksum}" category= "{$Paramet erCategory }" use="{$ ParameterU se}" deplo y="{$Param eterDeploy }"> | 583 | <wwfile s:File pat h="{$Param Split/@pat h}" type=" {$Paramete rType}" ch ecksum="{w wfilesyste m:GetCheck sum($Param Split/@pat h)}" proje ctchecksum ="{$Global Project/ww project:Pr oject/@Cha ngeID}" gr oupID="{$P aramSplit/ @groupID}" documentI D="{$Param Split/@doc umentID}" actionchec ksum="{$Gl obalAction Checksum}" category= "{$Paramet erCategory }" use="{$ ParameterU se}" deplo y="{$Param eterDeploy }"> | |||
584 | <wwfil es:Depends path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID="" /> | 584 | <wwfil es:Depends path="{$G lobalLocal ePath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lLocalePat h)}" group ID="" docu mentID="" /> | |||
585 | <wwfil es:Depends path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " /> | 585 | <wwfil es:Depends path="{$G lobalMapEn trySetsPat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalMap EntrySetsP ath)}" gro upID="" do cumentID=" " /> | |||
586 | <wwfil es:Depends path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " /> | 586 | <wwfil es:Depends path="{$G lobalPageT emplatePat h}" checks um="{wwfil esystem:Ge tChecksum( $GlobalPag eTemplateP ath)}" gro upID="" do cumentID=" " /> | |||
587 | <wwfil es:Depends path="{$G lobalProje ctVariable sPath}" ch ecksum="{w wfilesyste m:GetCheck sum($Globa lProjectVa riablesPat h)}" group ID="" docu mentID="" /> | |||||
587 | <wwfil es:Depends path="{$P aramFilesD ocumentNod e/@path}" checksum=" {$ParamFil esDocument Node/@chec ksum}" gro upID="{$Pa ramFilesDo cumentNode /@groupID} " document ID="{$Para mFilesDocu mentNode/@ documentID }" /> | 588 | <wwfil es:Depends path="{$P aramFilesD ocumentNod e/@path}" checksum=" {$ParamFil esDocument Node/@chec ksum}" gro upID="{$Pa ramFilesDo cumentNode /@groupID} " document ID="{$Para mFilesDocu mentNode/@ documentID }" /> | |||
588 | <wwfil es:Depends path="{$P aramFilesS plits/@pat h}" checks um="{$Para mFilesSpli ts/@checks um}" group ID="{$Para mFilesSpli ts/@groupI D}" docume ntID="{$Pa ramFilesSp lits/@docu mentID}" / > | 589 | <wwfil es:Depends path="{$P aramFilesS plits/@pat h}" checks um="{$Para mFilesSpli ts/@checks um}" group ID="{$Para mFilesSpli ts/@groupI D}" docume ntID="{$Pa ramFilesSp lits/@docu mentID}" / > | |||
589 | <wwfil es:Depends path="{$P aramBehavi orsFile/@p ath}" chec ksum="{$Pa ramBehavio rsFile/@ch ecksum}" g roupID="{$ ParamBehav iorsFile/@ groupID}" documentID ="{$ParamB ehaviorsFi le/@docume ntID}" /> | 590 | <wwfil es:Depends path="{$P aramBehavi orsFile/@p ath}" chec ksum="{$Pa ramBehavio rsFile/@ch ecksum}" g roupID="{$ ParamBehav iorsFile/@ groupID}" documentID ="{$ParamB ehaviorsFi le/@docume ntID}" /> | |||
590 | </wwfil es:File> | 591 | </wwfil es:File> | |||
591 | </xsl:if > | 592 | </xsl:if > | |||
592 | </xsl:tem plate> | 593 | </xsl:tem plate> | |||
593 | </xsl:styl esheet> | 594 | </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.