---
name: "mkxmltype"
section: "1p"
platform: "linux"
package: "libxml-dt-perl"
version: "0.69-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mkxmltype"
---

# mkxmltype(1p)

Make XML analysis using XML::DT

## NAME

mkxmltype - Make XML analysis using XML::DT

## SYNOPSIS

```
  mkxmltype <xmlfile>
```

## DESCRIPTION

This command tries to infer DTD and Camlila-like types for a specific XML file;

## Options

```
 -latin1             input file encoding is forced to be latin1
 -html               uses html (libxml2) parser
 -show_att           Show attribute values
 -expand_att_id
 -lines=20000        just reads the first 20000 lines of the XML file
 -t
 -class              '<div class="a" id="b">'... is treated as 'div+a+b'
 -shell              Enter interactive shell mode
```

## SEE ALSO

**XML::DT**(1), **mkdtskel**(1), mkdtdskel and [**perl**(1)](/perl/1.md)
