<Argument> element
Syntax
Parent element: <Get>, <Set>, <Diff>, <PrereqDef>, <Prereq>, <PropertyDef>, <Property>
Usage
The content of the <Argument> element is expanded as described in section Expansion of command line elements and combined with the <Command> and or the <Stdin> elements to form a complete command line. See section Command line generation for more details.
Some characters often found in shell expressions, such as <, > and & are not allowed in XML documents. These characters must be replaced by the corresponding XML entity:
| Character | XML entity |
|---|---|
| < | < |
| > | > |
| & | & |
Alternatively, a CDATA section can be used if the expression contains many of such characters. CDATA sections start with <![CDATA[ and ends with ]]>.
Example
The vmoParam.xml catalog
uses the <Argument> element to add an argument to the vmo command
for each vmo parameter in the profile:
<CfgMethod id="vmo">
<Set type="permanent">
<Command>/usr/sbin/vmo -p%a</Command>
<Argument> -o %n=%v1</Argument>
</Set>
</CfgMethod>