This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/manuals/userman/userman.xsl
pmoura 2d7ccc1278 Logtalk 2.28.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1712 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-07 18:11:49 +00:00

67 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xsl:output
method="xml"
indent="yes"
encoding="utf-8"
omit-xml-declaration="yes"/>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="xhtml:html">
<xsl:apply-templates select="node()|@*"/>
</xsl:template>
<xsl:template match="xhtml:head">
</xsl:template>
<xsl:template match="xhtml:body">
<xsl:apply-templates select="node()|@*"/>
</xsl:template>
<xsl:template match="xhtml:div[@class='top-right']">
<div class="top-right">
<span class="chapter"/>
</div>
</xsl:template>
<xsl:template match="xhtml:div[@class='footer']">
</xsl:template>
<xsl:template match="xhtml:h1/xhtml:a[@id]">
<span>
<xsl:attribute name="id">
<xsl:value-of select="@id"/>
</xsl:attribute>
<xsl:value-of select="."/>
</span>
</xsl:template>
<xsl:template match="xhtml:h2/xhtml:a[@id]">
<span>
<xsl:attribute name="id">
<xsl:value-of select="@id"/>
</xsl:attribute>
<xsl:value-of select="."/>
</span>
</xsl:template>
<xsl:template match="xhtml:h3/xhtml:a[@id]">
<span>
<xsl:attribute name="id">
<xsl:value-of select="@id"/>
</xsl:attribute>
<xsl:value-of select="."/>
</span>
</xsl:template>
</xsl:stylesheet>