Regen after makefile changes.

This commit is contained in:
Ruslan Ermilov 2011-08-09 15:15:36 +00:00
parent aa64c39b20
commit b0067b6853
3 changed files with 37 additions and 31 deletions

View File

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="section[@name and @title]"> <xsl:template match="section[@name and @title]">
<a name="{@name}"/> <a name="{@name}"/>
<center> <center>
<h4> <h4>
<xsl:value-of select="@title"/> <xsl:value-of select="@title"/>
</h4> </h4>
</center> </center>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:template> </xsl:template>
<xsl:template match="section[not(@name) and @title]"> <xsl:template match="section[not(@name) and @title]">
<center> <center>
<h4> <h4>
<xsl:value-of select="@title"/> <xsl:value-of select="@title"/>
</h4> </h4>
</center> </center>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:template> </xsl:template>
<xsl:template match="section[not(@name) and not(@title)]"> <xsl:template match="section[not(@name) and not(@title)]">
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:template> </xsl:template>
<xsl:template match="para"> <xsl:template match="para">
<p> <p>
<xsl:apply-templates/> <xsl:apply-templates/>
</p> </p>
</xsl:template> </xsl:template>
<xsl:template match="value"> <xsl:template match="value">
<i> <i>
<xsl:apply-templates/> <xsl:apply-templates/>
</i> </i>
</xsl:template> </xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@ -1,36 +1,40 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="directive"> <xsl:template match="directive">
<a name="{@name}"/> <a name="{@name}"/>
<center> <center>
<h4> <h4>
<xsl:value-of select="@name"/> <xsl:value-of select="@name"/>
</h4> </h4>
</center> </center>
<xsl:apply-templates select="syntax"/> <xsl:apply-templates select="syntax"/>
<xsl:apply-templates select="default"/> <xsl:apply-templates select="default"/>
<xsl:apply-templates select="context"/> <xsl:apply-templates select="context"/>
<xsl:apply-templates select="para"/> <xsl:apply-templates select="para"/>
</xsl:template> </xsl:template>
<xsl:template match="syntax"> <xsl:template match="syntax">
<xsl:text>syntax: </xsl:text> <xsl:text>syntax: </xsl:text>
<xsl:apply-templates/> <xsl:apply-templates/>
<br/> <br/>
</xsl:template> </xsl:template>
<xsl:template match="default"> <xsl:template match="default">
<xsl:text>default: </xsl:text> <xsl:text>default: </xsl:text>
<xsl:apply-templates/> <xsl:apply-templates/>
<br/> <br/>
</xsl:template> </xsl:template>
<xsl:template match="context"> <xsl:template match="context">
<xsl:text>context: </xsl:text> <xsl:text>context: </xsl:text>
<xsl:apply-templates/> <xsl:apply-templates/>
<br/> <br/>
</xsl:template> </xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@ -10,25 +10,27 @@
<xsl:variable select="/module/@link" name="LINK"/> <xsl:variable select="/module/@link" name="LINK"/>
<xsl:include href="directive.xslt"/> <xsl:include href="directive.xslt"/>
<xsl:include href="content.xslt"/> <xsl:include href="content.xslt"/>
<xsl:template match="/module"> <xsl:template match="/module">
<html> <html>
<head> <head>
<title> <title>
<xsl:value-of select="@title"/> <xsl:value-of select="@title"/>
</title> </title>
</head> </head>
<body> <body>
<xsl:apply-templates/> <xsl:apply-templates/>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>