[19856] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <xsl:stylesheet version="1.0"
|
---|
| 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
| 5 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
| 6 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
| 7 | xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
|
---|
| 8 | extension-element-prefixes="java util"
|
---|
| 9 | exclude-result-prefixes="java util gsf">
|
---|
| 10 |
|
---|
[23989] | 11 | <!-- use the 'main' layout -->
|
---|
| 12 | <xsl:import href="layouts/main.xsl"/>
|
---|
[25660] | 13 | <xsl:import href="layouts/toc.xsl"/>
|
---|
[23989] | 14 |
|
---|
| 15 | <xsl:variable name="bookswitch">
|
---|
| 16 | <xsl:choose>
|
---|
| 17 | <xsl:when test="/page/pageRequest/paramList/param[@name='book']/@value">
|
---|
| 18 | <xsl:value-of select="/page/pageRequest/paramList/param[@name='book']/@value"/>
|
---|
| 19 | </xsl:when>
|
---|
| 20 | <xsl:otherwise>off</xsl:otherwise>
|
---|
| 21 | </xsl:choose>
|
---|
| 22 | </xsl:variable>
|
---|
[19856] | 23 |
|
---|
[26316] | 24 | <!-- optional cgi-params for links to document pages -->
|
---|
| 25 | <xsl:variable name="opt-doc-link-args"></xsl:variable>
|
---|
[19988] | 26 | <!-- set page title -->
|
---|
| 27 | <xsl:template name="pageTitle"><gslib:documentTitle/></xsl:template>
|
---|
[19856] | 28 |
|
---|
[19988] | 29 | <!-- set page breadcrumbs -->
|
---|
[23813] | 30 | <xsl:template name="breadcrumbs">
|
---|
| 31 | <gslib:siteLink/><gslib:rightArrow/>
|
---|
| 32 | <gslib:collectionNameLinked/><gslib:rightArrow/>
|
---|
| 33 | <a>
|
---|
| 34 | <xsl:attribute name="href">
|
---|
[25371] | 35 | <xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="$collName"/>/document/<xsl:value-of select="/page/pageResponse/document/documentNode[1]/@nodeID"/>
|
---|
[23813] | 36 | </xsl:attribute>
|
---|
| 37 | <xsl:variable name="documentTitleVar">
|
---|
| 38 | <gslib:documentTitle/>
|
---|
| 39 | </xsl:variable>
|
---|
[24009] | 40 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.document')"/>
|
---|
[23813] | 41 | </a>
|
---|
| 42 | </xsl:template>
|
---|
[23989] | 43 |
|
---|
| 44 | <xsl:template match="/">
|
---|
| 45 | <xsl:choose>
|
---|
| 46 | <!-- if this is the realistic books version of the page -->
|
---|
| 47 | <xsl:when test="$bookswitch = 'flashxml'">
|
---|
| 48 | <html>
|
---|
| 49 | <body>
|
---|
| 50 | <xsl:apply-templates select="/page/pageResponse/document"/>
|
---|
| 51 | </body>
|
---|
| 52 | </html>
|
---|
| 53 | </xsl:when>
|
---|
| 54 | <!-- if this is the regular version of the page -->
|
---|
| 55 | <xsl:otherwise>
|
---|
[25917] | 56 | <xsl:call-template name="mainTemplate"/>
|
---|
[23989] | 57 | </xsl:otherwise>
|
---|
| 58 | </xsl:choose>
|
---|
| 59 | </xsl:template>
|
---|
[24650] | 60 |
|
---|
[26020] | 61 | <xsl:template name="documentHeading">
|
---|
| 62 | <b><gsf:metadata name="Title"/></b><br/>
|
---|
| 63 | </xsl:template>
|
---|
| 64 |
|
---|
| 65 | <xsl:template name="documentContent">
|
---|
[26298] | 66 | <div id="gs-document">
|
---|
| 67 | <xsl:call-template name="documentPre"/>
|
---|
| 68 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
| 69 | <div id="gs-document-text">
|
---|
| 70 | <xsl:call-template name="documentNodeText"/>
|
---|
| 71 | </div>
|
---|
| 72 | </div>
|
---|
[26020] | 73 | </xsl:template>
|
---|
| 74 |
|
---|
[26175] | 75 | <xsl:template name="sectionHeading">
|
---|
[25936] | 76 | <xsl:call-template name="sectionTitle"/>
|
---|
| 77 | </xsl:template>
|
---|
| 78 |
|
---|
[26020] | 79 | <xsl:template name="topLevelSectionContent">
|
---|
| 80 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
| 81 | <xsl:call-template name="wrappedSectionText"/>
|
---|
| 82 | </xsl:template>
|
---|
| 83 |
|
---|
| 84 | <xsl:template name="sectionContent">
|
---|
| 85 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
| 86 | <xsl:call-template name="wrappedSectionText"/>
|
---|
| 87 | </xsl:template>
|
---|
| 88 |
|
---|
| 89 | <xsl:template name="wrappedSectionText">
|
---|
| 90 | <div id="text{@nodeID}" class="sectionText"><!-- *** -->
|
---|
| 91 | <xsl:attribute name="style">
|
---|
| 92 | <xsl:choose>
|
---|
| 93 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'view']/@value = 'image'">
|
---|
| 94 | <xsl:text>display:none;</xsl:text>
|
---|
| 95 | </xsl:when>
|
---|
| 96 | <xsl:otherwise>
|
---|
| 97 | <xsl:text>display:block;</xsl:text>
|
---|
| 98 | </xsl:otherwise>
|
---|
| 99 | </xsl:choose>
|
---|
| 100 | </xsl:attribute>
|
---|
| 101 |
|
---|
| 102 | <xsl:call-template name="documentNodeText"/>
|
---|
| 103 | </div>
|
---|
| 104 | </xsl:template>
|
---|
| 105 |
|
---|
| 106 | <xsl:template name="sectionImage">
|
---|
| 107 | <gsf:image type="screen"/>
|
---|
| 108 | </xsl:template>
|
---|
| 109 |
|
---|
[24650] | 110 | <!-- Used to make sure that regardless what the collection designer uses for the title and content we can wrap it properly -->
|
---|
| 111 | <!-- If editing, be aware that the Document Basket looks for specific classes that this template bakes in (key points marked with ***) -->
|
---|
| 112 | <xsl:template name="wrapDocumentNodes">
|
---|
[25433] | 113 | <a name="{@nodeID}"><xsl:text> </xsl:text></a>
|
---|
[25936] | 114 |
|
---|
[25433] | 115 | <!-- Section header -->
|
---|
| 116 | <table class="sectionHeader"><tr>
|
---|
[25936] | 117 |
|
---|
[25433] | 118 | <!-- Expand/collapse button -->
|
---|
| 119 | <xsl:if test="not(/page/pageResponse/format[@type='display' or @type='browse' or @type='search']/gsf:option[@name='sectionExpandCollapse']/@value) or /page/pageResponse/format[@type='display' or @type='browse' or @type='search']/gsf:option[@name='sectionExpandCollapse']/@value = 'true'">
|
---|
| 120 | <td class="headerTD">
|
---|
| 121 | <img id="dtoggle{@nodeID}" onclick="toggleSection('{@nodeID}');" class="icon">
|
---|
| 122 | <xsl:attribute name="src">
|
---|
[25143] | 123 | <xsl:choose>
|
---|
[25433] | 124 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or util:oidIsMatchOrParent(@nodeID, /page/pageResponse/document/@selectedNode)">
|
---|
| 125 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'collapse_image')"/>
|
---|
[25143] | 126 | </xsl:when>
|
---|
| 127 | <xsl:otherwise>
|
---|
[25433] | 128 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'expand_image')"/>
|
---|
[25143] | 129 | </xsl:otherwise>
|
---|
| 130 | </xsl:choose>
|
---|
| 131 | </xsl:attribute>
|
---|
[25433] | 132 | </img>
|
---|
| 133 | </td>
|
---|
| 134 | </xsl:if>
|
---|
[25936] | 135 |
|
---|
[25433] | 136 | <!-- Title -->
|
---|
| 137 | <td id="header{@nodeID}" class="headerTD sectionTitle"><!-- *** -->
|
---|
[25936] | 138 | <p>
|
---|
| 139 | <xsl:attribute name="class"><xsl:value-of select="util:hashToDepthClass(@nodeID)"/> sectionHeader</xsl:attribute>
|
---|
| 140 |
|
---|
| 141 | <xsl:if test="util:hashToSectionId(@nodeID)">
|
---|
| 142 | <span class="sectionNumberSpan">
|
---|
| 143 | <xsl:value-of select="util:hashToSectionId(@nodeID)"/>
|
---|
| 144 | <xsl:text> </xsl:text>
|
---|
| 145 | </span>
|
---|
| 146 | </xsl:if>
|
---|
| 147 | <!-- Display the title for the section regardless of whether automatic section numbering is turned on -->
|
---|
[26175] | 148 | <span><xsl:call-template name="sectionHeading"/></span>
|
---|
[25936] | 149 | </p>
|
---|
[25433] | 150 | </td>
|
---|
| 151 |
|
---|
| 152 | <!-- "back to top" link -->
|
---|
[26216] | 153 | <xsl:if test="util:hashToDepthClass(@nodeID) != 'sectionHeaderDepthTitle' and not(/page/pageResponse/format[@type='display']/gsf:option[@name='backToTopLinks']) or /page/pageResponse/format[@type='display']/gsf:option[@name='backToTopLinks']/@value='true'">
|
---|
[25433] | 154 | <td class="backToTop headerTD">
|
---|
| 155 | <a href="javascript:scrollToTop();">
|
---|
| 156 | <xsl:text disable-output-escaping="yes">▲</xsl:text><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.back_to_top')"/>
|
---|
| 157 | </a>
|
---|
| 158 | </td>
|
---|
| 159 | </xsl:if>
|
---|
| 160 | </tr></table>
|
---|
[25936] | 161 |
|
---|
[25433] | 162 | <div id="doc{@nodeID}"><!-- *** -->
|
---|
| 163 | <xsl:choose>
|
---|
| 164 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or /page/pageResponse/document/@selectedNode = @nodeID">
|
---|
| 165 | <xsl:attribute name="class">
|
---|
| 166 | <xsl:text>sectionContainer hasText</xsl:text>
|
---|
| 167 | </xsl:attribute>
|
---|
[25177] | 168 | <xsl:attribute name="style">
|
---|
[25433] | 169 | <xsl:text>display:block;</xsl:text>
|
---|
| 170 | </xsl:attribute>
|
---|
| 171 | </xsl:when>
|
---|
| 172 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or util:oidIsMatchOrParent(@nodeID, /page/pageResponse/document/@selectedNode)">
|
---|
| 173 | <xsl:attribute name="class">
|
---|
| 174 | <xsl:text>sectionContainer noText</xsl:text>
|
---|
| 175 | </xsl:attribute>
|
---|
| 176 | <xsl:attribute name="style">
|
---|
| 177 | <xsl:text>display:block;</xsl:text>
|
---|
| 178 | </xsl:attribute>
|
---|
| 179 | </xsl:when>
|
---|
| 180 | <xsl:otherwise>
|
---|
| 181 | <xsl:attribute name="class">
|
---|
| 182 | <xsl:text>sectionContainer noText</xsl:text>
|
---|
| 183 | </xsl:attribute>
|
---|
| 184 | <xsl:attribute name="style">
|
---|
| 185 | <xsl:text>display:none;</xsl:text>
|
---|
| 186 | </xsl:attribute>
|
---|
| 187 | </xsl:otherwise>
|
---|
| 188 | </xsl:choose>
|
---|
| 189 |
|
---|
[28274] | 190 | <xsl:if test="/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and /page/pageRequest/paramList/param[@name='docEdit']/@value = '1' and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))">
|
---|
[25433] | 191 | <table id="meta{@nodeID}">
|
---|
| 192 | <xsl:attribute name="style">
|
---|
[25177] | 193 | <xsl:choose>
|
---|
[25433] | 194 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'dmd']/@value = 'true'">
|
---|
| 195 | <xsl:text>display:block;</xsl:text>
|
---|
[25177] | 196 | </xsl:when>
|
---|
| 197 | <xsl:otherwise>
|
---|
[25433] | 198 | <xsl:text>display:none;</xsl:text>
|
---|
[25177] | 199 | </xsl:otherwise>
|
---|
| 200 | </xsl:choose>
|
---|
| 201 | </xsl:attribute>
|
---|
[25433] | 202 | <xsl:value-of select="util:clearMetadataStorage()"/>
|
---|
| 203 | <xsl:for-each select="metadataList/metadata">
|
---|
| 204 | <xsl:sort select="@name"/>
|
---|
| 205 | <xsl:if test="util:checkMetadataNotDuplicate(@name, .)">
|
---|
| 206 | <tr>
|
---|
| 207 | <td class="metaTableCellName"><xsl:value-of select="@name"/></td>
|
---|
[29166] | 208 | <td class="metaTableCell"><xsl:value-of select="."/></td>
|
---|
[25433] | 209 | </tr>
|
---|
| 210 | </xsl:if>
|
---|
| 211 | </xsl:for-each>
|
---|
| 212 | </table>
|
---|
| 213 | </xsl:if>
|
---|
| 214 |
|
---|
[26020] | 215 | <xsl:choose>
|
---|
| 216 | <xsl:when test="../../document">
|
---|
| 217 | <xsl:call-template name="topLevelSectionContent"/>
|
---|
| 218 | </xsl:when>
|
---|
| 219 | <xsl:otherwise>
|
---|
| 220 | <xsl:call-template name="sectionContent"/>
|
---|
| 221 | </xsl:otherwise>
|
---|
| 222 | </xsl:choose>
|
---|
[25433] | 223 |
|
---|
| 224 | <xsl:if test="documentNode">
|
---|
| 225 | <xsl:for-each select="documentNode">
|
---|
[24650] | 226 | <xsl:call-template name="wrapDocumentNodes"/>
|
---|
[25433] | 227 | </xsl:for-each>
|
---|
| 228 | </xsl:if>
|
---|
| 229 | </div>
|
---|
[24650] | 230 | </xsl:template>
|
---|
[19988] | 231 |
|
---|
[29172] | 232 | <xsl:template name="javascriptForDocumentEditing">
|
---|
[25142] | 233 | <script type="text/javascript" src="interfaces/{$interface_name}/js/documentmaker_scripts.js"><xsl:text> </xsl:text></script>
|
---|
| 234 | <script type="text/javascript" src="interfaces/{$interface_name}/js/documentmaker_scripts_util.js"><xsl:text> </xsl:text></script>
|
---|
[25462] | 235 | <script type="text/javascript">
|
---|
| 236 | <xsl:text disable-output-escaping="yes">
|
---|
| 237 | $(window).load(function()
|
---|
| 238 | {
|
---|
| 239 | if(gs.cgiParams.docEdit == "1")
|
---|
| 240 | {
|
---|
| 241 | readyPageForEditing();
|
---|
| 242 | }
|
---|
| 243 | });
|
---|
| 244 | </xsl:text>
|
---|
| 245 | </script>
|
---|
[29172] | 246 |
|
---|
| 247 | </xsl:template>
|
---|
[24791] | 248 |
|
---|
[29172] | 249 | <!-- the page content -->
|
---|
| 250 | <xsl:template match="/page/pageResponse/document">
|
---|
| 251 | <xsl:if test="$bookswitch = 'off'">
|
---|
| 252 | <script type="text/javascript" src="interfaces/{$interface_name}/js/document_scripts.js"><xsl:text> </xsl:text></script>
|
---|
| 253 |
|
---|
| 254 | <xsl:if test="/page/pageResponse/collection[@name = $collName]/metadataList/metadata[@name = 'tidyoption'] = 'tidy'">
|
---|
| 255 | <script type="text/javascript">
|
---|
| 256 | <xsl:text disable-output-escaping="yes">
|
---|
| 257 | if(document.URL.indexOf("book=on") != -1)
|
---|
| 258 | {
|
---|
| 259 | loadBook();
|
---|
| 260 | }
|
---|
| 261 | </xsl:text>
|
---|
| 262 | </script>
|
---|
| 263 | </xsl:if>
|
---|
| 264 | </xsl:if>
|
---|
| 265 | <xsl:variable name="canDoEditing">
|
---|
| 266 | <xsl:if test="/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))">true</xsl:if>
|
---|
| 267 | </xsl:variable>
|
---|
| 268 | <xsl:if test="$canDoEditing = 'true'">
|
---|
| 269 | <xsl:call-template name="javascriptForDocumentEditing"/>
|
---|
| 270 | <gsf:metadata name="all"/>
|
---|
| 271 | <gslib:langfrag name="dse"/>
|
---|
| 272 | </xsl:if>
|
---|
| 273 |
|
---|
[23989] | 274 | <xsl:if test="$bookswitch = 'off'">
|
---|
[24018] | 275 | <div id="bookdiv" style="visibility:hidden; height:0px; display:inline;"><xsl:text> </xsl:text></div>
|
---|
| 276 |
|
---|
[29172] | 277 | <div id="float-anchor" style="width: 30%; min-width:180px; float:right; margin: 0 0 10px 20px;">
|
---|
[28232] | 278 | <xsl:if test="/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))">
|
---|
[25371] | 279 | <xsl:call-template name="editBar"/>
|
---|
[25072] | 280 | </xsl:if>
|
---|
[24791] | 281 | <xsl:if test="not(/page/pageResponse/format[@type='display']/gsf:option[@name='sideBar']) or /page/pageResponse/format[@type='display']/gsf:option[@name='sideBar']/@value='true'">
|
---|
[25371] | 282 | <xsl:call-template name="rightSidebar"/>
|
---|
[24650] | 283 | </xsl:if>
|
---|
[29172] | 284 | </div>
|
---|
| 285 | <script type="text/javascript">
|
---|
| 286 | if (keep_editing_controls_visible) {
|
---|
| 287 | $(function() {
|
---|
| 288 | moveScroller();
|
---|
| 289 | });
|
---|
| 290 | }
|
---|
| 291 | </script>
|
---|
[23989] | 292 | </xsl:if>
|
---|
| 293 |
|
---|
[19856] | 294 | <!-- display the document -->
|
---|
[23813] | 295 | <xsl:choose>
|
---|
[19856] | 296 | <xsl:when test="@external != ''">
|
---|
| 297 | <xsl:call-template name="externalPage">
|
---|
| 298 | <xsl:with-param name="external" select="@external"/>
|
---|
| 299 | </xsl:call-template>
|
---|
| 300 | </xsl:when>
|
---|
[23989] | 301 | <xsl:when test="$bookswitch = 'flashxml'">
|
---|
[25720] | 302 | <xsl:call-template name="documentNodeFlashXML"/>
|
---|
[23989] | 303 | </xsl:when>
|
---|
| 304 | <xsl:when test="$bookswitch = 'on'">
|
---|
[24018] | 305 | <div id="bookdiv" style="display:inline;"><xsl:text> </xsl:text></div>
|
---|
[24791] | 306 | <!-- *** in document-scripts.js *** -->
|
---|
[24467] | 307 | <script type="text/javascript">
|
---|
| 308 | <xsl:text disable-output-escaping="yes">
|
---|
| 309 | if(document.URL.indexOf("book=on") != -1)
|
---|
| 310 | {
|
---|
| 311 | loadBook();
|
---|
| 312 | }
|
---|
| 313 | </xsl:text>
|
---|
| 314 | </script>
|
---|
[23989] | 315 | </xsl:when>
|
---|
[29166] | 316 | <!-- we want to do this stuff even if docType is simple or paged. Don't want to just set dt=hierarchy as that gives other unnecessary stuff-->
|
---|
| 317 | <!-- This is the first choice from wrappedDocument template-->
|
---|
| 318 | <xsl:when test="$canDoEditing = 'true' and /page/pageRequest/paramList/param[@name='docEdit']/@value = '1'">
|
---|
| 319 | <div id="gs-document">
|
---|
| 320 | <xsl:call-template name="documentPre"/>
|
---|
| 321 | <div id="gs-document-text" class="documenttext" collection="{/page/pageResponse/collection/@name}"><!-- *** -->
|
---|
| 322 | <xsl:for-each select="documentNode">
|
---|
| 323 | <xsl:call-template name="wrapDocumentNodes"/>
|
---|
| 324 | </xsl:for-each>
|
---|
| 325 | </div>
|
---|
| 326 | </div>
|
---|
| 327 | </xsl:when>
|
---|
[25837] | 328 | <xsl:when test="@docType='simple'">
|
---|
| 329 | <xsl:call-template name="documentHeading"/><br/>
|
---|
| 330 | <xsl:call-template name="documentContent"/>
|
---|
[29172] | 331 | </xsl:when>
|
---|
[25837] | 332 | <xsl:otherwise> <!-- display the standard greenstone document -->
|
---|
[26298] | 333 | <xsl:call-template name="wrappedDocument"/>
|
---|
[25837] | 334 | </xsl:otherwise>
|
---|
| 335 | </xsl:choose>
|
---|
| 336 | </xsl:template>
|
---|
[25949] | 337 |
|
---|
[25824] | 338 | <xsl:template name="wrappedDocument">
|
---|
[25837] | 339 | <xsl:choose>
|
---|
[25936] | 340 | <!-- NOTE: alb = ajax load bypass -->
|
---|
[26205] | 341 | <!--
|
---|
[26296] | 342 | If the docType is hierarchy and we want to bypass the ajax load then do this
|
---|
[26205] | 343 | OR If the docType is hierarchy and we have asked for the expanded document OR we have asked for the top level document then do this
|
---|
| 344 | -->
|
---|
[25936] | 345 | <xsl:when test="/page/pageResponse/document/@docType = 'hierarchy' and (/page/pageRequest/paramList/param[@name = 'alb']/@value = '1' or (string-length(/page/pageRequest/paramList/param[@name = 'd']/@value) > 0 and (/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or not(util:contains(/page/pageResponse/document/@selectedNode, '.')))))">
|
---|
[25837] | 346 | <div id="gs-document">
|
---|
| 347 | <xsl:call-template name="documentPre"/>
|
---|
| 348 | <div id="gs-document-text" class="documenttext" collection="{/page/pageResponse/collection/@name}"><!-- *** -->
|
---|
| 349 | <xsl:for-each select="documentNode">
|
---|
| 350 | <xsl:call-template name="wrapDocumentNodes"/>
|
---|
| 351 | </xsl:for-each>
|
---|
| 352 | </div>
|
---|
| 353 | </div>
|
---|
| 354 | </xsl:when>
|
---|
[25972] | 355 | <xsl:when test="/page/pageResponse/document/@docType = 'paged' or /page/pageResponse/document/@docType = 'pagedhierarchy'">
|
---|
[25936] | 356 | <div id="gs-document">
|
---|
| 357 | <div id="tocLoadingImage" style="text-align:center;">
|
---|
| 358 | <img src="{util:getInterfaceText($interface_name, /page/@lang, 'loading_image')}"/><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.loading')"/><xsl:text>...</xsl:text>
|
---|
| 359 | </div>
|
---|
| 360 | </div>
|
---|
| 361 | <script type="text/javascript">
|
---|
| 362 | <xsl:text disable-output-escaping="yes">
|
---|
| 363 | $(window).load(function()
|
---|
| 364 | {
|
---|
[26296] | 365 | var sectionID = gs.cgiParams.d;
|
---|
| 366 | var callbackFunction = null;
|
---|
| 367 | if(sectionID.indexOf("\\.") == -1)
|
---|
| 368 | {
|
---|
| 369 | callbackFunction = function()
|
---|
| 370 | {
|
---|
| 371 | focusSection(sectionID);
|
---|
| 372 | };
|
---|
| 373 | }
|
---|
| 374 |
|
---|
| 375 | var docID = sectionID.replace(/([^.]*)\..*/, "$1");
|
---|
| 376 | var url = gs.xsltParams.library_name + "?a=d&c=" + gs.cgiParams.c + "&excerptid=gs-document&dt=hierarchy&d=" + docID;
|
---|
| 377 | loadTopLevelPage(callbackFunction, url);
|
---|
[25936] | 378 | });
|
---|
| 379 | </xsl:text>
|
---|
| 380 | </script>
|
---|
| 381 | </xsl:when>
|
---|
[25837] | 382 | <xsl:otherwise>
|
---|
| 383 | <div id="gs-document">
|
---|
| 384 | <div id="tocLoadingImage" style="text-align:center;">
|
---|
| 385 | <img src="{util:getInterfaceText($interface_name, /page/@lang, 'loading_image')}"/><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.loading')"/><xsl:text>...</xsl:text>
|
---|
| 386 | </div>
|
---|
| 387 | </div>
|
---|
| 388 | <script type="text/javascript">
|
---|
| 389 | <xsl:text disable-output-escaping="yes">
|
---|
| 390 | $(window).load(function()
|
---|
| 391 | {
|
---|
| 392 | loadTopLevelPage(function()
|
---|
| 393 | {
|
---|
| 394 | //Don't focus the section until the table of contents is loaded
|
---|
| 395 | var tocCheck = function()
|
---|
[25371] | 396 | {
|
---|
[25837] | 397 | if(gs.variables.tocLoaded)
|
---|
[25371] | 398 | {
|
---|
[25837] | 399 | focusSection("</xsl:text><xsl:value-of select="/page/pageResponse/document/@selectedNode"/><xsl:text disable-output-escaping="yes">");
|
---|
| 400 | }
|
---|
| 401 | else
|
---|
| 402 | {
|
---|
| 403 | setTimeout(tocCheck, 500);
|
---|
| 404 | }
|
---|
| 405 | }
|
---|
| 406 | tocCheck();
|
---|
| 407 | });
|
---|
| 408 | });
|
---|
| 409 | </xsl:text>
|
---|
| 410 | </script>
|
---|
| 411 | </xsl:otherwise>
|
---|
[19856] | 412 | </xsl:choose>
|
---|
[24791] | 413 |
|
---|
[19856] | 414 | <div class="clear"><xsl:text> </xsl:text></div>
|
---|
[23989] | 415 | </xsl:template>
|
---|
| 416 |
|
---|
[25371] | 417 | <xsl:template name="editBar">
|
---|
[29172] | 418 | <table style="width:100%; border:none;" id="editBar" class="ui-widget-content"><tr>
|
---|
[25371] | 419 | <td id="editBarLeft" style="width:70%"><xsl:text> </xsl:text></td>
|
---|
| 420 | <td id="editBarRight">
|
---|
| 421 | <div style="text-align:center;">
|
---|
| 422 | <div style="margin:5px;" class="ui-state-default ui-corner-all">
|
---|
| 423 | <a style="padding: 3px; text-decoration:none;" href="{$library_name}?a=g&sa=documentbasket&c=&s=DisplayDocumentList&rt=r&p.c={/page/pageResponse/collection/@name}&docToEdit={/page/pageResponse/document/documentNode/@nodeID}"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.edit_structure')"/></a>
|
---|
| 424 | </div>
|
---|
| 425 | <div style="margin:5px;" class="ui-state-default ui-corner-all">
|
---|
[25462] | 426 | <a id="editContentButton" style="padding: 3px; text-decoration:none;">
|
---|
| 427 | <xsl:attribute name="href">
|
---|
| 428 | <xsl:value-of select="$library_name"/>
|
---|
| 429 | <xsl:text>/collection/</xsl:text>
|
---|
| 430 | <xsl:value-of select="$collName"/>
|
---|
| 431 | <xsl:text>/document/</xsl:text>
|
---|
[26140] | 432 | <xsl:choose>
|
---|
| 433 | <xsl:when test="count(//documentNode) > 0">
|
---|
| 434 | <xsl:value-of select="/page/pageResponse/document/documentNode/@nodeID"/>
|
---|
| 435 | </xsl:when>
|
---|
| 436 | <xsl:otherwise>
|
---|
| 437 | <xsl:value-of select="/page/pageResponse/document/@nodeID"/>
|
---|
| 438 | </xsl:otherwise>
|
---|
| 439 | </xsl:choose>
|
---|
[25462] | 440 | <xsl:if test="not(/page/pageRequest/paramList/param[@name = 'docEdit']/@value = '1')">
|
---|
[29166] | 441 | <xsl:text>?ed=1&docEdit=1</xsl:text>
|
---|
[25462] | 442 | </xsl:if>
|
---|
| 443 | </xsl:attribute>
|
---|
| 444 | <xsl:choose>
|
---|
| 445 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'docEdit']/@value = '1'">
|
---|
| 446 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.hide_editor')"/>
|
---|
| 447 | </xsl:when>
|
---|
| 448 | <xsl:otherwise>
|
---|
| 449 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.edit_content')"/>
|
---|
| 450 | </xsl:otherwise>
|
---|
| 451 | </xsl:choose>
|
---|
| 452 | </a>
|
---|
[25371] | 453 | </div>
|
---|
| 454 | </div>
|
---|
| 455 | </td>
|
---|
| 456 | </tr></table>
|
---|
[25720] | 457 | <gslib:langfrag name="dse"/>
|
---|
[25371] | 458 | </xsl:template>
|
---|
| 459 |
|
---|
[23989] | 460 | <!-- Highlight annotations if requested -->
|
---|
[25720] | 461 | <xsl:template name="displayAnnotation">
|
---|
[23989] | 462 | <xsl:choose>
|
---|
[29399] | 463 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'off'">
|
---|
| 464 | <span class="noTermHighlight"><xsl:value-of select="."/></span>
|
---|
[23989] | 465 | </xsl:when>
|
---|
| 466 | <xsl:otherwise>
|
---|
[29399] | 467 | <span class="termHighlight"><xsl:value-of select="."/></span>
|
---|
[23989] | 468 | </xsl:otherwise>
|
---|
| 469 | </xsl:choose>
|
---|
| 470 | </xsl:template>
|
---|
[25660] | 471 |
|
---|
[24650] | 472 | <!-- The default template for displaying section titles -->
|
---|
[25720] | 473 | <xsl:template name="sectionTitle">
|
---|
[24650] | 474 | <xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Title']"/>
|
---|
| 475 | </xsl:template>
|
---|
| 476 |
|
---|
[26020] | 477 | <xsl:template name="wrappedSectionImage">
|
---|
[25433] | 478 | <gsf:variable name="screenImageWidth"><gsf:metadata name="ScreenWidth"/></gsf:variable>
|
---|
| 479 | <gsf:variable name="screenImageHeight"><gsf:metadata name="ScreenHeight"/></gsf:variable>
|
---|
| 480 | <gsf:variable name="imageWidth"><gsf:metadata name="ImageWidth"/></gsf:variable>
|
---|
| 481 | <gsf:variable name="imageHeight"><gsf:metadata name="ImageHeight"/></gsf:variable>
|
---|
| 482 |
|
---|
| 483 | <xsl:choose>
|
---|
[28164] | 484 | <xsl:when test="metadataList/metadata[@name = 'Screen'] and metadataList/metadata[@name = 'SourceFile'] and ($imageWidth div $screenImageWidth > 1.2) and (not(/page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']) or /page/pageResponse/format[@type='display']/gsf:option[@name='disableZoom']/@value='false')">
|
---|
[25936] | 485 | <div id="image{@nodeID}">
|
---|
| 486 | <div id="wrap{util:replace(@nodeID, '.', '_')}" class="zoomImage" style="position:relative; width: {$screenImageWidth}px; height: {$screenImageHeight}px;">
|
---|
| 487 | <div id="small{util:replace(@nodeID, '.', '_')}" style="position:relative; width: {$screenImageWidth}px; height: {$screenImageHeight}px;">
|
---|
[28622] | 488 | <gsf:link type="source"><gsf:image type="screen"/></gsf:link>
|
---|
[25433] | 489 | </div>
|
---|
[26408] | 490 | <div id="mover{util:replace(@nodeID, '.', '_')}" style="border: 1px solid green; position: absolute; top: 0; left: 0; width: 598px; height: 598px; overflow: hidden; z-index: 100; background: white; display: none;">
|
---|
| 491 | <div id="overlay{util:replace(@nodeID, '.', '_')}" style="width: 600px; height: 600px; position: absolute; top: 0; left: 0; z-index: 200;">
|
---|
[25936] | 492 | <xsl:text> </xsl:text>
|
---|
| 493 | </div>
|
---|
| 494 | <div id="large{util:replace(@nodeID, '.', '_')}" style="position: relative; width: {$imageWidth}px; height: {$imageHeight}px;">
|
---|
[28622] | 495 | <gsf:link type="source"><gsf:image type="source"/></gsf:link>
|
---|
[25936] | 496 | </div>
|
---|
[25433] | 497 | </div>
|
---|
| 498 | </div>
|
---|
[25936] | 499 | <script type="text/javascript">
|
---|
| 500 | <xsl:text disable-output-escaping="yes">
|
---|
| 501 | {
|
---|
| 502 | var nodeID = "</xsl:text><xsl:value-of select="@nodeID"/><xsl:text disable-output-escaping="yes">";
|
---|
| 503 | nodeID = nodeID.replace(/\./g, "_");
|
---|
[25462] | 504 |
|
---|
[25936] | 505 | var bigHeight = </xsl:text><xsl:value-of select="$imageHeight"/><xsl:text disable-output-escaping="yes">;
|
---|
| 506 | var smallHeight = </xsl:text><xsl:value-of select="$screenImageHeight"/><xsl:text disable-output-escaping="yes">;
|
---|
[25462] | 507 |
|
---|
[25936] | 508 | var multiplier = bigHeight / smallHeight;
|
---|
[25433] | 509 |
|
---|
[25936] | 510 | $("#wrap" + nodeID).anythingZoomer({
|
---|
| 511 | smallArea: "#small" + nodeID,
|
---|
| 512 | largeArea: "#large" + nodeID,
|
---|
| 513 | zoomPort: "#overlay" + nodeID,
|
---|
| 514 | mover: "#mover" + nodeID,
|
---|
| 515 | expansionSize:50,
|
---|
| 516 | speedMultiplier:multiplier
|
---|
| 517 | });
|
---|
[26024] | 518 |
|
---|
[29321] | 519 | $("#zoomOptions input").prop("checked", false);
|
---|
[26216] | 520 | $("#zoomOptions").css("display", null);
|
---|
[25936] | 521 | }
|
---|
| 522 | </xsl:text>
|
---|
| 523 | </script>
|
---|
| 524 | </div>
|
---|
[25433] | 525 | </xsl:when>
|
---|
[26020] | 526 | <xsl:otherwise>
|
---|
[25433] | 527 | <div id="image{@nodeID}">
|
---|
| 528 | <xsl:attribute name="style">
|
---|
| 529 | <xsl:choose>
|
---|
| 530 | <xsl:when test="/page/pageRequest/paramList/param[@name = 'view']/@value = 'text'">
|
---|
| 531 | <xsl:text>display:none;</xsl:text>
|
---|
| 532 | </xsl:when>
|
---|
| 533 | <xsl:otherwise>
|
---|
| 534 | <xsl:text>display:block;</xsl:text>
|
---|
| 535 | </xsl:otherwise>
|
---|
| 536 | </xsl:choose>
|
---|
| 537 | </xsl:attribute>
|
---|
[26020] | 538 | <xsl:call-template name="sectionImage"/><xsl:text> </xsl:text>
|
---|
[25433] | 539 | </div>
|
---|
[26020] | 540 | </xsl:otherwise>
|
---|
[25433] | 541 | </xsl:choose>
|
---|
| 542 | </xsl:template>
|
---|
[25837] | 543 |
|
---|
[25824] | 544 | <!-- The default template for displaying the document node text -->
|
---|
[25837] | 545 | <!-- equivalent to gsf:text -->
|
---|
[25824] | 546 | <xsl:template name="documentNodeText">
|
---|
[25433] | 547 | <!-- Hides the "This document has no text." message -->
|
---|
| 548 | <xsl:variable name="noText"><gsf:metadata name="NoText"/></xsl:variable>
|
---|
[28622] | 549 | <xsl:choose>
|
---|
| 550 | <xsl:when test="not($noText = '1')">
|
---|
| 551 |
|
---|
[25837] | 552 | <!-- Section text -->
|
---|
| 553 | <xsl:for-each select="nodeContent">
|
---|
| 554 | <xsl:for-each select="node()">
|
---|
| 555 | <xsl:choose>
|
---|
| 556 | <xsl:when test="not(name())">
|
---|
[25433] | 557 | <xsl:value-of select="." disable-output-escaping="yes"/>
|
---|
[25837] | 558 | </xsl:when>
|
---|
| 559 | <xsl:when test="name() = 'annotation'">
|
---|
| 560 | <xsl:call-template name="displayAnnotation"/>
|
---|
| 561 | </xsl:when>
|
---|
| 562 | <xsl:otherwise>
|
---|
| 563 | <xsl:apply-templates/>
|
---|
| 564 | </xsl:otherwise>
|
---|
| 565 | </xsl:choose>
|
---|
| 566 | </xsl:for-each>
|
---|
[23989] | 567 | </xsl:for-each>
|
---|
[28622] | 568 | </xsl:when>
|
---|
| 569 | <xsl:when test="$noText = '1' and not(metadataList/metadata[@name='Image'])">
|
---|
| 570 | <gsf:link type="source"><gsf:metadata name="Source"/></gsf:link>
|
---|
| 571 | </xsl:when>
|
---|
| 572 | </xsl:choose>
|
---|
| 573 | <xsl:text> </xsl:text>
|
---|
[19856] | 574 | </xsl:template>
|
---|
[25824] | 575 |
|
---|
[23989] | 576 | <!-- Used to produce a version of the page in a format that can be read by the realistic books plugin -->
|
---|
[25720] | 577 | <xsl:template name="documentNodeFlashXML">
|
---|
[23989] | 578 | <xsl:text disable-output-escaping="yes">
|
---|
| 579 | <Section>
|
---|
| 580 | <Description>
|
---|
| 581 | <Metadata name="Title">
|
---|
| 582 | </xsl:text>
|
---|
| 583 | <xsl:value-of select="normalize-space(metadataList/metadata[@name = 'Title'])"/>
|
---|
| 584 | <xsl:text disable-output-escaping="yes">
|
---|
| 585 | </Metadata>
|
---|
| 586 | </Description>
|
---|
| 587 | </xsl:text>
|
---|
| 588 |
|
---|
| 589 | <xsl:value-of select="normalize-space(nodeContent)" disable-output-escaping="yes"/>
|
---|
| 590 |
|
---|
[25660] | 591 | <xsl:for-each select="documentNode">
|
---|
[25720] | 592 | <xsl:call-template name="documentNodeFlashXML"/>
|
---|
[25660] | 593 | </xsl:for-each>
|
---|
[23989] | 594 |
|
---|
| 595 | <xsl:text disable-output-escaping="yes">
|
---|
| 596 | </Section>
|
---|
| 597 | </xsl:text>
|
---|
| 598 | </xsl:template>
|
---|
| 599 |
|
---|
[23813] | 600 | <xsl:template name="externalPage">
|
---|
| 601 | <xsl:param name="external"/>
|
---|
| 602 | <xsl:variable name="go_forward_link">
|
---|
| 603 | <a>
|
---|
| 604 | <xsl:attribute name="href">
|
---|
| 605 | <xsl:value-of select="$external"/>
|
---|
| 606 | </xsl:attribute>
|
---|
| 607 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'external.go_forward')"/>
|
---|
| 608 | </a>
|
---|
| 609 | </xsl:variable>
|
---|
| 610 | <h2><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'external.title')"/></h2>
|
---|
| 611 | <p><xsl:value-of select="util:getInterfaceTextWithDOM($interface_name, /page/@lang, 'external.text', $go_forward_link)" disable-output-escaping="yes"/></p>
|
---|
| 612 | </xsl:template>
|
---|
[19856] | 613 |
|
---|
| 614 | <xsl:template match="/page"><xsl:apply-templates select="/page/pageResponse/document"/></xsl:template> <!-- this to be deleted eventually -->
|
---|
[23989] | 615 |
|
---|
[25371] | 616 | <xsl:template name="documentPre">
|
---|
[24996] | 617 | <xsl:if test="/page/pageResponse/format[@type='display' or @type='browse' or @type='search']/gsf:option[@name='mapEnabled']/@value = 'true'">
|
---|
| 618 | <xsl:call-template name="mapFeatures"/>
|
---|
| 619 | </xsl:if>
|
---|
| 620 | </xsl:template>
|
---|
| 621 |
|
---|
| 622 | <xsl:template name="mapFeatures">
|
---|
[25462] | 623 | <div id="map_canvas" class="map_canvas_full"><xsl:text> </xsl:text></div>
|
---|
[24996] | 624 |
|
---|
[26178] | 625 | <xsl:choose>
|
---|
| 626 | <!-- HIERARCHICAL DOCUMENTS -->
|
---|
| 627 | <xsl:when test="count(//documentNode) > 0">
|
---|
| 628 | <xsl:for-each select="documentNode">
|
---|
| 629 | <xsl:call-template name="mapPlacesNearHere"/>
|
---|
| 630 | </xsl:for-each>
|
---|
| 631 | </xsl:when>
|
---|
| 632 | <!-- SIMPLE DOCUMENTS -->
|
---|
| 633 | <xsl:otherwise>
|
---|
| 634 | <xsl:call-template name="mapPlacesNearHere"/>
|
---|
| 635 | </xsl:otherwise>
|
---|
| 636 | </xsl:choose>
|
---|
[24996] | 637 |
|
---|
| 638 | <div id="jsonNodes" style="display:none;">
|
---|
| 639 | <xsl:text>[</xsl:text>
|
---|
[26139] | 640 | <xsl:choose>
|
---|
| 641 | <!-- HIERARCHICAL DOCUMENTS -->
|
---|
| 642 | <xsl:when test="count(//documentNode) > 0">
|
---|
| 643 | <xsl:for-each select="//documentNode">
|
---|
| 644 | <xsl:if test="metadataList/metadata[@name = 'Latitude'] and metadataList/metadata[@name = 'Longitude']">
|
---|
| 645 | <xsl:text>{</xsl:text>
|
---|
| 646 | <xsl:text disable-output-escaping="yes">"nodeID":"</xsl:text><xsl:value-of select="@nodeID"/><xsl:text disable-output-escaping="yes">",</xsl:text>
|
---|
| 647 | <xsl:text disable-output-escaping="yes">"title":"</xsl:text><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Title']"/><xsl:text disable-output-escaping="yes">",</xsl:text>
|
---|
| 648 | <xsl:text disable-output-escaping="yes">"lat":</xsl:text><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Latitude']"/><xsl:text>,</xsl:text>
|
---|
| 649 | <xsl:text disable-output-escaping="yes">"lng":</xsl:text><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Longitude']"/>
|
---|
| 650 | <xsl:text>}</xsl:text>
|
---|
| 651 | <xsl:if test="not(position() = count(//documentNode))">
|
---|
| 652 | <xsl:text>,</xsl:text>
|
---|
| 653 | </xsl:if>
|
---|
| 654 | </xsl:if>
|
---|
| 655 | </xsl:for-each>
|
---|
| 656 | </xsl:when>
|
---|
| 657 | <!-- SIMPLE DOCUMENTS -->
|
---|
| 658 | <xsl:otherwise>
|
---|
| 659 | <xsl:for-each select="/page/pageResponse/document">
|
---|
| 660 | <xsl:if test="metadataList/metadata[@name = 'Latitude'] and metadataList/metadata[@name = 'Longitude']">
|
---|
| 661 | <xsl:text>{</xsl:text>
|
---|
| 662 | <xsl:text disable-output-escaping="yes">"nodeID":"</xsl:text><xsl:value-of select="@selectedNode"/><xsl:text disable-output-escaping="yes">",</xsl:text>
|
---|
| 663 | <xsl:text disable-output-escaping="yes">"title":"</xsl:text><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Title']"/><xsl:text disable-output-escaping="yes">",</xsl:text>
|
---|
| 664 | <xsl:text disable-output-escaping="yes">"lat":</xsl:text><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Latitude']"/><xsl:text>,</xsl:text>
|
---|
| 665 | <xsl:text disable-output-escaping="yes">"lng":</xsl:text><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name = 'Longitude']"/>
|
---|
| 666 | <xsl:text>}</xsl:text>
|
---|
| 667 | </xsl:if>
|
---|
| 668 | </xsl:for-each>
|
---|
| 669 | </xsl:otherwise>
|
---|
| 670 | </xsl:choose>
|
---|
[24996] | 671 | <xsl:text>]</xsl:text>
|
---|
| 672 | </div>
|
---|
| 673 | </xsl:template>
|
---|
[26178] | 674 |
|
---|
| 675 | <xsl:template name="mapPlacesNearHere">
|
---|
| 676 | <xsl:if test="metadataList/metadata[@name = 'Latitude'] and metadataList/metadata[@name = 'Longitude']">
|
---|
| 677 | <div style="background:#BBFFBB; padding: 5px; margin:0px auto; width:890px;">
|
---|
| 678 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'doc.maps.nearby_docs')"/>
|
---|
| 679 | <img id="nearbyDocumentsToggle" style="margin-left:5px;" src="interfaces/{$interface_name}/images/expand.png">
|
---|
| 680 | <xsl:attribute name="onclick">
|
---|
| 681 | <xsl:text>performDistanceSearch('</xsl:text>
|
---|
| 682 | <xsl:value-of select="@nodeID"/>
|
---|
| 683 | <xsl:text>', '</xsl:text>
|
---|
| 684 | <gsf:metadata name="Latitude"/>
|
---|
| 685 | <xsl:text>', '</xsl:text>
|
---|
| 686 | <gsf:metadata name="Longitude"/>
|
---|
| 687 | <xsl:text>', 2);</xsl:text>
|
---|
| 688 | </xsl:attribute>
|
---|
| 689 | </img>
|
---|
| 690 | <div id="nearbyDocuments"><xsl:text> </xsl:text></div>
|
---|
| 691 | </div>
|
---|
| 692 | </xsl:if>
|
---|
| 693 | </xsl:template>
|
---|
[19856] | 694 | </xsl:stylesheet>
|
---|