XSSI echo directive
The echo
directive prints the value of a variable as if you'd simply typed it in as part
of your HTML (i.e., if the variable "elPresidente" is set to "nadav," then <!--#echo
var="elPresidente" --> will print "nadav").
Basic syntax:
<!--#echo var="somevariable" -->
How to insert a new echo directive
To insert a new XSSI echo directive
at the cursor's current location in your document, either choose "XSSI
echo" from the Insert menu
icon in the XSSI category on the floating Object palette. Simply type the name
of the variable you want to echo or choose an existing one from the list and
click "OK." If you have automatic translation
enabled (or you manually translate your document),
the appropriate value will be shown. Otherwise, an icon
will appear to show you that there is an invisible element on your page.
Note: Only variables
that have been set before the current location will appear in the list since
only these variables are available to be echoed. In addition, if any environment
variables have been set using the Set Environment Variables
command, they will appear in the list as well.
How to change an existing echo
directive
To change an existing echo directive, select the directive either by clicking
the echoed text (if it's been translated)
or invisible element icon
or by clicking within the directive in the HTML inspector window. When you do
this, the Property Inspector for XSSI echo directives will appear. It looks
like this:
Here, you can change the variable
to be echoed, the same way you created it.
For more information about using
set directives (and XSSI in general),
take a look at our Introduction
to XSSI.
Can't find something?
Check out the JavaScript archive
|