Expand description
Shared OOXML namespace and attribute helpers.
Enums§
- XmlLexical
Error - A strict XML 1.0 lexical validation failure.
Constants§
Functions§
- get_
attr - Return a named attribute value, matching with or without a prefix.
- is_
xml_ 1_ 0_ character - Whether XML 1.0 can carry
character, theCharproduction. - local_
name - Return the local portion of a possibly prefixed XML name.
- matches_
local_ name - Check whether an XML name has the expected local portion.
- reject_
non_ xml_ characters - Refuses
valuewhen it holds a character XML 1.0 cannot carry, not even escaped, naming the character and its one-based position, as python-docx and python-pptx refuse such a string.whatnames the value in the message. - validate_
strict_ xml_ 1_ 0 - Validate the format-neutral lexical rules required by strict OOXML readers.