diff options
Diffstat (limited to 'test/testdocs/cmdsynopsis.003.xml')
-rw-r--r-- | test/testdocs/cmdsynopsis.003.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/test/testdocs/cmdsynopsis.003.xml b/test/testdocs/cmdsynopsis.003.xml new file mode 100644 index 00000000..0a283aa6 --- /dev/null +++ b/test/testdocs/cmdsynopsis.003.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> +<article id="cmdsynopsis.003"> +<articleinfo> +<title>Unit Test: cmdsynopsis.003</title> +<releaseinfo role="CVS">$Id: cmdsynopsis.003.xml 4056 2004-11-23 13:28:50Z nwalsh $</releaseinfo> +<author><firstname>Adam</firstname><surname>Di Carlo</surname> + <affiliation><address><email>adam@onshored.com</email></address></affiliation> +</author> +</articleinfo> + <para> + Lets refer to <xref linkend="foo"/>. + </para> + <refentry id="foo"> + <refnamediv> + <refname>testing</refname> + <refpurpose> + Testing more cmdsynopsis stuff, esp. permutations of grouped + arguments. + </refpurpose> + </refnamediv> + + <refsynopsisdiv> + <cmdsynopsis> + <command>foo</command> + + <!-- optional --> + <group choice="opt"> + <arg>-foo</arg> + <arg>-bar</arg> + </group> + + <!-- repeating optional --> + <group choice="opt" rep="repeat"> + <arg>-re</arg> + <arg>-peat</arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1> + <title>Description</title> + <para>This is a dummy description.</para> + </refsect1> + </refentry> + +</article> |