XML::NewsML_G2::News_Message - a container that can hold multiple News or Package Items
my $nm = XML::NewsML_G2::News_Message->new(); my $ni_text = XML::NewsML_G2::News_Item_Text->new(%text_params); my $ni_picture = XML::NewsML_G2::News_Item_Picture->new(%pic_params); $nm->add_item($ni_text); $nm->add_item($ni_picture);
Timestemp generated automatically
Intended target for news message
A collection of news and/or package items
Stefan Hrdlicka <stefan.hrdlicka@apa.at>
<stefan.hrdlicka@apa.at>
Copyright (c) 2013, APA-IT. All rights reserved.
See XML::NewsML_G2 for the license.
To install XML::NewsML_G2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::NewsML_G2
CPAN shell
perl -MCPAN -e shell install XML::NewsML_G2
For more information on module installation, please visit the detailed CPAN module installation guide.