Home > Contents > Index >
ICS.GETVAR
Returns the value of a Sites variable.
Syntax
<ICS.GETVAR [NAME="varname"] ENCODING="default" [OUTPUT="some output"]/>Parameters
NAME (optional)
- The regular name of the variable.
ENCODING (required)
- The encoding used to convert binary values to a string. The value of this parameter must be set to
default
.OUTPUT (optional)
- Specifies an optional output variable. If this parameter is not specified, the output is streamed to the browser.
Description
The
ics.getvar
tag returns the value of a variable. If the variable does not exist,ics.getvar
returns an empty string.Error Numbers
There are no possible
errno
for this tag.Example
The following line retrieves the value of the Sites variable
username.
<ics.getvar name=username" encoding="default"/>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.