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\links | 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\links | document.xsl | Mon Oct 13 05:52:04 2008 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 10 | 1920 |
Changed | 9 | 18 |
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:wwdo c="urn:Web Works-Docu ment-Schem a" | 11 | xmlns:wwdo c="urn:Web Works-Docu ment-Schem a" | |||
12 | xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" | 12 | xmlns:wwpr oject="urn :WebWorks- Publish-Pr oject" | |||
13 | xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" | 13 | xmlns:wwpr ogress="ur n:WebWorks -XSLT-Exte nsion-Prog ress" | |||
14 | xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" | 14 | xmlns:wwlo g="urn:Web Works-XSLT -Extension -Log" | |||
15 | xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" | 15 | xmlns:wwfi lesystem=" urn:WebWor ks-XSLT-Ex tension-Fi leSystem" | |||
16 | xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" | 16 | xmlns:wwur i="urn:Web Works-XSLT -Extension -URI" | |||
17 | xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" | 17 | xmlns:wwst ring="urn: WebWorks-X SLT-Extens ion-String Utilities" | |||
18 | xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" | 18 | xmlns:wwfi lesext="ur n:WebWorks -XSLT-Exte nsion-File s" | |||
19 | xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" | 19 | xmlns:wwpr ojext="urn :WebWorks- XSLT-Exten sion-Proje ct" | |||
20 | xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" | 20 | xmlns:wwex sldoc="urn :WebWorks- XSLT-Exten sion-Docum ent" | |||
21 | xmlns:wwex ec="urn:We bWorks-XSL T-Extensio n-Execute" | 21 | xmlns:wwex ec="urn:We bWorks-XSL T-Extensio n-Execute" | |||
22 | xmlns:wwen v="urn:Web Works-XSLT -Extension -Environme nt" | 22 | xmlns:wwen v="urn:Web Works-XSLT -Extension -Environme nt" | |||
23 | exclude-re sult-prefi xes="xsl m sxsl wwspl its wwlink s wwlocale wwmode ww files wwdo c wwprojec t wwprogre ss wwlog w wfilesyste m wwuri ww string wwf ilesext ww projext ww exsldoc ww exec wwenv " | 23 | exclude-re sult-prefi xes="xsl m sxsl wwspl its wwlink s wwlocale wwmode ww files wwdo c wwprojec t wwprogre ss wwlog w wfilesyste m wwuri ww string wwf ilesext ww projext ww exsldoc ww exec wwenv " | |||
24 | > | 24 | > | |||
25 | <xsl:para m name="Gl obalInput" /> | 25 | <xsl:para m name="Gl obalInput" /> | |||
26 | <xsl:para m name="Gl obalPipeli neName" /> | 26 | <xsl:para m name="Gl obalPipeli neName" /> | |||
27 | <xsl:para m name="Gl obalProjec t" /> | 27 | <xsl:para m name="Gl obalProjec t" /> | |||
28 | <xsl:para m name="Gl obalFiles" /> | 28 | <xsl:para m name="Gl obalFiles" /> | |||
29 | <xsl:para m name="Pa rameterDep endsType" /> | 29 | <xsl:para m name="Pa rameterDep endsType" /> | |||
30 | <xsl:para m name="Pa rameterLin ksType" /> | 30 | <xsl:para m name="Pa rameterLin ksType" /> | |||
31 | <xsl:para m name="Pa rameterSpl itsType" / > | 31 | <xsl:para m name="Pa rameterSpl itsType" / > | |||
32 | <xsl:para m name="Pa rameterTyp e" /> | 32 | <xsl:para m name="Pa rameterTyp e" /> | |||
33 | <xsl:para m name="Pa rameterUIL ocaleType" /> | 33 | <xsl:para m name="Pa rameterUIL ocaleType" /> | |||
34 | <xsl:para m name="Pa rameterAll owBaggage" /> | 34 | <xsl:para m name="Pa rameterAll owBaggage" /> | |||
35 | <xsl:para m name="Pa rameterAll owGroupToG roup" /> | 35 | <xsl:para m name="Pa rameterAll owGroupToG roup" /> | |||
36 | <xsl:para m name="Pa rameterAll owURL" /> | 36 | <xsl:para m name="Pa rameterAll owURL" /> | |||
37 | <xsl:para m name="Pa rameterBag gageSplitF ileType" / > | 37 | <xsl:para m name="Pa rameterBag gageSplitF ileType" / > | |||
38 | <xsl:para m name="Pa rameterCat egory" /> | 38 | <xsl:para m name="Pa rameterCat egory" /> | |||
39 | <xsl:para m name="Pa rameterUse " /> | 39 | <xsl:para m name="Pa rameterUse " /> | |||
40 | <xsl:para m name="Pa rameterDep loy" /> | 40 | <xsl:para m name="Pa rameterDep loy" /> | |||
41 | 41 | |||||
42 | 42 | |||||
43 | <xsl:name space-alia s styleshe et-prefix= "wwreport" result-pr efix="#def ault" /> | 43 | <xsl:name space-alia s styleshe et-prefix= "wwreport" result-pr efix="#def ault" /> | |||
44 | <xsl:stri p-space el ements="*" /> | 44 | <xsl:stri p-space el ements="*" /> | |||
45 | 45 | |||||
46 | 46 | |||||
47 | <xsl:incl ude href=" wwformat:T ransforms/ reports.xs l" /> | 47 | <xsl:incl ude href=" wwformat:T ransforms/ reports.xs l" /> | |||
48 | <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> | 48 | <xsl:incl ude href=" wwtransfor m:common/p roject/con ditions.xs l" /> | |||
49 | <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> | 49 | <xsl:incl ude href=" wwtransfor m:common/l inks/resol ve.xsl" /> | |||
50 | 50 | |||||
51 | 51 | |||||
52 | <xsl:key name="wwfi les-files- by-type" m atch="wwfi les:File" use="@type " /> | 52 | <xsl:key name="wwfi les-files- by-type" m atch="wwfi les:File" use="@type " /> | |||
53 | <xsl:key name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID, ':', @type )" /> | 53 | <xsl:key name="wwfi les-files- by-groupid -type" mat ch="wwfile s:File" us e="concat( @groupID, ':', @type )" /> | |||
54 | 54 | |||||
55 | 55 | |||||
56 | <xsl:vari able name= "GlobalAct ionChecksu m"> | 56 | <xsl:vari able name= "GlobalAct ionChecksu m"> | |||
57 | <xsl:var iable name ="VarTrans formChecks ums"> | 57 | <xsl:var iable name ="VarTrans formChecks ums"> | |||
58 | <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))" /> | 58 | <xsl:va lue-of sel ect="conca t(wwuri:As FilePath(' wwtransfor m:self'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww transform: self')))" /> | |||
59 | <xsl:va lue-of sel ect="conca t(',', wwu ri:AsFileP ath('wwfor mat:Transf orms/repor ts.xsl'), ':', wwfil esystem:Ge tChecksum( wwuri:AsFi lePath('ww format:Tra nsforms/re ports.xsl' )))" /> | 59 | <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' )))" /> | |||
60 | <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' )))" /> | 60 | <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' )))" /> | |||
61 | <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' )))" /> | 61 | <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' )))" /> | |||
62 | </xsl:va riable> | 62 | </xsl:va riable> | |||
63 | <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)" /> | 63 | <xsl:val ue-of sele ct="wwstri ng:MD5Chec ksum($VarT ransformCh ecksums)" /> | |||
64 | </xsl:var iable> | 64 | </xsl:var iable> | |||
65 | 65 | |||||
66 | 66 | |||||
67 | <!-- UI L ocale --> | 67 | <!-- UI L ocale --> | |||
68 | <!-- --> | 68 | <!-- --> | |||
69 | <xsl:vari able name= "GlobalUIL ocalePath" > | 69 | <xsl:vari able name= "GlobalUIL ocalePath" > | |||
70 | <xsl:for -each sele ct="$Globa lFiles[1]" > | 70 | <xsl:for -each sele ct="$Globa lFiles[1]" > | |||
71 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterUILoca leType)[1] /@path" /> | 71 | <xsl:va lue-of sel ect="key(' wwfiles-fi les-by-typ e', $Param eterUILoca leType)[1] /@path" /> | |||
72 | </xsl:fo r-each> | 72 | </xsl:fo r-each> | |||
73 | </xsl:var iable> | 73 | </xsl:var iable> | |||
74 | <xsl:vari able name= "GlobalUIL ocalePathC hecksum" s elect="wwf ilesystem: GetChecksu m($GlobalU ILocalePat h)" /> | 74 | <xsl:vari able name= "GlobalUIL ocalePathC hecksum" s elect="wwf ilesystem: GetChecksu m($GlobalU ILocalePat h)" /> | |||
75 | <xsl:vari able name= "GlobalUIL ocale" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($G lobalUILoc alePath)" /> | 75 | <xsl:vari able name= "GlobalUIL ocale" sel ect="wwexs ldoc:LoadX MLWithoutR esolver($G lobalUILoc alePath)" /> | |||
76 | 76 | |||||
77 | 77 | |||||
78 | <!-- Seve rities --> | 78 | <!-- Seve rities --> | |||
79 | <!-- --> | 79 | <!-- --> | |||
80 | <xsl:vari able name= "GlobalLin ksBaggageF ileSeverit y" select= "wwprojext :GetFormat Setting('r eport-link s-baggage- file', 'me ssage')" / > | 80 | <xsl:vari able name= "GlobalLin ksBaggageF ileSeverit y" select= "wwprojext :GetFormat Setting('r eport-link s-baggage- file', 'me ssage')" / > | |||
81 | <xsl:vari able name= "GlobalLin ksExternal URLSeverit y" select= "wwprojext :GetFormat Setting('r eport-link s-external -url', 'me ssage')" / > | 81 | <xsl:vari able name= "GlobalLin ksExternal URLSeverit y" select= "wwprojext :GetFormat Setting('r eport-link s-external -url', 'me ssage')" / > | |||
82 | <xsl:vari able name= "GlobalLin ksUnresolv edToFileSe verity" se lect="wwpr ojext:GetF ormatSetti ng('report -links-unr esolved-to -file', 'w arning')" /> | 82 | <xsl:vari able name= "GlobalLin ksUnresolv edToFileSe verity" se lect="wwpr ojext:GetF ormatSetti ng('report -links-unr esolved-to -file', 'w arning')" /> | |||
83 | <xsl:vari able name= "GlobalLin ksUnresolv edToAnchor Severity" select="ww projext:Ge tFormatSet ting('repo rt-links-u nresolved- to-anchor' , 'warning ')" /> | 83 | <xsl:vari able name= "GlobalLin ksUnresolv edToAnchor Severity" select="ww projext:Ge tFormatSet ting('repo rt-links-u nresolved- to-anchor' , 'warning ')" /> | |||
84 | <xsl:vari able name= "GlobalLin ksUnresolv edToDocume ntSeverity " select=" wwprojext: GetFormatS etting('re port-links -unresolve d-to-docum ent', 'war ning')" /> | 84 | <xsl:vari able name= "GlobalLin ksUnresolv edToDocume ntSeverity " select=" wwprojext: GetFormatS etting('re port-links -unresolve d-to-docum ent', 'war ning')" /> | |||
85 | <xsl:vari able name= "GlobalLin ksUnresolv edToAnchor InDocument Severity" select="ww projext:Ge tFormatSet ting('repo rt-links-u nresolved- to-anchor- in-documen t', 'warni ng')" /> | 85 | <xsl:vari able name= "GlobalLin ksUnresolv edToAnchor InDocument Severity" select="ww projext:Ge tFormatSet ting('repo rt-links-u nresolved- to-anchor- in-documen t', 'warni ng')" /> | |||
86 | <xsl:vari able name= "GlobalLin ksUnsuppor tedBaggage FileSeveri ty" select ="wwprojex t:GetForma tSetting(' report-lin ks-unsuppo rted-bagga ge-file', 'warning') " /> | 86 | <xsl:vari able name= "GlobalLin ksUnsuppor tedBaggage FileSeveri ty" select ="wwprojex t:GetForma tSetting(' report-lin ks-unsuppo rted-bagga ge-file', 'warning') " /> | |||
87 | <xsl:vari able name= "GlobalLin ksUnsuppor tedGroupTo GroupSever ity" selec t="wwproje xt:GetForm atSetting( 'report-li nks-unsupp orted-grou p-to-group ', 'warnin g')" /> | 87 | <xsl:vari able name= "GlobalLin ksUnsuppor tedGroupTo GroupSever ity" selec t="wwproje xt:GetForm atSetting( 'report-li nks-unsupp orted-grou p-to-group ', 'warnin g')" /> | |||
88 | <xsl:vari able name= "GlobalLin ksUnsuppor tedExterna lURLSeveri ty" select ="wwprojex t:GetForma tSetting(' report-lin ks-unsuppo rted-exter nal-url', 'warning') " /> | 88 | <xsl:vari able name= "GlobalLin ksUnsuppor tedExterna lURLSeveri ty" select ="wwprojex t:GetForma tSetting(' report-lin ks-unsuppo rted-exter nal-url', 'warning') " /> | |||
89 | 89 | |||||
90 | 90 | |||||
91 | <xsl:temp late match ="/"> | 91 | <xsl:temp late match ="/"> | |||
92 | <wwfiles :Files ver sion="1.0" > | 92 | <wwfiles :Files ver sion="1.0" > | |||
93 | 93 | |||||
94 | <xsl:va riable nam e="VarGene rateReport Setting" s elect="wwp rojext:Get FormatSett ing('repor t-links-ge nerate', ' true') = ' true'" /> | 94 | <xsl:va riable nam e="VarGene rateReport Setting" s elect="wwp rojext:Get FormatSett ing('repor t-links-ge nerate', ' true') = ' true'" /> | |||
95 | <xsl:va riable nam e="VarRequ estedPipel ine" selec t="wwenv:R equestedPi peline($Gl obalPipeli neName)" / > | 95 | <xsl:va riable nam e="VarRequ estedPipel ine" selec t="wwenv:R equestedPi peline($Gl obalPipeli neName)" / > | |||
96 | <xsl:va riable nam e="VarGene rateReport " select=" ($VarGener ateReportS etting) or ($VarRequ estedPipel ine)" /> | 96 | <xsl:va riable nam e="VarGene rateReport " select=" ($VarGener ateReportS etting) or ($VarRequ estedPipel ine)" /> | |||
97 | 97 | |||||
98 | <xsl:if test="$Va rGenerateR eport"> | 98 | <xsl:if test="$Va rGenerateR eport"> | |||
99 | <!-- L oad projec t links -- > | 99 | <!-- L oad projec t links -- > | |||
100 | <!-- -- > | 100 | <!-- -- > | |||
101 | <xsl:f or-each se lect="$Glo balFiles[1 ]"> | 101 | <xsl:f or-each se lect="$Glo balFiles[1 ]"> | |||
102 | <xsl: variable n ame="VarLi nksFileInf o" select= "key('wwfi les-files- by-type', $Parameter LinksType) " /> | 102 | <xsl: variable n ame="VarLi nksFileInf o" select= "key('wwfi les-files- by-type', $Parameter LinksType) " /> | |||
103 | <xsl: variable n ame="VarLi nks" selec t="wwexsld oc:LoadXML WithoutRes olver($Var LinksFileI nfo/@path) " /> | 103 | <xsl: variable n ame="VarLi nks" selec t="wwexsld oc:LoadXML WithoutRes olver($Var LinksFileI nfo/@path) " /> | |||
104 | 104 | |||||
105 | <!-- Groups --> | 105 | <!-- Groups --> | |||
106 | <!-- --> | 106 | <!-- --> | |||
107 | <xsl: variable n ame="VarPr ojectGroup s" select= "$GlobalPr oject/wwpr oject:Proj ect/wwproj ect:Groups /wwproject :Group" /> | 107 | <xsl: variable n ame="VarPr ojectGroup s" select= "$GlobalPr oject/wwpr oject:Proj ect/wwproj ect:Groups /wwproject :Group" /> | |||
108 | <xsl: variable n ame="VarPr ogressProj ectGroupsS tart" sele ct="wwprog ress:Start (count($Va rProjectGr oups))" /> | 108 | <xsl: variable n ame="VarPr ogressProj ectGroupsS tart" sele ct="wwprog ress:Start (count($Va rProjectGr oups))" /> | |||
109 | <xsl: for-each s elect="$Va rProjectGr oups"> | 109 | <xsl: for-each s elect="$Va rProjectGr oups"> | |||
110 | <xsl :variable name="VarP rojectGrou p" select= "." /> | 110 | <xsl :variable name="VarP rojectGrou p" select= "." /> | |||
111 | 111 | |||||
112 | <xsl :variable name="VarP rogressPro jectGroupS tart" sele ct="wwprog ress:Start (1)" /> | 112 | <xsl :variable name="VarP rogressPro jectGroupS tart" sele ct="wwprog ress:Start (1)" /> | |||
113 | 113 | |||||
114 | <!-- Aborted? --> | 114 | <!-- Aborted? --> | |||
115 | <!-- --> | 115 | <!-- --> | |||
116 | <xsl :if test=" not(wwprog ress:Abort ())"> | 116 | <xsl :if test=" not(wwprog ress:Abort ())"> | |||
117 | <xs l:for-each select="$ GlobalFile s[1]"> | 117 | <xs l:for-each select="$ GlobalFile s[1]"> | |||
118 | <! -- Group S plits --> | 118 | <! -- Group S plits --> | |||
119 | <! -- --> | 119 | <! -- --> | |||
120 | <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)) " /> | 120 | <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)) " /> | |||
121 | <x sl:variabl e name="Va rSplits" s elect="wwe xsldoc:Loa dXMLWithou tResolver( $VarFilesS plits/@pat h)" /> | 121 | <x sl:variabl e name="Va rSplits" s elect="wwe xsldoc:Loa dXMLWithou tResolver( $VarFilesS plits/@pat h)" /> | |||
122 | 122 | |||||
123 | <! -- Iterate input doc uments --> | 123 | <! -- Iterate input doc uments --> | |||
124 | <! -- --> | 124 | <! -- --> | |||
125 | <x sl:for-eac h select=" $GlobalInp ut[1]"> | 125 | <x sl:for-eac h select=" $GlobalInp ut[1]"> | |||
126 | < !-- Docume nts --> | 126 | < !-- Docume nts --> | |||
127 | < !-- --> | 127 | < !-- --> | |||
128 | < xsl:variab le name="V arGroupDoc umentFiles " select=" key('wwfil es-files-b y-type', $ ParameterD ependsType )[@groupID = $VarPro jectGroup/ @GroupID]" /> | 128 | < xsl:variab le name="V arGroupDoc umentFiles " select=" key('wwfil es-files-b y-type', $ ParameterD ependsType )[@groupID = $VarPro jectGroup/ @GroupID]" /> | |||
129 | < xsl:variab le name="V arProgress GroupDocum entsStart" select="w wprogress: Start(coun t($VarGrou pDocumentF iles))" /> | 129 | < xsl:variab le name="V arProgress GroupDocum entsStart" select="w wprogress: Start(coun t($VarGrou pDocumentF iles))" /> | |||
130 | < xsl:for-ea ch select= "$VarGroup DocumentFi les"> | 130 | < xsl:for-ea ch select= "$VarGroup DocumentFi les"> | |||
131 | <xsl:varia ble name=" VarDocumen tFile" sel ect="." /> | 131 | <xsl:varia ble name=" VarDocumen tFile" sel ect="." /> | |||
132 | 132 | |||||
133 | <xsl:varia ble name=" VarProgres sGroupDocu mentStart" select="w wprogress: Start(1)" /> | 133 | <xsl:varia ble name=" VarProgres sGroupDocu mentStart" select="w wprogress: Start(1)" /> | |||
134 | 134 | |||||
135 | <!-- Abort ed? --> | 135 | <!-- Abort ed? --> | |||
136 | <!-- --> | 136 | <!-- --> | |||
137 | <xsl:if te st="not(ww progress:A bort())"> | 137 | <xsl:if te st="not(ww progress:A bort())"> | |||
138 | <!-- Up-t o-date? -- > | 138 | <!-- Up-t o-date? -- > | |||
139 | <!-- -- > | 139 | <!-- -- > | |||
140 | <xsl:vari able name= "VarPath" select="ww filesystem :Combine(w wfilesyste m:GetDirec toryName($ VarDocumen tFile/@pat h), concat (translate ($Paramete rType, ':' , '_'),'.x ml'))" /> | 140 | <xsl:vari able name= "VarPath" select="ww filesystem :Combine(w wfilesyste m:GetDirec toryName($ VarDocumen tFile/@pat h), concat (translate ($Paramete rType, ':' , '_'),'.x ml'))" /> | |||
141 | <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)" /> | 141 | <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)" /> | |||
142 | <xsl:if t est="not($ VarUpToDat e)"> | 142 | <xsl:if t est="not($ VarUpToDat e)"> | |||
143 | <xsl:var iable name ="VarResul tAsXML"> | 143 | <xsl:var iable name ="VarResul tAsXML"> | |||
144 | <xsl:ca ll-templat e name="Li nks-Report "> | 144 | <xsl:ca ll-templat e name="Li nks-Report "> | |||
145 | <xsl:w ith-param name="Para mLinks" se lect="$Var Links" /> | 145 | <xsl:w ith-param name="Para mLinks" se lect="$Var Links" /> | |||
146 | <xsl:w ith-param name="Para mSplits" s elect="$Va rSplits" / > | 146 | <xsl:w ith-param name="Para mSplits" s elect="$Va rSplits" / > | |||
147 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$VarDoc umentFile" /> | 147 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$VarDoc umentFile" /> | |||
148 | </xsl:c all-templa te> | 148 | </xsl:c all-templa te> | |||
149 | </xsl:va riable> | 149 | </xsl:va riable> | |||
150 | <xsl:var iable name ="VarResul t" select= "msxsl:nod e-set($Var ResultAsXM L)" /> | 150 | <xsl:var iable name ="VarResul t" select= "msxsl:nod e-set($Var ResultAsXM L)" /> | |||
151 | <xsl:var iable name ="VarWrite Result" se lect="wwex sldoc:Docu ment($VarR esult, $Va rPath, 'ut f-8', 'xml ', '1.0', 'yes')" /> | 151 | <xsl:var iable name ="VarWrite Result" se lect="wwex sldoc:Docu ment($VarR esult, $Va rPath, 'ut f-8', 'xml ', '1.0', 'yes')" /> | |||
152 | </xsl:if> | 152 | </xsl:if> | |||
153 | 153 | |||||
154 | <!-- Repo rt generat ed files - -> | 154 | <!-- Repo rt generat ed files - -> | |||
155 | <!-- - -> | 155 | <!-- - -> | |||
156 | <wwfiles: File path= "{$VarPath }" display name="{$Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'LinksRepo rtTitle']/ @value}" t ype="{$Par ameterType }" checksu m="{wwfile system:Get Checksum($ VarPath)}" projectch ecksum="{$ GlobalProj ect/wwproj ect:Projec t/@ChangeI D}" groupI D="{$VarDo cumentFile /@groupID} " document ID="{$VarD ocumentFil e/@documen tID}" acti onchecksum ="{$Global ActionChec ksum}" cat egory="{$P arameterCa tegory}" u se="{$Para meterUse}" deploy="{ $Parameter Deploy}"> | 156 | <wwfiles: File path= "{$VarPath }" display name="{$Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'LinksRepo rtTitle']/ @value}" t ype="{$Par ameterType }" checksu m="{wwfile system:Get Checksum($ VarPath)}" projectch ecksum="{$ GlobalProj ect/wwproj ect:Projec t/@ChangeI D}" groupI D="{$VarDo cumentFile /@groupID} " document ID="{$VarD ocumentFil e/@documen tID}" acti onchecksum ="{$Global ActionChec ksum}" cat egory="{$P arameterCa tegory}" u se="{$Para meterUse}" deploy="{ $Parameter Deploy}"> | |||
157 | <wwfiles :Depends p ath="{$Glo balUILocal ePath}" ch ecksum="{$ GlobalUILo calePathCh ecksum}" g roupID="" documentID ="" /> | 157 | <wwfiles :Depends p ath="{$Glo balUILocal ePath}" ch ecksum="{$ GlobalUILo calePathCh ecksum}" g roupID="" documentID ="" /> | |||
158 | <wwfiles :Depends p ath="{$Var LinksFileI nfo/@path} " checksum ="{$VarLin ksFileInfo /@checksum }" groupID ="{$VarLin ksFileInfo /@groupID} " document ID="{$VarL inksFileIn fo/@docume ntID}" /> | 158 | <wwfiles :Depends p ath="{$Var LinksFileI nfo/@path} " checksum ="{$VarLin ksFileInfo /@checksum }" groupID ="{$VarLin ksFileInfo /@groupID} " document ID="{$VarL inksFileIn fo/@docume ntID}" /> | |||
159 | <wwfiles :Depends p ath="{$Var FilesSplit s/@path}" checksum=" {$VarFiles Splits/@ch ecksum}" g roupID="{$ VarFilesSp lits/@grou pID}" docu mentID="{$ VarFilesSp lits/@path }" /> | 159 | <wwfiles :Depends p ath="{$Var FilesSplit s/@path}" checksum=" {$VarFiles Splits/@ch ecksum}" g roupID="{$ VarFilesSp lits/@grou pID}" docu mentID="{$ VarFilesSp lits/@path }" /> | |||
160 | <wwfiles :Depends p ath="{$Var DocumentFi le/@path}" checksum= "{$VarDocu mentFile/@ checksum}" groupID=" {$VarDocum entFile/@g roupID}" d ocumentID= "{$VarDocu mentFile/@ documentID }" /> | 160 | <wwfiles :Depends p ath="{$Var DocumentFi le/@path}" checksum= "{$VarDocu mentFile/@ checksum}" groupID=" {$VarDocum entFile/@g roupID}" d ocumentID= "{$VarDocu mentFile/@ documentID }" /> | |||
161 | </wwfiles :File> | 161 | </wwfiles :File> | |||
162 | </xsl:if> | 162 | </xsl:if> | |||
163 | 163 | |||||
164 | <xsl:varia ble name=" VarProgres sGroupDocu mentEnd" s elect="wwp rogress:En d()" /> | 164 | <xsl:varia ble name=" VarProgres sGroupDocu mentEnd" s elect="wwp rogress:En d()" /> | |||
165 | < /xsl:for-e ach> | 165 | < /xsl:for-e ach> | |||
166 | < xsl:variab le name="V arProgress GroupDocum entsEnd" s elect="wwp rogress:En d()" /> | 166 | < xsl:variab le name="V arProgress GroupDocum entsEnd" s elect="wwp rogress:En d()" /> | |||
167 | </ xsl:for-ea ch> | 167 | </ xsl:for-ea ch> | |||
168 | </x sl:for-eac h> | 168 | </x sl:for-eac h> | |||
169 | </xs l:if> | 169 | </xs l:if> | |||
170 | 170 | |||||
171 | <xsl :variable name="VarP rogressPro jectGroupE nd" select ="wwprogre ss:End()" /> | 171 | <xsl :variable name="VarP rogressPro jectGroupE nd" select ="wwprogre ss:End()" /> | |||
172 | </xsl :for-each> | 172 | </xsl :for-each> | |||
173 | 173 | |||||
174 | <xsl: variable n ame="VarPr ogressProj ectGroupsE nd" select ="wwprogre ss:End()" /> | 174 | <xsl: variable n ame="VarPr ogressProj ectGroupsE nd" select ="wwprogre ss:End()" /> | |||
175 | </xsl: for-each> | 175 | </xsl: for-each> | |||
176 | </xsl:i f> | 176 | </xsl:i f> | |||
177 | 177 | |||||
178 | </wwfile s:Files> | 178 | </wwfile s:Files> | |||
179 | </xsl:tem plate> | 179 | </xsl:tem plate> | |||
180 | 180 | |||||
181 | 181 | |||||
182 | <xsl:temp late name= "Links-Rep ort"> | 182 | <xsl:temp late name= "Links-Rep ort"> | |||
183 | <xsl:par am name="P aramLinks" /> | 183 | <xsl:par am name="P aramLinks" /> | |||
184 | <xsl:par am name="P aramSplits " /> | 184 | <xsl:par am name="P aramSplits " /> | |||
185 | <xsl:par am name="P aramDocume ntFile" /> | 185 | <xsl:par am name="P aramDocume ntFile" /> | |||
186 | 186 | |||||
187 | <!-- Loa d document --> | 187 | <!-- Loa d document --> | |||
188 | <!-- --> | 188 | <!-- --> | |||
189 | <xsl:var iable name ="VarDocum ent" selec t="wwexsld oc:LoadXML WithoutRes olver($Par amDocument File/@path )" /> | 189 | <xsl:var iable name ="VarDocum ent" selec t="wwexsld oc:LoadXML WithoutRes olver($Par amDocument File/@path )" /> | |||
190 | 190 | |||||
191 | <!-- Gen erate repo rt --> | 191 | <!-- Gen erate repo rt --> | |||
192 | <!-- --> | 192 | <!-- --> | |||
193 | <wwrepor t:Report v ersion="1. 0"> | 193 | <wwrepor t:Report v ersion="1. 0"> | |||
194 | 194 | |||||
195 | <xsl:ap ply-templa tes select ="$VarDocu ment/wwdoc :Document/ wwdoc:Cont ent" mode= "wwmode:li nks"> | 195 | <xsl:ap ply-templa tes select ="$VarDocu ment/wwdoc :Document/ wwdoc:Cont ent" mode= "wwmode:li nks"> | |||
196 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 196 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
197 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 197 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
198 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 198 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
199 | <xsl:w ith-param name="Para mID" selec t="0" /> | 199 | <xsl:w ith-param name="Para mID" selec t="0" /> | |||
200 | </xsl:a pply-templ ates> | 200 | </xsl:a pply-templ ates> | |||
201 | 201 | |||||
202 | </wwrepo rt:Report> | 202 | </wwrepo rt:Report> | |||
203 | </xsl:tem plate> | 203 | </xsl:tem plate> | |||
204 | 204 | |||||
205 | 205 | |||||
206 | <xsl:temp late name= "Process-N ode"> | 206 | <xsl:temp late name= "Process-N ode"> | |||
207 | <xsl:par am name="P aramDocume ntFile" /> | 207 | <xsl:par am name="P aramDocume ntFile" /> | |||
208 | <xsl:par am name="P aramNode" /> | 208 | <xsl:par am name="P aramNode" /> | |||
209 | <xsl:par am name="P aramRuleTy pe" /> | 209 | <xsl:par am name="P aramRuleTy pe" /> | |||
210 | 210 | |||||
211 | <!-- Ret rieve cont ext rule - -> | 211 | <!-- Ret rieve cont ext rule - -> | |||
212 | <!-- - -> | 212 | <!-- - -> | |||
213 | <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ($ParamRul eType, $Pa ramNode/@s tylename, $ParamDocu mentFile/@ documentID , $ParamNo de/@id)" / > | 213 | <xsl:var iable name ="VarConte xtRule" se lect="wwpr ojext:GetC ontextRule ($ParamRul eType, $Pa ramNode/@s tylename, $ParamDocu mentFile/@ documentID , $ParamNo de/@id)" / > | |||
214 | 214 | |||||
215 | <!-- Gen erate Opti on --> | 215 | <!-- Gen erate Opti on --> | |||
216 | <!-- --> | 216 | <!-- --> | |||
217 | <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'gener ate-output ']/@Value" /> | 217 | <xsl:var iable name ="VarGener ateOutputO ption" sel ect="$VarC ontextRule /wwproject :Options/w wproject:O ption[@Nam e = 'gener ate-output ']/@Value" /> | |||
218 | <xsl:var iable name ="VarGener ateOutput" select="( string-len gth($VarGe nerateOutp utOption) = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> | 218 | <xsl:var iable name ="VarGener ateOutput" select="( string-len gth($VarGe nerateOutp utOption) = 0) or ($ VarGenerat eOutputOpt ion != 'fa lse')" /> | |||
219 | 219 | |||||
220 | <!-- Gen erate? --> | 220 | <!-- Gen erate? --> | |||
221 | <!-- --> | 221 | <!-- --> | |||
222 | <xsl:if test="$Var GenerateOu tput"> | 222 | <xsl:if test="$Var GenerateOu tput"> | |||
223 | <!-- In side pass- through? - -> | 223 | <!-- In side pass- through? - -> | |||
224 | <!-- - -> | 224 | <!-- - -> | |||
225 | <xsl:va riable nam e="VarPass Through"> | 225 | <xsl:va riable nam e="VarPass Through"> | |||
226 | <xsl:c all-templa te name="C onditions- PassThroug h"> | 226 | <xsl:c all-templa te name="C onditions- PassThroug h"> | |||
227 | <xsl: with-param name="Par amConditio ns" select ="$ParamNo de/wwdoc:C onditions" /> | 227 | <xsl: with-param name="Par amConditio ns" select ="$ParamNo de/wwdoc:C onditions" /> | |||
228 | </xsl: call-templ ate> | 228 | </xsl: call-templ ate> | |||
229 | </xsl:v ariable> | 229 | </xsl:v ariable> | |||
230 | 230 | |||||
231 | <!-- Pr ocess if n ot pass-th rough --> | 231 | <!-- Pr ocess if n ot pass-th rough --> | |||
232 | <!-- --> | 232 | <!-- --> | |||
233 | <xsl:if test="$Va rPassThrou gh != 'tru e'"> | 233 | <xsl:if test="$Va rPassThrou gh != 'tru e'"> | |||
234 | <!-- P rocess nod e! --> | 234 | <!-- P rocess nod e! --> | |||
235 | <!-- --> | 235 | <!-- --> | |||
236 | <xsl:v alue-of se lect="true ()" /> | 236 | <xsl:v alue-of se lect="true ()" /> | |||
237 | </xsl:i f> | 237 | </xsl:i f> | |||
238 | </xsl:if > | 238 | </xsl:if > | |||
239 | </xsl:tem plate> | 239 | </xsl:tem plate> | |||
240 | 240 | |||||
241 | 241 | |||||
242 | <xsl:temp late match ="wwlinks: ResolvedLi nk" mode=" wwmode:rep ort-links" > | 242 | <xsl:temp late match ="wwlinks: ResolvedLi nk" mode=" wwmode:rep ort-links" > | |||
243 | <xsl:par am name="P aramLinks" /> | 243 | <xsl:par am name="P aramLinks" /> | |||
244 | <xsl:par am name="P aramDocume ntFile" /> | 244 | <xsl:par am name="P aramDocume ntFile" /> | |||
245 | <xsl:par am name="P aramNode" /> | 245 | <xsl:par am name="P aramNode" /> | |||
246 | <xsl:par am name="P aramDocume ntLink" /> | 246 | <xsl:par am name="P aramDocume ntLink" /> | |||
247 | <xsl:par am name="P aramID" /> | 247 | <xsl:par am name="P aramID" /> | |||
248 | <xsl:par am name="P aramResolv edLinkInfo " select=" ." /> | 248 | <xsl:par am name="P aramResolv edLinkInfo " select=" ." /> | |||
249 | 249 | |||||
250 | <xsl:cho ose> | 250 | <xsl:cho ose> | |||
251 | <!-- Ba ggage --> | 251 | <!-- Ba ggage --> | |||
252 | <!-- --> | 252 | <!-- --> | |||
253 | <xsl:wh en test="$ ParamResol vedLinkInf o/@type = 'baggage'" > | 253 | <xsl:wh en test="$ ParamResol vedLinkInf o/@type = 'baggage'" > | |||
254 | <!-- R egular bag gage file --> | 254 | <!-- R egular bag gage file --> | |||
255 | <!-- --> | 255 | <!-- --> | |||
256 | <xsl:i f test="$G lobalLinks BaggageFil eSeverity != 'ignore '"> | 256 | <xsl:i f test="$G lobalLinks BaggageFil eSeverity != 'ignore '"> | |||
257 | <wwre port:Entry context=" links" typ e="baggage -file" sev erity="{$G lobalLinks BaggageFil eSeverity} "> | 257 | <wwre port:Entry context=" links" typ e="baggage -file" sev erity="{$G lobalLinks BaggageFil eSeverity} "> | |||
258 | <wwr eport:Desc ription> | 258 | <wwr eport:Desc ription> | |||
259 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'B aggageFile ']/@value, wwfilesys tem:GetFil eName($Par amResolved LinkInfo/@ target))" /> | 259 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'B aggageFile ']/@value, wwfilesys tem:GetFil eName($Par amResolved LinkInfo/@ target))" /> | |||
260 | </ww report:Des cription> | 260 | </ww report:Des cription> | |||
261 | 261 | |||||
262 | <wwr eport:Navi gation con text="sour ce"> | 262 | <wwr eport:Navi gation con text="sour ce"> | |||
263 | <ww report:Lin k protocol ="adapter" > | 263 | <ww report:Lin k protocol ="adapter" > | |||
264 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | 264 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | |||
265 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | 265 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | |||
266 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | 266 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | |||
267 | </w wreport:Li nk> | 267 | </w wreport:Li nk> | |||
268 | </ww report:Nav igation> | 268 | </ww report:Nav igation> | |||
269 | 269 | |||||
270 | <!-- Get outpu t navigati on link fr om format itself --> | 270 | <!-- Get outpu t navigati on link fr om format itself --> | |||
271 | <!-- --> | 271 | <!-- --> | |||
272 | <xsl :variable name="VarL inkAsXML"> | 272 | <xsl :variable name="VarL inkAsXML"> | |||
273 | <xs l:call-tem plate name ="Report-O utputLink" > | 273 | <xs l:call-tem plate name ="Report-O utputLink" > | |||
274 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | 274 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | |||
275 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | 275 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | |||
276 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | 276 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | |||
277 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | 277 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | |||
278 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | 278 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | |||
279 | </x sl:call-te mplate> | 279 | </x sl:call-te mplate> | |||
280 | </xs l:variable > | 280 | </xs l:variable > | |||
281 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | 281 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | |||
282 | <xsl :if test=" count($Var Link) = 1" > | 282 | <xsl :if test=" count($Var Link) = 1" > | |||
283 | <ww report:Nav igation co ntext="out put"> | 283 | <ww report:Nav igation co ntext="out put"> | |||
284 | <x sl:copy-of select="$ VarLink" / > | 284 | <x sl:copy-of select="$ VarLink" / > | |||
285 | </w wreport:Na vigation> | 285 | </w wreport:Na vigation> | |||
286 | </xs l:if> | 286 | </xs l:if> | |||
287 | 287 | |||||
288 | <wwr eport:Navi gation con text="outp ut"> | 288 | <wwr eport:Navi gation con text="outp ut"> | |||
289 | <ww report:Lin k protocol ="uri"> | 289 | <ww report:Lin k protocol ="uri"> | |||
290 | <w wreport:Da ta key="UR I" value=" {$ParamDoc umentLink/ @target}" /> | 290 | <w wreport:Da ta key="UR I" value=" {$ParamDoc umentLink/ @target}" /> | |||
291 | </w wreport:Li nk> | 291 | </w wreport:Li nk> | |||
292 | </ww report:Nav igation> | 292 | </ww report:Nav igation> | |||
293 | 293 | |||||
294 | <wwr eport:Navi gation con text="deta ils"> | 294 | <wwr eport:Navi gation con text="deta ils"> | |||
295 | <ww report:Lin k protocol ="wwh5api" > | 295 | <ww report:Lin k protocol ="wwh5api" > | |||
296 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | 296 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | |||
297 |
<wwreport:
Data
key="Conte
xt"
value="
|
297 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
298 | <w wreport:Da ta key="To pic" value ="baggage_ files" /> | 298 | <w wreport:Da ta key="To pic" value ="baggage_ files" /> | |||
299 | </w wreport:Li nk> | 299 | </w wreport:Li nk> | |||
300 | </ww report:Nav igation> | 300 | </ww report:Nav igation> | |||
301 | </wwr eport:Entr y> | 301 | </wwr eport:Entr y> | |||
302 | </xsl: if> | 302 | </xsl: if> | |||
303 | </xsl:w hen> | 303 | </xsl:w hen> | |||
304 | 304 | |||||
305 | <!-- Ex ternal URL --> | 305 | <!-- Ex ternal URL --> | |||
306 | <!-- --> | 306 | <!-- --> | |||
307 | <xsl:wh en test="$ ParamResol vedLinkInf o/@type = 'url'"> | 307 | <xsl:wh en test="$ ParamResol vedLinkInf o/@type = 'url'"> | |||
308 | <xsl:i f test="$G lobalLinks ExternalUR LSeverity != 'ignore '"> | 308 | <xsl:i f test="$G lobalLinks ExternalUR LSeverity != 'ignore '"> | |||
309 | <wwre port:Entry context=" links" typ e="externa l-url" sev erity="{$G lobalLinks ExternalUR LSeverity} "> | 309 | <wwre port:Entry context=" links" typ e="externa l-url" sev erity="{$G lobalLinks ExternalUR LSeverity} "> | |||
310 | <wwr eport:Desc ription> | 310 | <wwr eport:Desc ription> | |||
311 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'E xternalURL ']/@value, $ParamRes olvedLinkI nfo/@url)" /> | 311 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'E xternalURL ']/@value, $ParamRes olvedLinkI nfo/@url)" /> | |||
312 | </ww report:Des cription> | 312 | </ww report:Des cription> | |||
313 | 313 | |||||
314 | <wwr eport:Navi gation con text="sour ce"> | 314 | <wwr eport:Navi gation con text="sour ce"> | |||
315 | <ww report:Lin k protocol ="adapter" > | 315 | <ww report:Lin k protocol ="adapter" > | |||
316 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | 316 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | |||
317 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | 317 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | |||
318 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | 318 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | |||
319 | </w wreport:Li nk> | 319 | </w wreport:Li nk> | |||
320 | </ww report:Nav igation> | 320 | </ww report:Nav igation> | |||
321 | 321 | |||||
322 | <!-- Get outpu t navigati on link fr om format itself --> | 322 | <!-- Get outpu t navigati on link fr om format itself --> | |||
323 | <!-- --> | 323 | <!-- --> | |||
324 | <xsl :variable name="VarL inkAsXML"> | 324 | <xsl :variable name="VarL inkAsXML"> | |||
325 | <xs l:call-tem plate name ="Report-O utputLink" > | 325 | <xs l:call-tem plate name ="Report-O utputLink" > | |||
326 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | 326 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | |||
327 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | 327 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | |||
328 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | 328 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | |||
329 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | 329 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | |||
330 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | 330 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | |||
331 | </x sl:call-te mplate> | 331 | </x sl:call-te mplate> | |||
332 | </xs l:variable > | 332 | </xs l:variable > | |||
333 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | 333 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | |||
334 | <xsl :if test=" count($Var Link) = 1" > | 334 | <xsl :if test=" count($Var Link) = 1" > | |||
335 | <ww report:Nav igation co ntext="out put"> | 335 | <ww report:Nav igation co ntext="out put"> | |||
336 | <x sl:copy-of select="$ VarLink" / > | 336 | <x sl:copy-of select="$ VarLink" / > | |||
337 | </w wreport:Na vigation> | 337 | </w wreport:Na vigation> | |||
338 | </xs l:if> | 338 | </xs l:if> | |||
339 | 339 | |||||
340 | <wwr eport:Navi gation con text="outp ut"> | 340 | <wwr eport:Navi gation con text="outp ut"> | |||
341 | <ww report:Lin k protocol ="uri"> | 341 | <ww report:Lin k protocol ="uri"> | |||
342 | <w wreport:Da ta key="UR I" value=" {$ParamRes olvedLinkI nfo/@url}" /> | 342 | <w wreport:Da ta key="UR I" value=" {$ParamRes olvedLinkI nfo/@url}" /> | |||
343 | </w wreport:Li nk> | 343 | </w wreport:Li nk> | |||
344 | </ww report:Nav igation> | 344 | </ww report:Nav igation> | |||
345 | 345 | |||||
346 | <wwr eport:Navi gation con text="deta ils"> | 346 | <wwr eport:Navi gation con text="deta ils"> | |||
347 | <ww report:Lin k protocol ="wwh5api" > | 347 | <ww report:Lin k protocol ="wwh5api" > | |||
348 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | 348 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | |||
349 |
<wwreport:
Data
key="Conte
xt"
value="
|
349 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
350 | <w wreport:Da ta key="To pic" value ="external _URLs" /> | 350 | <w wreport:Da ta key="To pic" value ="external _URLs" /> | |||
351 | </w wreport:Li nk> | 351 | </w wreport:Li nk> | |||
352 | </ww report:Nav igation> | 352 | </ww report:Nav igation> | |||
353 | </wwr eport:Entr y> | 353 | </wwr eport:Entr y> | |||
354 | </xsl: if> | 354 | </xsl: if> | |||
355 | </xsl:w hen> | 355 | </xsl:w hen> | |||
356 | </xsl:ch oose> | 356 | </xsl:ch oose> | |||
357 | </xsl:tem plate> | 357 | </xsl:tem plate> | |||
358 | 358 | |||||
359 | 359 | |||||
360 | <xsl:temp late match ="wwlinks: Unresolved Link" mode ="wwmode:r eport-link s"> | 360 | <xsl:temp late match ="wwlinks: Unresolved Link" mode ="wwmode:r eport-link s"> | |||
361 | <xsl:par am name="P aramLinks" /> | 361 | <xsl:par am name="P aramLinks" /> | |||
362 | <xsl:par am name="P aramDocume ntFile" /> | 362 | <xsl:par am name="P aramDocume ntFile" /> | |||
363 | <xsl:par am name="P aramNode" /> | 363 | <xsl:par am name="P aramNode" /> | |||
364 | <xsl:par am name="P aramDocume ntLink" /> | 364 | <xsl:par am name="P aramDocume ntLink" /> | |||
365 | <xsl:par am name="P aramID" /> | 365 | <xsl:par am name="P aramID" /> | |||
366 | <xsl:par am name="P aramUnreso lvedLinkIn fo" select ="." /> | 366 | <xsl:par am name="P aramUnreso lvedLinkIn fo" select ="." /> | |||
367 | 367 | |||||
368 | <xsl:cho ose> | 368 | <xsl:cho ose> | |||
369 | <!-- Un resolved b aggage fil es --> | 369 | <!-- Un resolved b aggage fil es --> | |||
370 | <!-- --> | 370 | <!-- --> | |||
371 | <xsl:wh en test="$ ParamUnres olvedLinkI nfo/@type = 'baggage '"> | 371 | <xsl:wh en test="$ ParamUnres olvedLinkI nfo/@type = 'baggage '"> | |||
372 | <xsl:i f test="$G lobalLinks Unresolved ToFileSeve rity != 'i gnore'"> | 372 | <xsl:i f test="$G lobalLinks Unresolved ToFileSeve rity != 'i gnore'"> | |||
373 | <xsl: variable n ame="VarPr ojectSourc eDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamDocum entFile/@d ocumentID) " /> | 373 | <xsl: variable n ame="VarPr ojectSourc eDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamDocum entFile/@d ocumentID) " /> | |||
374 | <xsl: variable n ame="VarSo urceDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramDocume ntFile/@do cumentID), wwfilesys tem:GetFil eName($Var ProjectSou rceDocumen tPath))" / > | 374 | <xsl: variable n ame="VarSo urceDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramDocume ntFile/@do cumentID), wwfilesys tem:GetFil eName($Var ProjectSou rceDocumen tPath))" / > | |||
375 | 375 | |||||
376 | <wwre port:Entry context=" links" typ e="unresol ved" sever ity="{$Glo balLinksUn resolvedTo FileSeveri ty}"> | 376 | <wwre port:Entry context=" links" typ e="unresol ved" sever ity="{$Glo balLinksUn resolvedTo FileSeveri ty}"> | |||
377 | <wwr eport:Desc ription> | 377 | <wwr eport:Desc ription> | |||
378 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'U nresolvedL inkToMissi ngTarget'] /@value, w wfilesyste m:GetFileN ame($VarSo urceDocume ntPath), $ ParamUnres olvedLinkI nfo/@targe t)" /> | 378 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'U nresolvedL inkToMissi ngTarget'] /@value, w wfilesyste m:GetFileN ame($VarSo urceDocume ntPath), $ ParamUnres olvedLinkI nfo/@targe t)" /> | |||
379 | </ww report:Des cription> | 379 | </ww report:Des cription> | |||
380 | 380 | |||||
381 | <wwr eport:Navi gation con text="sour ce"> | 381 | <wwr eport:Navi gation con text="sour ce"> | |||
382 | <ww report:Lin k protocol ="adapter" > | 382 | <ww report:Lin k protocol ="adapter" > | |||
383 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | 383 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | |||
384 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | 384 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | |||
385 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | 385 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | |||
386 | </w wreport:Li nk> | 386 | </w wreport:Li nk> | |||
387 | </ww report:Nav igation> | 387 | </ww report:Nav igation> | |||
388 | 388 | |||||
389 | <!-- Get outpu t navigati on link fr om format itself --> | 389 | <!-- Get outpu t navigati on link fr om format itself --> | |||
390 | <!-- --> | 390 | <!-- --> | |||
391 | <xsl :variable name="VarL inkAsXML"> | 391 | <xsl :variable name="VarL inkAsXML"> | |||
392 | <xs l:call-tem plate name ="Report-O utputLink" > | 392 | <xs l:call-tem plate name ="Report-O utputLink" > | |||
393 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | 393 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | |||
394 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | 394 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | |||
395 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | 395 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | |||
396 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | 396 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | |||
397 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | 397 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | |||
398 | </x sl:call-te mplate> | 398 | </x sl:call-te mplate> | |||
399 | </xs l:variable > | 399 | </xs l:variable > | |||
400 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | 400 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | |||
401 | <xsl :if test=" count($Var Link) = 1" > | 401 | <xsl :if test=" count($Var Link) = 1" > | |||
402 | <ww report:Nav igation co ntext="out put"> | 402 | <ww report:Nav igation co ntext="out put"> | |||
403 | <x sl:copy-of select="$ VarLink" / > | 403 | <x sl:copy-of select="$ VarLink" / > | |||
404 | </w wreport:Na vigation> | 404 | </w wreport:Na vigation> | |||
405 | </xs l:if> | 405 | </xs l:if> | |||
406 | 406 | |||||
407 | <wwr eport:Navi gation con text="deta ils"> | 407 | <wwr eport:Navi gation con text="deta ils"> | |||
408 | <ww report:Lin k protocol ="wwh5api" > | 408 | <ww report:Lin k protocol ="wwh5api" > | |||
409 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | 409 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | |||
410 |
<wwreport:
Data
key="Conte
xt"
value="
|
410 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
411 | <w wreport:Da ta key="To pic" value ="unresolv ed_link_mi ssing_file " /> | 411 | <w wreport:Da ta key="To pic" value ="unresolv ed_link_mi ssing_file " /> | |||
412 | </w wreport:Li nk> | 412 | </w wreport:Li nk> | |||
413 | </ww report:Nav igation> | 413 | </ww report:Nav igation> | |||
414 | </wwr eport:Entr y> | 414 | </wwr eport:Entr y> | |||
415 | </xsl: if> | 415 | </xsl: if> | |||
416 | </xsl:w hen> | 416 | </xsl:w hen> | |||
417 | 417 | |||||
418 | <!-- Un resolved d ocument li nks --> | 418 | <!-- Un resolved d ocument li nks --> | |||
419 | <!-- --> | 419 | <!-- --> | |||
420 | <xsl:wh en test="$ ParamUnres olvedLinkI nfo/@type = 'documen t'"> | 420 | <xsl:wh en test="$ ParamUnres olvedLinkI nfo/@type = 'documen t'"> | |||
421 | <xsl:v ariable na me="VarPro jectSource DocumentPa th" select ="wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)" /> | 421 | <xsl:v ariable na me="VarPro jectSource DocumentPa th" select ="wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)" /> | |||
422 | <xsl:v ariable na me="VarSou rceDocumen tPath" sel ect="wwfil esystem:Co mbine(wwpr ojext:GetD ocumentGro upPath($Pa ramDocumen tFile/@doc umentID), wwfilesyst em:GetFile Name($VarP rojectSour ceDocument Path))" /> | 422 | <xsl:v ariable na me="VarSou rceDocumen tPath" sel ect="wwfil esystem:Co mbine(wwpr ojext:GetD ocumentGro upPath($Pa ramDocumen tFile/@doc umentID), wwfilesyst em:GetFile Name($VarP rojectSour ceDocument Path))" /> | |||
423 | 423 | |||||
424 | <xsl:v ariable na me="VarTar getDocumen tPath" sel ect="wwuri :AsFilePat h($ParamDo cumentLink /@url)" /> | 424 | <xsl:v ariable na me="VarTar getDocumen tPath" sel ect="wwuri :AsFilePat h($ParamDo cumentLink /@url)" /> | |||
425 | 425 | |||||
426 | <xsl:c hoose> | 426 | <xsl:c hoose> | |||
427 | <!-- Internal l ink --> | 427 | <!-- Internal l ink --> | |||
428 | <!-- --> | 428 | <!-- --> | |||
429 | <xsl: when test= "(string-l ength($Par amDocument Link/@url) = 0) and (string-le ngth($Para mDocumentL ink/@ancho r) > 0) "> | 429 | <xsl: when test= "(string-l ength($Par amDocument Link/@url) = 0) and (string-le ngth($Para mDocumentL ink/@ancho r) > 0) "> | |||
430 | <xsl :if test=" $GlobalLin ksUnresolv edToAnchor Severity ! = 'ignore' "> | 430 | <xsl :if test=" $GlobalLin ksUnresolv edToAnchor Severity ! = 'ignore' "> | |||
431 | <ww report:Ent ry context ="links" t ype="unres olved" sev erity="{$G lobalLinks Unresolved ToAnchorSe verity}"> | 431 | <ww report:Ent ry context ="links" t ype="unres olved" sev erity="{$G lobalLinks Unresolved ToAnchorSe verity}"> | |||
432 | <w wreport:De scription> | 432 | <w wreport:De scription> | |||
433 | < xsl:value- of select= "wwstring: Format($Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Unresolve dLinkToAnc horInsideD ocument']/ @value, $P aramUnreso lvedLinkIn fo/@anchor , wwfilesy stem:GetFi leName($Va rProjectSo urceDocume ntPath))" /> | 433 | < xsl:value- of select= "wwstring: Format($Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Unresolve dLinkToAnc horInsideD ocument']/ @value, $P aramUnreso lvedLinkIn fo/@anchor , wwfilesy stem:GetFi leName($Va rProjectSo urceDocume ntPath))" /> | |||
434 | </ wwreport:D escription > | 434 | </ wwreport:D escription > | |||
435 | 435 | |||||
436 | <w wreport:Na vigation c ontext="so urce"> | 436 | <w wreport:Na vigation c ontext="so urce"> | |||
437 | < wwreport:L ink protoc ol="adapte r"> | 437 | < wwreport:L ink protoc ol="adapte r"> | |||
438 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | 438 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | |||
439 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | 439 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | |||
440 | <wwreport: Data key=" ID" value= "{$ParamID }" /> | 440 | <wwreport: Data key=" ID" value= "{$ParamID }" /> | |||
441 | < /wwreport: Link> | 441 | < /wwreport: Link> | |||
442 | </ wwreport:N avigation> | 442 | </ wwreport:N avigation> | |||
443 | 443 | |||||
444 | <! -- Get out put naviga tion link from forma t itself - -> | 444 | <! -- Get out put naviga tion link from forma t itself - -> | |||
445 | <! -- - -> | 445 | <! -- - -> | |||
446 | <x sl:variabl e name="Va rLinkAsXML "> | 446 | <x sl:variabl e name="Va rLinkAsXML "> | |||
447 | < xsl:call-t emplate na me="Report -OutputLin k"> | 447 | < xsl:call-t emplate na me="Report -OutputLin k"> | |||
448 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | 448 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | |||
449 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | 449 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | |||
450 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | 450 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | |||
451 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | 451 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | |||
452 | <xsl:with- param name ="ParamPar agraphID" select="$P aramID" /> | 452 | <xsl:with- param name ="ParamPar agraphID" select="$P aramID" /> | |||
453 | < /xsl:call- template> | 453 | < /xsl:call- template> | |||
454 | </ xsl:variab le> | 454 | </ xsl:variab le> | |||
455 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | 455 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | |||
456 | <x sl:if test ="count($V arLink) = 1"> | 456 | <x sl:if test ="count($V arLink) = 1"> | |||
457 | < wwreport:N avigation context="o utput"> | 457 | < wwreport:N avigation context="o utput"> | |||
458 | <xsl:copy- of select= "$VarLink" /> | 458 | <xsl:copy- of select= "$VarLink" /> | |||
459 | < /wwreport: Navigation > | 459 | < /wwreport: Navigation > | |||
460 | </ xsl:if> | 460 | </ xsl:if> | |||
461 | 461 | |||||
462 | <w wreport:Na vigation c ontext="de tails"> | 462 | <w wreport:Na vigation c ontext="de tails"> | |||
463 | < wwreport:L ink protoc ol="wwh5ap i"> | 463 | < wwreport:L ink protoc ol="wwh5ap i"> | |||
464 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | 464 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | |||
465 |
<wwreport:
Data
key="Conte
xt"
value="
|
465 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
466 | <wwreport: Data key=" Topic" val ue="unreso lved_link_ within_doc ument" /> | 466 | <wwreport: Data key=" Topic" val ue="unreso lved_link_ within_doc ument" /> | |||
467 | < /wwreport: Link> | 467 | < /wwreport: Link> | |||
468 | </ wwreport:N avigation> | 468 | </ wwreport:N avigation> | |||
469 | </w wreport:En try> | 469 | </w wreport:En try> | |||
470 | </xs l:if> | 470 | </xs l:if> | |||
471 | </xsl :when> | 471 | </xsl :when> | |||
472 | 472 | |||||
473 | <!-- Document l ink --> | 473 | <!-- Document l ink --> | |||
474 | <!-- --> | 474 | <!-- --> | |||
475 | <xsl: when test= "(string-l ength($Par amDocument Link/@url) > 0) a nd (string -length($P aramDocume ntLink/@an chor) = 0) "> | 475 | <xsl: when test= "(string-l ength($Par amDocument Link/@url) > 0) a nd (string -length($P aramDocume ntLink/@an chor) = 0) "> | |||
476 | <xsl :if test=" $GlobalLin ksUnresolv edToDocume ntSeverity != 'ignor e'"> | 476 | <xsl :if test=" $GlobalLin ksUnresolv edToDocume ntSeverity != 'ignor e'"> | |||
477 | <ww report:Ent ry context ="links" t ype="unres olved" sev erity="{$G lobalLinks Unresolved ToDocument Severity}" > | 477 | <ww report:Ent ry context ="links" t ype="unres olved" sev erity="{$G lobalLinks Unresolved ToDocument Severity}" > | |||
478 | <w wreport:De scription> | 478 | <w wreport:De scription> | |||
479 | < xsl:value- of select= "wwstring: Format($Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Unresolve dLinkToTar getDocumen t']/@value , wwfilesy stem:GetFi leName($Va rSourceDoc umentPath) , wwfilesy stem:GetFi leName($Va rTargetDoc umentPath) )" /> | 479 | < xsl:value- of select= "wwstring: Format($Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Unresolve dLinkToTar getDocumen t']/@value , wwfilesy stem:GetFi leName($Va rSourceDoc umentPath) , wwfilesy stem:GetFi leName($Va rTargetDoc umentPath) )" /> | |||
480 | </ wwreport:D escription > | 480 | </ wwreport:D escription > | |||
481 | 481 | |||||
482 | <w wreport:Na vigation c ontext="so urce"> | 482 | <w wreport:Na vigation c ontext="so urce"> | |||
483 | < wwreport:L ink protoc ol="adapte r"> | 483 | < wwreport:L ink protoc ol="adapte r"> | |||
484 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | 484 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | |||
485 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | 485 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | |||
486 | <wwreport: Data key=" ID" value= "{$ParamID }" /> | 486 | <wwreport: Data key=" ID" value= "{$ParamID }" /> | |||
487 | < /wwreport: Link> | 487 | < /wwreport: Link> | |||
488 | </ wwreport:N avigation> | 488 | </ wwreport:N avigation> | |||
489 | 489 | |||||
490 | <! -- Get out put naviga tion link from forma t itself - -> | 490 | <! -- Get out put naviga tion link from forma t itself - -> | |||
491 | <! -- - -> | 491 | <! -- - -> | |||
492 | <x sl:variabl e name="Va rLinkAsXML "> | 492 | <x sl:variabl e name="Va rLinkAsXML "> | |||
493 | < xsl:call-t emplate na me="Report -OutputLin k"> | 493 | < xsl:call-t emplate na me="Report -OutputLin k"> | |||
494 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | 494 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | |||
495 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | 495 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | |||
496 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | 496 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | |||
497 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | 497 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | |||
498 | <xsl:with- param name ="ParamPar agraphID" select="$P aramID" /> | 498 | <xsl:with- param name ="ParamPar agraphID" select="$P aramID" /> | |||
499 | < /xsl:call- template> | 499 | < /xsl:call- template> | |||
500 | </ xsl:variab le> | 500 | </ xsl:variab le> | |||
501 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | 501 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | |||
502 | <x sl:if test ="count($V arLink) = 1"> | 502 | <x sl:if test ="count($V arLink) = 1"> | |||
503 | < wwreport:N avigation context="o utput"> | 503 | < wwreport:N avigation context="o utput"> | |||
504 | <xsl:copy- of select= "$VarLink" /> | 504 | <xsl:copy- of select= "$VarLink" /> | |||
505 | < /wwreport: Navigation > | 505 | < /wwreport: Navigation > | |||
506 | </ xsl:if> | 506 | </ xsl:if> | |||
507 | 507 | |||||
508 | <w wreport:Na vigation c ontext="de tails"> | 508 | <w wreport:Na vigation c ontext="de tails"> | |||
509 | < wwreport:L ink protoc ol="wwh5ap i"> | 509 | < wwreport:L ink protoc ol="wwh5ap i"> | |||
510 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | 510 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | |||
511 |
<wwreport:
Data
key="Conte
xt"
value="
|
511 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
512 | <wwreport: Data key=" Topic" val ue="unreso lved_link_ other_docu ments" /> | 512 | <wwreport: Data key=" Topic" val ue="unreso lved_link_ other_docu ments" /> | |||
513 | < /wwreport: Link> | 513 | < /wwreport: Link> | |||
514 | </ wwreport:N avigation> | 514 | </ wwreport:N avigation> | |||
515 | </w wreport:En try> | 515 | </w wreport:En try> | |||
516 | </xs l:if> | 516 | </xs l:if> | |||
517 | </xsl :when> | 517 | </xsl :when> | |||
518 | 518 | |||||
519 | <!-- Document l ink with a nchor --> | 519 | <!-- Document l ink with a nchor --> | |||
520 | <!-- --> | 520 | <!-- --> | |||
521 | <xsl: when test= "(string-l ength($Par amDocument Link/@url) > 0) a nd (string -length($P aramDocume ntLink/@an chor) > 0)"> | 521 | <xsl: when test= "(string-l ength($Par amDocument Link/@url) > 0) a nd (string -length($P aramDocume ntLink/@an chor) > 0)"> | |||
522 | <xsl :if test=" $GlobalLin ksUnresolv edToAnchor InDocument Severity ! = 'ignore' "> | 522 | <xsl :if test=" $GlobalLin ksUnresolv edToAnchor InDocument Severity ! = 'ignore' "> | |||
523 | <ww report:Ent ry context ="links" t ype="unres olved" sev erity="{$G lobalLinks Unresolved ToAnchorIn DocumentSe verity}"> | 523 | <ww report:Ent ry context ="links" t ype="unres olved" sev erity="{$G lobalLinks Unresolved ToAnchorIn DocumentSe verity}"> | |||
524 | <w wreport:De scription> | 524 | <w wreport:De scription> | |||
525 | < xsl:value- of select= "wwstring: Format($Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Unresolve dLinkToAnc horInTarge tDocument' ]/@value, wwfilesyst em:GetFile Name($VarS ourceDocum entPath), $ParamUnre solvedLink Info/@anch or, wwfile system:Get FileName($ VarTargetD ocumentPat h))" /> | 525 | < xsl:value- of select= "wwstring: Format($Gl obalUILoca le/wwlocal e:Locale/w wlocale:St rings/wwlo cale:Strin g[@name = 'Unresolve dLinkToAnc horInTarge tDocument' ]/@value, wwfilesyst em:GetFile Name($VarS ourceDocum entPath), $ParamUnre solvedLink Info/@anch or, wwfile system:Get FileName($ VarTargetD ocumentPat h))" /> | |||
526 | </ wwreport:D escription > | 526 | </ wwreport:D escription > | |||
527 | 527 | |||||
528 | <w wreport:Na vigation c ontext="so urce"> | 528 | <w wreport:Na vigation c ontext="so urce"> | |||
529 | < wwreport:L ink protoc ol="adapte r"> | 529 | < wwreport:L ink protoc ol="adapte r"> | |||
530 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | 530 | <wwreport: Data key=" Path" valu e="{wwproj ext:GetDoc umentPath( $ParamDocu mentFile/@ documentID )}" /> | |||
531 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | 531 | <wwreport: Data key=" DocumentID " value="{ $ParamDocu mentFile/@ documentID }" /> | |||
532 | <wwreport: Data key=" ID" value= "{$ParamID }" /> | 532 | <wwreport: Data key=" ID" value= "{$ParamID }" /> | |||
533 | < /wwreport: Link> | 533 | < /wwreport: Link> | |||
534 | </ wwreport:N avigation> | 534 | </ wwreport:N avigation> | |||
535 | 535 | |||||
536 | <! -- Get out put naviga tion link from forma t itself - -> | 536 | <! -- Get out put naviga tion link from forma t itself - -> | |||
537 | <! -- - -> | 537 | <! -- - -> | |||
538 | <x sl:variabl e name="Va rLinkAsXML "> | 538 | <x sl:variabl e name="Va rLinkAsXML "> | |||
539 | < xsl:call-t emplate na me="Report -OutputLin k"> | 539 | < xsl:call-t emplate na me="Report -OutputLin k"> | |||
540 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | 540 | <xsl:with- param name ="ParamPro ject" sele ct="$Globa lProject" /> | |||
541 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | 541 | <xsl:with- param name ="ParamLin ksContext" select="$ ParamLinks " /> | |||
542 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | 542 | <xsl:with- param name ="ParamGro upID" sele ct="$Param DocumentFi le/@groupI D" /> | |||
543 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | 543 | <xsl:with- param name ="ParamDoc umentID" s elect="$Pa ramDocumen tFile/@doc umentID" / > | |||
544 | <xsl:with- param name ="ParamPar agraphID" select="$P aramID" /> | 544 | <xsl:with- param name ="ParamPar agraphID" select="$P aramID" /> | |||
545 | < /xsl:call- template> | 545 | < /xsl:call- template> | |||
546 | </ xsl:variab le> | 546 | </ xsl:variab le> | |||
547 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | 547 | <x sl:variabl e name="Va rLink" sel ect="msxsl :node-set( $VarLinkAs XML)/wwrep ort:Link[1 ]" /> | |||
548 | <x sl:if test ="count($V arLink) = 1"> | 548 | <x sl:if test ="count($V arLink) = 1"> | |||
549 | < wwreport:N avigation context="o utput"> | 549 | < wwreport:N avigation context="o utput"> | |||
550 | <xsl:copy- of select= "$VarLink" /> | 550 | <xsl:copy- of select= "$VarLink" /> | |||
551 | < /wwreport: Navigation > | 551 | < /wwreport: Navigation > | |||
552 | </ xsl:if> | 552 | </ xsl:if> | |||
553 | 553 | |||||
554 | <w wreport:Na vigation c ontext="de tails"> | 554 | <w wreport:Na vigation c ontext="de tails"> | |||
555 | < wwreport:L ink protoc ol="wwh5ap i"> | 555 | < wwreport:L ink protoc ol="wwh5ap i"> | |||
556 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | 556 | <wwreport: Data key=" BaseURI" v alue="{wwe nv:Applica tionBaseHe lpURI()}" /> | |||
557 |
<wwreport:
Data
key="Conte
xt"
value="
|
557 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
558 | <wwreport: Data key=" Topic" val ue="unreso lved_link_ other_docu ments" /> | 558 | <wwreport: Data key=" Topic" val ue="unreso lved_link_ other_docu ments" /> | |||
559 | < /wwreport: Link> | 559 | < /wwreport: Link> | |||
560 | </ wwreport:N avigation> | 560 | </ wwreport:N avigation> | |||
561 | </w wreport:En try> | 561 | </w wreport:En try> | |||
562 | </xs l:if> | 562 | </xs l:if> | |||
563 | </xsl :when> | 563 | </xsl :when> | |||
564 | </xsl: choose> | 564 | </xsl: choose> | |||
565 | </xsl:w hen> | 565 | </xsl:w hen> | |||
566 | </xsl:ch oose> | 566 | </xsl:ch oose> | |||
567 | </xsl:tem plate> | 567 | </xsl:tem plate> | |||
568 | 568 | |||||
569 | 569 | |||||
570 | <xsl:temp late match ="wwlinks: Unsupporte dLink" mod e="wwmode: report-lin ks"> | 570 | <xsl:temp late match ="wwlinks: Unsupporte dLink" mod e="wwmode: report-lin ks"> | |||
571 | <xsl:par am name="P aramLinks" /> | 571 | <xsl:par am name="P aramLinks" /> | |||
572 | <xsl:par am name="P aramDocume ntFile" /> | 572 | <xsl:par am name="P aramDocume ntFile" /> | |||
573 | <xsl:par am name="P aramNode" /> | 573 | <xsl:par am name="P aramNode" /> | |||
574 | <xsl:par am name="P aramDocume ntLink" /> | 574 | <xsl:par am name="P aramDocume ntLink" /> | |||
575 | <xsl:par am name="P aramID" /> | 575 | <xsl:par am name="P aramID" /> | |||
576 | <xsl:par am name="P aramUnsupp ortedLinkI nfo" selec t="." /> | 576 | <xsl:par am name="P aramUnsupp ortedLinkI nfo" selec t="." /> | |||
577 | 577 | |||||
578 | <xsl:cho ose> | 578 | <xsl:cho ose> | |||
579 | <!-- Un supported baggage fi les --> | 579 | <!-- Un supported baggage fi les --> | |||
580 | <!-- --> | 580 | <!-- --> | |||
581 | <xsl:wh en test="$ ParamUnsup portedLink Info/@type = 'baggag e'"> | 581 | <xsl:wh en test="$ ParamUnsup portedLink Info/@type = 'baggag e'"> | |||
582 | <xsl:i f test="$G lobalLinks Unsupporte dBaggageFi leSeverity != 'ignor e'"> | 582 | <xsl:i f test="$G lobalLinks Unsupporte dBaggageFi leSeverity != 'ignor e'"> | |||
583 | <xsl: variable n ame="VarPr ojectSourc eDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamDocum entFile/@d ocumentID) " /> | 583 | <xsl: variable n ame="VarPr ojectSourc eDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamDocum entFile/@d ocumentID) " /> | |||
584 | <xsl: variable n ame="VarSo urceDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramDocume ntFile/@do cumentID), wwfilesys tem:GetFil eName($Var ProjectSou rceDocumen tPath))" / > | 584 | <xsl: variable n ame="VarSo urceDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramDocume ntFile/@do cumentID), wwfilesys tem:GetFil eName($Var ProjectSou rceDocumen tPath))" / > | |||
585 | 585 | |||||
586 | <wwre port:Entry context=" links" typ e="unsuppo rted" seve rity="{$Gl obalLinksU nsupported BaggageFil eSeverity} "> | 586 | <wwre port:Entry context=" links" typ e="unsuppo rted" seve rity="{$Gl obalLinksU nsupported BaggageFil eSeverity} "> | |||
587 | <wwr eport:Desc ription> | 587 | <wwr eport:Desc ription> | |||
588 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'B aggageFile sNotSuppor ted']/@val ue, wwfile system:Get FileName($ VarSourceD ocumentPat h), $Param Unsupporte dLinkInfo/ @target)" /> | 588 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'B aggageFile sNotSuppor ted']/@val ue, wwfile system:Get FileName($ VarSourceD ocumentPat h), $Param Unsupporte dLinkInfo/ @target)" /> | |||
589 | </ww report:Des cription> | 589 | </ww report:Des cription> | |||
590 | 590 | |||||
591 | <wwr eport:Navi gation con text="sour ce"> | 591 | <wwr eport:Navi gation con text="sour ce"> | |||
592 | <ww report:Lin k protocol ="adapter" > | 592 | <ww report:Lin k protocol ="adapter" > | |||
593 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | 593 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | |||
594 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | 594 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | |||
595 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | 595 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | |||
596 | </w wreport:Li nk> | 596 | </w wreport:Li nk> | |||
597 | </ww report:Nav igation> | 597 | </ww report:Nav igation> | |||
598 | 598 | |||||
599 | <!-- Get outpu t navigati on link fr om format itself --> | 599 | <!-- Get outpu t navigati on link fr om format itself --> | |||
600 | <!-- --> | 600 | <!-- --> | |||
601 | <xsl :variable name="VarL inkAsXML"> | 601 | <xsl :variable name="VarL inkAsXML"> | |||
602 | <xs l:call-tem plate name ="Report-O utputLink" > | 602 | <xs l:call-tem plate name ="Report-O utputLink" > | |||
603 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | 603 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | |||
604 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | 604 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | |||
605 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | 605 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | |||
606 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | 606 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | |||
607 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | 607 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | |||
608 | </x sl:call-te mplate> | 608 | </x sl:call-te mplate> | |||
609 | </xs l:variable > | 609 | </xs l:variable > | |||
610 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | 610 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | |||
611 | <xsl :if test=" count($Var Link) = 1" > | 611 | <xsl :if test=" count($Var Link) = 1" > | |||
612 | <ww report:Nav igation co ntext="out put"> | 612 | <ww report:Nav igation co ntext="out put"> | |||
613 | <x sl:copy-of select="$ VarLink" / > | 613 | <x sl:copy-of select="$ VarLink" / > | |||
614 | </w wreport:Na vigation> | 614 | </w wreport:Na vigation> | |||
615 | </xs l:if> | 615 | </xs l:if> | |||
616 | 616 | |||||
617 | <wwr eport:Navi gation con text="deta ils"> | 617 | <wwr eport:Navi gation con text="deta ils"> | |||
618 | <ww report:Lin k protocol ="wwh5api" > | 618 | <ww report:Lin k protocol ="wwh5api" > | |||
619 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | 619 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | |||
620 |
<wwreport:
Data
key="Conte
xt"
value="
|
620 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
621 | <w wreport:Da ta key="To pic" value ="unsuppor ted_baggag e_files" / > | 621 | <w wreport:Da ta key="To pic" value ="unsuppor ted_baggag e_files" / > | |||
622 | </w wreport:Li nk> | 622 | </w wreport:Li nk> | |||
623 | </ww report:Nav igation> | 623 | </ww report:Nav igation> | |||
624 | </wwr eport:Entr y> | 624 | </wwr eport:Entr y> | |||
625 | </xsl: if> | 625 | </xsl: if> | |||
626 | </xsl:w hen> | 626 | </xsl:w hen> | |||
627 | 627 | |||||
628 | <!-- Un supported group-to-g roup linki ng --> | 628 | <!-- Un supported group-to-g roup linki ng --> | |||
629 | <!-- --> | 629 | <!-- --> | |||
630 | <xsl:wh en test="$ ParamUnsup portedLink Info/@type = 'projec t'"> | 630 | <xsl:wh en test="$ ParamUnsup portedLink Info/@type = 'projec t'"> | |||
631 | <xsl:i f test="$G lobalLinks Unsupporte dGroupToGr oupSeverit y != 'igno re'"> | 631 | <xsl:i f test="$G lobalLinks Unsupporte dGroupToGr oupSeverit y != 'igno re'"> | |||
632 | <xsl: variable n ame="VarPr ojectSourc eDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamDocum entFile/@d ocumentID) " /> | 632 | <xsl: variable n ame="VarPr ojectSourc eDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamDocum entFile/@d ocumentID) " /> | |||
633 | <xsl: variable n ame="VarSo urceDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramDocume ntFile/@do cumentID), wwfilesys tem:GetFil eName($Var ProjectSou rceDocumen tPath))" / > | 633 | <xsl: variable n ame="VarSo urceDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramDocume ntFile/@do cumentID), wwfilesys tem:GetFil eName($Var ProjectSou rceDocumen tPath))" / > | |||
634 | 634 | |||||
635 | <xsl: variable n ame="VarPr ojectTarge tDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamUnsup portedLink Info/@docu mentID)" / > | 635 | <xsl: variable n ame="VarPr ojectTarge tDocumentP ath" selec t="wwproje xt:GetDocu mentPath($ ParamUnsup portedLink Info/@docu mentID)" / > | |||
636 | <xsl: variable n ame="VarTa rgetDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramUnsupp ortedLinkI nfo/@docum entID), ww filesystem :GetFileNa me($VarPro jectTarget DocumentPa th))" /> | 636 | <xsl: variable n ame="VarTa rgetDocume ntPath" se lect="wwfi lesystem:C ombine(wwp rojext:Get DocumentGr oupPath($P aramUnsupp ortedLinkI nfo/@docum entID), ww filesystem :GetFileNa me($VarPro jectTarget DocumentPa th))" /> | |||
637 | 637 | |||||
638 | <wwre port:Entry context=" links" typ e="unsuppo rted" seve rity="{$Gl obalLinksU nsupported GroupToGro upSeverity }"> | 638 | <wwre port:Entry context=" links" typ e="unsuppo rted" seve rity="{$Gl obalLinksU nsupported GroupToGro upSeverity }"> | |||
639 | <wwr eport:Desc ription> | 639 | <wwr eport:Desc ription> | |||
640 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'G roupToGrou pLinkingNo tSupported ']/@value, wwfilesys tem:GetFil eName($Var SourceDocu mentPath), wwfilesys tem:GetFil eName($Var TargetDocu mentPath)) " /> | 640 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'G roupToGrou pLinkingNo tSupported ']/@value, wwfilesys tem:GetFil eName($Var SourceDocu mentPath), wwfilesys tem:GetFil eName($Var TargetDocu mentPath)) " /> | |||
641 | </ww report:Des cription> | 641 | </ww report:Des cription> | |||
642 | 642 | |||||
643 | <wwr eport:Navi gation con text="sour ce"> | 643 | <wwr eport:Navi gation con text="sour ce"> | |||
644 | <ww report:Lin k protocol ="adapter" > | 644 | <ww report:Lin k protocol ="adapter" > | |||
645 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | 645 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | |||
646 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | 646 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | |||
647 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | 647 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | |||
648 | </w wreport:Li nk> | 648 | </w wreport:Li nk> | |||
649 | </ww report:Nav igation> | 649 | </ww report:Nav igation> | |||
650 | 650 | |||||
651 | <!-- Get outpu t navigati on link fr om format itself --> | 651 | <!-- Get outpu t navigati on link fr om format itself --> | |||
652 | <!-- --> | 652 | <!-- --> | |||
653 | <xsl :variable name="VarL inkAsXML"> | 653 | <xsl :variable name="VarL inkAsXML"> | |||
654 | <xs l:call-tem plate name ="Report-O utputLink" > | 654 | <xs l:call-tem plate name ="Report-O utputLink" > | |||
655 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | 655 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | |||
656 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | 656 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | |||
657 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | 657 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | |||
658 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | 658 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | |||
659 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | 659 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | |||
660 | </x sl:call-te mplate> | 660 | </x sl:call-te mplate> | |||
661 | </xs l:variable > | 661 | </xs l:variable > | |||
662 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | 662 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | |||
663 | <xsl :if test=" count($Var Link) = 1" > | 663 | <xsl :if test=" count($Var Link) = 1" > | |||
664 | <ww report:Nav igation co ntext="out put"> | 664 | <ww report:Nav igation co ntext="out put"> | |||
665 | <x sl:copy-of select="$ VarLink" / > | 665 | <x sl:copy-of select="$ VarLink" / > | |||
666 | </w wreport:Na vigation> | 666 | </w wreport:Na vigation> | |||
667 | </xs l:if> | 667 | </xs l:if> | |||
668 | 668 | |||||
669 | <wwr eport:Navi gation con text="deta ils"> | 669 | <wwr eport:Navi gation con text="deta ils"> | |||
670 | <ww report:Lin k protocol ="wwh5api" > | 670 | <ww report:Lin k protocol ="wwh5api" > | |||
671 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | 671 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | |||
672 |
<wwreport:
Data
key="Conte
xt"
value="
|
672 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
673 | <w wreport:Da ta key="To pic" value ="unsuppor ted_group_ links" /> | 673 | <w wreport:Da ta key="To pic" value ="unsuppor ted_group_ links" /> | |||
674 | </w wreport:Li nk> | 674 | </w wreport:Li nk> | |||
675 | </ww report:Nav igation> | 675 | </ww report:Nav igation> | |||
676 | </wwr eport:Entr y> | 676 | </wwr eport:Entr y> | |||
677 | </xsl: if> | 677 | </xsl: if> | |||
678 | </xsl:w hen> | 678 | </xsl:w hen> | |||
679 | 679 | |||||
680 | <!-- Un supported URL --> | 680 | <!-- Un supported URL --> | |||
681 | <!-- --> | 681 | <!-- --> | |||
682 | <xsl:wh en test="$ ParamUnsup portedLink Info/@type = 'url'"> | 682 | <xsl:wh en test="$ ParamUnsup portedLink Info/@type = 'url'"> | |||
683 | <xsl:i f test="$G lobalLinks Unsupporte dExternalU RLSeverity != 'ignor e'"> | 683 | <xsl:i f test="$G lobalLinks Unsupporte dExternalU RLSeverity != 'ignor e'"> | |||
684 | <wwre port:Entry context=" links" typ e="unsuppo rted" seve rity="{$Gl obalLinksU nsupported ExternalUR LSeverity} "> | 684 | <wwre port:Entry context=" links" typ e="unsuppo rted" seve rity="{$Gl obalLinksU nsupported ExternalUR LSeverity} "> | |||
685 | <wwr eport:Desc ription> | 685 | <wwr eport:Desc ription> | |||
686 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'U nsupported ExternalUR L']/@value , $ParamUn supportedL inkInfo/@u rl)" /> | 686 | <xs l:value-of select="w wstring:Fo rmat($Glob alUILocale /wwlocale: Locale/wwl ocale:Stri ngs/wwloca le:String[ @name = 'U nsupported ExternalUR L']/@value , $ParamUn supportedL inkInfo/@u rl)" /> | |||
687 | </ww report:Des cription> | 687 | </ww report:Des cription> | |||
688 | 688 | |||||
689 | <wwr eport:Navi gation con text="sour ce"> | 689 | <wwr eport:Navi gation con text="sour ce"> | |||
690 | <ww report:Lin k protocol ="adapter" > | 690 | <ww report:Lin k protocol ="adapter" > | |||
691 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | 691 | <w wreport:Da ta key="Pa th" value= "{wwprojex t:GetDocum entPath($P aramDocume ntFile/@do cumentID)} " /> | |||
692 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | 692 | <w wreport:Da ta key="Do cumentID" value="{$P aramDocume ntFile/@do cumentID}" /> | |||
693 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | 693 | <w wreport:Da ta key="ID " value="{ $ParamID}" /> | |||
694 | </w wreport:Li nk> | 694 | </w wreport:Li nk> | |||
695 | </ww report:Nav igation> | 695 | </ww report:Nav igation> | |||
696 | 696 | |||||
697 | <!-- Get outpu t navigati on link fr om format itself --> | 697 | <!-- Get outpu t navigati on link fr om format itself --> | |||
698 | <!-- --> | 698 | <!-- --> | |||
699 | <xsl :variable name="VarL inkAsXML"> | 699 | <xsl :variable name="VarL inkAsXML"> | |||
700 | <xs l:call-tem plate name ="Report-O utputLink" > | 700 | <xs l:call-tem plate name ="Report-O utputLink" > | |||
701 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | 701 | <x sl:with-pa ram name=" ParamProje ct" select ="$GlobalP roject" /> | |||
702 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | 702 | <x sl:with-pa ram name=" ParamLinks Context" s elect="$Pa ramLinks" /> | |||
703 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | 703 | <x sl:with-pa ram name=" ParamGroup ID" select ="$ParamDo cumentFile /@groupID" /> | |||
704 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | 704 | <x sl:with-pa ram name=" ParamDocum entID" sel ect="$Para mDocumentF ile/@docum entID" /> | |||
705 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | 705 | <x sl:with-pa ram name=" ParamParag raphID" se lect="$Par amID" /> | |||
706 | </x sl:call-te mplate> | 706 | </x sl:call-te mplate> | |||
707 | </xs l:variable > | 707 | </xs l:variable > | |||
708 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | 708 | <xsl :variable name="VarL ink" selec t="msxsl:n ode-set($V arLinkAsXM L)/wwrepor t:Link[1]" /> | |||
709 | <xsl :if test=" count($Var Link) = 1" > | 709 | <xsl :if test=" count($Var Link) = 1" > | |||
710 | <ww report:Nav igation co ntext="out put"> | 710 | <ww report:Nav igation co ntext="out put"> | |||
711 | <x sl:copy-of select="$ VarLink" / > | 711 | <x sl:copy-of select="$ VarLink" / > | |||
712 | </w wreport:Na vigation> | 712 | </w wreport:Na vigation> | |||
713 | </xs l:if> | 713 | </xs l:if> | |||
714 | 714 | |||||
715 | <wwr eport:Navi gation con text="deta ils"> | 715 | <wwr eport:Navi gation con text="deta ils"> | |||
716 | <ww report:Lin k protocol ="wwh5api" > | 716 | <ww report:Lin k protocol ="wwh5api" > | |||
717 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | 717 | <w wreport:Da ta key="Ba seURI" val ue="{wwenv :Applicati onBaseHelp URI()}" /> | |||
718 |
<wwreport:
Data
key="Conte
xt"
value="
|
718 | <wwreport: Data key="Conte xt" value=" p rep a r ing " /> | |||
719 | <w wreport:Da ta key="To pic" value ="unsuppor ted_extern al_URLs" / > | 719 | <w wreport:Da ta key="To pic" value ="unsuppor ted_extern al_URLs" / > | |||
720 | </w wreport:Li nk> | 720 | </w wreport:Li nk> | |||
721 | </ww report:Nav igation> | 721 | </ww report:Nav igation> | |||
722 | </wwr eport:Entr y> | 722 | </wwr eport:Entr y> | |||
723 | </xsl: if> | 723 | </xsl: if> | |||
724 | </xsl:w hen> | 724 | </xsl:w hen> | |||
725 | </xsl:ch oose> | 725 | </xsl:ch oose> | |||
726 | </xsl:tem plate> | 726 | </xsl:tem plate> | |||
727 | 727 | |||||
728 | 728 | |||||
729 | <xsl:temp late name= "Link-Chec k"> | 729 | <xsl:temp late name= "Link-Chec k"> | |||
730 | <xsl:par am name="P aramLinks" /> | 730 | <xsl:par am name="P aramLinks" /> | |||
731 | <xsl:par am name="P aramSplits " /> | 731 | <xsl:par am name="P aramSplits " /> | |||
732 | <xsl:par am name="P aramDocume ntFile" /> | 732 | <xsl:par am name="P aramDocume ntFile" /> | |||
733 | <xsl:par am name="P aramID" /> | 733 | <xsl:par am name="P aramID" /> | |||
734 | <xsl:par am name="P aramNode" /> | 734 | <xsl:par am name="P aramNode" /> | |||
735 | <xsl:par am name="P aramDocume ntLink" /> | 735 | <xsl:par am name="P aramDocume ntLink" /> | |||
736 | 736 | |||||
737 | <!-- Res olve link --> | 737 | <!-- Res olve link --> | |||
738 | <!-- --> | 738 | <!-- --> | |||
739 | <xsl:var iable name ="VarResol vedLinkInf oAsXML"> | 739 | <xsl:var iable name ="VarResol vedLinkInf oAsXML"> | |||
740 | <xsl:ca ll-templat e name="Li nks-Resolv e"> | 740 | <xsl:ca ll-templat e name="Li nks-Resolv e"> | |||
741 | <xsl:w ith-param name="Para mAllowBagg age" selec t="$Parame terAllowBa ggage" /> | 741 | <xsl:w ith-param name="Para mAllowBagg age" selec t="$Parame terAllowBa ggage" /> | |||
742 | <xsl:w ith-param name="Para mAllowGrou pToGroup" select="$P arameterAl lowGroupTo Group" /> | 742 | <xsl:w ith-param name="Para mAllowGrou pToGroup" select="$P arameterAl lowGroupTo Group" /> | |||
743 | <xsl:w ith-param name="Para mAllowURL" select="$ ParameterA llowURL" / > | 743 | <xsl:w ith-param name="Para mAllowURL" select="$ ParameterA llowURL" / > | |||
744 | <xsl:w ith-param name="Para mBaggageSp litFileTyp e" select= "$Paramete rBaggageSp litFileTyp e" /> | 744 | <xsl:w ith-param name="Para mBaggageSp litFileTyp e" select= "$Paramete rBaggageSp litFileTyp e" /> | |||
745 | <xsl:w ith-param name="Para mProject" select="$G lobalProje ct" /> | 745 | <xsl:w ith-param name="Para mProject" select="$G lobalProje ct" /> | |||
746 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 746 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
747 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 747 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
748 | <xsl:w ith-param name="Para mSplitGrou pID" selec t="$ParamD ocumentFil e/@groupID " /> | 748 | <xsl:w ith-param name="Para mSplitGrou pID" selec t="$ParamD ocumentFil e/@groupID " /> | |||
749 | <xsl:w ith-param name="Para mSplitDocu mentID" se lect="$Par amDocument File/@docu mentID" /> | 749 | <xsl:w ith-param name="Para mSplitDocu mentID" se lect="$Par amDocument File/@docu mentID" /> | |||
750 | <xsl:w ith-param name="Para mDocumentL ink" selec t="$ParamD ocumentLin k" /> | 750 | <xsl:w ith-param name="Para mDocumentL ink" selec t="$ParamD ocumentLin k" /> | |||
751 | </xsl:c all-templa te> | 751 | </xsl:c all-templa te> | |||
752 | </xsl:va riable> | 752 | </xsl:va riable> | |||
753 | <xsl:var iable name ="VarResol vedLinkInf o" select= "msxsl:nod e-set($Var ResolvedLi nkInfoAsXM L)/wwlinks :*" /> | 753 | <xsl:var iable name ="VarResol vedLinkInf o" select= "msxsl:nod e-set($Var ResolvedLi nkInfoAsXM L)/wwlinks :*" /> | |||
754 | 754 | |||||
755 | <!-- Rep ort --> | 755 | <!-- Rep ort --> | |||
756 | <!-- --> | 756 | <!-- --> | |||
757 | <xsl:app ly-templat es select= "$VarResol vedLinkInf o" mode="w wmode:repo rt-links"> | 757 | <xsl:app ly-templat es select= "$VarResol vedLinkInf o" mode="w wmode:repo rt-links"> | |||
758 | <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> | 758 | <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> | |||
759 | <xsl:wi th-param n ame="Param DocumentFi le" select ="$ParamDo cumentFile " /> | 759 | <xsl:wi th-param n ame="Param DocumentFi le" select ="$ParamDo cumentFile " /> | |||
760 | <xsl:wi th-param n ame="Param Node" sele ct="$Param Node" /> | 760 | <xsl:wi th-param n ame="Param Node" sele ct="$Param Node" /> | |||
761 | <xsl:wi th-param n ame="Param DocumentLi nk" select ="$ParamDo cumentLink " /> | 761 | <xsl:wi th-param n ame="Param DocumentLi nk" select ="$ParamDo cumentLink " /> | |||
762 | <xsl:wi th-param n ame="Param ID" select ="$ParamID " /> | 762 | <xsl:wi th-param n ame="Param ID" select ="$ParamID " /> | |||
763 | </xsl:ap ply-templa tes> | 763 | </xsl:ap ply-templa tes> | |||
764 | </xsl:tem plate> | 764 | </xsl:tem plate> | |||
765 | 765 | |||||
766 | 766 | |||||
767 | <xsl:temp late match ="*" mode= "wwmode:li nks"> | 767 | <xsl:temp late match ="*" mode= "wwmode:li nks"> | |||
768 | <xsl:par am name="P aramLinks" /> | 768 | <xsl:par am name="P aramLinks" /> | |||
769 | <xsl:par am name="P aramSplits " /> | 769 | <xsl:par am name="P aramSplits " /> | |||
770 | <xsl:par am name="P aramDocume ntFile" /> | 770 | <xsl:par am name="P aramDocume ntFile" /> | |||
771 | <xsl:par am name="P aramID" /> | 771 | <xsl:par am name="P aramID" /> | |||
772 | 772 | |||||
773 | <!-- Pro cess child ren --> | 773 | <!-- Pro cess child ren --> | |||
774 | <!-- --> | 774 | <!-- --> | |||
775 | <xsl:app ly-templat es mode="w wmode:link s"> | 775 | <xsl:app ly-templat es mode="w wmode:link s"> | |||
776 | <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> | 776 | <xsl:wi th-param n ame="Param Links" sel ect="$Para mLinks" /> | |||
777 | <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits" /> | 777 | <xsl:wi th-param n ame="Param Splits" se lect="$Par amSplits" /> | |||
778 | <xsl:wi th-param n ame="Param DocumentFi le" select ="$ParamDo cumentFile " /> | 778 | <xsl:wi th-param n ame="Param DocumentFi le" select ="$ParamDo cumentFile " /> | |||
779 | <xsl:wi th-param n ame="Param ID" select ="$ParamID " /> | 779 | <xsl:wi th-param n ame="Param ID" select ="$ParamID " /> | |||
780 | </xsl:ap ply-templa tes> | 780 | </xsl:ap ply-templa tes> | |||
781 | </xsl:tem plate> | 781 | </xsl:tem plate> | |||
782 | 782 | |||||
783 | 783 | |||||
784 | <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:links"> | 784 | <xsl:temp late match ="wwdoc:Pa ragraph" m ode="wwmod e:links"> | |||
785 | <xsl:par am name="P aramLinks" /> | 785 | <xsl:par am name="P aramLinks" /> | |||
786 | <xsl:par am name="P aramSplits " /> | 786 | <xsl:par am name="P aramSplits " /> | |||
787 | <xsl:par am name="P aramDocume ntFile" /> | 787 | <xsl:par am name="P aramDocume ntFile" /> | |||
788 | <xsl:par am name="P aramID" /> | 788 | <xsl:par am name="P aramID" /> | |||
789 | <xsl:par am name="P aramNode" select="." /> | 789 | <xsl:par am name="P aramNode" select="." /> | |||
790 | 790 | |||||
791 | <!-- Det ermine pro cessing st ate --> | 791 | <!-- Det ermine pro cessing st ate --> | |||
792 | <!-- --> | 792 | <!-- --> | |||
793 | <xsl:var iable name ="VarProce ssNode"> | 793 | <xsl:var iable name ="VarProce ssNode"> | |||
794 | <xsl:ca ll-templat e name="Pr ocess-Node "> | 794 | <xsl:ca ll-templat e name="Pr ocess-Node "> | |||
795 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 795 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
796 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | 796 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | |||
797 | <xsl:w ith-param name="Para mRuleType" select="' Paragraph' " /> | 797 | <xsl:w ith-param name="Para mRuleType" select="' Paragraph' " /> | |||
798 | </xsl:c all-templa te> | 798 | </xsl:c all-templa te> | |||
799 | </xsl:va riable> | 799 | </xsl:va riable> | |||
800 | 800 | |||||
801 | <!-- Pro cess node? --> | 801 | <!-- Pro cess node? --> | |||
802 | <!-- --> | 802 | <!-- --> | |||
803 | <xsl:if test="$Var ProcessNod e = 'true' "> | 803 | <xsl:if test="$Var ProcessNod e = 'true' "> | |||
804 | <!-- Pr ocess chil dren --> | 804 | <!-- Pr ocess chil dren --> | |||
805 | <!-- --> | 805 | <!-- --> | |||
806 | <xsl:ap ply-templa tes mode=" wwmode:lin ks"> | 806 | <xsl:ap ply-templa tes mode=" wwmode:lin ks"> | |||
807 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 807 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
808 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 808 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
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:w ith-param name="Para mID" selec t="$ParamN ode/@id" / > | 810 | <xsl:w ith-param name="Para mID" selec t="$ParamN ode/@id" / > | |||
811 | </xsl:a pply-templ ates> | 811 | </xsl:a pply-templ ates> | |||
812 | </xsl:if > | 812 | </xsl:if > | |||
813 | </xsl:tem plate> | 813 | </xsl:tem plate> | |||
814 | 814 | |||||
815 | 815 | |||||
816 | <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: links"> | 816 | <xsl:temp late match ="wwdoc:Te xtRun" mod e="wwmode: links"> | |||
817 | <xsl:par am name="P aramLinks" /> | 817 | <xsl:par am name="P aramLinks" /> | |||
818 | <xsl:par am name="P aramSplits " /> | 818 | <xsl:par am name="P aramSplits " /> | |||
819 | <xsl:par am name="P aramDocume ntFile" /> | 819 | <xsl:par am name="P aramDocume ntFile" /> | |||
820 | <xsl:par am name="P aramID" /> | 820 | <xsl:par am name="P aramID" /> | |||
821 | <xsl:par am name="P aramNode" select="." /> | 821 | <xsl:par am name="P aramNode" select="." /> | |||
822 | 822 | |||||
823 | <!-- Det ermine pro cessing st ate --> | 823 | <!-- Det ermine pro cessing st ate --> | |||
824 | <!-- --> | 824 | <!-- --> | |||
825 | <xsl:var iable name ="VarProce ssNode"> | 825 | <xsl:var iable name ="VarProce ssNode"> | |||
826 | <xsl:ca ll-templat e name="Pr ocess-Node "> | 826 | <xsl:ca ll-templat e name="Pr ocess-Node "> | |||
827 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 827 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
828 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | 828 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | |||
829 | <xsl:w ith-param name="Para mRuleType" select="' Character' " /> | 829 | <xsl:w ith-param name="Para mRuleType" select="' Character' " /> | |||
830 | </xsl:c all-templa te> | 830 | </xsl:c all-templa te> | |||
831 | </xsl:va riable> | 831 | </xsl:va riable> | |||
832 | 832 | |||||
833 | <!-- Pro cess node? --> | 833 | <!-- Pro cess node? --> | |||
834 | <!-- --> | 834 | <!-- --> | |||
835 | <xsl:if test="$Var ProcessNod e = 'true' "> | 835 | <xsl:if test="$Var ProcessNod e = 'true' "> | |||
836 | <!-- Ch eck link - -> | 836 | <!-- Ch eck link - -> | |||
837 | <!-- - -> | 837 | <!-- - -> | |||
838 | <xsl:va riable nam e="VarDocu mentLink" select="$P aramNode/w wdoc:Link[ 1]" /> | 838 | <xsl:va riable nam e="VarDocu mentLink" select="$P aramNode/w wdoc:Link[ 1]" /> | |||
839 | <xsl:if test="cou nt($VarDoc umentLink) = 1"> | 839 | <xsl:if test="cou nt($VarDoc umentLink) = 1"> | |||
840 | <xsl:c all-templa te name="L ink-Check" > | 840 | <xsl:c all-templa te name="L ink-Check" > | |||
841 | <xsl: with-param name="Par amLinks" s elect="$Pa ramLinks" /> | 841 | <xsl: with-param name="Par amLinks" s elect="$Pa ramLinks" /> | |||
842 | <xsl: with-param name="Par amSplits" select="$P aramSplits " /> | 842 | <xsl: with-param name="Par amSplits" select="$P aramSplits " /> | |||
843 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | 843 | <xsl: with-param name="Par amDocument File" sele ct="$Param DocumentFi le" /> | |||
844 | <xsl: with-param name="Par amID" sele ct="$Param ID" /> | 844 | <xsl: with-param name="Par amID" sele ct="$Param ID" /> | |||
845 | <xsl: with-param name="Par amNode" se lect="$Par amNode" /> | 845 | <xsl: with-param name="Par amNode" se lect="$Par amNode" /> | |||
846 | <xsl: with-param name="Par amDocument Link" sele ct="$VarDo cumentLink " /> | 846 | <xsl: with-param name="Par amDocument Link" sele ct="$VarDo cumentLink " /> | |||
847 | </xsl: call-templ ate> | 847 | </xsl: call-templ ate> | |||
848 | </xsl:i f> | 848 | </xsl:i f> | |||
849 | 849 | |||||
850 | <!-- Pr ocess chil dren --> | 850 | <!-- Pr ocess chil dren --> | |||
851 | <!-- --> | 851 | <!-- --> | |||
852 | <xsl:ap ply-templa tes mode=" wwmode:lin ks"> | 852 | <xsl:ap ply-templa tes mode=" wwmode:lin ks"> | |||
853 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 853 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
854 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 854 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
855 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 855 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
856 | <xsl:w ith-param name="Para mID" selec t="$ParamI D" /> | 856 | <xsl:w ith-param name="Para mID" selec t="$ParamI D" /> | |||
857 | </xsl:a pply-templ ates> | 857 | </xsl:a pply-templ ates> | |||
858 | </xsl:if > | 858 | </xsl:if > | |||
859 | </xsl:tem plate> | 859 | </xsl:tem plate> | |||
860 | 860 | |||||
861 | 861 | |||||
862 | <xsl:temp late match ="wwdoc:Ta ble" mode= "wwmode:li nks"> | 862 | <xsl:temp late match ="wwdoc:Ta ble" mode= "wwmode:li nks"> | |||
863 | <xsl:par am name="P aramLinks" /> | 863 | <xsl:par am name="P aramLinks" /> | |||
864 | <xsl:par am name="P aramSplits " /> | 864 | <xsl:par am name="P aramSplits " /> | |||
865 | <xsl:par am name="P aramDocume ntFile" /> | 865 | <xsl:par am name="P aramDocume ntFile" /> | |||
866 | <xsl:par am name="P aramID" /> | 866 | <xsl:par am name="P aramID" /> | |||
867 | <xsl:par am name="P aramNode" select="." /> | 867 | <xsl:par am name="P aramNode" select="." /> | |||
868 | 868 | |||||
869 | <!-- Det ermine pro cessing st ate --> | 869 | <!-- Det ermine pro cessing st ate --> | |||
870 | <!-- --> | 870 | <!-- --> | |||
871 | <xsl:var iable name ="VarProce ssNode"> | 871 | <xsl:var iable name ="VarProce ssNode"> | |||
872 | <xsl:ca ll-templat e name="Pr ocess-Node "> | 872 | <xsl:ca ll-templat e name="Pr ocess-Node "> | |||
873 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 873 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
874 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | 874 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | |||
875 | <xsl:w ith-param name="Para mRuleType" select="' Table'" /> | 875 | <xsl:w ith-param name="Para mRuleType" select="' Table'" /> | |||
876 | </xsl:c all-templa te> | 876 | </xsl:c all-templa te> | |||
877 | </xsl:va riable> | 877 | </xsl:va riable> | |||
878 | 878 | |||||
879 | <!-- Pro cess node? --> | 879 | <!-- Pro cess node? --> | |||
880 | <!-- --> | 880 | <!-- --> | |||
881 | <xsl:if test="$Var ProcessNod e = 'true' "> | 881 | <xsl:if test="$Var ProcessNod e = 'true' "> | |||
882 | <!-- Pr ocess chil dren --> | 882 | <!-- Pr ocess chil dren --> | |||
883 | <!-- --> | 883 | <!-- --> | |||
884 | <xsl:ap ply-templa tes mode=" wwmode:lin ks"> | 884 | <xsl:ap ply-templa tes mode=" wwmode:lin ks"> | |||
885 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 885 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
886 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 886 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
887 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 887 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
888 | <xsl:w ith-param name="Para mID" selec t="$ParamN ode/@id" / > | 888 | <xsl:w ith-param name="Para mID" selec t="$ParamN ode/@id" / > | |||
889 | </xsl:a pply-templ ates> | 889 | </xsl:a pply-templ ates> | |||
890 | </xsl:if > | 890 | </xsl:if > | |||
891 | </xsl:tem plate> | 891 | </xsl:tem plate> | |||
892 | 892 | |||||
893 | 893 | |||||
894 | <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:li nks"> | 894 | <xsl:temp late match ="wwdoc:Fr ame" mode= "wwmode:li nks"> | |||
895 | <xsl:par am name="P aramLinks" /> | 895 | <xsl:par am name="P aramLinks" /> | |||
896 | <xsl:par am name="P aramSplits " /> | 896 | <xsl:par am name="P aramSplits " /> | |||
897 | <xsl:par am name="P aramDocume ntFile" /> | 897 | <xsl:par am name="P aramDocume ntFile" /> | |||
898 | <xsl:par am name="P aramID" /> | 898 | <xsl:par am name="P aramID" /> | |||
899 | <xsl:par am name="P aramNode" select="." /> | 899 | <xsl:par am name="P aramNode" select="." /> | |||
900 | 900 | |||||
901 | <!-- Det ermine pro cessing st ate --> | 901 | <!-- Det ermine pro cessing st ate --> | |||
902 | <!-- --> | 902 | <!-- --> | |||
903 | <xsl:var iable name ="VarProce ssNode"> | 903 | <xsl:var iable name ="VarProce ssNode"> | |||
904 | <xsl:ca ll-templat e name="Pr ocess-Node "> | 904 | <xsl:ca ll-templat e name="Pr ocess-Node "> | |||
905 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 905 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
906 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | 906 | <xsl:w ith-param name="Para mNode" sel ect="$Para mNode" /> | |||
907 | <xsl:w ith-param name="Para mRuleType" select="' Graphic'" /> | 907 | <xsl:w ith-param name="Para mRuleType" select="' Graphic'" /> | |||
908 | </xsl:c all-templa te> | 908 | </xsl:c all-templa te> | |||
909 | </xsl:va riable> | 909 | </xsl:va riable> | |||
910 | 910 | |||||
911 | <!-- Pro cess node? --> | 911 | <!-- Pro cess node? --> | |||
912 | <!-- --> | 912 | <!-- --> | |||
913 | <xsl:if test="$Var ProcessNod e = 'true' "> | 913 | <xsl:if test="$Var ProcessNod e = 'true' "> | |||
914 | <!-- De termine so urce link ID --> | 914 | <!-- De termine so urce link ID --> | |||
915 | <!-- --> | 915 | <!-- --> | |||
916 | <xsl:va riable nam e="VarID"> | 916 | <xsl:va riable nam e="VarID"> | |||
917 | <xsl:c hoose> | 917 | <xsl:c hoose> | |||
918 | <xsl: when test= "string-le ngth($Para mNode/@id) > 0"> | 918 | <xsl: when test= "string-le ngth($Para mNode/@id) > 0"> | |||
919 | <xsl :value-of select="$P aramNode/@ id" /> | 919 | <xsl :value-of select="$P aramNode/@ id" /> | |||
920 | </xsl :when> | 920 | </xsl :when> | |||
921 | 921 | |||||
922 | <xsl: otherwise> | 922 | <xsl: otherwise> | |||
923 | <xsl :value-of select="$P aramID" /> | 923 | <xsl :value-of select="$P aramID" /> | |||
924 | </xsl :otherwise > | 924 | </xsl :otherwise > | |||
925 | </xsl: choose> | 925 | </xsl: choose> | |||
926 | </xsl:v ariable> | 926 | </xsl:v ariable> | |||
927 | 927 | |||||
928 | <!-- Ch eck link - -> | 928 | <!-- Ch eck link - -> | |||
929 | <!-- - -> | 929 | <!-- - -> | |||
930 | <xsl:va riable nam e="VarDocu mentLink" select="$P aramNode/w wdoc:Link[ 1]" /> | 930 | <xsl:va riable nam e="VarDocu mentLink" select="$P aramNode/w wdoc:Link[ 1]" /> | |||
931 | <xsl:ch oose> | 931 | <xsl:ch oose> | |||
932 | <xsl:w hen test=" count($Var DocumentLi nk) = 1"> | 932 | <xsl:w hen test=" count($Var DocumentLi nk) = 1"> | |||
933 | <xsl: call-templ ate name=" Link-Check "> | 933 | <xsl: call-templ ate name=" Link-Check "> | |||
934 | <xsl :with-para m name="Pa ramLinks" select="$P aramLinks" /> | 934 | <xsl :with-para m name="Pa ramLinks" select="$P aramLinks" /> | |||
935 | <xsl :with-para m name="Pa ramSplits" select="$ ParamSplit s" /> | 935 | <xsl :with-para m name="Pa ramSplits" select="$ ParamSplit s" /> | |||
936 | <xsl :with-para m name="Pa ramDocumen tFile" sel ect="$Para mDocumentF ile" /> | 936 | <xsl :with-para m name="Pa ramDocumen tFile" sel ect="$Para mDocumentF ile" /> | |||
937 | <xsl :with-para m name="Pa ramID" sel ect="$VarI D" /> | 937 | <xsl :with-para m name="Pa ramID" sel ect="$VarI D" /> | |||
938 | <xsl :with-para m name="Pa ramNode" s elect="$Pa ramNode" / > | 938 | <xsl :with-para m name="Pa ramNode" s elect="$Pa ramNode" / > | |||
939 | <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$VarD ocumentLin k" /> | 939 | <xsl :with-para m name="Pa ramDocumen tLink" sel ect="$VarD ocumentLin k" /> | |||
940 | </xsl :call-temp late> | 940 | </xsl :call-temp late> | |||
941 | </xsl: when> | 941 | </xsl: when> | |||
942 | 942 | |||||
943 | <xsl:o therwise> | 943 | <xsl:o therwise> | |||
944 | <xsl: variable n ame="VarCh ildLinks" select="$P aramNode/w wdoc:Conte nt//wwdoc: Link[count ($ParamNod e | ancest or::wwdoc: Frame[1]) = 1]" /> | 944 | <xsl: variable n ame="VarCh ildLinks" select="$P aramNode/w wdoc:Conte nt//wwdoc: Link[count ($ParamNod e | ancest or::wwdoc: Frame[1]) = 1]" /> | |||
945 | <xsl: variable n ame="VarCh ildLinksCo unt" selec t="count($ VarChildLi nks)" /> | 945 | <xsl: variable n ame="VarCh ildLinksCo unt" selec t="count($ VarChildLi nks)" /> | |||
946 | <xsl: if test="$ VarChildLi nksCount & gt; 0"> | 946 | <xsl: if test="$ VarChildLi nksCount & gt; 0"> | |||
947 | <xsl :call-temp late name= "Link-Chec k"> | 947 | <xsl :call-temp late name= "Link-Chec k"> | |||
948 | <xs l:with-par am name="P aramLinks" select="$ ParamLinks " /> | 948 | <xs l:with-par am name="P aramLinks" select="$ ParamLinks " /> | |||
949 | <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> | 949 | <xs l:with-par am name="P aramSplits " select=" $ParamSpli ts" /> | |||
950 | <xs l:with-par am name="P aramDocume ntFile" se lect="$Par amDocument File" /> | 950 | <xs l:with-par am name="P aramDocume ntFile" se lect="$Par amDocument File" /> | |||
951 | <xs l:with-par am name="P aramID" se lect="$Var ID" /> | 951 | <xs l:with-par am name="P aramID" se lect="$Var ID" /> | |||
952 | <xs l:with-par am name="P aramNode" select="$P aramNode" /> | 952 | <xs l:with-par am name="P aramNode" select="$P aramNode" /> | |||
953 | <xs l:with-par am name="P aramDocume ntLink" se lect="$Var ChildLinks [$VarChild LinksCount ]" /> | 953 | <xs l:with-par am name="P aramDocume ntLink" se lect="$Var ChildLinks [$VarChild LinksCount ]" /> | |||
954 | </xs l:call-tem plate> | 954 | </xs l:call-tem plate> | |||
955 | </xsl :if> | 955 | </xsl :if> | |||
956 | </xsl: otherwise> | 956 | </xsl: otherwise> | |||
957 | </xsl:c hoose> | 957 | </xsl:c hoose> | |||
958 | 958 | |||||
959 | <!-- Pr ocess chil d frames - -> | 959 | <!-- Pr ocess chil d frames - -> | |||
960 | <!-- - -> | 960 | <!-- - -> | |||
961 | <xsl:ap ply-templa tes select ="$ParamNo de/wwdoc:C ontent/wwd oc:Frame" mode="wwmo de:links"> | 961 | <xsl:ap ply-templa tes select ="$ParamNo de/wwdoc:C ontent/wwd oc:Frame" mode="wwmo de:links"> | |||
962 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | 962 | <xsl:w ith-param name="Para mLinks" se lect="$Par amLinks" / > | |||
963 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | 963 | <xsl:w ith-param name="Para mSplits" s elect="$Pa ramSplits" /> | |||
964 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | 964 | <xsl:w ith-param name="Para mDocumentF ile" selec t="$ParamD ocumentFil e" /> | |||
965 | <xsl:w ith-param name="Para mID" selec t="$VarID" /> | 965 | <xsl:w ith-param name="Para mID" selec t="$VarID" /> | |||
966 | </xsl:a pply-templ ates> | 966 | </xsl:a pply-templ ates> | |||
967 | </xsl:if > | 967 | </xsl:if > | |||
968 | </xsl:tem plate> | 968 | </xsl:tem plate> | |||
969 | </xsl:styl esheet> | 969 | </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.