You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/01/14 21:27:42 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/config/doctypes/schemas sidebar.rng

gregor      2004/01/14 12:27:42

  Added:       src/webapp/lenya/pubs/blog/config/doctypes/schemas
                        sidebar.rng
  Log:
  add relax ng schema for sidebar
  
  there are still some glitches in the editor.. please review
  
  this fixes #26111
  
  Revision  Changes    Path
  1.1                  cocoon-lenya/src/webapp/lenya/pubs/blog/config/doctypes/schemas/sidebar.rng
  
  Index: sidebar.rng
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
    <start>
      <element name="sidebar">
        <oneOrMore>
          <element name="block">
            <element name="title">
              <data type="NCName"/>
            </element>
            <element name="content">
              <oneOrMore>
                <choice>
                  <text/>
                  <element name="a">
                    <attribute name="href">
                      <data type="anyURI"/>
                    </attribute>
                    <text/>
                  </element>
                  <element name="br">
                    <empty/>
                  </element>
                </choice>
              </oneOrMore>
            </element>
          </element>
        </oneOrMore>
      </element>
    </start>
  </grammar>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org