Menu

#7 Export to DocBook XML

open
nobody
None
5
2002-04-04
2002-04-04
No

The DocBook XML DTD provides a "Question and Answer Set"
(quandaset) hierarchy that can be used to capture the
content and logical structure of a FAQ (see below).

See also:

http://www.jonh.net/cgi-bin/faqomatic/fom?file=1606

Adding an "Export to DocBook XML" enhancement to the
FAQ-O-Matic would enable a snapshot of a FAQ to be
generated in a presentation-neutral form. That content
could then be re-used/included in the source for other
documents, transformed into other delivery formats (PDF,
man pages, Microsoft HTML Help), etc.

<!DOCTYPE article
PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/cygwin/usr/local/xml/docbook/docbookx.dtd"
>
<article class="faq">
<title>FAQ-O-Matic FAQ-O-Matic</title>
<qandaset defaultlabel="none">
<qandadiv>
<title>XML Support</title>
<qandaentry>
<question>
<para>How can you get the structured content
of your FAQ out, and into some form other
than HTML or text?...</para>
</question>
<answer>
<para>There is an unrefined internal OO
API...</para>
<para role="answerinfo">
<phrase role="date">
2002-Apr-03 8:07am
</phrase>
<address>
<email>jonh@cs.dartmouth.edu</email>
</address>
</para>
</answer>
</qandaentry>
</qandadiv>
</qandaset>
</article>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.