Echelon i.LON 100 e2 Internet Server Manuel d'utilisateur Page 216

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 223
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 215
i.LON 100 Internet Server Programmer’s Reference 14-9
<xs:sequence>
</xs:element>
</xs:sequence>
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="DataServerList_Result_Element"
targetNamespace="http://tempuri.org/DataServerList_Data.xsd" elementFormDefault="qualified"
attributeFormDefault="qualified" xmlns="http://tempuri.org/DataServerList_Data.xsd"
xmlns:mstns="http://tempuri.org/DataServerList_Data.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-
msdata">
<xs:element name="DataServerList_Result_Element" msdata:IsDataSet="true">
<xs:complexType>
<xs:sequence>
<xs:element name="iLONDataServer">
<xs:complexType>
<xs:element name="DpNVL" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="SCPTobjMajVer" type="xs:string" minOccurs="0" />
<xs:element name="SCPTobjMinVer" type="xs:string" minOccurs="0" />
<xs:element name="UCPTlastUpdate" type="xs:string" minOccurs="0" />
<xs:element name="UCPTlifeTime" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:element name="NVL" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="UCPTindex" type="xs:string" minOccurs="0" />
<xs:element name="UCPTpointName" type="xs:string" minOccurs="0" />
<xs:element name="UCPTlocation" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:complexType>
</xs:element>
</xs:schema>
14.2.3.2 Wrapping Elements
Once you have added the XML schema to your project, you can begin writing code to use the
schema, and generate the input XML string to be passed to the <Data> parameter of your
function.
However, you should note that a DataSet contains two wrapping elements. The root element
reperesents the DataSet. The children of the root element represent tables that will contain
the data to be included in your input XML string.
The following is an example of an XML String generated by a DataSet:
<A><B><UCPTdataPointType>NVL</UCPTdataPointType></B></A>
Vue de la page 215

Commentaires sur ces manuels

Pas de commentaire