<?xml version="1.0" encoding="UTF-8"?>
<!--
  DTD for xml configuration files for publishing the
  outputs of a LoadSim run.
-->
<!ELEMENT publish (page+)>
<!ATTLIST page 
          title CDATA #REQUIRED
          name CDATA #REQUIRED
          description CDATA #IMPLIED>

<!ELEMENT page (summary*)>
<!ATTLIST page 
          name CDATA #REQUIRED
          description CDATA #IMPLIED
          title CDATA #REQUIRED>

<!ELEMENT summary (columns, histogram?, (include-all|exclude-all)?)>
<!ATTLIST summary
          metric (ttfb | ttlb) "ttlb"
          do-chart (true | false) "true" 
          do-table (true | false) "true" 
          calc-adjusted (true | false) "true"
          name CDATA #REQUIRED
          title CDATA #REQUIRED>

<!ELEMENT columns (include+)>

<!ELEMENT include EMPTY>
<!ATTLIST include
          name (stdev | mean | min | max | bad-samples) "mean">

<!ELEMENT histogram EMPTY>
<!ATTLIST histogram
          num-bins CDATA #REQUIRED>

<!ELEMENT include-all (except*)>

<!ELEMENT exclude-all (except*)>

<!ELEMENT except EMPTY>
<!ATTLIST except
          based-on (hostname | ramping | response-code | label) "label"
          value CDATA #REQUIRED>