uexpr
Syntax
uexpr expression;
Description
Generate the string value of an XPath expression
and add it to the result tree, but do not escape special characters.
The uexpr
statement behaves identically
to the expr
statement, except that the
contents are not escaped. By default, characters such as "<", ">",
and "&" are escaped into proper XML as "<", ">",
and "&", respectively, but uexpr
does not execute this escaping mechanism.
Attributes
expression |
XPath expression to add to the result tree. |
SLAX Example
The following statement outputs the string to the result
tree exactly as it appears in the statement. If expr
is used in place of uexpr
, the script
would output the string "<:&>".
uexpr "<:-&>";
Release Information
Statement introduced in version 1.1 of the SLAX language, which is supported in Junos OS Release 12.2 and later releases.