aboutsummaryrefslogblamecommitdiffstats
path: root/data/starthere/section.xsl
blob: fb19cded3ac5c0a8bcb8153e7b02137941bd731f (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                        



                         


                              
                                                             






                          




































                                   
                                    



                        





                                                                              

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

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

<xsl:template match="section">
<html>
  <head>
  <link rel="stylesheet" href="section.css" type="text/css"/>
  </head>
  <body>
    <xsl:apply-templates/>
  </body>
</html>
</xsl:template>

<xsl:template match="content">
<div class="body">
  <xsl:apply-templates/>
</div>
</xsl:template>

<xsl:template match="bar">
<div class="topbar">
  <xsl:apply-templates/>
</div>
</xsl:template>

<xsl:template match="item">
<a href="{@section}">
  <xsl:apply-templates/>
</a>
</xsl:template>

<xsl:template match="title">
<h2>
  <xsl:apply-templates/>
</h2>
</xsl:template>

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

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

<xsl:template match="action">
<a href="start-here:{@id}?{@param}">
  <xsl:apply-templates/>
</a>
</xsl:template>

<xsl:template match="smartbookmark">
<a type="text/smartbookmark" href="{@normal}" rel="{@smart}" title="{@title}">
  <xsl:apply-templates/>
</a><br/>
</xsl:template>

</xsl:stylesheet>