Produced by Araxis Merge on Thu Oct 16 22:29:58 2008 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\lauren\Desktop\ww-version-snapshots\ww-version-snapshots\2008.2\WebWorks\ePublisher Pro\Formats\Shared\reports\accessibility | document.xsl | Tue Jun 13 17:56:18 2006 UTC |
2 | C:\Documents and Settings\lauren\Desktop\ww-version-snapshots\ww-version-snapshots\2008.3\WebWorks\ePublisher Pro\Formats\Shared\reports\accessibility | document.xsl | Mon Oct 13 05:52:04 2008 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 5 | 1684 |
Changed | 4 | 8 |
Inserted | 0 | 0 |
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="urn :WebWorks- Reports-Sc hema" | 2 | <xsl:style sheet vers ion="1.0" xmlns="urn :WebWorks- Reports-Sc hema" | |||
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:wwre port="urn: WebWorks-R eports-Sch ema" | 5 | xmlns:wwre port="urn: WebWorks-R eports-Sch ema" | |||
6 | xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" | 6 | xmlns:wwsp lits="urn: WebWorks-E ngine-Spli ts-Schema" | |||
7 | xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" | 7 | xmlns:wwli nks="urn:W ebWorks-En gine-Links -Schema" | |||
8 | xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" | 8 | xmlns:wwlo cale="urn: WebWorks-L ocale-Sche ma" | |||
9 | xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" | 9 | xmlns:wwmo de="urn:We bWorks-Eng ine-Mode" | |||
10 | xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" | 10 | xmlns:wwfi les="urn:W ebWorks-En gine-Files -Schema" | |||
11 | xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" | 11 | xmlns:wwbe haviors="u rn:WebWork s-Behavior s-Schema" | |||
12 | xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" | 12 | xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" | |||
13 | xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" | 13 | xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" | |||
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:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" | 19 | xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" | |||
20 | xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" | 20 | xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" | |||
21 | xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" | 21 | xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" | |||
22 | xmlns:wwex ec="urn:We bWorks-XSL T-Extensio n-Execute" | 22 | xmlns:wwex ec="urn:We bWorks-XSL T-Extensio n-Execute" | |||
23 | xmlns:wwen v="urn:Web Works-XSLT -Extension -Environme nt" | 23 | xmlns:wwen v="urn:Web Works-XSLT -Extension -Environme nt" | |||
24 | exclude-re sult-prefi xes="xsl m sxsl wwspl its wwlink s wwlocale wwmode ww files wwbe haviors ww doc wwproj ect wwprog ress wwlog wwfilesys tem wwuri wwstring w wfilesext wwprojext wwexsldoc wwexec wwe nv" | 24 | exclude-re sult-prefi xes="xsl m sxsl wwspl its wwlink s wwlocale wwmode ww files wwbe haviors ww doc wwproj ect wwprog ress wwlog wwfilesys tem wwuri wwstring w wfilesext wwprojext wwexsldoc wwexec wwe nv" | |||
25 | > | 25 | > | |||
26 | <xsl:para m name="Gl obalInput" /> | 26 | <xsl:para m name="Gl obalInput" /> | |||
27 | <xsl:para m name="Gl obalPipeli neName" /> | 27 | <xsl:para m name="Gl obalPipeli neName" /> | |||
28 | <xsl:para m name="Gl obalProjec t" /> | 28 | <xsl:para m name="Gl obalProjec t" /> | |||
29 | <xsl:para m name="Gl obalFiles" /> | 29 | <xsl:para m name="Gl obalFiles" /> | |||
30 | <xsl:para m name="Pa rameterDep endsType" /> | 30 | <xsl:para m name="Pa rameterDep endsType" /> | |||
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 rameterBeh aviorsType " /> | 33 | <xsl:para m name="Pa rameterBeh aviorsType " /> | |||
34 | <xsl:para m name="Pa rameterTyp e" /> | 34 | <xsl:para m name="Pa rameterTyp e" /> | |||
35 | <xsl:para m name="Pa rameterUIL ocaleType" /> | 35 | <xsl:para m name="Pa rameterUIL ocaleType" /> | |||
36 | <xsl:para m name="Pa rameterAll owBaggage" /> | 36 | <xsl:para m name="Pa rameterAll owBaggage" /> | |||
37 | <xsl:para m name="Pa rameterAll owGroupToG roup" /> | 37 | <xsl:para m name="Pa rameterAll owGroupToG roup" /> | |||
38 | <xsl:para m name="Pa rameterAll owURL" /> | 38 | <xsl:para m name="Pa rameterAll owURL" /> | |||
39 | <xsl:para m name="Pa rameterBag gageSplitF ileType" / > | 39 | <xsl:para m name="Pa rameterBag gageSplitF ileType" / > | |||
40 | <xsl:para m name="Pa rameterCat egory" /> | 40 | <xsl:para m name="Pa rameterCat egory" /> | |||
41 | <xsl:para m name="Pa rameterUse " /> | 41 | <xsl:para m name="Pa rameterUse " /> | |||
42 | <xsl:para m name="Pa rameterDep loy" /> | 42 | <xsl:para m name="Pa rameterDep loy" /> | |||
43 | 43 | |||||
44 | 44 | |||||
45 | <xsl:name space-alia s styleshe et-prefix= "wwreport" result-pr efix="#def ault" /> | 45 | <xsl:name space-alia s styleshe et-prefix= "wwreport" result-pr efix="#def ault" /> | |||
46 | <xsl:stri p-space el ements="*" /> | 46 | <xsl:stri p-space el ements="*" /> | |||
47 | 47 | |||||
48 | 48 | |||||
49 | <xsl:incl ude href=" wwformat:T ransforms/ reports.xs l" /> | 49 | <xsl:incl ude href=" wwformat:T ransforms/ reports.xs l" /> | |||
50 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl" /> | 50 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/images. xsl" /> | |||
51 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl" /> | 51 | <xsl:incl ude href=" wwtransfor m:common/a ccessibili ty/tables. xsl" /> | |||
52 | <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> | 52 | <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> | |||
53 | <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> | 53 | <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> | |||
54 | 54 | |||||
55 | 55 | |||||
56 | <xsl:key name="wwfi les-files- by-type" m atch="wwfi les:File" use="@type " /> | 56 | <xsl:key name="wwfi les-files- by-type" m atch="wwfi les:File" use="@type " /> | |||
57 | <xsl:key name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID, ':', @type )" /> | 57 | <xsl:key name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID, ':', @type )" /> | |||
58 | <xsl:key name="wwfi les-files- by-documen tid" match ="wwfiles: File" use= "@document ID" /> | 58 | <xsl:key name="wwfi les-files- by-documen tid" match ="wwfiles: File" use= "@document ID" /> | |||
59 | <xsl:key name="wwbe haviors-fr ames-by-id " match="w wbehaviors :Frame" us e="@id" /> | 59 | <xsl:key name="wwbe haviors-fr ames-by-id " match="w wbehaviors :Frame" us e="@id" /> | |||
60 | <xsl:key name="wwbe haviors-ta bles-by-id " match="w wbehaviors :Table" us e="@id" /> | 60 | <xsl:key name="wwbe haviors-ta bles-by-id " match="w wbehaviors :Table" us e="@id" /> | |||
61 | <xsl:key name="wwsp lits-frame s-by-id" m atch="wwsp lits:Frame " use="@id " /> | 61 | <xsl:key name="wwsp lits-frame s-by-id" m atch="wwsp lits:Frame " use="@id " /> | |||
62 | 62 | |||||
63 | 63 | |||||
64 | <xsl:vari able name= "GlobalAct ionChecksu m"> | 64 | <xsl:vari able name= "GlobalAct ionChecksu m"> | |||
65 | <xsl:var iable name ="VarTrans formChecks ums"> | 65 | <xsl:var iable name ="VarTrans formChecks ums"> | |||
66 | <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))" /> | 66 | <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))" /> | |||
67 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/repor ts.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww format:Tra nsforms/re ports.xsl' )))" /> | 67 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/repor ts.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww format:Tra nsforms/re ports.xsl' )))" /> | |||
68 | <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')))" / > | 68 | <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')))" / > | |||
69 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/ta bles.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/tables. xsl')))" / > | 69 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwtra nsform:com mon/access ibility/ta bles.xsl') , ':', wwf ilesystem: GetChecksu m(wwuri:As FilePath(' wwtransfor m:common/a ccessibili ty/tables. xsl')))" / > | |||
70 | <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' )))" /> | 70 | <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' )))" /> | |||
71 | <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' )))" /> | 71 | <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' )))" /> | |||
72 | </xsl:va riable> | 72 | </xsl:va riable> | |||
73 | <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)" /> | 73 | <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)" /> | |||
74 | </xsl:var iable> | 74 | </xsl:var iable> | |||
75 | 75 | |||||
76 | 76 | |||||
77 | <!-- UI L ocale --> | 77 | <!-- UI L ocale --> | |||
78 | <!-- --> | 78 | <!-- --> | |||
79 | <xsl:vari able name= "GlobalUIL ocalePath" > | 79 | <xsl:vari able name= "GlobalUIL ocalePath" > | |||
80 | <xsl:for -each sele ct="$Globa lFiles[1]" > | 80 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||
81 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterUILoca leType)[1] /@path" /> | 81 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterUILoca leType)[1] /@path" /> | |||
82 | </xsl:fo r-each> | 82 | </xsl:fo r-each> | |||
83 | </xsl:var iable> | 83 | </xsl:var iable> | |||
84 | <xsl:vari able name= "GlobalUIL ocalePathC hecksum" s elect="wwf ilesystem: GetChecksu m($GlobalU ILocalePat h)" /> | 84 | <xsl:vari able name= "GlobalUIL ocalePathC hecksum" s elect="wwf ilesystem: GetChecksu m($GlobalU ILocalePat h)" /> | |||
85 | <xsl:vari able name= "GlobalUIL ocale" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($G lobalUILoc alePath)" /> | 85 | <xsl:vari able name= "GlobalUIL ocale" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($G lobalUILoc alePath)" /> | |||
86 | 86 | |||||
87 | 87 | |||||
88 | <!-- Seve rities --> | 88 | <!-- Seve rities --> | |||
89 | <!-- --> | 89 | <!-- --> | |||
90 | <xsl:vari able name= "GlobalAcc essibility ImageAltTa gsSeverity " select=" wwprojext: GetFormatS etting('re port-acces sibility-i mage-alt-t ags', 'war ning')" /> | 90 | <xsl:vari able name= "GlobalAcc essibility ImageAltTa gsSeverity " select=" wwprojext: GetFormatS etting('re port-acces sibility-i mage-alt-t ags', 'war ning')" /> | |||
91 | <xsl:vari able name= "GlobalAcc essibility ImageMapAl tTagsSever ity" selec t="wwproje xt:GetForm atSetting( 'report-ac cessibilit y-image-ma p-alt-tags ', 'warnin g')" /> | 91 | <xsl:vari able name= "GlobalAcc essibility ImageMapAl tTagsSever ity" selec t="wwproje xt:GetForm atSetting( 'report-ac cessibilit y-image-ma p-alt-tags ', 'warnin g')" /> | |||
92 | <xsl:vari able name= "GlobalAcc essibility ImageLongD escription sSeverity" select="w wprojext:G etFormatSe tting('rep ort-access ibility-im age-long-d escription s', 'warni ng')" /> | 92 | <xsl:vari able name= "GlobalAcc essibility ImageLongD escription sSeverity" select="w wprojext:G etFormatSe tting('rep ort-access ibility-im age-long-d escription s', 'warni ng')" /> | |||
93 | <xsl:vari able name= "GlobalAcc essibility TableSumma riesSeveri ty" select ="wwprojex t:GetForma tSetting(' report-acc essibility -table-sum maries', ' warning')" /> | 93 | <xsl:vari able name= "GlobalAcc essibility TableSumma riesSeveri ty" select ="wwprojex t:GetForma tSetting(' report-acc essibility -table-sum maries', ' warning')" /> | |||
94 | 94 | |||||
95 | 95 | |||||
96 | <xsl:temp late match ="/"> | 96 | <xsl:temp late match ="/"> | |||
97 | <wwfiles :Files ver sion="1.0" > | 97 | <wwfiles :Files ver sion="1.0" > | |||
98 | 98 | |||||
99 | <xsl:va riable nam e="VarGene rateReport Setting" s elect="wwp rojext:Get FormatSett ing('repor t-accessib ility-gene rate', 'fa lse') = 't rue'" /> | 99 | <xsl:va riable nam e="VarGene rateReport Setting" s elect="wwp rojext:Get FormatSett ing('repor t-accessib ility-gene rate', 'fa lse') = 't rue'" /> | |||
100 | <xsl:va riable nam e="VarRequ estedPipel ine" selec t="wwenv:R equestedPi peline($Gl obalPipeli neName)" / > | 100 | <xsl:va riable nam e="VarRequ estedPipel ine" selec t="wwenv:R equestedPi peline($Gl obalPipeli neName)" / > | |||
101 | <xsl:va riable nam e="VarGene rateReport " select=" ($VarGener ateReportS etting) or ($VarRequ estedPipel ine)" /> | 101 | <xsl:va riable nam e="VarGene rateReport " select=" ($VarGener ateReportS etting) or ($VarRequ estedPipel ine)" /> | |||
102 | 102 | |||||
103 | <xsl:if test="$Va rGenerateR eport"> | 103 | <xsl:if test="$Va rGenerateR eport"> | |||
104 | <!-- L oad projec t links -- > | 104 | <!-- L oad projec t links -- > | |||
105 | <!-- -- > | 105 | <!-- -- > | |||
106 | <xsl:f or-each se lect="$Glo balFiles[1 ]"> | 106 | <xsl:f or-each se lect="$Glo balFiles[1 ]"> | |||
107 | <xsl: variable n ame="VarLi nksFileInf o" select= "key('wwfi les-files- by-type', $Parameter LinksType) " /> | 107 | <xsl: variable n ame="VarLi nksFileInf o" select= "key('wwfi les-files- by-type', $Parameter LinksType) " /> | |||
108 | <xsl: variable n ame="VarLi nks" selec t="wwexsld oc:LoadXML WithoutRes olver($Var LinksFileI nfo/@path) " /> | 108 | <xsl: variable n ame="VarLi nks" selec t="wwexsld oc:LoadXML WithoutRes olver($Var LinksFileI nfo/@path) " /> | |||
109 | 109 | |||||
110 | <!-- Groups --> | 110 | <!-- Groups --> | |||
111 | <!-- --> | 111 | <!-- --> | |||
112 | <xsl: variable n ame="VarPr ojectGroup s" select= "$GlobalPr oject/wwpr oject:Proj ect/wwproj ect:Groups /wwproject :Group" /> | 112 | <xsl: variable n ame="VarPr ojectGroup s" select= "$GlobalPr oject/wwpr oject:Proj ect/wwproj ect:Groups /wwproject :Group" /> | |||
113 | <xsl: variable n ame="VarPr ogressProj ectGroupsS tart" sele ct="wwprog ress:Start (count($Va rProjectGr oups))" /> | 113 | <xsl: variable n ame="VarPr ogressProj ectGroupsS tart" sele ct="wwprog ress:Start (count($Va rProjectGr oups))" /> | |||
114 | <xsl: for-each s elect="$Va rProjectGr oups"> | 114 | <xsl: for-each s elect="$Va rProjectGr oups"> | |||
115 | <xsl :variable name="VarP rojectGrou p" select= "." /> | 115 | <xsl :variable name="VarP rojectGrou p" select= "." /> | |||
116 | 116 | |||||
117 | <xsl :variable name="VarP rogressPro jectGroupS tart" sele ct="wwprog ress:Start (1)" /> | 117 | <xsl :variable name="VarP rogressPro jectGroupS tart" sele ct="wwprog ress:Start (1)" /> | |||
118 | 118 | |||||
119 | <!-- Aborted? --> | 119 | <!-- Aborted? --> | |||
120 | <!-- --> | 120 | <!-- --> | |||
121 | <xsl :if test=" not(wwprog ress:Abort ())"> | 121 | <xsl :if test=" not(wwprog ress:Abort ())"> | |||
122 | <xs l:for-each select="$ GlobalFile s[1]"> | 122 | <xs l:for-each select="$ GlobalFile s[1]"> | |||
123 | <! -- Group S plits --> | 123 | <! -- Group S plits --> | |||
124 | <! -- --> | 124 | <! -- --> | |||
125 | <x sl:variabl e name="Va rFilesSpli ts" select ="key('wwf iles-files -by-groupi d-type', c oncat($Var ProjectGro up/@GroupI D, ':', $P arameterSp litsType)) " /> | 125 | <x sl:variabl e name="Va rFilesSpli ts" select ="key('wwf iles-files -by-groupi d-type', c oncat($Var ProjectGro up/@GroupI D, ':', $P arameterSp litsType)) " /> | |||
126 | <x sl:variabl e name="Va rSplits" s elect="wwe xsldoc:Loa dXMLWithou tResolver( $VarFilesS plits/@pat h)" /> | 126 | <x sl:variabl e name="Va rSplits" s elect="wwe xsldoc:Loa dXMLWithou tResolver( $VarFilesS plits/@pat h)" /> | |||
127 | 127 | |||||
128 | <! -- Iterate input doc uments --> | 128 | <! -- Iterate input doc uments --> | |||
129 | <! -- --> | 129 | <! -- --> | |||
130 | <x sl:for-eac h select=" $GlobalInp ut[1]"> | 130 | <x sl:for-eac h select=" $GlobalInp ut[1]"> | |||
131 | < !-- Docume nts --> | 131 | < !-- Docume nts --> | |||
132 | < !-- --> | 132 | < !-- --> | |||
133 | < xsl:variab le name="V arGroupDoc umentFiles " select=" key('wwfil es-files-b y-type', $ ParameterD ependsType )[@groupID = $VarPro jectGroup/ @GroupID]" /> | 133 | < xsl:variab le name="V arGroupDoc umentFiles " select=" key('wwfil es-files-b y-type', $ ParameterD ependsType )[@groupID = $VarPro jectGroup/ @GroupID]" /> | |||
134 | < xsl:variab le name="V arProgress GroupDocum entsStart" select="w wprogress: Start(coun t($VarGrou pDocumentF iles))" /> | 134 | < xsl:variab le name="V arProgress GroupDocum entsStart" select="w wprogress: Start(coun t($VarGrou pDocumentF iles))" /> | |||
135 | < xsl:for-ea ch select= "$VarGroup DocumentFi les"> | 135 | < xsl:for-ea ch select= "$VarGroup DocumentFi les"> | |||
136 | <xsl:varia ble name=" VarDocumen tFile" sel ect="." /> | 136 | <xsl:varia ble name=" VarDocumen tFile" sel ect="." /> | |||
137 | 137 | |||||
138 | <xsl:varia ble name=" VarProgres sGroupDocu mentStart" select="w wprogress: Start(1)" /> | 138 | <xsl:varia ble name=" VarProgres sGroupDocu mentStart" select="w wprogress: Start(1)" /> | |||
139 | 139 | |||||
140 | <!-- Abort ed? --> | 140 | <!-- Abort ed? --> | |||
141 | <!-- --> | 141 | <!-- --> | |||
142 | <xsl:if te st="not(ww progress:A bort())"> | 142 | <xsl:if te st="not(ww progress:A bort())"> | |||
143 | <!-- Up-t o-date? -- > | 143 | <!-- Up-t o-date? -- > | |||
144 | <!-- -- > | 144 | <!-- -- > | |||
145 | <xsl:vari able name= "VarPath" select="ww filesystem :Combine(w wfilesyste m:GetDirec toryName($ VarDocumen tFile/@pat h), concat (translate ($Paramete rType, ':' , '_'),'.x ml'))" /> | 145 | <xsl:vari able name= "VarPath" select="ww filesystem :Combine(w wfilesyste m:GetDirec toryName($ VarDocumen tFile/@pat h), concat (translate ($Paramete rType, ':' , '_'),'.x ml'))" /> | |||
146 | <xsl:vari able name= "VarUpToDa te" select ="wwfilese xt:UpToDat e($VarPath , $GlobalP roject/wwp roject:Pro ject/@Chan geID, $Var DocumentFi le/@groupI D, $VarDoc umentFile/ @documentI D, $Global ActionChec ksum)" /> | 146 | <xsl:vari able name= "VarUpToDa te" select ="wwfilese xt:UpToDat e($VarPath , $GlobalP roject/wwp roject:Pro ject/@Chan geID, $Var DocumentFi le/@groupI D, $VarDoc umentFile/ @documentI D, $Global ActionChec ksum)" /> | |||
147 | <xsl:if t est="not($ VarUpToDat e)"> | 147 | <xsl:if t est="not($ VarUpToDat e)"> | |||
148 | <xsl:var iable name ="VarResul tAsXML"> | 148 | <xsl:var iable name ="VarResul tAsXML"> | |||
149 | <xsl:ca ll-templat e name="Ac cessibilit y-Report"> | 149 | <xsl:ca ll-templat e name="Ac cessibilit y-Report"> | |||
150 | <xsl:w ith-param name="Para mLinks" se lect="$Var Links" /> | 150 | <xsl:w ith-param name="Para mLinks" se lect="$Var Links" /> | |||
151 | <xsl:w ith-param name="Para mSplits" s elect="$Va rSplits" / > | 151 | <xsl:w ith-param name="Para mSplits" s elect="$Va rSplits" / > | |||
152 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$VarDoc umentFile" /> | 152 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$VarDoc umentFile" /> | |||
153 | </xsl:c all-templa te> | 153 | </xsl:c all-templa te> | |||
154 | </xsl:va riable> | 154 | </xsl:va riable> | |||
155 | <xsl:var iable name ="VarResul t" select= "msxsl:nod e-set($Var ResultAsXM L)" /> | 155 | <xsl:var iable name ="VarResul t" select= "msxsl:nod e-set($Var ResultAsXM L)" /> | |||
156 | <xsl:var iable name ="VarWrite Result" se lect="wwex sldoc:Docu ment($VarR esult, $Va rPath, 'ut f-8', 'xml ', '1.0', 'yes')" /> | 156 | <xsl:var iable name ="VarWrite Result" se lect="wwex sldoc:Docu ment($VarR esult, $Va rPath, 'ut f-8', 'xml ', '1.0', 'yes')" /> | |||
157 | </xsl:if> | 157 | </xsl:if> | |||
158 | 158 | |||||
159 | <!-- Repo rt generat ed files - -> | 159 | <!-- Repo rt generat ed files - -> | |||
160 | <!-- - -> | 160 | <!-- - -> | |||
161 | <wwfiles: File path= "{$VarPath }" display name="{$Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Accessibi lityReport Title']/@v alue}" typ e="{$Param eterType}" checksum= "{wwfilesy stem:GetCh ecksum($Va rPath)}" p rojectchec ksum="{$Gl obalProjec t/wwprojec t:Project/ @ChangeID} " groupID= "{$VarDocu mentFile/@ groupID}" documentID ="{$VarDoc umentFile/ @documentI D}" action checksum=" {$GlobalAc tionChecks um}" categ ory="{$Par ameterCate gory}" use ="{$Parame terUse}" d eploy="{$P arameterDe ploy}"> | 161 | <wwfiles: File path= "{$VarPath }" display name="{$Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Accessibi lityReport Title']/@v alue}" typ e="{$Param eterType}" checksum= "{wwfilesy stem:GetCh ecksum($Va rPath)}" p rojectchec ksum="{$Gl obalProjec t/wwprojec t:Project/ @ChangeID} " groupID= "{$VarDocu mentFile/@ groupID}" documentID ="{$VarDoc umentFile/ @documentI D}" action checksum=" {$GlobalAc tionChecks um}" categ ory="{$Par ameterCate gory}" use ="{$Parame terUse}" d eploy="{$P arameterDe ploy}"> | |||
162 | <wwfiles :Depends p ath="{$Glo balUILocal ePath}" ch ecksum="{$ GlobalUILo calePathCh ecksum}" g roupID="" documentID ="" /> | 162 | <wwfiles :Depends p ath="{$Glo balUILocal ePath}" ch ecksum="{$ GlobalUILo calePathCh ecksum}" g roupID="" documentID ="" /> | |||
163 | <wwfiles :Depends p ath="{$Var LinksFileI nfo/@path} " checksum ="{$VarLin ksFileInfo /@checksum }" groupID ="{$VarLin ksFileInfo /@groupID} " document ID="{$VarL inksFileIn fo/@docume ntID}" /> | 163 | <wwfiles :Depends p ath="{$Var LinksFileI nfo/@path} " checksum ="{$VarLin ksFileInfo /@checksum }" groupID ="{$VarLin ksFileInfo /@groupID} " document ID="{$VarL inksFileIn fo/@docume ntID}" /> | |||
164 | <wwfiles :Depends p ath="{$Var FilesSplit s/@path}" checksum=" {$VarFiles Splits/@ch ecksum}" g roupID="{$ VarFilesSp lits/@grou pID}" docu mentID="{$ VarFilesSp lits/@path }" /> | 164 | <wwfiles :Depends p ath="{$Var FilesSplit s/@path}" checksum=" {$VarFiles Splits/@ch ecksum}" g roupID="{$ VarFilesSp lits/@grou pID}" docu mentID="{$ VarFilesSp lits/@path }" /> | |||
165 | <wwfiles :Depends p ath="{$Var DocumentFi le/@path}" checksum= "{$VarDocu mentFile/@ checksum}" groupID=" {$VarDocum entFile/@g roupID}" d ocumentID= "{$VarDocu mentFile/@ documentID }" /> | 165 | <wwfiles :Depends p ath="{$Var DocumentFi le/@path}" checksum= "{$VarDocu mentFile/@ checksum}" groupID=" {$VarDocum entFile/@g roupID}" d ocumentID= "{$VarDocu mentFile/@ documentID }" /> | |||
166 | </wwfiles :File> | 166 | </wwfiles :File> | |||
167 | </xsl:if> | 167 | </xsl:if> | |||
168 | 168 | |||||
169 | <xsl:varia ble name=" VarProgres sGroupDocu mentEnd" s elect="wwp rogress:En d()" /> | 169 | <xsl:varia ble name=" VarProgres sGroupDocu mentEnd" s elect="wwp rogress:En d()" /> | |||
170 | < /xsl:for-e ach> | 170 | < /xsl:for-e ach> | |||
171 | < xsl:variab le name="V arProgress GroupDocum entsEnd" s elect="wwp rogress:En d()" /> | 171 | < xsl:variab le name="V arProgress GroupDocum entsEnd" s elect="wwp rogress:En d()" /> | |||
172 | </ xsl:for-ea ch> | 172 | </ xsl:for-ea ch> | |||
173 | </x sl:for-eac h> | 173 | </x sl:for-eac h> | |||
174 | </xs l:if> | 174 | </xs l:if> | |||
175 | 175 | |||||
176 | <xsl :variable name="VarP rogressPro jectGroupE nd" select ="wwprogre ss:End()" /> | 176 | <xsl :variable name="VarP rogressPro jectGroupE nd" select ="wwprogre ss:End()" /> | |||
177 | </xsl :for-each> | 177 | </xsl :for-each> | |||
178 | 178 | |||||
179 | <xsl: variable n ame="VarPr ogressProj ectGroupsE nd" select ="wwprogre ss:End()" /> | 179 | <xsl: variable n ame="VarPr ogressProj ectGroupsE nd" select ="wwprogre ss:End()" /> | |||
180 | </xsl: for-each> | 180 | </xsl: for-each> | |||
181 | </xsl:i f> | 181 | </xsl:i f> | |||
182 | 182 | |||||
183 | </wwfile s:Files> | 183 | </wwfile s:Files> | |||
184 | </xsl:tem plate> | 184 | </xsl:tem plate> | |||
185 | 185 | |||||
186 | 186 | |||||
187 | <xsl:temp late name= "Accessibi lity-Repor t"> | 187 | <xsl:temp late name= "Accessibi lity-Repor t"> | |||
188 | <xsl:par am name="P aramLinks" /> | 188 | <xsl:par am name="P aramLinks" /> | |||
189 | <xsl:par am name="P aramSplits " /> | 189 | <xsl:par am name="P aramSplits " /> | |||
190 | <xsl:par am name="P aramDocume ntFile" /> | 190 | <xsl:par am name="P aramDocume ntFile" /> | |||
191 | 191 | |||||
192 | <!-- Loa d document --> | 192 | <!-- Loa d document --> | |||
193 | <!-- --> | 193 | <!-- --> | |||
194 | <xsl:var iable name ="VarDocum ent" selec t="wwexsld oc:LoadXML WithoutRes olver($Par amDocument File/@path )" /> | 194 | <xsl:var iable name ="VarDocum ent" selec t="wwexsld oc:LoadXML WithoutRes olver($Par amDocument File/@path )" /> | |||
195 | 195 | |||||
196 | <!-- Loa d behavior s --> | 196 | <!-- Loa d behavior s --> | |||
197 | <!-- --> | 197 | <!-- --> | |||
198 | <xsl:for -each sele ct="$Globa lFiles[1]" > | 198 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||
199 | <xsl:va riable nam e="VarBeha viorsFile" select="k ey('wwfile s-files-by -documenti d', $Param DocumentFi le/@docume ntID)[@typ e = $Param eterBehavi orsType][1 ]" /> | 199 | <xsl:va riable nam e="VarBeha viorsFile" select="k ey('wwfile s-files-by -documenti d', $Param DocumentFi le/@docume ntID)[@typ e = $Param eterBehavi orsType][1 ]" /> | |||
200 | <xsl:va riable nam e="VarBeha viors" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arBehavior sFile/@pat h)" /> | 200 | <xsl:va riable nam e="VarBeha viors" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($V arBehavior sFile/@pat h)" /> | |||
201 | 201 | |||||
202 | <!-- Ge nerate rep ort --> | 202 | <!-- Ge nerate rep ort --> | |||
203 | <!-- --> | 203 | <!-- --> | |||
204 | <wwrepo rt:Report version="1 .0"> | 204 | <wwrepo rt:Report version="1 .0"> | |||
205 | 205 | |||||
206 | <xsl:a pply-templ ates selec t="$VarDoc ument/wwdo c:Document /wwdoc:Con tent" mode ="wwmode:a ccessibili ty"> | 206 | <xsl:a pply-templ ates selec t="$VarDoc ument/wwdo c:Document /wwdoc:Con tent" mode ="wwmode:a ccessibili ty"> | |||
207 | <xsl: with-param name="Par amLinks" s elect="$Pa ramLinks" /> | 207 | <xsl: with-param name="Par amLinks" s elect="$Pa ramLinks" /> | |||
208 | <xsl: with-param name="Par amSplits" select="$P aramSplits " /> | 208 | <xsl: with-param name="Par amSplits" select="$P aramSplits " /> | |||
209 | <xsl: with-param name="Par amBehavior s" select= "$VarBehav iors" /> | 209 | <xsl: with-param name="Par amBehavior s" select= "$VarBehav iors" /> | |||
210 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | 210 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | |||
211 | </xsl: apply-temp lates> | 211 | </xsl: apply-temp lates> | |||
212 | 212 | |||||
213 | </wwrep ort:Report > | 213 | </wwrep ort:Report > | |||
214 | </xsl:fo r-each> | 214 | </xsl:fo r-each> | |||
215 | </xsl:tem plate> | 215 | </xsl:tem plate> | |||
216 | 216 | |||||
217 | 217 | |||||
218 | <xsl:temp late name= "Process-N ode"> | 218 | <xsl:temp late name= "Process-N ode"> | |||
219 | <xsl:par am name="P aramDocume ntFile" /> | 219 | <xsl:par am name="P aramDocume ntFile" /> | |||
220 | <xsl:par am name="P aramNode" /> | 220 | <xsl:par am name="P aramNode" /> | |||
221 | <xsl:par am name="P aramRuleTy pe" /> | 221 | <xsl:par am name="P aramRuleTy pe" /> | |||
222 | 222 | |||||
223 | <!-- Ret rieve cont ext rule - -> | 223 | <!-- Ret rieve cont ext rule - -> | |||
224 | <!-- - -> | 224 | <!-- - -> | |||
225 | <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ($ParamRul eType, $Pa ramNode/@s tylename, $ParamDocu mentFile/@ documentID , $ParamNo de/@id)" / > | 225 | <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ($ParamRul eType, $Pa ramNode/@s tylename, $ParamDocu mentFile/@ documentID , $ParamNo de/@id)" / > | |||
226 | 226 | |||||
227 | <!-- Gen erate Opti on --> | 227 | <!-- Gen erate Opti on --> | |||
228 | <!-- --> | 228 | <!-- --> | |||
229 | <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'gener ate-output ']/@Value" /> | 229 | <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'gener ate-output ']/@Value" /> | |||
230 | <xsl:var iable name ="VarGener ateOutput" select="( string-len gth($VarGe nerateOutp utOption) = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> | 230 | <xsl:var iable name ="VarGener ateOutput" select="( string-len gth($VarGe nerateOutp utOption) = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> | |||
231 | 231 | |||||
232 | <!-- Gen erate? --> | 232 | <!-- Gen erate? --> | |||
233 | <!-- --> | 233 | <!-- --> | |||
234 | <xsl:if test="$Var GenerateOu tput"> | 234 | <xsl:if test="$Var GenerateOu tput"> | |||
235 | <!-- In side pass- through? - -> | 235 | <!-- In side pass- through? - -> | |||
236 | <!-- - -> | 236 | <!-- - -> | |||
237 | <xsl:va riable nam e="VarPass Through"> | 237 | <xsl:va riable nam e="VarPass Through"> | |||
238 | <xsl:c all-templa te name="C onditions- PassThroug h"> | 238 | <xsl:c all-templa te name="C onditions- PassThroug h"> | |||
239 | <xsl: with-param name="Par amConditio ns" select ="$ParamNo de/wwdoc:C onditions" /> | 239 | <xsl: with-param name="Par amConditio ns" select ="$ParamNo de/wwdoc:C onditions" /> | |||
240 | </xsl: call-templ ate> | 240 | </xsl: call-templ ate> | |||
241 | </xsl:v ariable> | 241 | </xsl:v ariable> | |||
242 | 242 | |||||
243 | <!-- Pr ocess if n ot pass-th rough --> | 243 | <!-- Pr ocess if n ot pass-th rough --> | |||
244 | <!-- --> | 244 | <!-- --> | |||
245 | <xsl:if test="$Va rPassThrou gh != 'tru e'"> | 245 | <xsl:if test="$Va rPassThrou gh != 'tru e'"> | |||
246 | <!-- P rocess nod e! --> | 246 | <!-- P rocess nod e! --> | |||
247 | <!-- --> | 247 | <!-- --> | |||
248 | <xsl:v alue-of se lect="true ()" /> | 248 | <xsl:v alue-of se lect="true ()" /> | |||
249 | </xsl:i f> | 249 | </xsl:i f> | |||
250 | </xsl:if > | 250 | </xsl:if > | |||
251 | </xsl:tem plate> | 251 | </xsl:tem plate> | |||
252 | 252 | |||||
253 | 253 | |||||
254 | <xsl:temp late name= "Check-Tab le"> | 254 | <xsl:temp late name= "Check-Tab le"> | |||
255 | <xsl:par am name="P aramLinks" /> | 255 | <xsl:par am name="P aramLinks" /> | |||
256 | <xsl:par am name="P aramBehavi ors" /> | 256 | <xsl:par am name="P aramBehavi ors" /> | |||
257 | <xsl:par am name="P aramDocume ntFile" /> | 257 | <xsl:par am name="P aramDocume ntFile" /> | |||
258 | <xsl:par am name="P aramTable" /> | 258 | <xsl:par am name="P aramTable" /> | |||
259 | 259 | |||||
260 | <!-- Any thing to r eport? --> | 260 | <!-- Any thing to r eport? --> | |||
261 | <!-- --> | 261 | <!-- --> | |||
262 | <xsl:if test="$Glo balAccessi bilityTabl eSummaries Severity ! = 'ignore' "> | 262 | <xsl:if test="$Glo balAccessi bilityTabl eSummaries Severity ! = 'ignore' "> | |||
263 | <!-- Ge t table be havior --> | 263 | <!-- Ge t table be havior --> | |||
264 | <!-- --> | 264 | <!-- --> | |||
265 | <xsl:fo r-each sel ect="$Para mBehaviors [1]"> | 265 | <xsl:fo r-each sel ect="$Para mBehaviors [1]"> | |||
266 | <xsl:v ariable na me="VarBeh avior" sel ect="key(' wwbehavior s-tables-b y-id', $Pa ramTable/@ id)[1]" /> | 266 | <xsl:v ariable na me="VarBeh avior" sel ect="key(' wwbehavior s-tables-b y-id', $Pa ramTable/@ id)[1]" /> | |||
267 | 267 | |||||
268 | <xsl:f or-each se lect="$Var Behavior"> | 268 | <xsl:f or-each se lect="$Var Behavior"> | |||
269 | <!-- Summary re quired? -- > | 269 | <!-- Summary re quired? -- > | |||
270 | <!-- -- > | 270 | <!-- -- > | |||
271 | <xsl: variable n ame="VarSu mmaryRequi red"> | 271 | <xsl: variable n ame="VarSu mmaryRequi red"> | |||
272 | <xsl :call-temp late name= "Tables-Su mmaryRequi red"> | 272 | <xsl :call-temp late name= "Tables-Su mmaryRequi red"> | |||
273 | <xs l:with-par am name="P aramTableB ehavior" s elect="$Va rBehavior" /> | 273 | <xs l:with-par am name="P aramTableB ehavior" s elect="$Va rBehavior" /> | |||
274 | </xs l:call-tem plate> | 274 | </xs l:call-tem plate> | |||
275 | </xsl :variable> | 275 | </xsl :variable> | |||
276 | 276 | |||||
277 | <xsl: if test="$ VarSummary Required = 'true'"> | 277 | <xsl: if test="$ VarSummary Required = 'true'"> | |||
278 | <!-- Summary - -> | 278 | <!-- Summary - -> | |||
279 | <!-- - -> | 279 | <!-- - -> | |||
280 | <xsl :variable name="VarS ummary"> | 280 | <xsl :variable name="VarS ummary"> | |||
281 | <xs l:call-tem plate name ="Tables-S ummary"> | 281 | <xs l:call-tem plate name ="Tables-S ummary"> | |||
282 | <x sl:with-pa ram name=" ParamTable Behavior" select="$V arBehavior " /> | 282 | <x sl:with-pa ram name=" ParamTable Behavior" select="$V arBehavior " /> | |||
283 | </x sl:call-te mplate> | 283 | </x sl:call-te mplate> | |||
284 | </xs l:variable > | 284 | </xs l:variable > | |||
285 | 285 | |||||
286 | <!-- Summary e xists? --> | 286 | <!-- Summary e xists? --> | |||
287 | <!-- --> | 287 | <!-- --> | |||
288 | <xsl :if test=" string-len gth($VarSu mmary) = 0 "> | 288 | <xsl :if test=" string-len gth($VarSu mmary) = 0 "> | |||
289 | <ww report:Ent ry context ="accessib ility" typ e="missing -table-sum mary" seve rity="{$Gl obalAccess ibilityTab leSummarie sSeverity} "> | 289 | <ww report:Ent ry context ="accessib ility" typ e="missing -table-sum mary" seve rity="{$Gl obalAccess ibilityTab leSummarie sSeverity} "> | |||
290 | 290 | |||||
291 | <w wreport:De scription> | 291 | <w wreport:De scription> | |||
292 | < xsl:value- of select= "$GlobalUI Locale/wwl ocale:Loca le/wwlocal e:Strings/ wwlocale:S tring[@nam e = 'Acces sibilityMi ssingTable Summary']/ @value" /> | 292 | < xsl:value- of select= "$GlobalUI Locale/wwl ocale:Loca le/wwlocal e:Strings/ wwlocale:S tring[@nam e = 'Acces sibilityMi ssingTable Summary']/ @value" /> | |||
293 | </ wwreport:D escription > | 293 | </ wwreport:D escription > | |||
294 | 294 | |||||
295 | <w wreport:Na vigation c ontext="so urce"> | 295 | <w wreport:Na vigation c ontext="so urce"> | |||
296 | < wwreport:L ink protoc ol="adapte r"> | 296 | < wwreport:L ink protoc ol="adapte r"> | |||
297 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | 297 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | |||
298 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | 298 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | |||
299 | <wwreport: Data key=" ID" value= "{$ParamTa ble/@id}" /> | 299 | <wwreport: Data key=" ID" value= "{$ParamTa ble/@id}" /> | |||
300 | < /wwreport: Link> | 300 | < /wwreport: Link> | |||
301 | </ wwreport:N avigation> | 301 | </ wwreport:N avigation> | |||
302 | 302 | |||||
303 | <! -- Get out put naviga tion link from forma t itself - -> | 303 | <! -- Get out put naviga tion link from forma t itself - -> | |||
304 | <! -- - -> | 304 | <! -- - -> | |||
305 | <x sl:variabl e name="Va rLinkAsXML "> | 305 | <x sl:variabl e name="Va rLinkAsXML "> | |||
306 | < xsl:call-t emplate na me="Report -OutputLin k"> | 306 | < xsl:call-t emplate na me="Report -OutputLin k"> | |||
307 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | 307 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | |||
308 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | 308 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | |||
309 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | 309 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | |||
310 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | 310 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | |||
311 | <xsl:with- param name ="ParamPar agraphID" select="$P aramTable/ /wwdoc:Par agraph[1]/ @id" /> | 311 | <xsl:with- param name ="ParamPar agraphID" select="$P aramTable/ /wwdoc:Par agraph[1]/ @id" /> | |||
312 | < /xsl:call- template> | 312 | < /xsl:call- template> | |||
313 | </ xsl:variab le> | 313 | </ xsl:variab le> | |||
314 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | 314 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | |||
315 | <x sl:if test ="count($V arLink) = 1"> | 315 | <x sl:if test ="count($V arLink) = 1"> | |||
316 | < wwreport:N avigation context="o utput"> | 316 | < wwreport:N avigation context="o utput"> | |||
317 | <xsl:copy- of select= "$VarLink" /> | 317 | <xsl:copy- of select= "$VarLink" /> | |||
318 | < /wwreport: Navigation > | 318 | < /wwreport: Navigation > | |||
319 | </ xsl:if> | 319 | </ xsl:if> | |||
320 | 320 | |||||
321 | <w wreport:Na vigation c ontext="de tails"> | 321 | <w wreport:Na vigation c ontext="de tails"> | |||
322 | < wwreport:L ink protoc ol="wwh5ap i"> | 322 | < wwreport:L ink protoc ol="wwh5ap i"> | |||
323 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | 323 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | |||
324 |
<wwreport:
Data
key="Conte
xt"
value="
|
324 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
325 | <wwreport: Data key=" Topic" val ue="tables _without_s ummaries" /> | 325 | <wwreport: Data key=" Topic" val ue="tables _without_s ummaries" /> | |||
326 | < /wwreport: Link> | 326 | < /wwreport: Link> | |||
327 | </ wwreport:N avigation> | 327 | </ wwreport:N avigation> | |||
328 | </w wreport:En try> | 328 | </w wreport:En try> | |||
329 | </xs l:if> | 329 | </xs l:if> | |||
330 | </xsl :if> | 330 | </xsl :if> | |||
331 | </xsl: for-each> | 331 | </xsl: for-each> | |||
332 | </xsl:f or-each> | 332 | </xsl:f or-each> | |||
333 | </xsl:if > | 333 | </xsl:if > | |||
334 | </xsl:tem plate> | 334 | </xsl:tem plate> | |||
335 | 335 | |||||
336 | 336 | |||||
337 | <xsl:temp late name= "LinkInfo" > | 337 | <xsl:temp late name= "LinkInfo" > | |||
338 | <xsl:par am name="P aramSplits " /> | 338 | <xsl:par am name="P aramSplits " /> | |||
339 | <xsl:par am name="P aramLinks" /> | 339 | <xsl:par am name="P aramLinks" /> | |||
340 | <xsl:par am name="P aramSplit" /> | 340 | <xsl:par am name="P aramSplit" /> | |||
341 | <xsl:par am name="P aramDocume ntLink" /> | 341 | <xsl:par am name="P aramDocume ntLink" /> | |||
342 | 342 | |||||
343 | <xsl:ele ment name= "LinkInfo" namespace ="urn:WebW orks-Engin e-Links-Sc hema"> | 343 | <xsl:ele ment name= "LinkInfo" namespace ="urn:WebW orks-Engin e-Links-Sc hema"> | |||
344 | <xsl:if test="cou nt($ParamD ocumentLin k) > 0" > | 344 | <xsl:if test="cou nt($ParamD ocumentLin k) > 0" > | |||
345 | <!-- R esolve lin k --> | 345 | <!-- R esolve lin k --> | |||
346 | <!-- --> | 346 | <!-- --> | |||
347 | <xsl:v ariable na me="VarRes olvedLinkI nfoAsXML"> | 347 | <xsl:v ariable na me="VarRes olvedLinkI nfoAsXML"> | |||
348 | <xsl: call-templ ate name=" Links-Reso lve"> | 348 | <xsl: call-templ ate name=" Links-Reso lve"> | |||
349 | <xsl :with-para m name="Pa ramAllowBa ggage" sel ect="$Para meterAllow Baggage" / > | 349 | <xsl :with-para m name="Pa ramAllowBa ggage" sel ect="$Para meterAllow Baggage" / > | |||
350 | <xsl :with-para m name="Pa ramAllowGr oupToGroup " select=" $Parameter AllowGroup ToGroup" / > | 350 | <xsl :with-para m name="Pa ramAllowGr oupToGroup " select=" $Parameter AllowGroup ToGroup" / > | |||
351 | <xsl :with-para m name="Pa ramAllowUR L" select= "$Paramete rAllowURL" /> | 351 | <xsl :with-para m name="Pa ramAllowUR L" select= "$Paramete rAllowURL" /> | |||
352 | <xsl :with-para m name="Pa ramBaggage SplitFileT ype" selec t="$Parame terBaggage SplitFileT ype" /> | 352 | <xsl :with-para m name="Pa ramBaggage SplitFileT ype" selec t="$Parame terBaggage SplitFileT ype" /> | |||
353 | <xsl :with-para m name="Pa ramProject " select=" $GlobalPro ject" /> | 353 | <xsl :with-para m name="Pa ramProject " select=" $GlobalPro ject" /> | |||
354 | <xsl :with-para m name="Pa ramLinks" select="$P aramLinks" /> | 354 | <xsl :with-para m name="Pa ramLinks" select="$P aramLinks" /> | |||
355 | <xsl :with-para m name="Pa ramSplits" select="$ ParamSplit s" /> | 355 | <xsl :with-para m name="Pa ramSplits" select="$ ParamSplit s" /> | |||
356 | <xsl :with-para m name="Pa ramSplitGr oupID" sel ect="$Para mSplit/@gr oupID" /> | 356 | <xsl :with-para m name="Pa ramSplitGr oupID" sel ect="$Para mSplit/@gr oupID" /> | |||
357 | <xsl :with-para m name="Pa ramSplitDo cumentID" select="$P aramSplit/ @documentI D" /> | 357 | <xsl :with-para m name="Pa ramSplitDo cumentID" select="$P aramSplit/ @documentI D" /> | |||
358 | <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$Para mDocumentL ink" /> | 358 | <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$Para mDocumentL ink" /> | |||
359 | </xsl :call-temp late> | 359 | </xsl :call-temp late> | |||
360 | </xsl: variable> | 360 | </xsl: variable> | |||
361 | <xsl:v ariable na me="VarRes olvedLinkI nfo" selec t="msxsl:n ode-set($V arResolved LinkInfoAs XML)/wwlin ks:Resolve dLink" /> | 361 | <xsl:v ariable na me="VarRes olvedLinkI nfo" selec t="msxsl:n ode-set($V arResolved LinkInfoAs XML)/wwlin ks:Resolve dLink" /> | |||
362 | 362 | |||||
363 | <xsl:c hoose> | 363 | <xsl:c hoose> | |||
364 | <!-- Baggage -- > | 364 | <!-- Baggage -- > | |||
365 | <!-- -- > | 365 | <!-- -- > | |||
366 | <xsl: when test= "$VarResol vedLinkInf o/@type = 'baggage'" > | 366 | <xsl: when test= "$VarResol vedLinkInf o/@type = 'baggage'" > | |||
367 | <xsl :variable name="VarR elativePat h" select= "wwuri:Get RelativeTo ($VarResol vedLinkInf o/@path, $ ParamSplit /@path)" / > | 367 | <xsl :variable name="VarR elativePat h" select= "wwuri:Get RelativeTo ($VarResol vedLinkInf o/@path, $ ParamSplit /@path)" / > | |||
368 | 368 | |||||
369 | <xsl :attribute name="hre f"> | 369 | <xsl :attribute name="hre f"> | |||
370 | <xs l:value-of select="$ VarRelativ ePath" /> | 370 | <xs l:value-of select="$ VarRelativ ePath" /> | |||
371 | </xs l:attribut e> | 371 | </xs l:attribut e> | |||
372 | </xsl :when> | 372 | </xsl :when> | |||
373 | 373 | |||||
374 | <!-- Document - -> | 374 | <!-- Document - -> | |||
375 | <!-- - -> | 375 | <!-- - -> | |||
376 | <xsl: when test= "($VarReso lvedLinkIn fo/@type = 'document ') or ($Va rResolvedL inkInfo/@t ype = 'gro up') or ($ VarResolve dLinkInfo/ @type = 'p roject')"> | 376 | <xsl: when test= "($VarReso lvedLinkIn fo/@type = 'document ') or ($Va rResolvedL inkInfo/@t ype = 'gro up') or ($ VarResolve dLinkInfo/ @type = 'p roject')"> | |||
377 | <xsl :attribute name="hre f"> | 377 | <xsl :attribute name="hre f"> | |||
378 | <xs l:variable name="Var RelativePa th" select ="wwuri:Ge tRelativeT o($VarReso lvedLinkIn fo/@path, $ParamSpli t/@path)" /> | 378 | <xs l:variable name="Var RelativePa th" select ="wwuri:Ge tRelativeT o($VarReso lvedLinkIn fo/@path, $ParamSpli t/@path)" /> | |||
379 | 379 | |||||
380 | <xs l:value-of select="$ VarRelativ ePath" /> | 380 | <xs l:value-of select="$ VarRelativ ePath" /> | |||
381 | <xs l:if test= "string-le ngth($Para mDocumentL ink/@ancho r) > 0" > | 381 | <xs l:if test= "string-le ngth($Para mDocumentL ink/@ancho r) > 0" > | |||
382 | <x sl:text>#< /xsl:text> | 382 | <x sl:text>#< /xsl:text> | |||
383 | <x sl:value-o f select=" $VarResolv edLinkInfo /@linkid" /> | 383 | <x sl:value-o f select=" $VarResolv edLinkInfo /@linkid" /> | |||
384 | </x sl:if> | 384 | </x sl:if> | |||
385 | </xs l:attribut e> | 385 | </xs l:attribut e> | |||
386 | </xsl :when> | 386 | </xsl :when> | |||
387 | 387 | |||||
388 | <!-- URL --> | 388 | <!-- URL --> | |||
389 | <!-- --> | 389 | <!-- --> | |||
390 | <xsl: when test= "$VarResol vedLinkInf o/@type = 'url'"> | 390 | <xsl: when test= "$VarResol vedLinkInf o/@type = 'url'"> | |||
391 | <xsl :attribute name="hre f"> | 391 | <xsl :attribute name="hre f"> | |||
392 | <xs l:value-of select="$ VarResolve dLinkInfo/ @url" /> | 392 | <xs l:value-of select="$ VarResolve dLinkInfo/ @url" /> | |||
393 | </xs l:attribut e> | 393 | </xs l:attribut e> | |||
394 | </xsl :when> | 394 | </xsl :when> | |||
395 | </xsl: choose> | 395 | </xsl: choose> | |||
396 | </xsl:i f> | 396 | </xsl:i f> | |||
397 | </xsl:el ement> | 397 | </xsl:el ement> | |||
398 | </xsl:tem plate> | 398 | </xsl:tem plate> | |||
399 | 399 | |||||
400 | 400 | |||||
401 | <xsl:temp late name= "Check-Ima geMap"> | 401 | <xsl:temp late name= "Check-Ima geMap"> | |||
402 | <xsl:par am name="P aramSplits " /> | 402 | <xsl:par am name="P aramSplits " /> | |||
403 | <xsl:par am name="P aramLinks" /> | 403 | <xsl:par am name="P aramLinks" /> | |||
404 | <xsl:par am name="P aramDocume ntFile" /> | 404 | <xsl:par am name="P aramDocume ntFile" /> | |||
405 | <xsl:par am name="P aramFrame" /> | 405 | <xsl:par am name="P aramFrame" /> | |||
406 | <xsl:par am name="P aramParent Behavior" /> | 406 | <xsl:par am name="P aramParent Behavior" /> | |||
407 | <xsl:par am name="P aramSplit" /> | 407 | <xsl:par am name="P aramSplit" /> | |||
408 | 408 | |||||
409 | <!-- Pro cess child frames fi rst --> | 409 | <!-- Pro cess child frames fi rst --> | |||
410 | <!-- --> | 410 | <!-- --> | |||
411 | <xsl:for -each sele ct="$Param Frame/wwdo c:Content/ /wwdoc:Fra me[count($ ParamFrame | ancesto r::wwdoc:F rame[1]) = 1]"> | 411 | <xsl:for -each sele ct="$Param Frame/wwdo c:Content/ /wwdoc:Fra me[count($ ParamFrame | ancesto r::wwdoc:F rame[1]) = 1]"> | |||
412 | <xsl:ca ll-templat e name="Ch eck-ImageM ap"> | 412 | <xsl:ca ll-templat e name="Ch eck-ImageM ap"> | |||
413 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 413 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
414 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 414 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
415 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 415 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
416 | <xsl:w ith-param name="Para mFrame" se lect="." / > | 416 | <xsl:w ith-param name="Para mFrame" se lect="." / > | |||
417 | <xsl:w ith-param name="Para mParentBeh avior" sel ect="$Para mParentBeh avior" /> | 417 | <xsl:w ith-param name="Para mParentBeh avior" sel ect="$Para mParentBeh avior" /> | |||
418 | <xsl:w ith-param name="Para mSplit" se lect="$Par amSplit" / > | 418 | <xsl:w ith-param name="Para mSplit" se lect="$Par amSplit" / > | |||
419 | </xsl:c all-templa te> | 419 | </xsl:c all-templa te> | |||
420 | </xsl:fo r-each> | 420 | </xsl:fo r-each> | |||
421 | 421 | |||||
422 | <!-- Get link info --> | 422 | <!-- Get link info --> | |||
423 | <!-- --> | 423 | <!-- --> | |||
424 | <xsl:var iable name ="VarLinkI nfoAsXML"> | 424 | <xsl:var iable name ="VarLinkI nfoAsXML"> | |||
425 | <xsl:ch oose> | 425 | <xsl:ch oose> | |||
426 | <xsl:w hen test=" count($Par amFrame/ww doc:Link[1 ]) = 1"> | 426 | <xsl:w hen test=" count($Par amFrame/ww doc:Link[1 ]) = 1"> | |||
427 | <!-- Resolve li nk --> | 427 | <!-- Resolve li nk --> | |||
428 | <!-- --> | 428 | <!-- --> | |||
429 | <xsl: call-templ ate name=" LinkInfo"> | 429 | <xsl: call-templ ate name=" LinkInfo"> | |||
430 | <xsl :with-para m name="Pa ramSplits" select="$ ParamSplit s" /> | 430 | <xsl :with-para m name="Pa ramSplits" select="$ ParamSplit s" /> | |||
431 | <xsl :with-para m name="Pa ramLinks" select="$P aramLinks" /> | 431 | <xsl :with-para m name="Pa ramLinks" select="$P aramLinks" /> | |||
432 | <xsl :with-para m name="Pa ramSplit" select="$P aramSplit" /> | 432 | <xsl :with-para m name="Pa ramSplit" select="$P aramSplit" /> | |||
433 | <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$Para mFrame/wwd oc:Link[1] " /> | 433 | <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$Para mFrame/wwd oc:Link[1] " /> | |||
434 | </xsl :call-temp late> | 434 | </xsl :call-temp late> | |||
435 | </xsl: when> | 435 | </xsl: when> | |||
436 | 436 | |||||
437 | <xsl:o therwise> | 437 | <xsl:o therwise> | |||
438 | <xsl: variable n ame="VarCh ildLinks" select="$P aramFrame/ wwdoc:Cont ent//wwdoc :Link[coun t($ParamFr ame | ance stor::wwdo c:Frame[1] ) = 1]" /> | 438 | <xsl: variable n ame="VarCh ildLinks" select="$P aramFrame/ wwdoc:Cont ent//wwdoc :Link[coun t($ParamFr ame | ance stor::wwdo c:Frame[1] ) = 1]" /> | |||
439 | <xsl: variable n ame="VarCh ildLinksCo unt" selec t="count($ VarChildLi nks)" /> | 439 | <xsl: variable n ame="VarCh ildLinksCo unt" selec t="count($ VarChildLi nks)" /> | |||
440 | 440 | |||||
441 | <xsl: if test="$ VarChildLi nksCount & gt; 0"> | 441 | <xsl: if test="$ VarChildLi nksCount & gt; 0"> | |||
442 | <!-- Resolve l ink --> | 442 | <!-- Resolve l ink --> | |||
443 | <!-- --> | 443 | <!-- --> | |||
444 | <xsl :call-temp late name= "LinkInfo" > | 444 | <xsl :call-temp late name= "LinkInfo" > | |||
445 | <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> | 445 | <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> | |||
446 | <xs l:with-par am name="P aramLinks" select="$ ParamLinks " /> | 446 | <xs l:with-par am name="P aramLinks" select="$ ParamLinks " /> | |||
447 | <xs l:with-par am name="P aramSplit" select="$ ParamSplit " /> | 447 | <xs l:with-par am name="P aramSplit" select="$ ParamSplit " /> | |||
448 | <xs l:with-par am name="P aramDocume ntLink" se lect="$Var ChildLinks [$VarChild LinksCount ]" /> | 448 | <xs l:with-par am name="P aramDocume ntLink" se lect="$Var ChildLinks [$VarChild LinksCount ]" /> | |||
449 | </xs l:call-tem plate> | 449 | </xs l:call-tem plate> | |||
450 | </xsl :if> | 450 | </xsl :if> | |||
451 | </xsl: otherwise> | 451 | </xsl: otherwise> | |||
452 | </xsl:c hoose> | 452 | </xsl:c hoose> | |||
453 | </xsl:va riable> | 453 | </xsl:va riable> | |||
454 | <xsl:var iable name ="VarLinkI nfo" selec t="msxsl:n ode-set($V arLinkInfo AsXML)/wwl inks:Resol vedLink" / > | 454 | <xsl:var iable name ="VarLinkI nfo" selec t="msxsl:n ode-set($V arLinkInfo AsXML)/wwl inks:Resol vedLink" / > | |||
455 | 455 | |||||
456 | <!-- Lin k exists! --> | 456 | <!-- Lin k exists! --> | |||
457 | <!-- --> | 457 | <!-- --> | |||
458 | <xsl:if test="stri ng-length( $VarLinkIn fo/@href) > 0"> | 458 | <xsl:if test="stri ng-length( $VarLinkIn fo/@href) > 0"> | |||
459 | <!-- Al t Text --> | 459 | <!-- Al t Text --> | |||
460 | <!-- --> | 460 | <!-- --> | |||
461 | <xsl:va riable nam e="VarAltT ext"> | 461 | <xsl:va riable nam e="VarAltT ext"> | |||
462 | <xsl:c all-templa te name="I mages-Imag eAreaAltTe xt"> | 462 | <xsl:c all-templa te name="I mages-Imag eAreaAltTe xt"> | |||
463 | <xsl: with-param name="Par amParentBe havior" se lect="$Par amParentBe havior" /> | 463 | <xsl: with-param name="Par amParentBe havior" se lect="$Par amParentBe havior" /> | |||
464 | <xsl: with-param name="Par amFrame" s elect="$Pa ramFrame" /> | 464 | <xsl: with-param name="Par amFrame" s elect="$Pa ramFrame" /> | |||
465 | </xsl: call-templ ate> | 465 | </xsl: call-templ ate> | |||
466 | </xsl:v ariable> | 466 | </xsl:v ariable> | |||
467 | 467 | |||||
468 | <!-- Al t Text exi sts? --> | 468 | <!-- Al t Text exi sts? --> | |||
469 | <!-- --> | 469 | <!-- --> | |||
470 | <xsl:if test="str ing-length ($VarAltTe xt) = 0"> | 470 | <xsl:if test="str ing-length ($VarAltTe xt) = 0"> | |||
471 | <wwrep ort:Entry context="a ccessibili ty" type=" missing-im age-map-al t-text" se verity="{$ GlobalAcce ssibilityI mageMapAlt TagsSeveri ty}"> | 471 | <wwrep ort:Entry context="a ccessibili ty" type=" missing-im age-map-al t-text" se verity="{$ GlobalAcce ssibilityI mageMapAlt TagsSeveri ty}"> | |||
472 | 472 | |||||
473 | <wwre port:Descr iption> | 473 | <wwre port:Descr iption> | |||
474 | <xsl :variable name="VarU RL"> | 474 | <xsl :variable name="VarU RL"> | |||
475 | <xs l:value-of select="$ VarLinkInf o/@href" / > | 475 | <xs l:value-of select="$ VarLinkInf o/@href" / > | |||
476 | <xs l:if test= "string-le ngth($VarL inkInfo/@a nchor) > ; 0"> | 476 | <xs l:if test= "string-le ngth($VarL inkInfo/@a nchor) > ; 0"> | |||
477 | <x sl:value-o f select=" $VarLinkIn fo/@anchor " /> | 477 | <x sl:value-o f select=" $VarLinkIn fo/@anchor " /> | |||
478 | </x sl:if> | 478 | </x sl:if> | |||
479 | </xs l:variable > | 479 | </xs l:variable > | |||
480 | 480 | |||||
481 | <xsl :value-of select="ww string:For mat($Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'Ac cessibilit yMissingIm ageLinkAlt Text']/@va lue, $VarU RL)" /> | 481 | <xsl :value-of select="ww string:For mat($Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'Ac cessibilit yMissingIm ageLinkAlt Text']/@va lue, $VarU RL)" /> | |||
482 | </wwr eport:Desc ription> | 482 | </wwr eport:Desc ription> | |||
483 | 483 | |||||
484 | <wwre port:Navig ation cont ext="sourc e"> | 484 | <wwre port:Navig ation cont ext="sourc e"> | |||
485 | <wwr eport:Link protocol= "adapter"> | 485 | <wwr eport:Link protocol= "adapter"> | |||
486 | <ww report:Dat a key="Pat h" value=" {wwprojext :GetDocume ntPath($Pa ramDocumen tFile/@doc umentID)}" /> | 486 | <ww report:Dat a key="Pat h" value=" {wwprojext :GetDocume ntPath($Pa ramDocumen tFile/@doc umentID)}" /> | |||
487 | <ww report:Dat a key="Doc umentID" v alue="{$Pa ramDocumen tFile/@doc umentID}" /> | 487 | <ww report:Dat a key="Doc umentID" v alue="{$Pa ramDocumen tFile/@doc umentID}" /> | |||
488 | <ww report:Dat a key="ID" value="{$ ParamParen tBehavior/ @id}" /> | 488 | <ww report:Dat a key="ID" value="{$ ParamParen tBehavior/ @id}" /> | |||
489 | </ww report:Lin k> | 489 | </ww report:Lin k> | |||
490 | </wwr eport:Navi gation> | 490 | </wwr eport:Navi gation> | |||
491 | 491 | |||||
492 | <!-- Get output navigatio n link fro m format i tself --> | 492 | <!-- Get output navigatio n link fro m format i tself --> | |||
493 | <!-- --> | 493 | <!-- --> | |||
494 | <xsl: variable n ame="VarLi nkAsXML"> | 494 | <xsl: variable n ame="VarLi nkAsXML"> | |||
495 | <xsl :call-temp late name= "Report-Ou tputLink"> | 495 | <xsl :call-temp late name= "Report-Ou tputLink"> | |||
496 | <xs l:with-par am name="P aramProjec t" select= "$GlobalPr oject" /> | 496 | <xs l:with-par am name="P aramProjec t" select= "$GlobalPr oject" /> | |||
497 | <xs l:with-par am name="P aramLinksC ontext" se lect="$Par amLinks" / > | 497 | <xs l:with-par am name="P aramLinksC ontext" se lect="$Par amLinks" / > | |||
498 | <xs l:with-par am name="P aramGroupI D" select= "$ParamDoc umentFile/ @groupID" /> | 498 | <xs l:with-par am name="P aramGroupI D" select= "$ParamDoc umentFile/ @groupID" /> | |||
499 | <xs l:with-par am name="P aramDocume ntID" sele ct="$Param DocumentFi le/@docume ntID" /> | 499 | <xs l:with-par am name="P aramDocume ntID" sele ct="$Param DocumentFi le/@docume ntID" /> | |||
500 | <xs l:with-par am name="P aramParagr aphID" sel ect="$Para mFrame//an cestor::ww doc:Paragr aph[last() ]/@id" /> | 500 | <xs l:with-par am name="P aramParagr aphID" sel ect="$Para mFrame//an cestor::ww doc:Paragr aph[last() ]/@id" /> | |||
501 | </xs l:call-tem plate> | 501 | </xs l:call-tem plate> | |||
502 | </xsl :variable> | 502 | </xsl :variable> | |||
503 | <xsl: variable n ame="VarLi nk" select ="msxsl:no de-set($Va rLinkAsXML )/wwreport :Link[1]" /> | 503 | <xsl: variable n ame="VarLi nk" select ="msxsl:no de-set($Va rLinkAsXML )/wwreport :Link[1]" /> | |||
504 | <xsl: if test="c ount($VarL ink) = 1"> | 504 | <xsl: if test="c ount($VarL ink) = 1"> | |||
505 | <wwr eport:Navi gation con text="outp ut"> | 505 | <wwr eport:Navi gation con text="outp ut"> | |||
506 | <xs l:copy-of select="$V arLink" /> | 506 | <xs l:copy-of select="$V arLink" /> | |||
507 | </ww report:Nav igation> | 507 | </ww report:Nav igation> | |||
508 | </xsl :if> | 508 | </xsl :if> | |||
509 | 509 | |||||
510 | <wwre port:Navig ation cont ext="detai ls"> | 510 | <wwre port:Navig ation cont ext="detai ls"> | |||
511 | <wwr eport:Link protocol= "wwh5api"> | 511 | <wwr eport:Link protocol= "wwh5api"> | |||
512 | <ww report:Dat a key="Bas eURI" valu e="{wwenv: Applicatio nBaseHelpU RI()}" /> | 512 | <ww report:Dat a key="Bas eURI" valu e="{wwenv: Applicatio nBaseHelpU RI()}" /> | |||
513 |
<wwreport:
Data
key="Conte
xt"
value="
|
513 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
514 | <ww report:Dat a key="Top ic" value= "image_lin ks_without _alt_text" /> | 514 | <ww report:Dat a key="Top ic" value= "image_lin ks_without _alt_text" /> | |||
515 | </ww report:Lin k> | 515 | </ww report:Lin k> | |||
516 | </wwr eport:Navi gation> | 516 | </wwr eport:Navi gation> | |||
517 | </wwre port:Entry > | 517 | </wwre port:Entry > | |||
518 | </xsl:i f> | 518 | </xsl:i f> | |||
519 | </xsl:if > | 519 | </xsl:if > | |||
520 | </xsl:tem plate> | 520 | </xsl:tem plate> | |||
521 | 521 | |||||
522 | 522 | |||||
523 | <xsl:temp late name= "Check-Fra me"> | 523 | <xsl:temp late name= "Check-Fra me"> | |||
524 | <xsl:par am name="P aramLinks" /> | 524 | <xsl:par am name="P aramLinks" /> | |||
525 | <xsl:par am name="P aramBehavi ors" /> | 525 | <xsl:par am name="P aramBehavi ors" /> | |||
526 | <xsl:par am name="P aramSplits " /> | 526 | <xsl:par am name="P aramSplits " /> | |||
527 | <xsl:par am name="P aramDocume ntFile" /> | 527 | <xsl:par am name="P aramDocume ntFile" /> | |||
528 | <xsl:par am name="P aramFrame" /> | 528 | <xsl:par am name="P aramFrame" /> | |||
529 | 529 | |||||
530 | <!-- Any thing to r eport? --> | 530 | <!-- Any thing to r eport? --> | |||
531 | <!-- --> | 531 | <!-- --> | |||
532 | <xsl:if test="($Gl obalAccess ibilityIma geAltTagsS everity != 'ignore') or ($Glob alAccessib ilityImage MapAltTags Severity ! = 'ignore' ) or ($Glo balAccessi bilityImag eLongDescr iptionsSev erity != ' ignore')"> | 532 | <xsl:if test="($Gl obalAccess ibilityIma geAltTagsS everity != 'ignore') or ($Glob alAccessib ilityImage MapAltTags Severity ! = 'ignore' ) or ($Glo balAccessi bilityImag eLongDescr iptionsSev erity != ' ignore')"> | |||
533 | <!-- Ge t frame be havior --> | 533 | <!-- Ge t frame be havior --> | |||
534 | <!-- --> | 534 | <!-- --> | |||
535 | <xsl:fo r-each sel ect="$Para mBehaviors [1]"> | 535 | <xsl:fo r-each sel ect="$Para mBehaviors [1]"> | |||
536 | <xsl:v ariable na me="VarBeh avior" sel ect="key(' wwbehavior s-frames-b y-id', $Pa ramFrame/@ id)[1]" /> | 536 | <xsl:v ariable na me="VarBeh avior" sel ect="key(' wwbehavior s-frames-b y-id', $Pa ramFrame/@ id)[1]" /> | |||
537 | 537 | |||||
538 | <xsl:f or-each se lect="$Var Behavior"> | 538 | <xsl:f or-each se lect="$Var Behavior"> | |||
539 | <!-- Get frame split --> | 539 | <!-- Get frame split --> | |||
540 | <!-- --> | 540 | <!-- --> | |||
541 | <xsl: for-each s elect="$Pa ramSplits[ 1]"> | 541 | <xsl: for-each s elect="$Pa ramSplits[ 1]"> | |||
542 | <xsl :variable name="VarS plitsFrame " select=" key('wwspl its-frames -by-id', $ ParamFrame /@id)[@doc umentID = $ParamDocu mentFile/@ documentID ][1]" /> | 542 | <xsl :variable name="VarS plitsFrame " select=" key('wwspl its-frames -by-id', $ ParamFrame /@id)[@doc umentID = $ParamDocu mentFile/@ documentID ][1]" /> | |||
543 | 543 | |||||
544 | <xsl :for-each select="$V arSplitsFr ame"> | 544 | <xsl :for-each select="$V arSplitsFr ame"> | |||
545 | <!- - Report o n alt text ? --> | 545 | <!- - Report o n alt text ? --> | |||
546 | <!- - --> | 546 | <!- - --> | |||
547 | <xs l:if test= "$GlobalAc cessibilit yImageAltT agsSeverit y != 'igno re'"> | 547 | <xs l:if test= "$GlobalAc cessibilit yImageAltT agsSeverit y != 'igno re'"> | |||
548 | <! -- Alt Tex t --> | 548 | <! -- Alt Tex t --> | |||
549 | <! -- --> | 549 | <! -- --> | |||
550 | <x sl:variabl e name="Va rAltText"> | 550 | <x sl:variabl e name="Va rAltText"> | |||
551 | < xsl:call-t emplate na me="Images -AltText"> | 551 | < xsl:call-t emplate na me="Images -AltText"> | |||
552 | <xsl:with- param name ="ParamFra me" select ="$ParamFr ame" /> | 552 | <xsl:with- param name ="ParamFra me" select ="$ParamFr ame" /> | |||
553 | <xsl:with- param name ="ParamBeh aviorFrame " select=" $VarBehavi or" /> | 553 | <xsl:with- param name ="ParamBeh aviorFrame " select=" $VarBehavi or" /> | |||
554 | < /xsl:call- template> | 554 | < /xsl:call- template> | |||
555 | </ xsl:variab le> | 555 | </ xsl:variab le> | |||
556 | 556 | |||||
557 | <! -- Alt Tex t exists? --> | 557 | <! -- Alt Tex t exists? --> | |||
558 | <! -- --> | 558 | <! -- --> | |||
559 | <x sl:if test ="string-l ength($Var AltText) = 0"> | 559 | <x sl:if test ="string-l ength($Var AltText) = 0"> | |||
560 | < wwreport:E ntry conte xt="access ibility" t ype="missi ng-image-a lt-text" s everity="{ $GlobalAcc essibility ImageAltTa gsSeverity }"> | 560 | < wwreport:E ntry conte xt="access ibility" t ype="missi ng-image-a lt-text" s everity="{ $GlobalAcc essibility ImageAltTa gsSeverity }"> | |||
561 | 561 | |||||
562 | <wwreport: Descriptio n> | 562 | <wwreport: Descriptio n> | |||
563 | <xsl:valu e-of selec t="$Global UILocale/w wlocale:Lo cale/wwloc ale:String s/wwlocale :String[@n ame = 'Acc essibility MissingIma geAltText' ]/@value" /> | 563 | <xsl:valu e-of selec t="$Global UILocale/w wlocale:Lo cale/wwloc ale:String s/wwlocale :String[@n ame = 'Acc essibility MissingIma geAltText' ]/@value" /> | |||
564 | </wwreport :Descripti on> | 564 | </wwreport :Descripti on> | |||
565 | 565 | |||||
566 | <wwreport: Navigation context=" source"> | 566 | <wwreport: Navigation context=" source"> | |||
567 | <wwreport :Link prot ocol="adap ter"> | 567 | <wwreport :Link prot ocol="adap ter"> | |||
568 | <wwrepor t:Data key ="Path" va lue="{wwpr ojext:GetD ocumentPat h($ParamDo cumentFile /@document ID)}" /> | 568 | <wwrepor t:Data key ="Path" va lue="{wwpr ojext:GetD ocumentPat h($ParamDo cumentFile /@document ID)}" /> | |||
569 | <wwrepor t:Data key ="Document ID" value= "{$ParamDo cumentFile /@document ID}" /> | 569 | <wwrepor t:Data key ="Document ID" value= "{$ParamDo cumentFile /@document ID}" /> | |||
570 | <wwrepor t:Data key ="ID" valu e="{$Param Frame/@id} " /> | 570 | <wwrepor t:Data key ="ID" valu e="{$Param Frame/@id} " /> | |||
571 | </wwrepor t:Link> | 571 | </wwrepor t:Link> | |||
572 | </wwreport :Navigatio n> | 572 | </wwreport :Navigatio n> | |||
573 | 573 | |||||
574 | <!-- Get o utput navi gation lin k from for mat itself --> | 574 | <!-- Get o utput navi gation lin k from for mat itself --> | |||
575 | <!-- --> | 575 | <!-- --> | |||
576 | <xsl:varia ble name=" VarLinkAsX ML"> | 576 | <xsl:varia ble name=" VarLinkAsX ML"> | |||
577 | <xsl:call -template name="Repo rt-OutputL ink"> | 577 | <xsl:call -template name="Repo rt-OutputL ink"> | |||
578 | <xsl:wit h-param na me="ParamP roject" se lect="$Glo balProject " /> | 578 | <xsl:wit h-param na me="ParamP roject" se lect="$Glo balProject " /> | |||
579 | <xsl:wit h-param na me="ParamL inksContex t" select= "$ParamLin ks" /> | 579 | <xsl:wit h-param na me="ParamL inksContex t" select= "$ParamLin ks" /> | |||
580 | <xsl:wit h-param na me="ParamG roupID" se lect="$Par amDocument File/@grou pID" /> | 580 | <xsl:wit h-param na me="ParamG roupID" se lect="$Par amDocument File/@grou pID" /> | |||
581 | <xsl:wit h-param na me="ParamD ocumentID" select="$ ParamDocum entFile/@d ocumentID" /> | 581 | <xsl:wit h-param na me="ParamD ocumentID" select="$ ParamDocum entFile/@d ocumentID" /> | |||
582 | <xsl:wit h-param na me="ParamP aragraphID " select=" $ParamFram e//ancesto r::wwdoc:P aragraph[l ast()]/@id " /> | 582 | <xsl:wit h-param na me="ParamP aragraphID " select=" $ParamFram e//ancesto r::wwdoc:P aragraph[l ast()]/@id " /> | |||
583 | </xsl:cal l-template > | 583 | </xsl:cal l-template > | |||
584 | </xsl:vari able> | 584 | </xsl:vari able> | |||
585 | <xsl:varia ble name=" VarLink" s elect="msx sl:node-se t($VarLink AsXML)/wwr eport:Link [1]" /> | 585 | <xsl:varia ble name=" VarLink" s elect="msx sl:node-se t($VarLink AsXML)/wwr eport:Link [1]" /> | |||
586 | <xsl:if te st="count( $VarLink) = 1"> | 586 | <xsl:if te st="count( $VarLink) = 1"> | |||
587 | <wwreport :Navigatio n context= "output"> | 587 | <wwreport :Navigatio n context= "output"> | |||
588 | <xsl:cop y-of selec t="$VarLin k" /> | 588 | <xsl:cop y-of selec t="$VarLin k" /> | |||
589 | </wwrepor t:Navigati on> | 589 | </wwrepor t:Navigati on> | |||
590 | </xsl:if> | 590 | </xsl:if> | |||
591 | 591 | |||||
592 | <wwreport: Navigation context=" details"> | 592 | <wwreport: Navigation context=" details"> | |||
593 | <wwreport :Link prot ocol="wwh5 api"> | 593 | <wwreport :Link prot ocol="wwh5 api"> | |||
594 | <wwrepor t:Data key ="BaseURI" value="{w wenv:Appli cationBase HelpURI()} " /> | 594 | <wwrepor t:Data key ="BaseURI" value="{w wenv:Appli cationBase HelpURI()} " /> | |||
595 |
<wwreport:
Data
key="Conte
xt"
value="
|
595 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
596 | <wwrepor t:Data key ="Topic" v alue="imag es_without _alt_text" /> | 596 | <wwrepor t:Data key ="Topic" v alue="imag es_without _alt_text" /> | |||
597 | </wwrepor t:Link> | 597 | </wwrepor t:Link> | |||
598 | </wwreport :Navigatio n> | 598 | </wwreport :Navigatio n> | |||
599 | < /wwreport: Entry> | 599 | < /wwreport: Entry> | |||
600 | </ xsl:if> | 600 | </ xsl:if> | |||
601 | </x sl:if> | 601 | </x sl:if> | |||
602 | 602 | |||||
603 | <!- - Report o n image ma p alt text ? --> | 603 | <!- - Report o n image ma p alt text ? --> | |||
604 | <!- - --> | 604 | <!- - --> | |||
605 | <xs l:if test= "$GlobalAc cessibilit yImageMapA ltTagsSeve rity != 'i gnore'"> | 605 | <xs l:if test= "$GlobalAc cessibilit yImageMapA ltTagsSeve rity != 'i gnore'"> | |||
606 | <! -- Image M ap Alt Tex t --> | 606 | <! -- Image M ap Alt Tex t --> | |||
607 | <! -- --> | 607 | <! -- --> | |||
608 | <x sl:call-te mplate nam e="Check-I mageMap"> | 608 | <x sl:call-te mplate nam e="Check-I mageMap"> | |||
609 | < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> | 609 | < xsl:with-p aram name= "ParamSpli ts" select ="$ParamSp lits" /> | |||
610 | < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" /> | 610 | < xsl:with-p aram name= "ParamLink s" select= "$ParamLin ks" /> | |||
611 | < xsl:with-p aram name= "ParamDocu mentFile" select="$P aramDocume ntFile" /> | 611 | < xsl:with-p aram name= "ParamDocu mentFile" select="$P aramDocume ntFile" /> | |||
612 | < xsl:with-p aram name= "ParamFram e" select= "$ParamFra me" /> | 612 | < xsl:with-p aram name= "ParamFram e" select= "$ParamFra me" /> | |||
613 | < xsl:with-p aram name= "ParamPare ntBehavior " select=" $VarBehavi or" /> | 613 | < xsl:with-p aram name= "ParamPare ntBehavior " select=" $VarBehavi or" /> | |||
614 | < xsl:with-p aram name= "ParamSpli t" select= "$VarSplit sFrame/.." /> | 614 | < xsl:with-p aram name= "ParamSpli t" select= "$VarSplit sFrame/.." /> | |||
615 | </ xsl:call-t emplate> | 615 | </ xsl:call-t emplate> | |||
616 | </x sl:if> | 616 | </x sl:if> | |||
617 | 617 | |||||
618 | <!- - Report o n image lo ng descrip tions? --> | 618 | <!- - Report o n image lo ng descrip tions? --> | |||
619 | <!- - --> | 619 | <!- - --> | |||
620 | <xs l:if test= "$GlobalAc cessibilit yImageLong Descriptio nsSeverity != 'ignor e'"> | 620 | <xs l:if test= "$GlobalAc cessibilit yImageLong Descriptio nsSeverity != 'ignor e'"> | |||
621 | <! -- Long De scription Required? --> | 621 | <! -- Long De scription Required? --> | |||
622 | <! -- --> | 622 | <! -- --> | |||
623 | <x sl:variabl e name="Va rLongDescr iptionRequ ired"> | 623 | <x sl:variabl e name="Va rLongDescr iptionRequ ired"> | |||
624 | < xsl:call-t emplate na me="Images -LongDescr iptionRequ ired"> | 624 | < xsl:call-t emplate na me="Images -LongDescr iptionRequ ired"> | |||
625 | <xsl:with- param name ="ParamBeh aviorFrame " select=" $VarBehavi or" /> | 625 | <xsl:with- param name ="ParamBeh aviorFrame " select=" $VarBehavi or" /> | |||
626 | < /xsl:call- template> | 626 | < /xsl:call- template> | |||
627 | </ xsl:variab le> | 627 | </ xsl:variab le> | |||
628 | 628 | |||||
629 | <x sl:if test ="$VarLong Descriptio nRequired = 'true'"> | 629 | <x sl:if test ="$VarLong Descriptio nRequired = 'true'"> | |||
630 | < !-- Long D escription --> | 630 | < !-- Long D escription --> | |||
631 | < !-- --> | 631 | < !-- --> | |||
632 | < xsl:variab le name="V arLongDesc ription"> | 632 | < xsl:variab le name="V arLongDesc ription"> | |||
633 | <xsl:call- template n ame="Image s-LongDesc ription"> | 633 | <xsl:call- template n ame="Image s-LongDesc ription"> | |||
634 | <xsl:with -param nam e="ParamSp litsFrame" select="$ VarSplitsF rame" /> | 634 | <xsl:with -param nam e="ParamSp litsFrame" select="$ VarSplitsF rame" /> | |||
635 | <xsl:with -param nam e="ParamBe haviorFram e" select= "$VarBehav ior" /> | 635 | <xsl:with -param nam e="ParamBe haviorFram e" select= "$VarBehav ior" /> | |||
636 | </xsl:call -template> | 636 | </xsl:call -template> | |||
637 | < /xsl:varia ble> | 637 | < /xsl:varia ble> | |||
638 | 638 | |||||
639 | < !-- Long D escription exists? - -> | 639 | < !-- Long D escription exists? - -> | |||
640 | < !-- - -> | 640 | < !-- - -> | |||
641 | < xsl:if tes t="string- length($Va rLongDescr iption) = 0"> | 641 | < xsl:if tes t="string- length($Va rLongDescr iption) = 0"> | |||
642 | <wwreport: Entry cont ext="acces sibility" type="miss ing-image- long-descr iption" se verity="{$ GlobalAcce ssibilityI mageLongDe scriptions Severity}" > | 642 | <wwreport: Entry cont ext="acces sibility" type="miss ing-image- long-descr iption" se verity="{$ GlobalAcce ssibilityI mageLongDe scriptions Severity}" > | |||
643 | 643 | |||||
644 | <wwreport :Descripti on> | 644 | <wwreport :Descripti on> | |||
645 | <xsl:val ue-of sele ct="$Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'Ac cessibilit yMissingIm ageLongDes cription'] /@value" / > | 645 | <xsl:val ue-of sele ct="$Globa lUILocale/ wwlocale:L ocale/wwlo cale:Strin gs/wwlocal e:String[@ name = 'Ac cessibilit yMissingIm ageLongDes cription'] /@value" / > | |||
646 | </wwrepor t:Descript ion> | 646 | </wwrepor t:Descript ion> | |||
647 | 647 | |||||
648 | <wwreport :Navigatio n context= "source"> | 648 | <wwreport :Navigatio n context= "source"> | |||
649 | <wwrepor t:Link pro tocol="ada pter"> | 649 | <wwrepor t:Link pro tocol="ada pter"> | |||
650 | <wwrepo rt:Data ke y="Path" v alue="{wwp rojext:Get DocumentPa th($ParamD ocumentFil e/@documen tID)}" /> | 650 | <wwrepo rt:Data ke y="Path" v alue="{wwp rojext:Get DocumentPa th($ParamD ocumentFil e/@documen tID)}" /> | |||
651 | <wwrepo rt:Data ke y="Documen tID" value ="{$ParamD ocumentFil e/@documen tID}" /> | 651 | <wwrepo rt:Data ke y="Documen tID" value ="{$ParamD ocumentFil e/@documen tID}" /> | |||
652 | <wwrepo rt:Data ke y="ID" val ue="{$Para mFrame/@id }" /> | 652 | <wwrepo rt:Data ke y="ID" val ue="{$Para mFrame/@id }" /> | |||
653 | </wwrepo rt:Link> | 653 | </wwrepo rt:Link> | |||
654 | </wwrepor t:Navigati on> | 654 | </wwrepor t:Navigati on> | |||
655 | 655 | |||||
656 | <!-- Get output nav igation li nk from fo rmat itsel f --> | 656 | <!-- Get output nav igation li nk from fo rmat itsel f --> | |||
657 | <!-- --> | 657 | <!-- --> | |||
658 | <xsl:vari able name= "VarLinkAs XML"> | 658 | <xsl:vari able name= "VarLinkAs XML"> | |||
659 | <xsl:cal l-template name="Rep ort-Output Link"> | 659 | <xsl:cal l-template name="Rep ort-Output Link"> | |||
660 | <xsl:wi th-param n ame="Param Project" s elect="$Gl obalProjec t" /> | 660 | <xsl:wi th-param n ame="Param Project" s elect="$Gl obalProjec t" /> | |||
661 | <xsl:wi th-param n ame="Param LinksConte xt" select ="$ParamLi nks" /> | 661 | <xsl:wi th-param n ame="Param LinksConte xt" select ="$ParamLi nks" /> | |||
662 | <xsl:wi th-param n ame="Param GroupID" s elect="$Pa ramDocumen tFile/@gro upID" /> | 662 | <xsl:wi th-param n ame="Param GroupID" s elect="$Pa ramDocumen tFile/@gro upID" /> | |||
663 | <xsl:wi th-param n ame="Param DocumentID " select=" $ParamDocu mentFile/@ documentID " /> | 663 | <xsl:wi th-param n ame="Param DocumentID " select=" $ParamDocu mentFile/@ documentID " /> | |||
664 | <xsl:wi th-param n ame="Param ParagraphI D" select= "$ParamFra me//ancest or::wwdoc: Paragraph[ last()]/@i d" /> | 664 | <xsl:wi th-param n ame="Param ParagraphI D" select= "$ParamFra me//ancest or::wwdoc: Paragraph[ last()]/@i d" /> | |||
665 | </xsl:ca ll-templat e> | 665 | </xsl:ca ll-templat e> | |||
666 | </xsl:var iable> | 666 | </xsl:var iable> | |||
667 | <xsl:vari able name= "VarLink" select="ms xsl:node-s et($VarLin kAsXML)/ww report:Lin k[1]" /> | 667 | <xsl:vari able name= "VarLink" select="ms xsl:node-s et($VarLin kAsXML)/ww report:Lin k[1]" /> | |||
668 | <xsl:if t est="count ($VarLink) = 1"> | 668 | <xsl:if t est="count ($VarLink) = 1"> | |||
669 | <wwrepor t:Navigati on context ="output"> | 669 | <wwrepor t:Navigati on context ="output"> | |||
670 | <xsl:co py-of sele ct="$VarLi nk" /> | 670 | <xsl:co py-of sele ct="$VarLi nk" /> | |||
671 | </wwrepo rt:Navigat ion> | 671 | </wwrepo rt:Navigat ion> | |||
672 | </xsl:if> | 672 | </xsl:if> | |||
673 | 673 | |||||
674 | <wwreport :Navigatio n context= "details"> | 674 | <wwreport :Navigatio n context= "details"> | |||
675 | <wwrepor t:Link pro tocol="wwh 5api"> | 675 | <wwrepor t:Link pro tocol="wwh 5api"> | |||
676 | <wwrepo rt:Data ke y="BaseURI " value="{ wwenv:Appl icationBas eHelpURI() }" /> | 676 | <wwrepo rt:Data ke y="BaseURI " value="{ wwenv:Appl icationBas eHelpURI() }" /> | |||
677 |
<wwreport:
Data
key="Conte
xt"
value="
|
677 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
678 | <wwrepo rt:Data ke y="Topic" value="ima ges_withou t_long_des c" /> | 678 | <wwrepo rt:Data ke y="Topic" value="ima ges_withou t_long_des c" /> | |||
679 | </wwrepo rt:Link> | 679 | </wwrepo rt:Link> | |||
680 | </wwrepor t:Navigati on> | 680 | </wwrepor t:Navigati on> | |||
681 | </wwreport :Entry> | 681 | </wwreport :Entry> | |||
682 | < /xsl:if> | 682 | < /xsl:if> | |||
683 | </ xsl:if> | 683 | </ xsl:if> | |||
684 | </x sl:if> | 684 | </x sl:if> | |||
685 | </xs l:for-each > | 685 | </xs l:for-each > | |||
686 | </xsl :for-each> | 686 | </xsl :for-each> | |||
687 | </xsl: for-each> | 687 | </xsl: for-each> | |||
688 | </xsl:f or-each> | 688 | </xsl:f or-each> | |||
689 | </xsl:if > | 689 | </xsl:if > | |||
690 | </xsl:tem plate> | 690 | </xsl:tem plate> | |||
691 | 691 | |||||
692 | 692 | |||||
693 | <xsl:temp late match ="*" mode= "wwmode:ac cessibilit y"> | 693 | <xsl:temp late match ="*" mode= "wwmode:ac cessibilit y"> | |||
694 | <xsl:par am name="P aramLinks" /> | 694 | <xsl:par am name="P aramLinks" /> | |||
695 | <xsl:par am name="P aramSplits " /> | 695 | <xsl:par am name="P aramSplits " /> | |||
696 | <xsl:par am name="P aramBehavi ors" /> | 696 | <xsl:par am name="P aramBehavi ors" /> | |||
697 | <xsl:par am name="P aramDocume ntFile" /> | 697 | <xsl:par am name="P aramDocume ntFile" /> | |||
698 | 698 | |||||
699 | <!-- Pro cess child ren --> | 699 | <!-- Pro cess child ren --> | |||
700 | <!-- --> | 700 | <!-- --> | |||
701 | <xsl:app ly-templat es mode="w wmode:acce ssibility" > | 701 | <xsl:app ly-templat es mode="w wmode:acce ssibility" > | |||
702 | <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> | 702 | <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> | |||
703 | <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits" /> | 703 | <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits" /> | |||
704 | <xsl:wi th-param n ame="Param Behaviors" select="$ ParamBehav iors" /> | 704 | <xsl:wi th-param n ame="Param Behaviors" select="$ ParamBehav iors" /> | |||
705 | <xsl:wi th-param n ame="Param DocumentFi le" select ="$ParamDo cumentFile " /> | 705 | <xsl:wi th-param n ame="Param DocumentFi le" select ="$ParamDo cumentFile " /> | |||
706 | </xsl:ap ply-templa tes> | 706 | </xsl:ap ply-templa tes> | |||
707 | </xsl:tem plate> | 707 | </xsl:tem plate> | |||
708 | 708 | |||||
709 | 709 | |||||
710 | <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:accessib ility"> | 710 | <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:accessib ility"> | |||
711 | <xsl:par am name="P aramLinks" /> | 711 | <xsl:par am name="P aramLinks" /> | |||
712 | <xsl:par am name="P aramSplits " /> | 712 | <xsl:par am name="P aramSplits " /> | |||
713 | <xsl:par am name="P aramBehavi ors" /> | 713 | <xsl:par am name="P aramBehavi ors" /> | |||
714 | <xsl:par am name="P aramDocume ntFile" /> | 714 | <xsl:par am name="P aramDocume ntFile" /> | |||
715 | <xsl:par am name="P aramNode" select="." /> | 715 | <xsl:par am name="P aramNode" select="." /> | |||
716 | 716 | |||||
717 | <!-- Det ermine pro cessing st ate --> | 717 | <!-- Det ermine pro cessing st ate --> | |||
718 | <!-- --> | 718 | <!-- --> | |||
719 | <xsl:var iable name ="VarProce ssNode"> | 719 | <xsl:var iable name ="VarProce ssNode"> | |||
720 | <xsl:ca ll-templat e name="Pr ocess-Node "> | 720 | <xsl:ca ll-templat e name="Pr ocess-Node "> | |||
721 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 721 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
722 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | 722 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | |||
723 | <xsl:w ith-param name="Para mRuleType" select="' Paragraph' " /> | 723 | <xsl:w ith-param name="Para mRuleType" select="' Paragraph' " /> | |||
724 | </xsl:c all-templa te> | 724 | </xsl:c all-templa te> | |||
725 | </xsl:va riable> | 725 | </xsl:va riable> | |||
726 | 726 | |||||
727 | <!-- Pro cess node? --> | 727 | <!-- Pro cess node? --> | |||
728 | <!-- --> | 728 | <!-- --> | |||
729 | <xsl:if test="$Var ProcessNod e = 'true' "> | 729 | <xsl:if test="$Var ProcessNod e = 'true' "> | |||
730 | <!-- Pr ocess chil dren --> | 730 | <!-- Pr ocess chil dren --> | |||
731 | <!-- --> | 731 | <!-- --> | |||
732 | <xsl:ap ply-templa tes mode=" wwmode:acc essibility "> | 732 | <xsl:ap ply-templa tes mode=" wwmode:acc essibility "> | |||
733 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 733 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
734 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 734 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
735 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | 735 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | |||
736 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 736 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
737 | </xsl:a pply-templ ates> | 737 | </xsl:a pply-templ ates> | |||
738 | </xsl:if > | 738 | </xsl:if > | |||
739 | </xsl:tem plate> | 739 | </xsl:tem plate> | |||
740 | 740 | |||||
741 | 741 | |||||
742 | <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: accessibil ity"> | 742 | <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: accessibil ity"> | |||
743 | <xsl:par am name="P aramLinks" /> | 743 | <xsl:par am name="P aramLinks" /> | |||
744 | <xsl:par am name="P aramSplits " /> | 744 | <xsl:par am name="P aramSplits " /> | |||
745 | <xsl:par am name="P aramBehavi ors" /> | 745 | <xsl:par am name="P aramBehavi ors" /> | |||
746 | <xsl:par am name="P aramDocume ntFile" /> | 746 | <xsl:par am name="P aramDocume ntFile" /> | |||
747 | <xsl:par am name="P aramNode" select="." /> | 747 | <xsl:par am name="P aramNode" select="." /> | |||
748 | 748 | |||||
749 | <!-- Det ermine pro cessing st ate --> | 749 | <!-- Det ermine pro cessing st ate --> | |||
750 | <!-- --> | 750 | <!-- --> | |||
751 | <xsl:var iable name ="VarProce ssNode"> | 751 | <xsl:var iable name ="VarProce ssNode"> | |||
752 | <xsl:ca ll-templat e name="Pr ocess-Node "> | 752 | <xsl:ca ll-templat e name="Pr ocess-Node "> | |||
753 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 753 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
754 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | 754 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | |||
755 | <xsl:w ith-param name="Para mRuleType" select="' Character' " /> | 755 | <xsl:w ith-param name="Para mRuleType" select="' Character' " /> | |||
756 | </xsl:c all-templa te> | 756 | </xsl:c all-templa te> | |||
757 | </xsl:va riable> | 757 | </xsl:va riable> | |||
758 | 758 | |||||
759 | <!-- Pro cess node? --> | 759 | <!-- Pro cess node? --> | |||
760 | <!-- --> | 760 | <!-- --> | |||
761 | <xsl:if test="$Var ProcessNod e = 'true' "> | 761 | <xsl:if test="$Var ProcessNod e = 'true' "> | |||
762 | <!-- Pr ocess chil dren --> | 762 | <!-- Pr ocess chil dren --> | |||
763 | <!-- --> | 763 | <!-- --> | |||
764 | <xsl:ap ply-templa tes mode=" wwmode:acc essibility "> | 764 | <xsl:ap ply-templa tes mode=" wwmode:acc essibility "> | |||
765 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 765 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
766 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 766 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
767 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | 767 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | |||
768 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 768 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
769 | </xsl:a pply-templ ates> | 769 | </xsl:a pply-templ ates> | |||
770 | </xsl:if > | 770 | </xsl:if > | |||
771 | </xsl:tem plate> | 771 | </xsl:tem plate> | |||
772 | 772 | |||||
773 | 773 | |||||
774 | <xsl:temp late match ="wwdoc:Ta ble" mode= "wwmode:ac cessibilit y"> | 774 | <xsl:temp late match ="wwdoc:Ta ble" mode= "wwmode:ac cessibilit y"> | |||
775 | <xsl:par am name="P aramLinks" /> | 775 | <xsl:par am name="P aramLinks" /> | |||
776 | <xsl:par am name="P aramSplits " /> | 776 | <xsl:par am name="P aramSplits " /> | |||
777 | <xsl:par am name="P aramBehavi ors" /> | 777 | <xsl:par am name="P aramBehavi ors" /> | |||
778 | <xsl:par am name="P aramDocume ntFile" /> | 778 | <xsl:par am name="P aramDocume ntFile" /> | |||
779 | <xsl:par am name="P aramNode" select="." /> | 779 | <xsl:par am name="P aramNode" select="." /> | |||
780 | 780 | |||||
781 | <!-- Det ermine pro cessing st ate --> | 781 | <!-- Det ermine pro cessing st ate --> | |||
782 | <!-- --> | 782 | <!-- --> | |||
783 | <xsl:var iable name ="VarProce ssNode"> | 783 | <xsl:var iable name ="VarProce ssNode"> | |||
784 | <xsl:ca ll-templat e name="Pr ocess-Node "> | 784 | <xsl:ca ll-templat e name="Pr ocess-Node "> | |||
785 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 785 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
786 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | 786 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | |||
787 | <xsl:w ith-param name="Para mRuleType" select="' Table'" /> | 787 | <xsl:w ith-param name="Para mRuleType" select="' Table'" /> | |||
788 | </xsl:c all-templa te> | 788 | </xsl:c all-templa te> | |||
789 | </xsl:va riable> | 789 | </xsl:va riable> | |||
790 | 790 | |||||
791 | <!-- Pro cess node? --> | 791 | <!-- Pro cess node? --> | |||
792 | <!-- --> | 792 | <!-- --> | |||
793 | <xsl:if test="$Var ProcessNod e = 'true' "> | 793 | <xsl:if test="$Var ProcessNod e = 'true' "> | |||
794 | <!-- Ch eck table --> | 794 | <!-- Ch eck table --> | |||
795 | <!-- --> | 795 | <!-- --> | |||
796 | <xsl:ca ll-templat e name="Ch eck-Table" > | 796 | <xsl:ca ll-templat e name="Ch eck-Table" > | |||
797 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 797 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
798 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | 798 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | |||
799 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 799 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
800 | <xsl:w ith-param name="Para mTable" se lect="$Par amNode" /> | 800 | <xsl:w ith-param name="Para mTable" se lect="$Par amNode" /> | |||
801 | </xsl:c all-templa te> | 801 | </xsl:c all-templa te> | |||
802 | 802 | |||||
803 | <!-- Pr ocess chil dren --> | 803 | <!-- Pr ocess chil dren --> | |||
804 | <!-- --> | 804 | <!-- --> | |||
805 | <xsl:ap ply-templa tes mode=" wwmode:acc essibility "> | 805 | <xsl:ap ply-templa tes mode=" wwmode:acc essibility "> | |||
806 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 806 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
807 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 807 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
808 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | 808 | <xsl:w ith-param name="Para mBehaviors " select=" $ParamBeha viors" /> | |||
809 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 809 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
810 | </xsl:a pply-templ ates> | 810 | </xsl:a pply-templ ates> | |||
811 | </xsl:if > | 811 | </xsl:if > | |||
812 | </xsl:tem plate> | 812 | </xsl:tem plate> | |||
813 | 813 | |||||
814 | 814 | |||||
815 | <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:ac cessibilit y"> | 815 | <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:ac cessibilit y"> | |||
816 | <xsl:par am name="P aramLinks" /> | 816 | <xsl:par am name="P aramLinks" /> | |||
817 | <xsl:par am name="P aramSplits " /> | 817 | <xsl:par am name="P aramSplits " /> | |||
818 | <xsl:par am name="P aramBehavi ors" /> | 818 | <xsl:par am name="P aramBehavi ors" /> | |||
819 | <xsl:par am name="P aramDocume ntFile" /> | 819 | <xsl:par am name="P aramDocume ntFile" /> | |||
820 | <xsl:par am name="P aramNode" select="." /> | 820 | <xsl:par am name="P aramNode" select="." /> | |||
821 | 821 | |||||
822 | <xsl:if test="stri ng-length( $ParamNode /@id) > 0"> | 822 | <xsl:if test="stri ng-length( $ParamNode /@id) > 0"> | |||
823 | <!-- De termine pr ocessing s tate --> | 823 | <!-- De termine pr ocessing s tate --> | |||
824 | <!-- --> | 824 | <!-- --> | |||
825 | <xsl:va riable nam e="VarProc essNode"> | 825 | <xsl:va riable nam e="VarProc essNode"> | |||
826 | <xsl:c all-templa te name="P rocess-Nod e"> | 826 | <xsl:c all-templa te name="P rocess-Nod e"> | |||
827 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | 827 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | |||
828 | <xsl: with-param name="Par amNode" se lect="$Par amNode" /> | 828 | <xsl: with-param name="Par amNode" se lect="$Par amNode" /> | |||
829 | <xsl: with-param name="Par amRuleType " select=" 'Graphic'" /> | 829 | <xsl: with-param name="Par amRuleType " select=" 'Graphic'" /> | |||
830 | </xsl: call-templ ate> | 830 | </xsl: call-templ ate> | |||
831 | </xsl:v ariable> | 831 | </xsl:v ariable> | |||
832 | 832 | |||||
833 | <!-- Pr ocess node ? --> | 833 | <!-- Pr ocess node ? --> | |||
834 | <!-- --> | 834 | <!-- --> | |||
835 | <xsl:if test="$Va rProcessNo de = 'true '"> | 835 | <xsl:if test="$Va rProcessNo de = 'true '"> | |||
836 | <xsl:c all-templa te name="C heck-Frame "> | 836 | <xsl:c all-templa te name="C heck-Frame "> | |||
837 | <xsl: with-param name="Par amLinks" s elect="$Pa ramLinks" /> | 837 | <xsl: with-param name="Par amLinks" s elect="$Pa ramLinks" /> | |||
838 | <xsl: with-param name="Par amBehavior s" select= "$ParamBeh aviors" /> | 838 | <xsl: with-param name="Par amBehavior s" select= "$ParamBeh aviors" /> | |||
839 | <xsl: with-param name="Par amSplits" select="$P aramSplits " /> | 839 | <xsl: with-param name="Par amSplits" select="$P aramSplits " /> | |||
840 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | 840 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | |||
841 | <xsl: with-param name="Par amFrame" s elect="$Pa ramNode" / > | 841 | <xsl: with-param name="Par amFrame" s elect="$Pa ramNode" / > | |||
842 | </xsl: call-templ ate> | 842 | </xsl: call-templ ate> | |||
843 | </xsl:i f> | 843 | </xsl:i f> | |||
844 | </xsl:if > | 844 | </xsl:if > | |||
845 | </xsl:tem plate> | 845 | </xsl:tem plate> | |||
846 | </xsl:styl esheet> | 846 | </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.