<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) International Business Machines Corporation, 2002, 2003. (c) University of Edinburgh 2002, 2003.-->
<!-- See OGSA-DAI-Licence.txt for licencing information.-->
<gridDataServiceFactoryConfig xmlns="http://ogsadai.org.uk/schemas/gdsf" name="GridDataServiceFactory">
	<scheme name="mysql1">
		<driver name="jdbc" class="org.gjt.mm.mysql.Driver">
			<queryLanguage name="SQL" version="SQL92"/>
		</driver>
	</scheme>
	<scheme name="xindice">
		<driver name="xmldb" class="org.apache.xindice.client.xmldb.DatabaseImpl">
			<queryLanguage name="XPath" version="1.0"/>
			<queryLanguage name="XUpdate" version="1.0"/>
		</driver>
	</scheme>
	<location name="myJDBCDBMS">
		<dataManager name="jdbcDBMS" productType="MySQL"/>
		<physicalLocation>localhost:3306</physicalLocation>
		<roleMap class="uk.org.ogsadai.common.rolemap.SimpleFileRoleMapper" configuration="C:/MyGridSw/Tomcat-4.1/webapps/ogsa/WEB-INF/etc/ExampleDatabaseRoles.xml"/>
		<path name="myDB">
			<!-- the name of the database follows -->
			<data name="test"/>
		</path>
		<path name="anotherDB">
			<data name="otherDatabaseName"/>
		</path>
		<validSchemes>
			<validScheme>mysql1</validScheme>
		</validSchemes>
	</location>
	<location name="myXMLDBMS">
		<dataManager name="xmlDBMS" productType="Xindice"/>
		<physicalLocation>localhost:4080</physicalLocation>
		<roleMap class="uk.org.ogsadai.common.rolemap.SimpleFileRoleMapper" configuration="C:/MyGridSw/Tomcat-4.1/webapps/ogsa/WEB-INF/etc/ExampleDatabaseRoles.xml"/>
		<path name="myXMLDB">
			<data name="db/littleblackbook"/>
		</path>
		<validSchemes>
			<validScheme>xindice</validScheme>
		</validSchemes>
	</location>
	<!-- allow the possibility of externally deriving a collection of perform documents -->
	<resource name="myExternalResources">
		<externalResource file="/path/to/file/with/resources/"/>
		<!-- some more documents can be embedded in here -->
		<!-- any documents defined here and extracted through the externalResource element will be merged -->
		<!-- any document defined in here takes precedence over the external file -->
	</resource>
	<!-- The dataResource is referenced in the dataResourceImplementationMap.xml file
         and in GDS-Perform documents -->
	<dataResource name="myDataResource">
		<scheme-ref>mysql1</scheme-ref>
		<path-ref>myDB</path-ref>
		<location-ref>myJDBCDBMS</location-ref>
	</dataResource>
	<dataResource name="myXMLDBDataResource">
		<scheme-ref>xindice</scheme-ref>
		<path-ref>myXMLDB</path-ref>
		<location-ref>myXMLDBMS</location-ref>
	</dataResource>
</gridDataServiceFactoryConfig>

