Taxi::Mysql::Format::XMLBibl - hit formatter: XML with bibliographic header


NAME

Taxi::Mysql::Format::XMLBibl - hit formatter: XML with bibliographic header

(Back to Top)


SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 use Taxi::Mysql::Format::XMLBibl;
 ##========================================================================
 ## Constructors etc.
 $hit = $CLASS_OR_OBJ->new(%args);
 ##========================================================================
 ## XML Generation
 $hitElt = $fmt->hitElement($hit);

(Back to Top)


DESCRIPTION

Taxi::Mysql::Format::XML is a class for formatting HitList objects as a series of nested XML records, each of which consists of a hit-global metadata header as well as a flat list of hit tokens.

Globals etc.

Variable: @ISA

Taxi::Mysql::Format::XMLBibl inherits from and implements the API specified by Taxi::Mysql::Format::XML.

Constructors etc.

new
 $hit = $CLASS_OR_OBJ->new(%args);

Object structure / known %args:

   {
    ##-- new data in XMLBibl
    xmlBiblElt  => $eltName,    ##-- name of hit-wise header element
    xmlNAttr    => $attrName,   ##-- name of token-counter attribute (default='n')
    xmlBiblCols => \%cols,      ##-- key pseudo-set: bibliographic columns from hit query: (default=none)
    ##... (inherited stuff from XML, Base, ../Format) ...
   }

XML Generation

hitElement
 $hitElt = $fmt->hitElement($hit);

Generate and return an XML::LibXML::Element representing a single Hit $hit.

(Back to Top)


ACKNOWLEDGEMENTS

Perl by Larry Wall.

(Back to Top)


AUTHOR

Bryan Jurish <moocow@ling.uni-potsdam.de>

(Back to Top)


COPYRIGHT AND LICENSE

Copyright (C) 2006 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

(Back to Top)


SEE ALSO

perl(1), Taxi::Mysql(3perl), Taxi::Mysql::Format(3perl), Taxi::Mysql::Format::Base(3perl), Taxi::Mysql::Format::XML(3perl), Taxi::Mysql::Format::XSLT(3perl), Taxi::Mysql::Format::XSLTBibl(3perl), Taxi::Mysql::Format::HTML(3perl).

(Back to Top)

 Taxi::Mysql::Format::XMLBibl - hit formatter: XML with bibliographic header