Author: sabob
Date: Sat Feb 6 00:58:08 2010
New Revision: 907145
URL: http://svn.apache.org/viewvc?rev=907145&view=rev
Log:
defined an official dtd doctype. CLK-587
Modified:
click/trunk/click/documentation/docs/click-dtd.html
Modified: click/trunk/click/documentation/docs/click-dtd.html
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/click-dtd.html?rev=907145&r1=907144&r2=907145&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/click-dtd.html (original)
+++ click/trunk/click/documentation/docs/click-dtd.html Sat Feb 6 00:58:08 2010
@@ -31,9 +31,21 @@
<h1>Click DTD</h1>
-Click application XML descriptor Documentation Type Definition (DTD): (A full example is
available <a href="click-dtd-example.html">here</a>)
+Click application XML descriptor Documentation Type Definition (DTD) :
+(A full example is available <a href="click-dtd-example.html">here</a>)
<pre class="codeDtd">
+<!--
+ DTD for the Click Application Configuration File, Version 2.1
+
+ To support validation of your configuration file, include the following
+ DOCTYPE element at the beginning (after the "xml" declaration):
+
+ <!DOCTYPE click-app PUBLIC
+ "-//Apache Software Foundation//DTD Click Configuration 2.1//EN"
+ "http://click.apache.org/dtds/click_2_1.dtd">
+-->
+
<!-- The Click Application (click.xml) Document Type Definition. -->
<!ELEMENT <span class="red">click-app</span> (<span class="blue">pages</span>*,
<span class="blue">headers</span>?, <span class="blue">format</span>?,
<span class="blue">mode</span>?, <span class="blue">controls</span>?,
<span class="blue">file-upload-service</span>?, <span
class="blue">log-service</span>?, <span class="blue">template-service</span>?)>
|