Home
XSLT Processor
Website Editor
Genaral
Installation
Password protection
User's Guide
Designer's Cuide
Developer's Guide
Parameters
Abstract classes
WCX Editor utilities
Markup elements

There are two groups of markup elements. The first group serves for division of the web site pages. The second serves for definition of the content of the page. Markup elements for pages division are
<!ELEMENT site-map (pages-div+)>
<!ELEMENT pages-div (html-page*,menu.items*)>
<!ATTLIST html-page file ID #REQUIRED>
<!ATTLIST html-page menu-item CDATA #REQUIRED>
<!ELEMENT menu.items (html-page+|menu-div+)>
<!ATTLIST menu.items title CDATA #IMPLIED>
<!ELEMENT menu-div (html-page,popup-items)>
<!ELEMENT popup-items (html-page*)>
The children of html-page element are the top objects. You can install any number of top objects. In the free distribution of WCX Editor we design the html-page object as
<!ELEMENT html-page (head?,img-text-block*,pre*,html-code*)>
The top objects are located by their position. We will call the children of the top objects merely the objects.

The objects defined in the package are
<!ELEMENT a (#PCDATA)>
<!ELEMENT ref (#PCDATA)>
<!ELEMENT img (img?)>
<!ELEMENT ul (li*)>
<!ELEMENT br EMPTY>
<!ELEMENT li (#PCDATA|ref|a)>
<!ATTLIST a href CDATA #REQUIRED>
<!ATTLIST a target (_blank) #IMPLIED>
<!ATTLIST ref file IDREF #REQUIRED>
<!ATTLIST img src CDATA #REQUIRED>
<!ATTLIST img width CDATA #IMPLIED>
<!ATTLIST img height CDATA #IMPLIED>
<!ATTLIST img alt CDATA #IMPLIED>
<!ATTLIST img align (left|center|right) 'center'>
An object can be handled by its parent or be completely independent of its parent. The last is an elementary object. Once the top object creates an elementary object child it delegates to the object a part of its functionality.
Copyright © 2004 www.dopscripts.com