View on
MetaCPAN
Richard Hundt > YAX-0.03 > YAX::Constants

Download:
YAX-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: