text_content property
text_content property
This attribute returns the text content of this node and its descendants. When it is defined to be null, setting it has no effect. On setting, any possible children this node may have are removed and, if it the new string is not empty or null, replaced by a single Text node containing the string this attribute is set to.
Definition:
@property
def text_content(self):
...
@text_content.setter
def text_content(self, value):
...
See Also
- module
aspose.html
- class
HTMLUnknownElement