---
name: "TM::Materialized::XTM"
section: "3pm"
platform: "linux"
package: "libtm-perl"
version: "1.56-7"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/TM::Materialized::XTM"
---

# TM::Materialized::XTM(3pm)

Topic Maps, Parsing and dumping of XTM instances.

## NAME

TM::Materialized::XTM - Topic Maps, Parsing and dumping of XTM instances.

## SYNOPSIS

```
  use TM::Materialized::XTM;
  my $tm = new TM::Materialized::XTM (inline => '....xtm here...');
  $tm->sync_in;
  # ...
  # or
  my $tm = new TM::Materialized::XTM (file => 'test.xtm');
  # ...
  $tm->sync;
  # or
  my $tm  = ... however you arrive at a map
  my $xml = $tm->sync_out;
```

## DESCRIPTION

This package provides parsing and dumping functionality for XTM 1.0 instances. See TM::Serializable::XTM for details.

## INTERFACE

### Constructor

The constructor expects a hash as described in TM::Materialized::Stream.

## SEE ALSO

TM, TM::Materialized::Stream

## AUTHOR INFORMATION

Copyright 200\[1-68\], Robert Barta \<drrho@cpan.org\>, All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.  http://www.perl.com/perl/misc/Artistic.html
