+xns/Data
Message: Update

+xns/Core/XNSObject
   |
   +--+xns/Core/Message
         |
         +--+xns/Data/Update


Modifies an element or attribute of an existing data object at the specified address.

If the Value argument is left empty, then the element or attribute will be removed. If AttrName is specified, then the value is assigned to the attribute. If ElemName is specified, then the value is assigned to the element.

To: Identity containing the element or attribute to be updated.
From: Identity or exposure requesting the update and containing the new values.


 

Input
String AttrName Name of the attribute to be updated.
String ContractID Identifier of the XNS contract governing the change.
+xns/Core/DataID DataPath Data path of the element or attribute to be updated.
String ElemName Name of the data element to be updated.
String Value Contents of the attribute or data element after update.
 

Exceptions
ElemNotFound  
 

Input Detail

AttrName

Name of the attribute to be updated.  

DataType: String
 


ContractID

Identifier of the XNS contract governing the change. If the data change request is originated from an XNS contract, then the from-identity is the data provider, and this element identifies the contract authorizing the provider to make this update.  

DataType: String
 


DataPath

Data path of the element or attribute to be updated.  

DataType: +xns/Core/DataID
 

Required: true
 


ElemName

Name of the data element to be updated.  

DataType: String
 


Value

Contents of the attribute or data element after update.  

DataType: String
 


 

Publishing Identity: +xns
© 2002 XNSORG
Last Updated: 07/09/2002