[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Missing Text in Nested Lists
Hi, I have been using DocBook XSL stylesheets in conjunction with AsciiDoc to create html files. AsciiDoc might produce something like the attached XML file (error.xml), which contains a nested list. However, when I apply stylesheets to it, some text disappears as indicated below. 1. List Item #1. 2. List Item #2. <-- THIS ITEM DISAPPEARS a. Nested List Item #1. b. Nested List Item #2. c. Nested List Item #3. 3. List Item #3. I have been using the following command: >> xsltproc -o error.html DOCBOOK_DIR/xhtml/docbook.xsl error.xml where DOCBOOK_DIR is the DocBook installation directory for docbook-xsl-1.75.0. Can someone explain what's wrong? Mitchell
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article lang="en">
<articleinfo>
<title>Nested Lists Error</title>
</articleinfo>
<orderedlist numeration="arabic">
<listitem>
<simpara>
List item #1.
</simpara>
</listitem>
<listitem>
<simpara>
List item #2 (this text disappears).
</simpara>
<orderedlist numeration="loweralpha">
<listitem>
<simpara>
Nested list item #1.
</simpara>
</listitem>
<listitem>
<simpara>
Nested list item #2.
</simpara>
</listitem>
<listitem>
<simpara>
Nested list item #3.
</simpara>
</listitem>
</orderedlist>
</listitem>
<listitem>
<simpara>
List item #3
</simpara>
</listitem>
</orderedlist>
</article>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]