directives:propfile

propfile. path reads a Java properties file as a set of definitions. That is, each property (a key/value pair) in the file is interpreted as

define. key value

See the Java documentation for the syntax used in property files.

In the example below the file sampleProperties.prop contains these lines:

# sample properties files
P1 = George Washington
P3 = Thomas Jefferson
POTUS = President of the United States of America

and is equivalent to

define. P1 George Washington
P3 Thomas Jefferson
POTUS President of the United States of America
Xilize markup browser rendering
xilize.

propfile. exsources/sampleProperties.props

${P1} was the first ${POTUS}.

George Washington was the first President of the United States of America.

XHTML generated

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

<p>George Washington was the first President of the United States of America.</p>

</body>
</html>