---
name: "lr_xml2xhtml"
section: "1"
platform: "linux"
package: "lire"
version: "20020214-7"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/lr_xml2xhtml"
---

# lr\_xml2xhtml(1)

generate a XHTML report from a raw xml report

## NAME

lr\_xml2xhtml - generate a XHTML report from a raw xml report

## SYNOPSIS

**lr\_xml2xhtml** **\[options\]** *file*

## OPTIONS

- **-i**

  Generate charts of subreport which have the *charttype* attribute defined, by running [*lr\_xml2png*(1)](/lr_xml2png/1.md).

## DESCRIPTION

**lr\_xml2html** reads a raw xml report from file *file*, and creates a XHTML report from it. It will output a [*tar*(1)](/tar/1.md) file on STDOUT containing a *report* directory and the XHTML files (and optionnaly some charts) in it. One could pipe the output through '⎪ tar xf -' to extract the files in the current directory.

When the **-i** option is used, **lr\_xml2html** will generates PNG charts.

It uses the LR\_ID environment variable in debug messages it prints to stdout.

It uses [*lr\_xslt*(1)](/lr_xslt/1.md) to generate the XHTML.

[*lr\_xml2png*(1)](/lr_xml2png/1.md) is assumed to be in the PATH. Sourcing profile\_lean yields such a PATH.

## SEE ALSO

[*lr\_dlf2xml*(1)](/lr_dlf2xml/1.md), [*lr\_xml2ascii*(1)](/lr_xml2ascii/1.md), [*lr\_xml2html*(1)](/lr_xml2html/1.md)

## VERSION

$Id: lr\_xml2xhtml.pod,v 1.3 2002/01/23 22:01:50 flacoste Exp $

## COPYRIGHT

Copyright (C) 2000-2001 Stichting LogReport Foundation LogReport@LogReport.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

## AUTHOR

Egon Willighagen \<egonw@logreport.org\>
