Scroll to navigation

TM::Materialized::XTM(3pm) User Contributed Perl Documentation TM::Materialized::XTM(3pm)

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

2018-07-21 perl v5.24.1