~srichter/z3c.rml/trunk

« back to all changes in this revision

Viewing changes to src/z3c/rml/tests/input/tag-ul-ol-li.rml

  • Committer: srichter
  • Date: 2012-12-20 04:07:15 UTC
  • Revision ID: svn-v4:62d5b8a3-27da-0310-9561-8e5933582275:z3c.rml/trunk:128798
- Implemented ``ol``, ``ul``, and ``li`` directives, which allow highly
  flexible lists to be created. Also implemented a complimentary ``listStyle``
  directive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
 
2
<!DOCTYPE document SYSTEM "rml.dtd">
 
3
 
 
4
<document
 
5
    filename="tag-ul-ol-li.pdf"
 
6
    xmlns:doc="http://namespaces.zope.org/rml/doc">
 
7
  <template>
 
8
    <pageTemplate id="main">
 
9
      <frame id="first" x1="1cm" y1="1cm" width="19cm" height="26cm"/>
 
10
    </pageTemplate>
 
11
  </template>
 
12
  <story>
 
13
    <ol bulletColor="orange" bulletFontName="Times-Roman">
 
14
      <li bulletColor="gray" bulletFontName="Helvetica">
 
15
        <para>Welcome to RML 1</para>
 
16
      </li>
 
17
      <li>
 
18
        <ul bulletColor="red" bulletFontName="Times-Roman" bulletFontSize="8"
 
19
            rightIndent="10" bulletOffsetY="-1">
 
20
          <li value="disc" bulletFontName="Helvetica">
 
21
            <para>unordered 1</para>
 
22
          </li>
 
23
          <li value="square" bulletColor="blue">
 
24
            <para>unordered 2</para>
 
25
          </li>
 
26
          <li value="diamond" bulletColor="green">
 
27
            <para>unordered 3</para>
 
28
          </li>
 
29
          <li value="rarrowhead" bulletColor="yellow">
 
30
            <para>unordered 4</para>
 
31
          </li>
 
32
        </ul>
 
33
      </li>
 
34
    </ol>
 
35
  </story>
 
36
</document>