class LibXML::XML::AttrDecl
def child
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?
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?
attr_decl.next? -> (true|false)
call-seq:
def next? not self.next.nil? end
def 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?
attr_decl.parent? -> (true|false)
call-seq:
def parent? not self.parent.nil? end
def prev?
attr_decl.prev? -> (true|false)
call-seq:
def prev? not self.prev.nil? end
def to_s
attr_decl.to_s -> string
call-seq:
def to_s "#{name} = #{value}" end