TM::Materialized::XTM - Topic Maps, Parsing and dumping of XTM instances.
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;
This package provides parsing and dumping functionality for XTM 1.0 instances. See TM::Serializable::XTM for details.
The constructor expects a hash as described in TM::Materialized::Stream.
TM, TM::Materialized::Stream
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
To install TM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TM
CPAN shell
perl -MCPAN -e shell install TM
For more information on module installation, please visit the detailed CPAN module installation guide.