<?xml version="1.0" encoding="UTF-8" ?>
<!ELEMENT report-data-set ( connection, global-values?, selection, report-table* ) >

<!ELEMENT connection EMPTY >
<!ATTLIST connection user CDATA #IMPLIED >
<!ATTLIST connection password CDATA #IMPLIED >
<!ATTLIST connection url CDATA #REQUIRED >

<!ELEMENT global-values (selection*) >

<!ELEMENT selection ( sql-query, column-alias* ) >

<!ELEMENT sql-query ( #PCDATA ) >

<!ELEMENT column-alias EMPTY >
<!ATTLIST column-alias column NMTOKEN #REQUIRED >
<!ATTLIST column-alias alias NMTOKEN #REQUIRED >

<!ELEMENT report-table ( selection ) >
