]> granicus.if.org Git - docbook-dsssl/commitdiff
test rendering of userinput and computeroutput and others
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 11 Nov 2004 19:48:20 +0000 (19:48 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 11 Nov 2004 19:48:20 +0000 (19:48 +0000)
testdocs/tests/inline.002.xml [new file with mode: 0644]

diff --git a/testdocs/tests/inline.002.xml b/testdocs/tests/inline.002.xml
new file mode 100644 (file)
index 0000000..d45fa34
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
+<article id="article">
+  <articleinfo>
+    <title>Unit Test: inline.002.xml</title>
+    <releaseinfo role="CVS">$Id$</releaseinfo>
+    <author><firstname>Michael</firstname><surname>Smith</surname>
+    <affiliation><address><email>smith@sideshowbarker.net</email></address></affiliation>
+    </author>
+  </articleinfo>
+
+  <para>This article tests <sgmltag>userinput</sgmltag> and
+  <sgmltag>computeroutput</sgmltag> and maybe eventually some of the
+  other "computer" inlines whose HTML renderings people like to argue
+  about.</para>
+
+  <section><title>Computer stuff</title>
+
+  <para>Sometimes when you are working at a computer, things will go
+  sorta like the following. You type in something:
+  <literallayout><userinput><command>tail</command>&#xa0;<option>-f</option>&#xa0;<filename>mta.log</filename></userinput></literallayout>
+  And then the computer outputs something like:
+  <literallayout><computeroutput>stuff here
+then more stuff here
+and further stuff here</computeroutput></literallayout></para>
+  </section>
+
+</article>