This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Q & A TOC missing literal elements
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Q & A TOC missing literal elements
- From: Vladimir G Ivanovic <vladimir at acm dot org>
- Date: Fri, 07 Sep 2001 10:06:41 -0700
- List-Id: <docbook-apps.lists.oasis-open.org>
The <literal> elements in my <question> elements are not passed through
to the Q & A's table of contents. Is there something I'm not doing that
should be?
--- Vladimir
Vladimir G. Ivanovic http://leonora.org/~vladimir
2770 Cowper St. vladimir@acm.org
Palo Alto, CA 94306-2447 +1 650 678 8014
--------
[qandatest.xml]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/usr/local/docbook/docbookx-4.1.2/docbookx.dtd">
<article class="faq">
<title>Literal Elements Missing in QandA TOC</title>
<qandaset>
<qandadiv>
<qandaentry>
<question><para><literal>docbook</literal></para></question>
</qandaentry>
</qandadiv>
</qandaset>
</article>
[processing command]
$ java com.icl.saxon.StyleSheet -o qandatest.html qandatest.xml /usr/local/docbook/docbook-xsl-1.44/xhtml/docbook.xsl
[Tidy'ed output]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />
<title>Literal Elements Missing in QandA TOC</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.44" />
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084"
alink="#0000FF">
<div class="article">
<div class="titlepage">
<div>
<h2 class="title"><a id="d0e1" name="d0e1" />Literal Elements Missing
in QandA TOC</h2>
</div>
<hr />
</div>
<div class="qandaset">
<dl>
<dt />
<dd>
<dl>
<dt>1. <a href="#d0e7">docbook</a></dt>
</dl>
</dd>
</dl>
<div class="qandadiv">
<div class="qandaentry">
<div class="question">
<p><a id="d0e7" name="d0e7" /><strong>1.</strong>
<tt>docbook</tt></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>