CSS::SAC::Selector::Sibling - SAC SiblingSelector
This is a subclass of CSS::SAC::Selector, look there for more documentation.
This class adds the methods described below.
This subclass also defines the constants for the DOM nodes. It
uses the same constants as the DOM, and adds the ANY_NODE constant which
matches any node.
- 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
- ANY_NODE
These also exist in spec style, simply prepend them with 'get'.
- CSS::SAC::Selector::Sibling->new($type,$node_type,$sel,$sibling_sel)
=item *
$ssel->new($type,$node_type,$sel,$sibling_sel)
Creates a new sibling selector.
- $ssel->NodeType([$node_type])
get/set the node type to which we apply
- $ssel->Selector([$sel])
get/set the selector's sub selector
- $ssel->SiblingSelector([$sib_sel])
get/set the selector's sibling selector
Robin Berjon <robin@knowscape.com>
This module is licensed under the same terms as Perl itself.