struct XML::Node

Superclass hierarchy

Object
Value
Struct
XML::Node

Defined in:

Constant Summary

Class Method Summary

Instance Method Summary

Class Method Detail

def self.new(node : Pointer(LibXML::Attr))

def self.new(node : LibXML::DocPtr)

def self.new(node : Pointer(LibXML::Node))

Instance Method Detail

def ==(other : Node)

def [](attribute : String)

def []?(attribute : String)

def attribute?

def attributes

def cdata?

def children

def comment?

def content

def document

def document?

def element?

def first_element_child

def fragment?

def hash

def inner_text

def inspect(io)

def name

def namespace

def namespace_scopes

def namespaces

def next

def next_element

def next_sibling

def object_id

def parent

def previous

def previous_element

def previous_sibling

def processing_instruction?

def root

def text

def text?

def to_s(io : IO)

def to_unsafe

def to_xml(indent = 2 : Int, indent_text = " ", options = SaveOptions.xml_default : SaveOptions)

def to_xml(io : IO, indent = 2, indent_text = " ", options = SaveOptions.xml_default : SaveOptions)

def type

def xml?

def xpath(path, namespaces = nil, variables = nil)

def xpath_bool(path, namespaces = nil, variables = nil)

def xpath_float(path, namespaces = nil, variables = nil)

def xpath_node(path, namespaces = nil, variables = nil)

def xpath_nodes(path, namespaces = nil, variables = nil)

def xpath_string(path, namespaces = nil, variables = nil)