[Contents] [Prev] [Next] [Index] [Report an Error]

Using Formatted ASCII Text for the Replacement Element

If using formatted ASCII text to represent the element, a client application includes the action="replace" and format="text" attributes in the <load-configuration/> tag or opening <load-configuration> tag:

<rpc>
<!- - For a file - ->
<load-configuration action="replace" format="text" url="file"/>

<!- - For a data stream - ->
<load-configuration action="replace" format="text">
<!- - formatted ASCII configuration statements - ->
</load-configuration>
</rpc>

The application places the inactive: or active: operator on the line above the new element and the replace: operator directly before the new element. It includes all child statements that it is defining for all children of the element:

<configuration-text>
/* statements for parent levels */

    /* For an object with an identifier */
(inactive | active):
replace: object identifier {
/* Child configuration statements */
}

/* For a hierarchy level or object without an identifier */
(inactive | active):
replace: element {
/* Child configuration statements */
}

/* closing braces for parent levels */
</configuration-text>

[Contents] [Prev] [Next] [Index] [Report an Error]