xml:space

signals an intention about how white space should be managed by applications.

Attribute Information

Used By

Source

<xs:attribute name="space">
  <xs:annotation>
    <xs:documentation>signals an intention about how white space should be managed by applications.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:token">
      <xs:enumeration value="default">
        <xs:annotation>
          <xs:documentation>signals that the application's default white-space processing modes are acceptable</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="preserve">
        <xs:annotation>
          <xs:documentation>indicates the intent that applications preserve all white space</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

Sample