def node(name, args, &block)
      content = get_node_content(args)
      options = format_node_attributes(get_node_attributes(args))

      @_segments ||= []
      @_segments << "#{indent_new_line}<#{name}#{options}>#{content}"
      if block_given?
        @depth += 1
        instance_eval(&block)
        @depth -= 1
        @_segments << indent_new_line
      end
      @_segments << "</#{name}>"
      @xml = @_segments.join('').strip
    end
def node(name, args, &block)
      content = get_node_content(args)
      options = format_node_attributes(get_node_attributes(args))

      @_segments ||= []
      @_segments << "#{indent_new_line}<#{name}#{options}>#{content}"
      if block_given?
        @depth += 1
        instance_eval(&block)
        @depth -= 1
        @_segments << indent_new_line
      end
      @_segments << "</#{name}>"
      @xml = @_segments.join('').strip
    end
Create an XML node
 @param [String|Symbol] name the name of the XML element (ul, li, strong, etc...)
 @param [Array] args Can contain a String of text or a Hash of attributes
 @param [Block] block An optional block which will further nest XML