74 IBM Content Manager OnDemand Guide
Y ou can update objects by running arsxml update. For example, you want to update the 
description of the user User1 with a new description and add the authority to create users. In 
this case, you construct the XML input file that is shown in Example 3-2.
Example 3-2   Input file to update user - updateUser.xml
<?xml version="1.0" encoding="UTF-8" ?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="ondemand.xsd" >
   <user name="User1" description="User1" createUsersAuth="Yes" >
   </user>
</onDemand>
The following command updates user User1:
arsxml update -u oduser2 -p /my/stash/pwfile -h odserver2 -i updateUser.xml -v
Certain attributes are not allowed to be updated, such as the data type of an application 
group field or folder field. If you specify to ignore and continue, the XML batch program 
produces a warning message and the rest of the attributes continue to be updated. 
Y ou can validate the input XML file by running arsxml validate. When the validate command 
is used, only the lines in the input XML file are checked. No call to the Content Manager 
OnDemand server is made. The following command validates the input XML file:
arsxml validate -i sample.xml
3.3.2  Special features of the XML batch program
Y ou can add user or group permissions to an application group or folder by adding a 
permission child object to the application group or folder group object.
Dependent objects, such as all users that belong to a group, can be exported together when 
you choose to export the group rather than having to add a user object to the XML file for 
every user in the group. Y ou export the group by specifying the arsxml command option -r d 
on the command line.
In a case when no network connection exists between two servers, the XML batch program 
can be used to export Content Manager OnDemand objects to an XML file from one server 
and later import to another server. 
If an error occurs during the processing of one of the objects in the input XML file, the 
remainder of the XML file is not processed unless option -e c is used on the arsxml 
command line.
Note: When you create an input XML file, not all attributes must be specified for each 
object. 
Note: Objects must be specified in the correct order. For example, when you add 
application groups and applications in the same XML file, you must first specify all of the 
application groups and then specify the applications.