XML::NewsML_G2::Writer::Package_Item - create DOM tree conforming to NewsML-G2 for Package Items
my $w = XML::NewsML_G2::Writer::Package_Item->new (package_item => $pi, scheme_manager => $sm); my $p = $w->create_element('p', class => 'main', _text => 'blah'); my $dom = $w->create_dom();
This module implements the creation of a DOM tree conforming to NewsML-G2 for Package Items. 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.
XML::NewsML_G2::Package_Item instance used to create the output document
Copyright (c) 2014, APA-IT. All rights reserved.
See XML::NewsML_G2 for the license.