Class | LibXML::XML::NS |
In: |
ext/libxml/libxml.c
|
Parent: | Object |
Create a new namespace attached to the specified node with the give prefix and namespace.
XML::NS.new(node, "xlink", "http://www.w3.org/1999/xlink")
/* * call-seq: * initialize(node, "href", "prefix") * * Create a new namespace attached to the specified node with the * give prefix and namespace. * * XML::NS.new(node, "xlink", "http://www.w3.org/1999/xlink") */ VALUE ruby_xml_ns_initialize(VALUE self, VALUE node, VALUE href, VALUE prefix) {