class_docstr: Class for formatting data in xml using Python standard library
  modules: `xml.etree.ElementTree` and `xml.dom.minidom`.
docstr: Remove xml declaration.
  
  This method will remove xml declaration of working tree. Currently,
  pretty_print is not supported in etree.
docstr_tok: ["Remove","xml","declaration",".","This","method","will","remove","xml","declaration","of","working","tree",".","Currently",",","pretty_print","is","not","supported","in","etree","."]
code: def remove_declaration(self) -> bytes:
      """
      Remove xml declaration.
  
      This method will remove xml declaration of working tree. Currently,
      pretty_print is not supported in etree.
      """
  
      return self.out_xml.split(b"?>")[-1].strip()
  
imports: from __future__ import annotations
  import codecs
  import io
  from typing import TYPE_CHECKING, Any
  from pandas._typing import CompressionOptions, FilePath, ReadBuffer, StorageOptions, WriteBuffer
  from pandas.errors import AbstractMethodError
  from pandas.util._decorators import doc
  from pandas.core.dtypes.common import is_list_like
  from pandas.core.dtypes.missing import isna
  from pandas.core.shared_docs import _shared_docs
  from pandas.io.common import get_handle
  from pandas.io.xml import get_data_from_filepath, preprocess_data
label_desc: Use image node_id 6 for calling the EtreeXMLFormatter obj's underlying member method code with example usage: obj.remove_declaration() and returns: self