acl-org / acl-org/acl-anthology
load MarkupText from XML string
Open
enhancement
python-library
- Dominant language
- Python
- Stars
- 796
- Forks
- 408
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 34
Description
If I want to correct a title using the library, is there a simpler way than:
```py
from lxml.etree import fromstring
vol.title = MarkupText.from_(fromstring('Proceedings of the ACL 2001 Workshop on Computational Natural Language Learning (CoNLL)'))
```
I.e., first creating an XML element? I had tried `from_xml()`, but that escapes all the XML metacharacters. If that's intentional, something like `from_xml_str()` would be nice to have.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.