VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/xsl/common/ui-d2textonly.xsl@ 98727

Last change on this file since 98727 was 98584, checked in by vboxsync, 2 years ago

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 815 bytes
Line 
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<!-- (c) Copyright IBM Corporation 2010. All Rights Reserved. -->
6<xsl:stylesheet version="1.0"
7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns:dita-ot="http://dita-ot.sourceforge.net/ns/201007/dita-ot"
9 exclude-result-prefixes="dita-ot"
10 >
11
12 <xsl:template match="*[contains(@class, ' ui-d/uicontrol ')]" mode="dita-ot:text-only">
13 <xsl:if test="parent::*[contains(@class,' ui-d/menucascade ')] and preceding-sibling::*[contains(@class, ' ui-d/uicontrol ')]">
14 <xsl:text> > </xsl:text>
15 </xsl:if>
16 <xsl:apply-templates select="*|text()" mode="dita-ot:text-only"/>
17 </xsl:template>
18
19</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.

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