Perform a XML string manipulation before serialization or deserialization
according to one of the three allowed values:
- preserve: the XML string is not modified.
- replace: the XML string is modified by replacing each \n, \t, \r by
a single space.
- collapse: the XML string is modified by replacing each \n, \t, \r by
a single space, then each sequence of several spaces are replaced
by one single space. Leading and trailing spaces are removed too.
Note:
- The whiteSpace facet is always performed before any other facet
constraints, or serialization or deserialization process.
- For any 4GL variable excepted STRING, CHAR and VARCHAR, only collapse
is allowed.
DEFINE myStr STRING ATTRIBUTE(XSDString, XSDWhiteSpace="replace",
XMLName="MyString")
DEFINE myDec DECIMAL(3,1) ATTRIBUTE(XSDDecimal,
XSDWhiteSpace="collapse", XMLName="MyDecimal")