xsd.WhiteSpace
¶
The xsd.WhiteSpace
enumeration provides values for the xsd.WhiteSpaceFacet.value
property.
The values describe the different forms of white space normalization.
Constants¶
- xsd.WhiteSpace.PRESERVE
No normalization is done, the value is not changed (this is the behavior required by XML for element content).
- xsd.WhiteSpace.REPLACE
All occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space).
- xsd.WhiteSpace.COLLAPSE
After the processing implied by xsd.WhiteSpace.REPLACE, contiguous sequences of #x20’s are collapsed to a single #x20, and any #x20 at the start or end of the string is then removed.