NAME

XML::ASX::Repeat - Repeat a block of XML::ASX::Entry

SYNOPSIS

use XML::ASX::Repeat;
my $repeat = XML::ASX::Repeat->new;
$repeat->count(3);
$ent1 = $repeat->add_entry;
$ent->url('http://www.com/1.asf');
$ent1 = $repeat->add_entry;
$ent->url('http://www.com/2.asf');
print $repeat;

DESCRIPTION

The Repeat tag is parented by the ASX tag and can contain ENTRY tags. The effect is to cause the contained ENTRYs to be repeated (collated) the number of times specified by the COUNT attribute of the Repeat tag.

The code snippet from the synopsis will produce this:

<Repeat COUNT="3">
  <Entry><Ref href="http://www.com/1.asf"></Entry>
  <Entry><Ref href="http://www.com/2.asf"></Entry>
</Repeat>

METHODS

ACCESSORS

count() - how many times should the block be repeated?

AUTHOR

Allen Day, <allenday@ucla.edu>

SEE ALSO

Video::Info