Method: LibXML::XML::Node#debug_dump

Defined in:
ext/libxml/ruby_xml_node.c

#debug_dumpObject

Dump this node to stdout, including any debugging information.



527
528
529
530
531
532
533
534
535
536
537
# File 'ext/libxml/ruby_xml_node.c', line 527

static VALUE rxml_node_debug_dump(VALUE self)
{
  xmlNodePtr xnode;
  Data_Get_Struct(self, xmlNode, xnode);

  if (xnode->doc == NULL)
    return (Qnil);

  xmlElemDump(stdout, xnode->doc, xnode);
  return (Qtrue);
}