view docs/xslt/content.xslt @ 4064:5b776ad53c3c

Proper SSL shutdown handling. If connection has unsent alerts, SSL_shutdown() tries to send them even if SSL_set_shutdown(SSL_RECEIVED_SHUTDOWN|SSL_SENT_SHUTDOWN) was used. This can be prevented by SSL_set_quiet_shutdown(). SSL_set_shutdown() is required nevertheless to preserve session.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 01 Sep 2011 13:49:36 +0000
parents 131adbb6c82d
children da811964e37c
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

   <xsl:template match="section[@name and @title]">

      <a name="{@name}"/> 
      <center>
         <h4>
            <xsl:value-of select="@title"/>
         </h4>
      </center>

      <xsl:apply-templates/>
   </xsl:template>

   <xsl:template match="section[not(@name) and @title]">

      <center>
         <h4>
            <xsl:value-of select="@title"/>
         </h4>
      </center>

      <xsl:apply-templates/>
   </xsl:template>

   <xsl:template match="section[not(@name) and not(@title)]">
      <xsl:apply-templates/>
   </xsl:template>

   <xsl:template match="para"> 
      <p>
         <xsl:apply-templates/>
      </p>
   </xsl:template>

   <xsl:template match="value"> 
      <i>
         <xsl:apply-templates/>
      </i>
   </xsl:template>

</xsl:stylesheet>