sarkit.xmlhelp.ElementWrapper.get

ElementWrapper.get(localname, default=<class 'sarkit.xmlhelp._core._UNSET'>)

Return value from an ElementWrapper.

If the localname is not schema-valid a KeyError is raised. Otherwise, return the value for localname if localname is in the ElementWrapper, else default. If default is not given it defaults to the behavior of __getitem__.