VC Transcript XML Schema



<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.cs.pitt.edu/~chang/schemas/VCTranscript"
    xmlns:tc="http://www.cs.pitt.edu/~chang/schemas/VCTranscript" >

    <xsd:element name="VCTranscript">
        <xsd:complexType>
            <xsd:attribute name="version" use="required"
                type="xsd:string" />
            <xsd:sequence>
                <xsd:element ref="message" minOccurs="1"
                    maxOccurs="unbounded" />
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>

    <xsd:element name="message">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="name" type="xsd:string"
                    minOccurs="1" maxOccurs="1" />
                <xsd:element name="text" type="xsd:string"
                    minOccurs="1" maxOccurs="1"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>
        

The schema describes a list of one or more messages nested under the VCTranscript tag. Each message contains a name and text. Simple.