1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�9.�The Lire Report Configuration Markup Language</title><meta name="generator" content="DocBook XSL Stylesheets V1.64.1"><link rel="home" href="index.html" title="Lire Developer's Manual"><link rel="up" href="pt03.html" title="Part�III.�Developer's Reference"><link rel="previous" href="ch08.html" title="Chapter�8.�The Lire Report Configuration Specification Markup Language"><link rel="next" href="ch10.html" title="Chapter�10.�The Lire DLF Schema Markup Language"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�9.�The Lire Report Configuration Markup Language</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08.html">Prev</a>�</td><th width="60%" align="center">Part�III.�Developer's Reference</th><td width="20%" align="right">�<a accesskey="n" href="ch10.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="chap:lrcml-doc"></a>Chapter�9.�The Lire Report Configuration Markup Language</h2></div></div><div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch09.html#id2510428">The Lire Report Configuration Markup Language</a></span></dt><dd><dl><dt><span class="section"><a href="ch09.html#id2510510">config element</a></span></dt><dt><span class="section"><a href="ch09.html#id2510547">global element</a></span></dt><dt><span class="section"><a href="ch09.html#id2510573">param element</a></span></dt></dl></dd></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2510428"></a>The Lire Report Configuration Markup Language</h2></div></div><div></div></div><p>Document Type Definition for the Lire Report Configuration Markup Language.</p><p>This DTD defines a grammar that is used to store the Lire
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�9.�The Lire Report Configuration Markup Language</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Lire Developer's Manual"><link rel="up" href="pt03.html" title="Part�III.�Developer's Reference"><link rel="prev" href="ch08.html" title="Chapter�8.�The Lire Report Configuration Specification Markup Language"><link rel="next" href="ch10.html" title="Chapter�10.�The Lire DLF Schema Markup Language"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�9.�The Lire Report Configuration Markup Language</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08.html">Prev</a>�</td><th width="60%" align="center">Part�III.�Developer's Reference</th><td width="20%" align="right">�<a accesskey="n" href="ch10.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="chap:lrcml-doc"></a>Chapter�9.�The Lire Report Configuration Markup Language</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch09.html#id2524715">The Lire Report Configuration Markup Language</a></span></dt><dd><dl><dt><span class="section"><a href="ch09.html#id2524795"><code class="sgmltag-element">config</code> element</a></span></dt><dt><span class="section"><a href="ch09.html#id2524832"><code class="sgmltag-element">global</code> element</a></span></dt><dt><span class="section"><a href="ch09.html#id2524859"><code class="sgmltag-element">param</code> element</a></span></dt></dl></dd></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2524715"></a>The Lire Report Configuration Markup Language</h2></div></div></div><p>Document Type Definition for the Lire Report Configuration Markup Language.</p><p>This DTD defines a grammar that is used to store the Lire
2
2
configuration. The configuration is stored in one or more XML
3
3
files. Parameters set in later configuration files override the
4
4
ones set in the formers. The valid parameter names as well as their
6
6
specification documents.
7
7
</p><p>Elements of this DTD use the
8
8
<span class="type">http://www.logreport.org/LRCML/</span> namespace, which is
9
usually mapped to the <tt class="literal">lrcml</tt> prefix.
9
usually mapped to the <code class="literal">lrcml</code> prefix.
10
10
</p><p>The latest version of the DTD is
11
11
<span class="productnumber">1.0</span> and its public
12
12
identifier is <span class="productname">-//LogReport.ORG//DTD Lire Report
30
30
<!ENTITY % LIRE.pfx "%LRCML.pfx;" >
32
32
</pre><p>Each configuration specification is an XML document which has one
33
<tt class="sgmltag-element">config</tt> as its root element.
33
<code class="sgmltag-element">config</code> as its root element.
34
34
</p><pre class="programlisting">
36
36
<!ENTITY % LRCML.config "%LRCML.pfx;config" >
38
38
<!ENTITY % LRCML.param "%LRCML.pfx;param" >
41
</pre><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2510510"></a><tt class="sgmltag-element">config</tt> element</h3></div></div><div></div></div><p>Root element of a configuration document. It contains
42
presently only one <tt class="sgmltag-element">global</tt> element which is used
41
</pre><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2524795"></a><code class="sgmltag-element">config</code> element</h3></div></div></div><p>Root element of a configuration document. It contains
42
presently only one <code class="sgmltag-element">global</code> element which is used
43
43
to hold the global configuration parameters.
44
44
</p><p>This element doesn't have any attributes.</p><pre class="programlisting">
47
47
<!ATTLIST %LRCML.config;
48
48
%LRCML.xmlns.attr; >
50
</pre></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2510547"></a><tt class="sgmltag-element">global</tt> element</h3></div></div><div></div></div><p>This element starts the global configuration data. (This is
50
</pre></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2524832"></a><code class="sgmltag-element">global</code> element</h3></div></div></div><p>This element starts the global configuration data. (This is
51
51
the only scope currently defined). It contains a list of
52
<tt class="sgmltag-element">param</tt> elements.
52
<code class="sgmltag-element">param</code> elements.
53
53
</p><pre class="programlisting">
55
55
<!ELEMENT %LRCML.global; (%LRCML.param;)+ >
57
</pre></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2510573"></a><tt class="sgmltag-element">param</tt> element</h3></div></div><div></div></div><p>This element contains the parameter's value. The parameter's
58
name is defined in the <tt class="sgmltag-attribute">name</tt>
57
</pre></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2524859"></a><code class="sgmltag-element">param</code> element</h3></div></div></div><p>This element contains the parameter's value. The parameter's
58
name is defined in the <code class="sgmltag-attribute">name</code>
60
</p><p>The <tt class="sgmltag-attribute">value</tt> attribute can be
60
</p><p>The <code class="sgmltag-attribute">value</code> attribute can be
61
61
used to store scalar's value.
62
62
</p><p>When the parameter's type is a list, the values are stored in
63
children <tt class="sgmltag-element">param</tt> elements.
63
children <code class="sgmltag-element">param</code> elements.
64
64
</p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This element has a mixed content type. We should probably
65
use a <tt class="sgmltag-attribute">value</tt> attribute to
65
use a <code class="sgmltag-attribute">value</code> attribute to
66
66
hold scalar values.
67
67
</p></div><pre class="programlisting">