Taxi::Mysql::Format::XMLBibl - hit formatter: XML with bibliographic header |
Taxi::Mysql::Format::XMLBibl - hit formatter: XML with bibliographic header
##======================================================================== ## PRELIMINARIES
use Taxi::Mysql::Format::XMLBibl;
##======================================================================== ## Constructors etc.
$hit = $CLASS_OR_OBJ->new(%args);
##======================================================================== ## XML Generation
$hitElt = $fmt->hitElement($hit);
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.
Taxi::Mysql::Format::XMLBibl inherits from and implements the API specified by Taxi::Mysql::Format::XML.
$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) ... }
$hitElt = $fmt->hitElement($hit);
Generate and return an XML::LibXML::Element representing a single Hit $hit.
Perl by Larry Wall.
Bryan Jurish <moocow@ling.uni-potsdam.de>
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.
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).
Taxi::Mysql::Format::XMLBibl - hit formatter: XML with bibliographic header |