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

 

REPLACE

Substitutes the value of a variable, session variable, list item, built-in value, or counter within REPLACE.

Syntax

Parameters

STR (required)
Value of variable, session variable, list item, built-in value or counter to substitute.

Description

The REPLACE tag substitutes the value of a variable, session variable, list item, built-in value, or counter within the tag. Use the REPLACE tag selectively or you may slow performance, since REPLACE must scan all text in all tags contained within the parent REPLACE. For multiple replacements in non-tag data (for example, content or CDATA), use REPLACEALL for better performance.

For HTML tags, you can use the REPLACEALL attribute to replace values. For more information about variables, see the Sites Developer's Guide.

Error Numbers

There are no possible errno for this tag.

Example

This example substitutes the value of the variable file for Variables.file within REPLACE.

See Also

REPLACEALL

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.