Naming


Any XML element may be named. There are two reasons why this might be desired. Groups and profiles might be named so that DB Plot could selectively build a subset of the profiles contained in a configuration file.

With a configuration like:

<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="text/xsl" href="http://www.temblast.com/xsl/dbplot.xsl"?> <dbplotconfig> ... <group name="QA-Tests"> <profile name="Test1"> ... </profile> <profile name="Test2"> ... </profile> </group> ... </dbplotconfig>

The following command would process only Test1 and Test2.

dbplot foo.dbp QA-Tests\*

Plots, panes and traces might be labeled so that they may be referred to in a stylesheet.

With a configuration like:

<plot name="Test1"> ... <pane name="Main"> ... <trace name="Sweep"> ... <\trace> <\pane> </plot>

The corresponding style sheet might contain:

plot.Test1 {border-style: solid; border-width: 1.5pt; border-color: black} pane.Main {background-color: dodgerblue} trace.Sweep {line-width: 2.5pt; line-color: blue}