Logreport XML Output
Joost van Baal
joostvb at logreport.org
Mon Oct 28 18:11:38 CET 2002
On Mon, Oct 28, 2002 at 11:42:33AM -0500, Francis J. Lacoste wrote:
> On lun, 2002-10-28 at 11:22, Josh Koenig wrote:
> >
> > I'm
> > encountering some minor problems with the way the XML output is done. I
> > don't know if these are bugs or by design, so I'm not sure if I should
> > ask you to make some changes or figure out some XSL acrobatics. Here's
> > an example:
> >
> > <lire:entry>
> > <lire:name value="completed_sessions">Completed_sessions</lire:name>
> > <lire:value></lire:value>
> > <lire:group>
> > <lire:entry>
> > <lire:name>yes</lire:name>
> > <lire:value>950</lire:value>
> > </lire:entry>
> > <lire:entry>
> > <lire:name>no</lire:name>
> > <lire:value>6</lire:value>
> > </lire:entry>
> > </lire:group>
> > </lire:entry>
> >
> > The problem here is the empty <lire:value> tags. To my mind, they aught
> > to be wrapped around the <lire:group> tags, since what we're showing
> > here are a group of values. Does this make sense? Feel free to correct
> > my understanding.
>
> That report wasn't generated by a recent version of Lire (not the CVS
> snapshots nor the latest CVS). The new reports have much more attributes
> on the elements as well as a lot of other elements (column-info,
> group-info and group-summary).
<snip>
FWIW:
The LRML specification is in lrml.dtd, and is quoted in the Lire
Developers Manual, Part III., Chapter 10. The Lire Report Markup
Language.
It says about the entry element:
<!ELEMENT %LIRE.entry; (%LIRE.name;,
(%LIRE.name;|%LIRE.value;|%LIRE.group;)+)>
: the empty <lire:value> tag could just be skipped, since a lire:entry
contains one lire:name, plus at least one of lire:name, lire:value,
lire:group.
> P.S. If you can't build from CVS, please ask for a snapshot of the
> current tree so that you can work with the complete 2.0 reports.
I'm building a CVS snapshot tarball now. I'll give a call once
it's finished.
Bye,
Joost
--
. . http://logreport.com/
| '.| /^LogReport$/
| Lire http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20021028/a1fbc459/attachment.bin
More information about the Development
mailing list