NAME
XML::Grammar::Screenplay::Struct::Tag - information about an XML/SGML opening or closing tag.
For internal use only.
VERSION
Version 0.1.2
METHODS
$self->name()
The tag's name.
$self->line()
The tag's line number.
$self->is_standalone()
Determines whether it's a standalone tag or not. (if it's an opening tag).
$self->attrs()
The attributes of the opening tag in an array.
$self->children()
A placeholder for the element's children.
$self->append_children(\@children)
Append more elements to the children.
$self->append_child($child)
Appends a single child. Uses append_children()
.
my $children = $self->detach_children()
Detaches the children and returns them as an array reference.
AUTHOR
Shlomi Fish, http://www.shlomifish.org/.
BUGS
Please report any bugs or feature requests to bug-xml-grammar-fiction at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-Grammar-Fiction. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2007 Shlomi Fish, all rights reserved.
This program is released under the following license: MIT X11.