CKHTMLParser parses a template of a
component. The template is the same as HTML, except one fact that it has
"<cgikit>" tag. You can use two types of formats as CGIKit
tag, "<cgikit>...</cgikit>" and "<cgikit
/>". The difference of the formats is whether the tag's body is
empty or not. So, if you write "<cgikit></cgikit>",
it has the same meaning as "<cgikit />".
The CGIKit tag has only one attribute, "name". The
"name" attribute is a name of CGIKit element. The
"name" attribute is composed of "[a-zA-Z0-9_]". You can
enclose the value of the "name" attribute by double quotation
mark. And, The value is case-sensitive. For instance, these have the same
meaning.
<cgikit name=foo></cgikit>
<cgikit name=foo />
<cgikit name="foo"></cgikit>
<cgikit name="foo" />
On the other hand, these have different meanings.
<cgikit name=Foo />
<cgikit name="foo" />
<cgikit name=FOO></cgikit>
Comment of HTML is interpreted by CKHTMLParser because it is necessary to
include something like CSS and Javascript.