<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/TR/xhtml-basic" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:ex="urn:publicid:-:Norman+Walsh:Schema Example:EN" targetNamespace="urn:publicid:-:Norman+Walsh:Schema Example:EN" elementFormDefault="qualified">
  
  <xs:complexType name="doc">
    <xs:sequence>
      <xs:element ref="ex:title" minOccurs="0" maxOccurs="1"/>
      <xs:choice minOccurs="1" maxOccurs="unbounded">
        <xs:element ref="ex:para"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>

  
  <xs:complexType name="title" mixed="true">
    
    <xs:attribute name="role" type="xs:string"/>

    <xs:anyAttribute namespace="##other" processContents="lax"/>
  </xs:complexType>

  
  <xs:complexType name="para" mixed="true">
    
    <xs:attribute name="role" type="xs:string"/>

    <xs:anyAttribute namespace="##other" processContents="lax"/>
  </xs:complexType>

  
  <xs:element name="doc" type="ex:doc"/>
  <xs:element name="para" type="ex:para"/>
  <xs:element name="title" type="ex:title"/>

</xs:schema>
