MCPcopy Index your code
hub / github.com/clips/pattern / xml

Method xml

pattern/text/tree.py:979–982  ·  view source on GitHub ↗

Yields the sentence as an XML-formatted string (plain bytestring, UTF-8 encoded).

(self)

Source from the content-addressed store, hash-verified

977
978 @property
979 def xml(self):
980 """ Yields the sentence as an XML-formatted string (plain bytestring, UTF-8 encoded).
981 """
982 return parse_xml(self, tab="\t", id=self.id or "")
983
984 @classmethod
985 def from_xml(cls, xml):

Callers

nothing calls this directly

Calls 1

parse_xmlFunction · 0.70

Tested by

no test coverage detected