Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2011 Leibniz Institute of Plant Genetics and Crop Plant 
	Research (IPK), Gatersleben, Germany. All rights reserved. This program and 
	the accompanying materials are made available under the terms of the GNU 
	Lesser Public License v2.1 which accompanies this distribution, and is available 
	at Contributors: Leibniz 
	Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany 
	- initial API and implementation -->
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany -->
<xs:schema xmlns:xs="" xmlns=""
	<xs:simpleType name="dateType">
			<xs:documentation>The type of date. To indicate a date period,
				provide two dates, specifying the StartDate and the EndDate. To
				indicate the end of an embargo period, use Available. To indicate
				the start of an embargo period, use Submitted or Accepted, as
		<xs:restriction base="xs:string">
			<xs:enumeration value="Accepted" /><!--The date that the 
				publisher accepted the resource into their system. -->
			<xs:enumeration value="Available" /><!--The date the resource 
				is made publicly available. May be a range. -->
			<xs:enumeration value="Copyrighted" /><!--The specific, 
				documented date at which the resource receives a copyrighted status, if applicable. -->
			<xs:enumeration value="Created" /><!--The date the resource 
				itself was put together; this could be a date range or a single date for 
				a final component, e.g., the finalised file with all of the data. -->
			<xs:enumeration value="EndDate" /><!--Use if any other 
				date type covers a range -->
			<xs:enumeration value="Issued" /><!--The date that the 
				resource is published or distributed e.g. to a data center. -->
			<xs:enumeration value="StartDate" /><!--Use if any other 
				date type covers a range. -->
			<xs:enumeration value="Submitted" /><!--The date the creator 
				submits the resource to the publisher. This could be different from Accepted 
				if the publisher then applies a selection process. -->
			<xs:enumeration value="Updated" /><!--The date of the last 
				update to the resource, when the resource is being added to. May be a range. -->
			<xs:enumeration value="Valid" /><!--The date or date range 
				during which the dataset or resources are accurate. May be a range. -->
New to GrepCode? Check out our FAQ X