<!--Generated by Turbo XML 2.4.2.7. Conforms to w3c http://www.w3.org/2001/XMLSchema-->
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PAM: XSD
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pam="http://prismstandard.org/namespaces/pam/2.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:prism="http://prismstandard.org/namespaces/basic/2.0" xmlns:pim="http://prismstandard.org/namespaces/pim/2.0" xmlns:dcterms="http://purl.org/dc/terms" xmlns:prl="http://prismstandard.org/namespaces/prl/2.0" xmlns:dc="http://purl.org/dc/elements/1.1" targetNamespace="http://prismstandard.org/namespaces/pam/2.0" elementFormDefault="qualified" attributeFormDefault="qualified" version="pam20080205">
<xs:import namespace="http://prismstandard.org/namespaces/basic/2.0" schemaLocation="pam-prism.xsd"/>
<xs:import namespace="http://prismstandard.org/namespaces/pim/2.0" schemaLocation="pam-pim.xsd"/>
<xs:import namespace="http://purl.org/dc/terms" schemaLocation="pam-dcterms.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xhtml" schemaLocation="pam-xhtml.xsd"/>
<xs:import namespace="http://prismstandard.org/namespaces/prl/2.0" schemaLocation="pam-prl.xsd"/>
<xs:import namespace="http://purl.org/dc/elements/1.1" schemaLocation="pam-dc.xsd"/>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<!-- ++++++++++ pam:message Element +++++++++++++++++ -->
<xs:element name="message">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="pam:article"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ++++++++++ pam:article Element +++++++++++++++++ -->
<!-- Note that the body is optional. This is for the corrections scenario,
when all that is being sent is a correction block.
Note that the <pam:article> element allows the xml:lang attribute.
As in XHTML, that attribute is allowed inside the articles as well.
However, considerable testing will be needed before a publisher could
rely on any language indications actually having an effect that is
visible to an end-user of an aggregation service. There is no harm
in providing the markup, but it is highly likely to be ignored.
-->
<xs:element name="article">
<xs:complexType>
<xs:sequence>
<xs:element ref="xhtml:head"/>
<xs:element ref="xhtml:body" minOccurs="0"/>
</xs:sequence>
<xs:attribute ref="xml:lang"/>
<xs:attribute name="dir">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="ltr"/>
<xs:enumeration value="rtl"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<!-- ++++++++++ pam:status Element +++++++++++++++++ -->
<xs:element name="status" type="xs:string"/>
<!-- ++++++++++ pam:media Element +++++++++++++++++ -->
<xs:element name="media">
<xs:complexType>
<xs:sequence>
<xs:element ref="dc:type" minOccurs="0"/>
<xs:element ref="dc:format" minOccurs="0"/>
<xs:element ref="pam:mediaReference" minOccurs="0"/>
<xs:element ref="pam:mediaTitle" minOccurs="0"/>
<xs:element ref="pam:nonpublishedMediaTitle" minOccurs="0"/>
<xs:element ref="pam:credit" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="pam:caption" minOccurs="0"/>
<xs:element ref="prism:copyright" minOccurs="0"/>
<xs:element ref="pam:textDescription" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ++++++++++ pam:media Reference Element +++++++++++++++++ -->
<xs:element name="mediaReference">
<xs:complexType>
<xs:sequence/>
<xs:attribute name="refid" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<!-- ++++++++++ pam:media Title Element +++++++++++++++++ -->
<xs:element name="mediaTitle" type="xs:string"/>
<!-- ++++++++++ pam:nonpublishes Media Title Element +++++++++++++++++ -->
<xs:element name="nonpublishedMediaTitle" type="xs:string"/>
<!-- ++++++++++ pam:credit Element +++++++++++++++++ -->
<xs:element name="credit" type="xs:string"/>
<!-- ++++++++++ pam:textDescription Element +++++++++++++++++ -->
<xs:element name="textDescription">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="xhtml:p"/>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- ++++++++++ pam:caption Element +++++++++++++++++ -->
<xs:element name="caption">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="xhtml:p"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
|