A new `CT_String`` element with tagname `nsptagname` and `val` attribute set to `val`.
(cls, nsptagname: str, val: str)
| 46 | |
| 47 | @classmethod |
| 48 | def new(cls, nsptagname: str, val: str): |
| 49 | """A new `CT_String`` element with tagname `nsptagname` and `val` attribute set to `val`.""" |
| 50 | elm = cast(CT_String, OxmlElement(nsptagname)) |
| 51 | elm.val = val |
| 52 | return elm |
nothing calls this directly
no test coverage detected