diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2004-05-25 06:52:15 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2004-05-25 06:52:15 +0000 |
commit | 74a5fbc255b884524f3eb7a8ccb1db2b94205dc7 (patch) | |
tree | 676643e2216416af1a6cd6c15a35008b302796fe /test | |
parent | eadf8ed98fe39cb1450200dd277c69988a60c7a1 (diff) | |
download | yelp-xsl-74a5fbc255b884524f3eb7a8ccb1db2b94205dc7.tar.gz |
- Made the source view go block-by-block
* test/testdocs/db2html.xsl:
- Made the source view go block-by-block
* xslt/docbook/html/db2html-classsynopsis.xsl:
- Fixed possible problem with trailing modifier in methodsynopsis for C++
- Put stubs in for Python mode
* xslt/docbook/html/db2html-classsynopsis.xsl:
* xslt/docbook/html/db2html-funcsynopsis.xsl
* xslt/docbook/html/db2html-inline.xsl:
- Context-sensitive parameter rendering
Diffstat (limited to 'test')
-rw-r--r-- | test/testdocs/db2html.xsl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/testdocs/db2html.xsl b/test/testdocs/db2html.xsl index 137c1e14..1bd58779 100644 --- a/test/testdocs/db2html.xsl +++ b/test/testdocs/db2html.xsl @@ -3,8 +3,9 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> -<xsl:include href="../../xslt/docbook/html/db2html.xsl"/> +<xsl:import href="../../xslt/docbook/html/db2html.xsl"/> +<!-- <xsl:template match="/*/*[1]/title | /*/title"> <xsl:param name="title_for" select=".."/> <xsl:param name="depth_in_chunk"> @@ -18,6 +19,14 @@ <xsl:apply-templates mode="source.mode" select="/"/> </pre> </xsl:template> +--> + +<xsl:template match="/*/*[preceding-sibling::*][name(.) != 'title']"> + <pre style="margin: 0.8em; padding: 0.8em; background-color: #9EB6D1;"> + <xsl:apply-templates mode="source.mode" select="."/> + </pre> + <xsl:apply-imports/> +</xsl:template> <xsl:template mode="source.mode" match="*"> <xsl:text><</xsl:text> |