class_docstr: Event handler using the ElementTree Target API that can be
  passed to a XMLParser to produce property list objects from XML.
  It is based on the CPython plistlib module's _PlistParser class,
  but does not use the expat parser.
  
  >>> from fontTools.misc import etree
  >>> parser = etree.XMLParser(target=PlistTarget())
  >>> result = etree.XML(
  ...     "<dict>"
  ...     "    <key>something</key>"
  ...     "    <string>blah</string>"
  ...     "</dict>",
  ...     parser=parser)
  >>> result == {"something": "blah"}
  True
  
  Links:
  https://github.com/python/cpython/blob/main/Lib/plistlib.py
  http://lxml.de/parsing.html#the-target-parser-interface
class_docstr_tok: ["Event","handler","using","the","ElementTree","Target","API","that","can","be","passed","to","a","XMLParser","to","produce","property","list","objects","from","XML",".","It","is","based","on","the","CPython","plistlib","module","'s","_PlistParser","class",",","but","does","not","use","the","expat","parser",".",">",">",">","from","fontTools.misc","import","etree",">",">",">","parser","=","etree.XMLParser","(","target=PlistTarget","(",")",")",">",">",">","result","=","etree.XML","(","...","``","<","dict",">","''","...","``","<","key",">","something","<","\/key",">","''","...","``","<","string",">","blah","<","\/string",">","''","...","``","<","\/dict",">","''",",","...","parser=parser",")",">",">",">","result","==","{","``","something","''",":","``","blah","''","}","True","Links",":","https",":","\/\/github.com\/python\/cpython\/blob\/main\/Lib\/plistlib.py","http",":","\/\/lxml.de\/parsing.html","#","the-target-parser-interface"]
code: def close(self) -> PlistEncodable:
      if self.root is None:
          raise ValueError("No root set.")
      return self.root
  
imports: import collections.abc
  import re
  from typing import Any, Callable, Dict, List, Mapping, MutableMapping, Optional, Sequence, Type, Union, IO
  import warnings
  from io import BytesIO
  from datetime import datetime
  from base64 import b64encode, b64decode
  from numbers import Integral
  from types import SimpleNamespace
  from functools import singledispatch
  from fontTools.misc import etree
  from fontTools.misc.textTools import tostr
label_desc: Use image node_id 5 for calling the PlistTarget obj's underlying member method code with example usage: obj.close() and returns: self