NAME

xDT::Parser - A Parser for xDT files.

VERSION

Version 1.00

SYNOPSIS

Can be used to open xdt files and to iterate over contained objects.

use xDT::Parser;

my $parser = xDT::Parser->new();
# or
my $parser = xDT::Parser->new($configFile);

# A config file must be in XML format and can be used to add
# metadata (like accessor string or labels) to each record type.

$parser->open($xdtFile);

my $object = $parser->nextObject();
# ...

$parser->close();

ATTRUBITES

fh

FileHandle to the currently open file.

config

The file where configurations of this parser are stored.

SUBROUTINES/METHODS

open($xdtFile)

Sets the parsers filehandle on this file. More information about the file format can be found at http://search.cpan.org/dist/xDT-RecordType/.

close

Closes the parsers filehandle

nextObject

Returns the next object of the xDT file.

AUTHOR

Christoph Beger, <christoph.beger at imise.uni-leipzig.de>

BUGS

Please report any bugs or feature requests to bug-xdt-parser at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=xDT-Parser. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc xDT::Parser

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2017 Christoph Beger.

This program is released under the following license: MIT