Gnome-db report engine's DTD



Hello, i was working this weekend, i have been reading the
reportviewer-0.2.tgz's DTD and (now, perhaps when i learn XML...) i
think it's ok. I have change only the reference to the data source, they
use another XML file, but i have put a XML query (I don't know how i
must reference into this DTD the Vivien's DTD).

Well the friday i will finish my exams, i promis start to learn XML...

Bye.
<!ELEMENT report (ReportHeader, PageHeader, Detail, PageFooter, ReportFooter)>
<!ATTLIST report
           PageSize           CDATA #REQUIRED
           PageOrientation    CDATA #REQUIRED
           TopMargin          CDATA #REQUIRED
           BottomMargin       CDATA #REQUIRED
           LeftMargin         CDATA #REQUIRED
           RightMargin        CDATA #REQUIRED>

<!ELEMENT ReportHeader (Line*, Label*, Special*)>
<!ATTLIST ReportHeader
          Height          CDATA #REQUIRED
          PrintFrequency  CDATA #REQUIRED>
   
<!ELEMENT PageHeader (Line*, Label*, Special*)>
<!ATTLIST PageHeader
          Height         CDATA #REQUIRED
          PrintFrequency CDATA #REQUIRED>
   
<!ELEMENT Detail (Line*, Label*, Special*, Field)>
<!ATTLIST Detail
          Height  CDATA #REQUIRED>
   
<!ELEMENT PageFooter (Line*, Label*, Special*)>
<!ATTLIST PageFooter
          Height         CDATA #REQUIRED
          PrintFrequency CDATA #REQUIRED>
   
<!ELEMENT ReportFooter (Line*, Label*, Special*, CalculatedField*)>
<!ATTLIST ReportFooter
          Height         CDATA #REQUIRED
          PrintFrequency CDATA #REQUIRED>
   
<!ELEMENT Line EMPTY>
<!ATTLIST Line
          X1      CDATA #REQUIRED
          Y1      CDATA #REQUIRED
          X2      CDATA #REQUIRED
          Y2      CDATA #REQUIRED
          Width   CDATA #REQUIRED
          Color   CDATA #REQUIRED
          Style   CDATA #REQUIRED>
   
<!ELEMENT Label EMPTY>
<!ATTLIST Label
          Text            CDATA #REQUIRED
          X               CDATA #REQUIRED
          Y               CDATA #REQUIRED
          Width           CDATA #REQUIRED
          Height          CDATA #REQUIRED
          BackgroundColor CDATA #REQUIRED
          ForegroundColor CDATA #REQUIRED
          BorderColor     CDATA #REQUIRED
          BorderWidth     CDATA #REQUIRED
          BorderStyle     CDATA #REQUIRED
          FontFamily      CDATA #REQUIRED
          FontSize        CDATA #REQUIRED
          FontWeight      CDATA #REQUIRED
          FontItalic      CDATA #REQUIRED
          HAlignment      CDATA #REQUIRED
          VAlignment      CDATA #REQUIRED
          WordWrap        CDATA #REQUIRED>
   
<!ELEMENT Field (query)>
<!ATTLIST Field
          Text            CDATA #REQUIRED
          X               CDATA #REQUIRED
          Y               CDATA #REQUIRED
          Width           CDATA #REQUIRED
          Height          CDATA #REQUIRED
          BackgroundColor CDATA #REQUIRED
          ForegroundColor CDATA #REQUIRED
          BorderColor     CDATA #REQUIRED
          BorderWidth     CDATA #REQUIRED
          BorderStyle     CDATA #REQUIRED
          FontFamily      CDATA #REQUIRED
          FontSize        CDATA #REQUIRED
          FontWeight      CDATA #REQUIRED
          FontItalic      CDATA #REQUIRED
          HAlignment      CDATA #REQUIRED
          VAlignment      CDATA #REQUIRED
          WordWrap        CDATA #REQUIRED
          DataType        CDATA #REQUIRED
          DateFormat      CDATA #REQUIRED
          Precision       CDATA #REQUIRED
          Currency        CDATA #REQUIRED
          NegValueColor   CDATA #REQUIRED
          CommaSeparator  CDATA #REQUIRED>
   
<!ELEMENT CalculatedField (query)>
<!ATTLIST CalculatedField
          CalculationType CDATA #REQUIRED
          Text            CDATA #REQUIRED
          X               CDATA #REQUIRED
          Y               CDATA #REQUIRED
          Width           CDATA #REQUIRED
          Height          CDATA #REQUIRED
          BackgroundColor CDATA #REQUIRED
          ForegroundColor CDATA #REQUIRED
          BorderColor     CDATA #REQUIRED
          BorderWidth     CDATA #REQUIRED
          BorderStyle     CDATA #REQUIRED
          FontFamily      CDATA #REQUIRED
          FontSize        CDATA #REQUIRED
          FontWeight      CDATA #REQUIRED
          FontItalic      CDATA #REQUIRED
          HAlignment      CDATA #REQUIRED
          VAlignment      CDATA #REQUIRED
          WordWrap        CDATA #REQUIRED
          DataType        CDATA #REQUIRED
          DateFormat      CDATA #REQUIRED
          Precision       CDATA #REQUIRED
          Currency        CDATA #REQUIRED
          NegValueColor   CDATA #REQUIRED
          CommaSeparator  CDATA #REQUIRED>
   
<!ELEMENT Special EMPTY>
<!ATTLIST Special
          Type            CDATA #REQUIRED
          Text            CDATA #REQUIRED
          X               CDATA #REQUIRED
          Y               CDATA #REQUIRED
          Width           CDATA #REQUIRED
          Height          CDATA #REQUIRED
          BackgroundColor CDATA #REQUIRED
          ForegroundColor CDATA #REQUIRED
          BorderColor     CDATA #REQUIRED
          BorderWidth     CDATA #REQUIRED
          BorderStyle     CDATA #REQUIRED
          FontFamily      CDATA #REQUIRED
          FontSize        CDATA #REQUIRED
          FontWeight      CDATA #REQUIRED
          FontItalic      CDATA #REQUIRED
          HAlignment      CDATA #REQUIRED
          VAlignment      CDATA #REQUIRED
          WordWrap        CDATA #REQUIRED
          DateFormat      CDATA #REQUIRED>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]