<!--

# =============================================================================

# Copyright © 2016 Typéfi Systems. All rights reserved.

#

# Unless required by applicable law or agreed to in writing, software

# is distributed on an "as is" basis, without warranties or conditions of any

# kind, either express or implied.

# =============================================================================

-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tps="http://www.typefi.com/ContentXML" xmlns:xd="http://www.pnp-software.com/XSLTdoc" version="2.0" exclude-result-prefixes="#all">





    
    <xd:doc type="stylesheet">

        
<xd:short>

            Converts glossary (definitions list) and its content.

        
</xd:short>

        
<xd:cvsId>   $Revision$</xd:cvsId>

    
</xd:doc>






    
<xsl:template match="glossary">

        
<xsl:apply-templates select="element() except label" />

    
</xsl:template>





    
<xsl:template match="glossary/label">

        
<xsl:apply-templates />

        
<xsl:text></xsl:text>

    
</xsl:template>





    
<xsl:template match="glossary/title">

        
<tps:p type="{$glossary.title.para.type}">

            
<xsl:apply-templates select="../label" />

            
<xsl:apply-templates />

        
</tps:p>

    
</xsl:template>





    
<xsl:template match="glossary/def-list/def-item">

        
<tps:p type="{$glossary.def-item.para.type}">

            
<xsl:apply-templates />

        
</tps:p>

    
</xsl:template>





    
<xsl:template match="glossary/def-list/def-item/term">

        
<tps:c type="{$glossary.def-item.term.char.type}">

            
<xsl:apply-templates />

            
<xsl:copy-of select="$glossary.def-item.term.separator" />

        
</tps:c>

    
</xsl:template>





    
<xsl:template match="glossary/def-list/def-item/def">

        
<xsl:copy-of select="$glossary.def-item.def.prefix" />

        
<xsl:apply-templates />

    
</xsl:template>



</xsl:stylesheet>













































































v