summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2004-05-12 01:09:07 +0000
committerShaun McCance <shaunm@src.gnome.org>2004-05-12 01:09:07 +0000
commite7b899c46c23d72ea5f92187952c42f1da89f422 (patch)
tree26d879f4636dd5f36c241e58e984c776783e9ac1 /test
parentf962388e294c54f0335e27e45310378454a49895 (diff)
downloadyelp-xsl-e7b899c46c23d72ea5f92187952c42f1da89f422.tar.gz
- Added funcsynopsis.x001.xml
* test/testdocs/README: * test/testdocs/funcsynopsis.x001.xml: - Added funcsynopsis.x001.xml * xslt/docbook/common/db-chunk.xsl: - Added db.chunk.chunk-id template stub * xslt/docbook/common/db-common.xsl: - Added db.xref.target template * xslt/docbook/html/db2html-block.xsl: - Added db2html.blockquote template, matches blockquote and epigraph - Added db2html.pre template - Matched caption * xslt/docbook/html/db2html-cmdsynopsis.xsl: - Removed all the mode stuff, because it's not needed * xslt/docbook/html/db2html-funcsynopsis.xsl: - Implemented most of the funcsynopsis stuff * xslt/docbook/html/db2html-info.xsl: - Added legalnotice support * xslt/docbook/html/db2html-suppressed.xsl: - Removed suppression of funcsynopsis and cmdsynopsis stuff - Added bridgehead and legalnotice * xslt/docbook/html/db2html-title.xsl: - Removed xsl:element, because of #141532 * xslt/docbook/html/db2html-xref.xsl: - Implemented link * xslt/docbook/html/report.xslt: - Linkified the element names to the DocBook documentation
Diffstat (limited to 'test')
-rw-r--r--test/testdocs/README3
-rw-r--r--test/testdocs/funcsynopsis.x001.xml51
2 files changed, 54 insertions, 0 deletions
diff --git a/test/testdocs/README b/test/testdocs/README
index 9637e3a4..f231effd 100644
--- a/test/testdocs/README
+++ b/test/testdocs/README
@@ -3,3 +3,6 @@ to a newer version of docbook-testdocs, change this file to reflect
the change. If you make a change to one of these files, note that
change in this file so that change can be preserved when upgrading
to newer versions of docbook-testdocs.
+
+These files are not found in docbook-testdocs:
+funcsynopsis.x001.xml
diff --git a/test/testdocs/funcsynopsis.x001.xml b/test/testdocs/funcsynopsis.x001.xml
new file mode 100644
index 00000000..b8ffbe31
--- /dev/null
+++ b/test/testdocs/funcsynopsis.x001.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: funcsynopsis.x001.xml</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Shaun</firstname><surname>McCance</surname>
+ <affiliation><address><email>shaunm@gnome.org</email></address></affiliation>
+</author>
+</articleinfo>
+
+<funcsynopsis>
+ <?db2html.funcsynopsis.style ANSI?>
+ <funcprototype>
+ <funcdef>void <function>crash</function></funcdef>
+ <void/>
+ </funcprototype>
+</funcsynopsis>
+
+<funcsynopsis>
+ <?db2html.funcsynopsis.style KR?>
+ <funcprototype>
+ <funcdef>void <function>crash</function></funcdef>
+ <void/>
+ </funcprototype>
+</funcsynopsis>
+
+<funcsynopsis>
+ <?db2html.funcsynopsis.style ANSI?>
+ <funcprototype>
+ <funcdef>int <function>frobnicate</function></funcdef>
+ <paramdef>int *<parameter>intptr</parameter></paramdef>
+ <paramdef>void *<parameter>voidptr</parameter></paramdef>
+ <paramdef>int (*<parameter>intfunc</parameter>) <funcparams>void *, void *</funcparams></paramdef>
+ <varargs/>
+ </funcprototype>
+</funcsynopsis>
+
+<funcsynopsis>
+ <?db2html.funcsynopsis.style KR?>
+ <funcprototype>
+ <funcdef>int <function>frobnicate</function></funcdef>
+ <paramdef>int *<parameter>intptr</parameter></paramdef>
+ <paramdef>void *<parameter>voidptr</parameter></paramdef>
+ <paramdef>int (*<parameter>intfunc</parameter>) <funcparams>void *, void *</funcparams></paramdef>
+ <varargs/>
+ </funcprototype>
+</funcsynopsis>
+
+</article>