Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

ICS.ARGUMENT

Declares a value that is available to the parent tag.

Syntax

Parameters

NAME (required)
Name of the argument.

VALUE (required)
Value for the argument.

CONDITION (optional)
If the expression evaluates to true, then the argument will be used. If it evaluates to false, the argument will be ignored. By default, the argument will be included.

Description

The ICS.ARGUMENT tag declares a value that is available to the parent tag. It is used in the context of another ICS tag, and causes a runtime error if it is not contained within a proper parent tag.

errno

The value of errno is unchanged.

Example

The following example uses four ICS.ARGUMENT tags to specify name/value pairs to an CATALOGMANAGER command:

<CATALOGMANAGER>
   <ICS.ARGUMENT NAME="ftcmd"  VALUE="addrow"/>
   <ICS.ARGUMENT NAME="tablename" VALUE="HorrorBooks"/>
   <ICS.ARGUMENT NAME="title"  VALUE="The Shining"/>
   <ICS.ARGUMENT NAME="author" VALUE="Variables.author" CONDITION="IsVariable.author=true" />
</CATALOGMANAGER>
  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.