vgritsenko    2002/08/13 14:35:44

  Modified:    src/java/org/apache/cocoon/components/treeprocessor
                        treeprocessor-builtins.xml
  Log:
  add DTD
  
  Revision  Changes    Path
  1.7       +39 -0     
xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/treeprocessor-builtins.xml
  
  Index: treeprocessor-builtins.xml
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/treeprocessor-builtins.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- treeprocessor-builtins.xml        9 Jun 2002 00:23:26 -0000       1.6
  +++ treeprocessor-builtins.xml        13 Aug 2002 21:35:44 -0000      1.7
  @@ -1,4 +1,43 @@
   <?xml version="1.0"?>
  +
  +<!DOCTYPE tree-processor [
  +  <!ELEMENT tree-processor (language+)>
  +  <!ELEMENT language (namespace, file, parameter, roles, nodes)>
  +  <!ATTLIST language
  +    name CDATA #REQUIRED
  +    class CDATA #REQUIRED
  +    pool-min CDATA #IMPLIED
  +    pool-max CDATA #IMPLIED
  +  >
  +  <!ELEMENT namespace EMPTY>
  +  <!ATTLIST namespace uri CDATA #REQUIRED>
  +  <!ELEMENT file EMPTY>
  +  <!ATTLIST file name CDATA #REQUIRED>
  +  <!ELEMENT parameter EMPTY>
  +  <!ATTLIST parameter element CDATA #REQUIRED>
  +  <!ELEMENT roles (role+)>
  +  <!ELEMENT role (hint*)>
  +  <!ATTLIST role
  +    name CDATA #REQUIRED
  +    shorthand CDATA #REQUIRED
  +    default-class CDATA #REQUIRED
  +  >
  +  <!ELEMENT hint EMPTY>
  +  <!ATTLIST hint
  +    shorthand CDATA #REQUIRED
  +    class CDATA #REQUIRED
  +  >
  +  <!ELEMENT nodes (node+)>
  +  <!ELEMENT node (allowed-children*, ignored-children*, forbidden-children*)>
  +  <!ATTLIST node
  +    name CDATA #REQUIRED
  +    builder CDATA #REQUIRED
  +  >
  +  <!ELEMENT allowed-children (#PCDATA)>
  +  <!ELEMENT ignored-children (#PCDATA)>
  +  <!ELEMENT forbidden-children (#PCDATA)>
  +]>
  +
   <tree-processor>
     <!-- The sitemap language.
          The "class" attribute names the implementation of TreeBuilder to be used for 
this language
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to