71 lines
2.1 KiB
XML
71 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
This file is part of the DITA Open Toolkit project.
|
|
|
|
Copyright 2004, 2005 IBM Corporation
|
|
|
|
See the accompanying LICENSE file for applicable license.
|
|
-->
|
|
|
|
<xsl:stylesheet version="2.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<!-- software-domain.ent domain: filepath | msgph | userinput | systemoutput | cmdname | msgnum | varname -->
|
|
|
|
<xsl:template match="*[contains(@class,' sw-d/filepath ')]" name="topic.sw-d.filepath">
|
|
<span class="filepath">
|
|
<xsl:call-template name="commonattributes"/>
|
|
<xsl:call-template name="setidaname"/>
|
|
<xsl:apply-templates/>
|
|
</span>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*[contains(@class,' sw-d/msgph ')]" name="topic.sw-d.msgph">
|
|
<samp class="msgph">
|
|
<xsl:call-template name="commonattributes"/>
|
|
<xsl:call-template name="setidaname"/>
|
|
<xsl:apply-templates/>
|
|
</samp>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*[contains(@class,' sw-d/userinput ')]" name="topic.sw-d.userinput">
|
|
<kbd class="userinput">
|
|
<xsl:call-template name="commonattributes"/>
|
|
<xsl:call-template name="setidaname"/>
|
|
<xsl:apply-templates/>
|
|
</kbd>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*[contains(@class,' sw-d/systemoutput ')]" name="topic.sw-d.systemoutput">
|
|
<samp class="sysout">
|
|
<xsl:call-template name="commonattributes"/>
|
|
<xsl:call-template name="setidaname"/>
|
|
<xsl:apply-templates/>
|
|
</samp>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*[contains(@class,' sw-d/cmdname ')]" name="topic.sw-d.cmdname">
|
|
<span class="cmdname">
|
|
<xsl:call-template name="commonattributes"/>
|
|
<xsl:call-template name="setidaname"/>
|
|
<xsl:apply-templates/>
|
|
</span>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*[contains(@class,' sw-d/msgnum ')]" name="topic.sw-d.msgnum">
|
|
<span class="msgnum">
|
|
<xsl:call-template name="commonattributes"/>
|
|
<xsl:call-template name="setidaname"/>
|
|
<xsl:apply-templates/>
|
|
</span>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="*[contains(@class,' sw-d/varname ')]" name="topic.sw-d.varname">
|
|
<var class="varname">
|
|
<xsl:call-template name="commonattributes"/>
|
|
<xsl:call-template name="setidaname"/>
|
|
<xsl:apply-templates/>
|
|
</var>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|