xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-stylebook/src/org/apache/stylebook/data engine.dtd engine.xml
Date Wed, 01 Dec 1999 12:38:17 GMT
pier        99/12/01 04:38:17

  Modified:    src/org/apache/stylebook/data engine.xml
  Added:       src/org/apache/stylebook/data engine.dtd
  Log:
  Added the DTD for engine configuration and updated configuration file.
  
  Revision  Changes    Path
  1.2       +6 -1      xml-stylebook/src/org/apache/stylebook/data/engine.xml
  
  Index: engine.xml
  ===================================================================
  RCS file: /home/cvs/xml-stylebook/src/org/apache/stylebook/data/engine.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- engine.xml	1999/12/01 06:00:35	1.1
  +++ engine.xml	1999/12/01 12:38:17	1.2
  @@ -1,8 +1,11 @@
   <?xml version="1.0"?>
  +<!DOCTYPE engine SYSTEM "res:/org/apache/stylebook/data/engine.dtd">
   
  -<!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 06:00:35 $ -->
  +<!-- ENGINE CONFIGURATION: Configuration for the StyleBook Engine class.
  +                           See engine.dtd for informations. -->
   
   <engine>
  +
     <debug enabled="true"/>
   
     <parser class="org.apache.stylebook.parsers.CachingParser">
  @@ -22,5 +25,7 @@
     <printer name="xml" class="org.apache.stylebook.printers.XMLPrinter"/>
     <printer name="html" class="org.apache.stylebook.printers.HTMLPrinter"/>
     <printer name="image" class="org.apache.stylebook.printers.ImagePrinter"/>
  +
   </engine>
   
  +<!-- CVS $Revision: 1.2 $ $Date: 1999/12/01 12:38:17 $ -->
  \ No newline at end of file
  
  
  
  1.1                  xml-stylebook/src/org/apache/stylebook/data/engine.dtd
  
  Index: engine.dtd
  ===================================================================
  <?xml encoding='US-ASCII'?>
  
  <!-- ENGINE DTD: specifies how the engine configuration file should
                   be formatted. Reference it as
                   SYSTEM "res:/org/apache/stylebook/data/engine.dtd" -->
  
  <!ELEMENT engine (debug?, parser, producer*, processor*, printer*)>
  
  <!ELEMENT debug EMPTY>
  <!ATTLIST debug enabled (true|false) "false">
  
  <!ELEMENT parser (parameter)*>
  <!ATTLIST parser class CDATA #REQUIRED>
  
  <!ELEMENT producer (parameter)*>
  <!ATTLIST producer name  CDATA #REQUIRED
                     class CDATA #REQUIRED>
  
  <!ELEMENT processor (parameter)*>
  <!ATTLIST processor name  CDATA #REQUIRED
                      class CDATA #REQUIRED>
  
  <!ELEMENT printer (parameter)*>
  <!ATTLIST printer name  CDATA #REQUIRED
                    class CDATA #REQUIRED>
  
  <!ELEMENT parameter EMPTY>
  <!ATTLIST parameter name  CDATA #REQUIRED
                      value CDATA #REQUIRED>
  
  <!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 06:00:36 -->
  
  
  

Mime
View raw message