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

 

CALLELEMENT

Processes the content of an element.

Syntax

Parameters

NAME (required)
Name of the element to call.

PACKEDARGS (optional)
A name/value pair to pass to the called element. Pairs are in the format x=y&a=b&c=d. This is useful if a string in this form is retrieved from a database field. It is more efficient to pass individual parameters rather than constructing a string in this form to pass values to an element.

SCOPED (optional)
Valid options for this attribute are as follows:

Description

The CALLELEMENT tag processes the content of an element. The element must exist in the ElementCatalog.

Variables that exist prior to CALLELEMENT are available to tags within the called element. Variables set within the called element are available in the parent element after the CALLELEMENT tag. Variables can also be set using the ARGUMENT tag within the CALLELEMENT tag or by using the PACKEDARGS parameter.

Variables for the CALLELEMENT tag are subject to an order of precedence. The order of precedence is relative to the location of the variable as follows:

The following are examples of how the order of precedence works:

errno

The possible values of errno include:

Value
Description
-10
No element exists.
-12
Cannot evaluate element.

Example

This example calls the element SimpleTest with the arguments Foo and Foo2.

You can specify PACKEDARGS in the following format:

The parameters Foo and Foo2 with values Bar and Bar2 are available to the element SimpleTest.

See Also

ARGUMENT

  Home > Contents > Index >

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