class LibXML::XML::AttrDecl

def child

It will always be nil.
Obtain this attribute declaration's child attribute(s).

attr_decl.child -> nil
call-seq:
def child
  nil
end

def child?


Returns whether this attribute declaration has child attributes.

attr_decl.child? -> (true|false)
call-seq:
def child?
  not self.children.nil?
end

def doc?

XML::Document.
Determine whether this attribute declaration is associated with an

attr_decl.doc? -> (true|false)
call-seq:
def doc?
  not self.doc.nil?
end

def next?

Determine whether there is a next attribute declaration.

attr_decl.next? -> (true|false)
call-seq:
def next?
  not self.next.nil?
end

def node_type_name

Returns this attribute declaration's node type name.

attr_decl.node_type_name -> 'attribute declaration'
call-seq:
def node_type_name
  if node_type == Node::ATTRIBUTE_DECL
    'attribute declaration'
  else
    raise(UnknownType, "Unknown node type: %n", node.node_type);
  end
end

def parent?

Determine whether this attribute declaration has a parent .

attr_decl.parent? -> (true|false)
call-seq:
def parent?
  not self.parent.nil?
end

def prev?

Determine whether there is a previous attribute declaration.

attr_decl.prev? -> (true|false)
call-seq:
def prev?
  not self.prev.nil?
end

def to_s

Returns a string representation of this attribute declaration.

attr_decl.to_s -> string
call-seq:
def to_s
  "#{name} = #{value}"
end