---
name: "Publican::Builder::DocBook4"
section: "3pm"
platform: "linux"
package: "publican"
version: "4.3.2-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Publican::Builder::DocBook4"
---

# Publican::Builder::DocBook4(3pm)

A module to Convert XML to various output formats

## NAME

Publican::Builder::DocBook4 - A module to Convert XML to various output formats

## SYNOPSIS

```
    use Publican::Builder::DocBook4;
    my $builder = Publican::Builder::DocBook4->new();
    $builder->clean_ids();
```

## DESCRIPTION

Manipulate DocBook 4 XML and convert to other formats.

## INTERFACE

### new

Create a new Publican::Builder::DocBook4 object.

### setup\_xml

Create the proper directory structure for the XML, including copying in Brand files.

### clean\_ids

Travers over the source XML and update the id's to match the standard format.

Updates all existing PO files with the new xref links.

### validate\_xml

Ensure the XML validates against the DTD.

To debug the XML catalogs

export XML\_DEBUG\_CATALOG=1

test...

unset XML\_DEBUG\_CATALOG

### get\_author\_list

Return the author list for the supplied language.

## DIAGNOSTICS

- "unknown args %s"

  All subs with named parameters will return this error when unexpected named arguments are provided.

- "%s is a required argument"

  Any sub with a mandatory parameter will return this error if the parameter is undef.

## CONFIGURATION AND ENVIRONMENT

Publican requires no configuration files or environment variables.

## DEPENDENCIES

Carp version Publican Publican::XmlClean Publican::Translate File::Path File::pushd File::Find XML::LibXML Cwd Archive::Tar DateTime DateTime::Format::DateParse Syntax::Highlight::Engine::Kate HTML::TreeBuilder HTML::FormatText Term::ANSIColor POSIX

## INCOMPATIBILITIES

None reported.

## BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to `"publican-list@redhat.com"`, or through the web interface at \<https://bugzilla.redhat.com/bugzilla/enter\_bug.cgi?product=Publican&component=publican\>.

## AUTHOR

Jeff Fearn  `"<jfearn@redhat.com>"`
