<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.dlese.org/Metadata/ui/trees" xmlns="http://www.dlese.org/Metadata/ui/trees" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:annotation>
		<xs:documentation>**********************</xs:documentation>
		<xs:documentation>***** HISTORY  *****</xs:documentation>
		<xs:documentation>**********************</xs:documentation>
	</xs:annotation>

	<xs:annotation>
		<xs:documentation>******************************************</xs:documentation>
		<xs:documentation>***** SCHEMAS TO INCLUDE  *****</xs:documentation>
		<xs:documentation>*******************************************</xs:documentation>
		<xs:documentation>metaFormat.xsd - contains the list of acceptable metadata formats</xs:documentation>
		<xs:documentation>audience.xsd - contains appropriate audience terms</xs:documentation>
	</xs:annotation>
<!--	<xs:include schemaLocation="http://www.dlese.org/Metadata/fields/metaFormat.xsd"/>
	<xs:include schemaLocation="audience.xsd"/>-->

	<xs:annotation>
		<xs:documentation>context - the root directory for which navigation is being created</xs:documentation>
		<xs:documentation>images - the directory path to images used in rendering the navigation</xs:documentation>
		<xs:documentation>showLines - indicates whether tree hierarchy lines should be rendered</xs:documentation>
		<xs:documentation>currentPageBullet - indicates whether a bullet icon should be rendered next to the link of the current page</xs:documentation>
		<xs:documentation>showTopIcons - indicates whether icons should be rendered for the top-level links in the tree</xs:documentation>
		<xs:documentation>crawlDirs - indicates whether directories within the context should be crawled to find pages that render menus, but aren't linked to it</xs:documentation>
	</xs:annotation>

	<xs:element name="menu">
		<xs:complexType>
			<xs:attribute name="context" type="xs:string" use="required"/>
			<xs:attribute name="images" type="xs:string" use="optional"/>
			<xs:attribute name="showLines" type="xs:boolean" use="optional" default="true"/>
			<xs:attribute name="currentPageBullet" type="xs:boolean" use="optional" default="true"/>
			<xs:attribute name="showTopIcons" type="xs:boolean" use="optional" default="true"/>
			<xs:attribute name="crawlDirs" type="xs:boolean" use="optional" default="true"/>
		</xs:complexType>
	</xs:element>

	<xs:annotation>
		<xs:documentation>**********************************</xs:documentation>
		<xs:documentation>***** SCHEMA PUPOSE *****</xs:documentation>
		<xs:documentation>**********************************</xs:documentation>
		<xs:documentation>Define a list of attributes for the trees OPML-specific OPML element called menu that appears in the head section of OPML</xs:documentation>

		<xs:documentation>*******************************</xs:documentation>
		<xs:documentation>*****SCHEMA INTENT  *****</xs:documentation>
		<xs:documentation>*******************************</xs:documentation>
		<xs:documentation>Intended to be called by an overarching schema that creates an OPML 2.0 document</xs:documentation>
		<xs:documentation>The overarching schema defines the root element called opml</xs:documentation>

		<xs:documentation>******************************</xs:documentation>
		<xs:documentation>*****  NAMESPACES  *****</xs:documentation>
		<xs:documentation>******************************</xs:documentation>
		<xs:documentation>This schema has a target namespaces of: http://www.dlese.org/Metadata/ui/trees in order make qualification with a namespace prefix necessary</xs:documentation>
		<xs:documentation>This schema has a default namespace of: http://www.dlese.org/Metadata/ui/trees in order to make elements, attributes, simple types and complex types from included schemas, that are not using a target namespace, have the (default) namespace of this schema</xs:documentation>
		<xs:documentation>The W3C schema is in the xs namespace</xs:documentation>	
		<xs:documentation>The overarching schema used to create the OPML document may use a namespace</xs:documentation>

		<xs:documentation>********************************</xs:documentation>
		<xs:documentation>*****  ROOT ELEMENT *****</xs:documentation>
		<xs:documentation>********************************</xs:documentation>
		<xs:documentation>This schema does not contain a root element</xs:documentation>
		<xs:documentation>The overarching schema needs to define the root element and call this schema to create OPML</xs:documentation>

		<xs:documentation>*******************************************</xs:documentation>
		<xs:documentation>***** SCHEMA DEVELOPMENT  *****</xs:documentation>
		<xs:documentation>*******************************************</xs:documentation>
		<xs:documentation>Tends to follow the Venetian Blind approach that defines types that can be extended</xs:documentation>
		<xs:documentation>Created: 2006-05-03</xs:documentation>
		<xs:documentation>Last Modified 2006-05-05</xs:documentation>

		<xs:documentation>**********************************</xs:documentation>
		<xs:documentation>***** SCHEMA AUTHOR  *****</xs:documentation>
		<xs:documentation>**********************************</xs:documentation>
		<xs:documentation>Katy Ginger, University Corporation for Atmospheric Research (UCAR), Digital Library for Earth System Education (DLESE) Program Center; email: support@dlese.org or ginger@ucar.edu</xs:documentation>

		<xs:documentation>*******************************************</xs:documentation>
		<xs:documentation>*****  LICENSE INFORMATION  *****</xs:documentation>
		<xs:documentation>*******************************************</xs:documentation>
		<xs:documentation>Copyright  (c) 2006 DLESE Program Center, University Corporation for Atmospheric Research (UCAR) P.O. Box 3000, Boulder, CO 80307, United States of America;  email: support@dlese.org;  website: http://www.dlese.org</xs:documentation>
		<xs:documentation>This schema is free software; you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. These schemas are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this project; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</xs:documentation>

		<xs:documentation>******************************************************</xs:documentation>
		<xs:documentation>*****  OTHER COPYRIGHT INFORMATION  *****</xs:documentation>
		<xs:documentation>******************************************************</xs:documentation>
		
		<xs:documentation>Parts of this page are copied and developed from Dave Winer's OPML specification found at: http://www.opml.org/spec2. Per the request of that document, its copyright notice is included here and applies to information in this directory and corresponding subdirectories:

&#169; Copyright 2000 UserLand Software, Inc. All Rights Reserved.
&#169; Copyright 2006 Scripting News, Inc. All Rights Reserved.

UserLand Software, Inc. and Scripting News, Inc. are refererred to in the following as "the Companies."

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and these paragraphs are included on all such copies and derivative works. 

This document may not be modified in any way, such as by removing the copyright notice or references to the Companies or other organizations. Further, while these copyright restrictions apply to the written OPML specification, no claim of ownership is made by the Companies to the format it describes. Any party may, for commercial or non-commercial purposes, implement this format without royalty or license fee to the Companies. The limited permissions granted herein are perpetual and will not be revoked by the Companies or their successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and THE COMPANIES DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</xs:documentation>
	</xs:annotation>
</xs:schema>
