# File daybook/mycgi/daybook/owner/d_remake.rb, line 100
def del_no(id, no)
  # xml path
  path_xml = p_get_xmlpath(id)
  # xml data
  doc = m_read_xml(path_xml)#; str_xml = doc.to_s
  comment_list =  doc.get_elements("entry/item_comment")
  comment_list.each{ |x|
    case x.elements["postno"].get_text
    when no.to_i then 
      # Delete Element of Post No
      doc.delete_element( x.xpath )
      # COUNTER UPDATE
      now_itemcnt = doc.elements["entry/meta/itemcount"].get_text.to_s.to_i
      cnt = now_itemcnt - 1
      doc.elements["entry/meta/itemcount"].text = cnt.to_s
      str_xml = doc.to_s
      # save xml
      path_trash_xml = File.join(@path_trash, [id, ".xml"].to_s)
      p_remakesave( path_xml, path_trash_xml, str_xml )
      # save html
      remake_onlyfile(id)
      # end of message
      return "Delete_PostNO.#{no} of #{id}, Success"
      
    end
  }
  
  return "Not Found Post No"
  
end