TEI::Lite::Document - TEI::Lite::Document Object
my $document = TEI::Lite::Document->new( 'Corpus' => 0, 'Composite' => 0 ); my $header = $document->addHeader();
TEI::Lite::Document is a object oriented interface to the 'global' structure of a TEI document.
Adds a back matter component to a <text> element that is currently "active".
Adds a back matter component to a composite document.
Adds a front matter component to a composite document.
Adds another document to a corpus document.
Adds a front matter component to a <text> element that is currently "active".
Creates a default header in a TEI document.
Adds another <text> to a composite document.
Returns the active document to the caller.
Returns the active text to the caller.
Returns the back matter of the active document to the caller.
Returns the <body> element of the active document to the caller.
Returns the back matter of the composite document to the caller.
Returns the front matter of the composite document to the caller.
Returns an array of TEI Lite documents contained within a corpus document.
Returns the front matter of the active document to the caller.
Returns the header node of a document.
Returns the active <text> node of a document.
Returns an array of <text> nodes of a document.
Gets/Sets the active document in a TEI corpus document.
Gets/Sets the text node that is considered active in a document.
D. Hageman <dhageman@dracken.com>
TEI::Lite, TEI::Lite::Element, TEI::Lite::Header, TEI::Lite::Utility, XML::LibXML, XML::LibXML::Node, XML::LibXML::Element
Copyright (c) 2002-2005 D. Hageman (Dracken Technologies). All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install TEI::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TEI::Lite
CPAN shell
perl -MCPAN -e shell install TEI::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.