2.322 DataSource

The DataSource element specifies information about a data source. This element MUST include either the DataSource.DataSourceReference element or the DataSource.ConnectionProperties element.

The following are the parent element, attribute, and child elements of the DataSource element.

Parent elements

DataSources

Attributes

DataSource.Name

Child elements

DataSource.ConnectionProperties

DataSource.DataSourceReference

DataSource.Transaction

The following is the XML Schema definition of the DataSource element.

 <xsd:complexType name="DataSourceType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Transaction" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="ConnectionProperties" type="ConnectionPropertiesType" 
                  minOccurs="0" />
     <xsd:element name="DataSourceReference" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:string" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>