/**
@anchor DPSessionFileFormat
@page LEVEL2 DP Session File Format
Since Trick 10, the DP Session file is changed to XML format. The Session XML Document
Type Definitions(DTD) is defined as following:
@see @ref DataProducts "Data Products"
@anchor session_dtd @b Session.dtd
@verbatim
@endverbatim\n
The @c session element is required and is the root element of the Session XML file.
It encloses all the other elements.
The optional @c tstart, @c tstop child elements of @c session specify the data
within this range gets plotted.
The optional @c frequency child element of @c session specifies the delta time
between data points for display purposes. If it is smaller than the delta time of the recorded data
or if it is not defined, then the recorded data frequency is used. If it is greater than the recorded
data delta time, then it is used. It is specified in seconds.
The required @c run child element of @c session can occur once or more times.
It specifies a simulation RUN_ directory as @c dir stated from which to retrieve data.
By default, the time name for each run is @c sys.exec.out.time, however, an optional attribute of each
@c run - @c timename can be specified if a different name other than
the default one is desired.
The required @c product_files child element of @c session can only occur once.
It specifies product specification file(s) to use for this session. Any number (but at least one)
of product specification files may be specified through its @c file element. In other words,
it can have one or more @c file elements. In general the product specification files specify
the type of product parameters to display for the product, and the display attributes for each parameter.
Product specification files are discussed in greater detail in Section @ref DPProductFileFormat "6.2 DP Product File Format".
The required @c version attribute of @c session specifies the version of this file.
The required @c presentation attribute of @c session is only useful when more than
one data set is specified. It can be @c Simple|Comparison|Delta|Contrast. The @c Simple
option will display the data products independently for all data sets specified. The @c Comparison option
will display the data from all data sets in the same display. The @c Delta option subtracts
the nth data set data from the first data set data and presents the result for data sets 2 through n in
the same display. @c Simple is the default option.
@anchor session_device The @c device attribute of @c session specifies the visualization device
for data output. By default, the output data is displayed on the user's current login terminal screen.
Device types are currently @c Terminal (default), @c Printer, and @c File.
@li In order for Printer to work, you need to set your system variables as stated in @ref DPPlotPrinting "6.3 Plot Printing".
The @c gnuplot_terminal attribute of @c session instructs gnuplot to use the given
terminal device for output. The terminals supported are @c X11, @c postscript @c color, @c postscript, @c png, @c eps, and @c aqua
(@c X11 is the default). The “postscript” terminal yields black-n-white printable files. The @c png will create
an image in Portable Network Graphics format. The @c aqua terminal is for Macintosh and uses native Aqua for plot display.
The optional @c machine, @c port attributes of @c session specify the name of a machine and the port
number for plotting.
@section LEVEL3 DP Session File Example
@verbatim
-1.0E20
1.0E20
0.0
/users/hchen/trick_sims/trunk/SIM_Ball++_L1/RUN_realtime
/users/hchen/trick_sims/trunk/SIM_Ball++_L1/RUN_test
/users/hchen/trick_sims/trunk/SIM_Ball++_L1/DP_Product/DP_test_4.xml
/users/hchen/trick_sims/trunk/SIM_Ball++_L1/DP_Product/DP_test_5.xml
@endverbatim
@see @ref session_dtd "Session.dtd"
*/