Обновляет атрибуты объекта слоя
<xs:element name="zulu-server"> <xs:complexType> <xs:sequence> <xs:element name="Command"> <xs:complexType> <xs:choice> <xs:element name="UpdateElemAttributes" type="typeUpdateElemAttributes"/> </xs:choice> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="typeUpdateElemAttributes"> <xs:sequence> <xs:element name="Layer" type="typeLayer"/> <xs:element name="Element" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="Key" minOccurs="1" maxOccurs="unbounded"> <xs:complexType> <xs:all> <xs:element name="Name" type="xs:string"/> <xs:element name="Value" type="xs:string"/> </xs:all> </xs:complexType> </xs:element> <xs:element name="Field" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:all> <xs:element name="Name" type="xs:string"/> <xs:element name="Value" type="xs:string"/> </xs:all> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType>
<xs:element name="zwsResponse"> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0"> <xs:element name="UpdateElemAttributes"/> </xs:choice> <xs:element name="RetVal" type="xs:integer"/> </xs:sequence> </xs:complexType> </xs:element>
<?xml version="1.0" encoding="UTF-8"?> <zulu-server service="zws" version="1.0.0"> <Command> <UpdateElemAttributes> <Layer>riga:teplo</Layer> <Element> <Key> <Name>Sys</Name> <Value>75805</Value> </Key> <Field> <Name>Name</Name> <Value>77777</Value> </Field> </Element> </UpdateElemAttributes> </Command> </zulu-server>
<?xml version="1.0" encoding="UTF-8"?>
<zwsResponse>
<UpdateElemAttributes/>
<RetVal>0</RetVal>
</zwsResponse>