def _field_prefix(self) -> str:
        """Prefix to field names in the XML."""
        if self.layer_name == 'geninfo':
            return ''
        return self.layer_name + '.'
Prefix to field names in the XML.
src/pyshark/packet/layers/xml_layer.py