NAME

YAX::Constants - constants used by YAX

SYNOPSIS

# import all constants
use YAX::Constants qw/:all/;

# import just the ones you need
use YAX::Constants qw/ELEMENT_NODE TEXT_NODE/;

DESCRIPTION

This module exports constant subs use by YAX nodes as their `type' field. The constants mirror the constants used by the W3C DOM API. The full list is:

ELEMENT_NODE
ATTRIBUTE_NODE
TEXT_NODE
CDATA_SECTION_NODE
ENTITY_REFERENCE_NODE
ENTITY_NODE
PROCESSING_INSTRUCTION_NODE
COMMENT_NODE
DOCUMENT_NODE
DOCUMENT_TYPE_NODE
DOCUMENT_FRAGMENT_NODE
NOTATION_NODE

AUTHOR

Richard Hundt

SEE ALSO

YAX::Element, YAX::Text, YAX::Fragment

LICENSE

This program is free software and may be modified and distributed under the same terms as Perl itself.