<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Nick Palmiotto (TAG, LLC) -->
<xs:schema targetNamespace="Bridgeworks" xmlns:sgm="SgModel" xmlns:sge="SgEvaluator" xmlns:sgd="SgDirective" xmlns:sgn="SgNode" xmlns:bc="BwCommands" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bw="Bridgeworks" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="BwCommand" schemaLocation="./Command/BwCommands.xsd"/>
	<xs:import namespace="SgNode" schemaLocation="../Common/SceneGraph/SgNode.xsd"/>
	<xs:import namespace="SgDirective" schemaLocation="../Common/SceneGraph/SgDirective.xsd"/>
	<xs:import namespace="SgEvaluator" schemaLocation="../Common/SceneGraph/SgEvaluator.xsd"/>
	<xs:import namespace="SgModel" schemaLocation="../Common/SGX/SGXModel.xsd"/>
	<!--Releases all Bridgeworks objects from memory without unloading runtime engine-->
	<?bw?>
	<!--Links the file named by the given url parameter.  Included file gets parsed immediately-->
	<?bwinclude?>
	<!--Loads external libraries and dlls, for example OpenGL and Direct3D 8 rendering engines-->
	<?bwplugin?>
	<xs:element name="Bridgeworks">
		<xs:annotation>
			<xs:documentation>A Bridgeworks Document contains markup for anything that can be processed and/or rendered by the Bridgeworks Runtime Engine</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence minOccurs="0" maxOccurs="unbounded">
				<xs:any namespace="SgNode" minOccurs="0" maxOccurs="unbounded"/>
				<xs:any namespace="SgDirective" minOccurs="0" maxOccurs="unbounded"/>
				<xs:any namespace="SgEvaluator" minOccurs="0" maxOccurs="unbounded"/>
				<xs:any namespace="Commands" minOccurs="0" maxOccurs="unbounded"/>
				<xs:any namespace="Evaluators" minOccurs="0" maxOccurs="unbounded"/>
				<xs:any namespace="BwCommand" minOccurs="0" maxOccurs="unbounded"/>
				<xs:any namespace="SgModel" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
