Method
from_xml
Returns a new Text from the given XML string.
(cls, xml)
Source from the content-addressed store, hash-verified
| 1104 | |
| 1105 | @classmethod |
| 1106 | def from_xml(cls, xml): |
| 1107 | """ Returns a new Text from the given XML string. |
| 1108 | """ |
| 1109 | return Text(parse_string(xml)) |
| 1110 | |
| 1111 | fromxml = from_xml |
| 1112 | |