configurationengine/doc/xsd/contentml.xsd
author terytkon
Thu, 11 Mar 2010 17:04:37 +0200
changeset 0 2e8eeb919028
permissions -rw-r--r--
Adding EPL version of configurationengine.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema 
	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
	targetNamespace="http://www.s60.com/xml/content/1" 
	xmlns:content="http://www.s60.com/xml/content/1" 
	elementFormDefault="qualified">
	
	<xs:complexType name="tagType">
		<xs:attribute name="name" type="xs:string"/>
		<xs:attribute name="value" type="xs:string"/>
	</xs:complexType>
	
	<xs:complexType name="includeType">
		<xs:attribute name="files" type="xs:string"/>
		<xs:attribute name="dir" type="xs:string"/>
		<xs:attribute name="pattern" type="xs:string"/>
	</xs:complexType>

	
	<xs:complexType name="outputType">
		<xs:attribute name="dir" type="xs:string"/>
		<xs:attribute name="flatten" type="xs:string"/>
	</xs:complexType>
	
	<xs:complexType name="excludeType">
		<xs:attribute name="files" type="xs:string"/>
		<xs:attribute name="dir" type="xs:string"/>
		<xs:attribute name="pattern" type="xs:string"/>
	</xs:complexType>

	
		
	<xs:complexType name="inputType">
		<xs:sequence>
			<xs:element name="include" type="content:includeType"
				minOccurs="0" maxOccurs="unbounded" />
			<xs:element name="exclude" type="content:excludeType"
				minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
		<xs:attribute name="file" type="xs:string"></xs:attribute>
	</xs:complexType>


	<xs:complexType name="contentRootType">
        <xs:sequence>
			<xs:element name="desc" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="tag" type="content:tagType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="output" type="content:outputType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="input" type="content:inputType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
	
	<xs:element name="content" type="content:contentRootType"/>
		
</xs:schema>