Home > Contents > Index >
ARGUMENT
Declares a value that is available to the parent tag.
Syntax
<ARGUMENT NAME="ARG NAME" VALUE="ARG VALUE"/>Parameters
NAME (required)
- Name of the argument.
VALUE (required)
- Value for this argument.
Description
The
ARGUMENT
tag declares a value that is available to the parent tag. It is used in the context of another tag, and causes a runtime error if it is not contained within a proper parent tag. Depending on the parent tag used, the following are variants of theARGUMENT
tag:
- CGIARGUMENT
- FILEARGUMENT
- TEXTARGUMENT
- FIELDARGUMENT
- INDEXARGUMENT
Note
Use
<CGIARGUMENT NAME="name"/>
to specify that certain CGI parameters be made available to the called module.errno
The value of
errno
is unchanged.Example
The following example uses four
ARGUMENT
tags to specify name/value pairs to a<CATALOGMANAGER>
command:<CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="addrow"/> <ARGUMENT NAME="tablename" VALUE="HorrorBooks"/> <ARGUMENT NAME="title" VALUE="The Shining"/> <ARGUMENT NAME="author" VALUE="Stephen King"/> </CATALOGMANAGER>
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.