configurationengine/doc/xsd/contentml.xsd
author Bob Rosenberg <bob.rosenberg@nokia.com>
Tue, 26 Oct 2010 10:43:50 +0100
changeset 8 a2e65c705db8
parent 0 2e8eeb919028
permissions -rw-r--r--
Fix for bug when joining where ID prefixes would be added even if they use the default ID namespace

<?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>