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

 

INSERT

Inserts the content of a file or URL into the current output stream or sets the content into a variable.

Syntax

Parameters

FILE (optional)
Name of file to insert into the current output.

URL (optional)
URL to insert into the current output.

NAME (optional)
Name of the variable to set with the content of FILE or URL.

Description

The INSERT tag inserts the content of a file or URL into the current output stream or sets the content into a variable. In addition, it supports ARGUMENT constructs for compound URL INSERT tags. For example, when an INSERT tag specifies URL (as opposed to FILE), the arguments supplied are attached to the URL line as follows:

errno

The possible values of errno include:

Value
Description
-300
File not found.
-303
Path not found.

Example

This example inserts a file whose path is constructed by concatenating a property from the Content Server properties file and the value of the variable "prolog". The content of the file is inserted into the output.

This example sets the content of a relative URL to a variable, formbits, then displays the value of the variable.

See Also

CSVAR

  Home > Contents > Index >

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