/[ddp]/utils/debiandoc2dbxml/dd2xml.html
ViewVC logotype

Diff of /utils/debiandoc2dbxml/dd2xml.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 552 by osamu, Sun Dec 15 00:15:00 2002 UTC revision 553 by osamu, Sun Dec 15 05:01:53 2002 UTC
# Line 85  $ cvs login Line 85  $ cvs login
85  $ cvs co utils/convert/debian-docbook  $ cvs co utils/convert/debian-docbook
86  $ cd utils/convert/debian-docbook  $ cd utils/convert/debian-docbook
87  $ make  $ make
88  $ cp * ~/sgmlsource-directory  $ cp * ~/sgmlsource-directory # watch out not to overwrite Makefile etc.
89  $ cd ~/sgmlsource-directory  $ cd ~/sgmlsource-directory   # use of mc is easy way :)
90  </pre>  </pre>
91  </p>  </p>
92  <ul>  <ul>
# Line 94  $ cd ~/sgmlsource-directory Line 94  $ cd ~/sgmlsource-directory
94  <p>If foo.sgml includes many files (subset of dtd), heaer is:  <p>If foo.sgml includes many files (subset of dtd), heaer is:
95  <pre>  <pre>
96  &lt;!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [  &lt;!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [
97    ... content
98    ]&gt;
99  </pre>  </pre>
100    Here splitting each start and end of these section will fail.
101  </p>  </p>
102  <p>  <p>
103  If foo.sgml is a single file, header is:  If foo.sgml is a single file, header is:
# Line 175  Now we have got a foo.xml Line 178  Now we have got a foo.xml
178  <pre>  <pre>
179  $ nsgmls -s /usr/share/sgml/declaration/xml.decl foo.xml  $ nsgmls -s /usr/share/sgml/declaration/xml.decl foo.xml
180  </pre>  </pre>
181    <li>Format source
182    <p>
183    In order to make source more readable, some reformatting may be good idea.
184    For example,
185    <pre>
186    $ perl -i -p -e's,</listitem>,</listitem>\n,g' foo.xml
187    </pre>
188    </p>
189    
190  <li>Building output  <li>Building output
191  <p>  <p>
192  There are few strategies to build output.  There are few strategies to build output.

Legend:
Removed from v.552  
changed lines
  Added in v.553

  ViewVC Help
Powered by ViewVC 1.1.5