replace_whole_text method
replace_whole_text
Replaces the text of the current node and all logically-adjacent text nodes with the specified text. All logically-adjacent text nodes are removed including the current node unless it was the recipient of the replacement text.
Returns
The Text
.
def replace_whole_text(self, content):
...
Parameter | Type | Description |
---|---|---|
content | str | The content. |
See Also
- module
aspose.html.dom
- class
CDATASection
- class
Text