NAME

XML::NewsML_G2::Writer::News_Message - create DOM tree conforming to NewsML-G2 for News Messages

SYNOPSIS

my $w = XML::NewsML_G2::Writer::News_Message->new
    (news_message => $nm, scheme_manager => $sm, g2_version => 2.15);

my $dom = $w->create_dom();

DESCRIPTION

This module implements the creation of a DOM tree conforming to NewsML-G2 for News messages. Depending on the version of the standard specified, a version-dependent role will be applied. For the API of this module, see the documentation of the superclass XML::NewsML_G2::Writer.

ATTRIBUTES

news_message

XML::NewsML_G2::News_Message instance used to create the output document

AUTHOR

Philipp Gortan <philipp.gortan@apa.at>

LICENCE AND COPYRIGHT

Copyright (c) 2014, APA-IT. All rights reserved.

See XML::NewsML_G2 for the license.