VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/plugins/org.dita.specialization.eclipsemap/xsl/maplink-plugin.xsl@ 99507

最後變更 在這個檔案從99507是 98584,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.1 KB
 
1<?xml version="1.0"?>
2<!-- This file is part of the DITA Open Toolkit project hosted on
3 Sourceforge.net. See the accompanying license.txt file for
4 applicable licenses.-->
5 <!--
6 | (C) Copyright IBM Corporation 2006. All Rights Reserved.
7 *-->
8<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
9
10 <xsl:template match="/*[contains(@class,' eclipsemap/plugin ')][*[(contains(@class,'
11 eclipsemap/primarytocref ') or contains(@class,' eclipsemap/tocref ')) and @format='ditamap']]">
12 <mapcollection>
13 <xsl:for-each select="*[contains(@class,' eclipsemap/primarytocref ') or contains(@class,' eclipsemap/tocref ')]">
14 <xsl:if test="@format='ditamap' and not(@linking='none')">
15 <xsl:apply-templates select="document(@href,/)/*[contains(@class, ' map/map ')]/*">
16 <xsl:with-param name="pathFromMaplist">
17 <xsl:call-template name="getRelativePath"><xsl:with-param name="filename" select="@href"/></xsl:call-template>
18 </xsl:with-param>
19 </xsl:apply-templates>
20 </xsl:if>
21 </xsl:for-each>
22 </mapcollection>
23 </xsl:template>
24
25</xsl:stylesheet>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette