Name

xs:string

Synopsis

Defined in: XML Schema part 2

As the least-restricted datatype, xs:string is the default datatype that XForms will use, unless the author specifies otherwise.

Caveats

xs:string punts on all whitespace processing, so all tab characters and newline characters pass through unchanged. If this is undesired, it is better to use a more restricted datatype such as xs:normalizedString or xforms:listItem.

Example

  • Hello, World

Get XForms Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.