[tdwg-tapir] r1422 - tapir/dev/schema

svn at rs.tdwg.org svn at rs.tdwg.org
Wed Jan 7 14:02:47 CET 2009


Author: RenatoDeGiovanni
Date: 2009-01-07 14:02:45 +0100 (Wed, 07 Jan 2009)
New Revision: 1422

Modified:
   tapir/dev/schema/tapir.xsd
Log:
Added new <rootElement> in the output model definition to indicate the name of a global element that should 
be the root element in search responses.


Modified: tapir/dev/schema/tapir.xsd
===================================================================
--- tapir/dev/schema/tapir.xsd	2009-01-07 12:48:54 UTC (rev 1421)
+++ tapir/dev/schema/tapir.xsd	2009-01-07 13:02:45 UTC (rev 1422)
@@ -252,6 +252,15 @@
 					</xsd:choice>
 				</xsd:complexType>
 			</xsd:element>
+			<xsd:element name="rootElement" minOccurs="0">
+				<xsd:annotation>
+					<xsd:documentation>Name of a global element that should be the root element in 
+						search responses. When not specified, the first global element should be used.</xsd:documentation>
+				</xsd:annotation>
+				<xsd:complexType>
+					<xsd:attribute name="name" type="xsd:string" use="required"/>
+				</xsd:complexType>
+			</xsd:element>
 			<xsd:element name="indexingElement">
 				<xsd:annotation>
 					<xsd:documentation>A simple XPath pointing to a response structure node that




More information about the tdwg-tag mailing list