<?xml version="1.0"?>
<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [
<!ATTLIST xs:documentation xmlns CDATA #IMPLIED>
<!ELEMENT p (#PCDATA)>
]>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" xml:lang="EN">
 
 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>

 
  <xs:annotation>
   <xs:documentation xmlns="http://www.w3.org/1999/xhtml">
    
     <p>A component of the XML Schema type library:
                    for general text</p>
    
     <p>This is the first draft of this component.  It is expected
                    to persist in roughly the present form, and can be used
                    'as-is' or as the base type for a specialized version.
                    Please send suggestions for improvements to
                    www-xml-schema-comments@w3.org.</p>
    
     <p>This version of this component has no target namespace:
                    it is suitable for including into any schema document
                    and will acquire the target namespace, if any, of the
                    including document.
                    A version in the type library namespace
                    (http://www.w3.org/2001/03/XMLSchema/TypeLibrary)
                    can be found at
                    http://www.w3.org/2001/03/XMLSchema/TypeLibrary-text.xsd
  </p>
    
     <p>$Id: TypeLibrary-nn-text.xsd,v 1.5 2001/03/15 08:52:27 ht Exp $</p>
    
     <p>
   In keeping with the XML Schema WG's standard versioning
   policy,  the schema document at this location, i.e.
   http://www.w3.org/2001/03/XMLSchema/TypeLibrary-nn-text.xsd, may change
   in the future, in order to remain compatible with the latest
   version of XML Schema itself.</p>
  <p>
   Stable versions will be preserved in date space for the month
   appropriate to the version of XML Schema they require.  The current 
   set of stable versions is:
    http://www.w3.org/2001/03/TypeLibrary-nn-text.xsd, etc.  PR of 20010316
    http://www.w3.org/2001/05/TypeLibrary-nn-text.xsd, etc.  REC of 20010502
  </p>
  <p>
   In other words, if the XML Schema namespace changes, the version
   of this document at
   http://www.w3.org/2001/03/XMLSchema/TypeLibrary-nn-text.xsd will change
   accordingly; the stable versions listed above will not change.
  </p>
    
   </xs:documentation>
  </xs:annotation>
 
 
 <xs:complexType name="text">
  
  <xs:annotation>
   <xs:documentation xmlns="http://www.w3.org/1999/xhtml">
    
     <p>Use this for elements with text-for-reading content.
                     It's mixed so that things like bidi markup can be added,
                     either on an ad-hoc basis in instances, or in types
                     derived from this one.
   </p>
    
   </xs:documentation>
  </xs:annotation>
 
  <xs:complexContent mixed="true">
   <xs:restriction base="xs:anyType">
    <xs:sequence>
     <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" namespace="##any"/>
    </xs:sequence>
    <xs:attribute ref="xml:lang">
     
  <xs:annotation>
   <xs:documentation xmlns="http://www.w3.org/1999/xhtml">
    
     <p>Not required, since according to XML 1.0 its semantics
                        is inherited, so we don't need it when text is nested
                        inside text, or other elements which already give
                        xml:lang a value.</p>
    
   </xs:documentation>
  </xs:annotation>
 
    </xs:attribute>
   </xs:restriction>
  </xs:complexContent>
 </xs:complexType>
</xs:schema>

