mf:xmlSpace

Attribute Information

Used By

Source

<xs:attribute name="xmlSpace">
  <!--
    This is a copy of the definition of the xml:space attribute, from the schema for the XML 
    namespace. That schema can be found at http://www.w3.org/2001/xml.xsd.

    Ideally we would want to re-use that schema. However, we don’t want to refer to it using an 
    import statement is it causes too many connections to the W3C website. Neither can we store a 
    local copy and ship it with FOP as its license is the W3C Document License and so far we are not 
    allowed to redistribute files under such a license.
    See also https://issues.apache.org/jira/browse/LEGAL-111
    -->
  <xs:simpleType>
    <xs:restriction base="xs:NCName">
      <xs:enumeration value="default"/>
      <xs:enumeration value="preserve"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

Sample