removed obsolete issues (many of them fixed with AE)
[docutils.git] / sandbox / paultremblay / rst_to_docbook / rst_to_docbook / output.xml
blob222f109c0b8ced54b46c11eb530897e01efb9bac
1 <?xml version="1.0"?>
2 <!DOCTYPE TEI.2 SYSTEM "/home/paul/Documents/data/dtds/docbookx.dtd">
3 <TEI.2><teiHeader><fileDesc><titleStmt><title>
4         Example of reStructure document that can be converted to docbook
5     </title><author>
6             
7             
8                 
9                     <first>
10                         
11                         
12                             <p>
13                                 Paul
14                             </p>
15                         
16                     </first>
17                     <surname>
18                         
19                         
20                             
21                                 Tremblay
22                             
23                         
24                     </surname>
25                     <email>
26                         
27                         
28                             <p>
29                                 <ref target="">
30                                     phthenry@earthlink.net
31                                 </ref>
32                             </p>
33                         
34                     </email>
35                 
36                 
37             
38         </author></titleStmt><publicationStmt><distributor>
39                             none
40                         </distributor></publicationStmt><sourceDesc><p>no source--a manuscript</p></sourceDesc></fileDesc></teiHeader><text><body>
41     
42     
43     <!--
44         author: Paul Tremblay Won't work like that
45     -->
46     <!--
47         start body
48     -->
49     <div rend="1" id="using-snippets-of-code" type="using snippets of code">
50         <head>
51             Using snippets of code
52         </head>
53         <p>
54             How to represent a snippet of code:
55         </p>
56         
57             <example program="">
58                 
59                 
60                     
61                         <title>
62                             
63                             
64                                 <p>
65                                     Processing a variable
66                                 </p>
67                             
68                         </title>
69                     
70                     <literal_block xml:space="preserve">
71                         if var = 5
72   self.__process(var)
73                     </literal_block>
74                 
75             </example>
76         
77         <p>
78             Keep in mind that the docbook should look like:
79         </p>
80         <literal_block xml:space="preserve">
81             &lt;example&gt;
82   &lt;title&gt;A formal example&lt;/title&gt;
83   &lt;programlisting&gt;
84     if var = 5
85     self.__process(var)
86   &lt;/programlisting&gt;
87 &lt;/example&gt;
88         </literal_block>
89         <!--
90             end of example
91         -->
92     </div>
93 </body></text></TEI.2>