TEI::Lite::Element
my $tei_p = tei_p(); tie( my @p, 'TEI::Lite::Element', $tei_p ); push( @p, tei_head( "Example Head Element" ), "Regular body of the paragraph ..." ); untie( @p ); print $tei_p->toString( 2 ) . "\n";
TEI::Lite::Element is wrapper for the document object model implemented using a subroutine named after the TEI element it creates with a prefix of tei_ attached. Each subroutine returns a DOM element that can be included in a DOM tree.
Each function returns an object based on an instance of a XML::LibXML::Element. All methods associated with XML::LibXML::Element objects will work with the objects returned by the functions listed below.
Until I have time to document each individual element, please see the TEILite specification and the example programs included in the distribution.
D. Hageman <dhageman@dracken.com>
TEI::Lite, TEI::Lite::Document, 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.