NAME
XML::Rabbit::Node - Node base class
VERSION
version 0.0.4
SYNOPSIS
package MyXMLSyntaxNode;
use Moose;
with 'XML::Rabbit::Node';
has title => (
isa => 'Str',
traits => [qw(XPathValue)],
xpath_query => './@title',
);
no Moose;
__PACKAGE__->meta->make_immutable();
1;
DESCRIPTION
This module provides the base node attribute used to hold a specific node in the XML document tree.
See XML::Rabbit for a more complete example.
ATTRIBUTES
node
An instance of a XML::LibXML::Node class representing a node in an XML document tree. Read Only.
xpc
An instance of a XML::LibXML::XPathContext class initialized with the node
attribute. Read Only.
AUTHOR
Robin Smidsrød <robin@smidsrod.no>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Robin Smidsrød.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.