lib/rdf/rdfxml/reader/nokogiri.rb
# Create a new element child of an existing node
Create a new element child of an existing node
Create a new element child of an existing node
def create_node(name, children)
          native = ::Nokogiri::XML::Element.new(name, @node)
          children.each do |c|
            native.add_child(c.node)
          end
          NodeProxy.new(native, self)
        end
def create_node ( name , children ) native = :: Nokogiri :: XML :: Element . new ( name , @node ) children . each do | c | native . add_child ( c . node ) end NodeProxy . new ( native , self ) end
Create a new element child of an existing node
Create a new element child of an existing node
name
<not_specific>
children
<not_specific>