Documentation

Description of the tags with which you can format an XML-file


Site pages formation, formatting of text paragraphs:

ARTICLE

SECTION

PARA


Lists:

ITEMIZEDLIST

ORDEREDLIST

LISTITEM


Links:

ULINK

WWW

MAILTO


Analogs of the HTML-tags H1, H2, H3, H4:

MAINHEADING

SECONDHEADING

THIRDHEADING

FORTHHEADING


Analogs of some other HTML-tags:

IMG

STRONG

EM

SUP

SUB

PRE

BR


Some unusual text formatting tags:

LT

GT


Include another php file:

COMMAND


Attributes common for almost all tags: ID and CLASS.

'ID' attribute is useful to make link from one place on the site to another place. If attribute 'ID' is set, anchor <a name='attribute value'> automatically is set before the page element. You need to use tag ULINK to get the element with defined 'ID' attribute.

With the help of the 'CLASS' attribute you can define CSS class.

In the XML-file:

<para class='red'>This is the parahraph text, formatted by CSS class 'red'.</para>

Result in the browser:

This is the paragraph text, formatted by CSS class 'red'.


tag: ARTICLE

attributes: TITLE

The only tag in the whole document. It contains all pages of the site. Each page you can format with the SECTION tag.

TITLE is the common document title. It will be added at the end of each HTML tag <title> on each site page.


tag: BR

attributes: none

Breacks the line (equal to BR tag in HTML).

In the editor: <para>With the <br></br> tag help you can break the line.</para>

Result in the browser:

With the
tag help you can break the line.


tag: COMMAND

attributes: none

With tag 'COMMAND' you can include file with php script which returns some data.

You can see the result on this page.


tag: EM

attributes: none

If you want the part of the text to be emphazed and you don't want to define CSS class for this part of the text, you can use the EM tag.

In this way:

<para>The next part of the text <em>formatted by EM tag</em>.</para>

Result in the browser:

The next part of the text formatted by EM tag.


tag: FORTHHEADING

attributes: ID, CLASS

<forthheading>This is the heading, that is equal to the H4 heading in HTML</forthheading>

Result in the browser:

This is the heading, that is equal to the H4 heading in HTML


tag: GT

attributes: none

The "Greater" sign. It is used for tag formatting. For example: <lt></lt>img<gt></gt>.

Result in the browser: <img>.

You need to use it with the LT tag.


tag: IMG

attributes: SRC, ALT, ID, CLASS

This tag is almost equivalent of the HTML-tag 'IMG'.

The example of usage:
<img src="URL of the image" alt="If no image loaded, here goes an alternate text" target="_blank"></img>

Result in the browser:
If no image loaded, here goes an alternate text


tag: ITEMIZEDLIST

attributes: ID, CLASS

With help of this tag you can create unordered lists (<UL> in HTML). To create items of this list you need to use LISTITEM tag (<LI> in HTML).

If an attribute 'ID' is defined, the anchor <a name='Attribute value'> is automatically inserted before this list. In the place from where you want to get this anchor you should use ULINK tag.

CSS class you can define with the 'CLASS' attribute.

From here you'll get the list with attributes 'ID' and 'CLASS'.


tag: LISTITEM

attributes: ID, CLASS

It is the nested tag of the ITEMIZEDLIST and ORDEREDLIST tags and it is equal to the <LI> HTML tag.

The list items on this page are formatted with the help of the LISTITEM tag.

If an attribute 'ID' is defined, the anchor <a name='Attribute value'> is automatically inserted inside this element of the list. In the place from where you want to get this anchor you should use ULINK tag.

Go to the list item with defined 'ID' attribute.


tag: LT

attributes: none

The "Less" sign. It's useful when you want to show the tag on the page. For example: <lt></lt>img<gt></gt>.

Result in the browser: <img>.

You need to use it with the GT tag.


tag: MAILTO

attributes: ID, CLASS

If you want to make the link which opens mail sending program (I don't remember if it's used somewhere for now) you need to use the 'MAILTO' tag ('А' tag in the HTML with the 'mailto' attribute, see also ULINK and WWW tags):

<mailto>test@test.com</mailto>

Result in the browser: test@test.com


tag: MAINHEADING

attributes: ID, CLASS

<mainheading>This is the heading, that is equal to the H1 heading in HTML (there MUST be the one MAINHEADING tag on the page)</mainheading>

Result in the browser:

This is the heading, that is equal to the H1 heading in HTML (there MUST be the one MAINHEADING tag on the page)


tag: ORDEREDLIST

attributes: ID, CLASS

With help of this tag you can create ordered lists (<OL> in HTML). To create items of this list you need to use LISTITEM tag (<LI> in HTML).

If an attribute 'ID' is defined, the anchor <a name='Attribute value'> is automatically inserted before this list. In the place from where you want to get this anchor you should use ULINK tag.

CSS class you can define with the 'CLASS' attribute.

From here you'll get the list with attributes 'ID' and 'CLASS'.


tag: PARA

attributes: ID, CLASS

After formatting in HTML it converts in the HTML tag 'p', that is equal to paragraph. If the 'ID' attribute is defined, the anchor <a name='Attribute value'> is automatically inserted before this paragaraph. You can use ULINK tag in the place, from where you want to get the parahraph with the defined 'ID' attribute.


tag: PRE

attributes: none

It's the analog of the HTML tag PRE.

In the editor:
<pre>
Tag 'PRE' shows the text in the browser in the same way
     you type it in the editor
                formatted by the monotype font.
</pre>

Result in the browser:

Tag 'PRE' shows the text in the browser in the same way
   you type it in the editor
      formatted by the monotype font.

tag: SECONDHEADING

attributes: ID, CLASS

<secondheading>This is the heading, that is equal to the H2 heading in HTML</secondheading>

Result in the browser:

This is the heading, that is equal to the H2 heading in HTML


tag: SECTION

attributes: ID, LANG

With the SECTION tag you can format site pages. It's the direct descendant either ARTICLE tag or the itself, for the nested site pages.

The 'ID' attribute is the unique for each section. The 'LANG' attribute defines site language, it is needed for switching between site languages.


tag: STRONG

attributes: none

If you want to make some part of text bold, you can use 'STRONG' tag.

In this way:

<para>Next part of the text <strong>formatted by the 'STRONG' tag</strong>.</para>

Result in the browser:

Next part of the text formatted by the 'STRONG' tag.


tag: SUB

attributes: none

To definesubscript you need to use 'SUB' tag (equivalent of the HTML tag <sub>).

In this way:

<para>This element has the<sub>subscript</sub>.</para>

Result in the browser:

This element has thesubscript.


tag: SUP

attributes: none

To definesuperscript you need to use 'SUP' tag (equivalent of the HTML tag <sup>).

In this way:

<para>This element has the<sup>superscript</sup>.</para>

Result in the browser:

This element has thesuperscript.


tag: THIRDHEADING

attributes: ID, CLASS

<thirdheading>This is the heading, that is equal to the H3 heading in HTML</thirdheading>

Result in the browser:

This is the heading, that is equal to the H3 heading in HTML


tag: ULINK

attributes: URL, TARGET, ID, CLASS

With the help of the 'ULINK' tag you can create an ordinary link ('A' tag in the HTML, see also WWW and MAILTO tags):

An 'URL' attribute - this is the goal where the link points. A 'TARGET' attribute is almost equivalent of the 'target' attribute in the HTML (no "framename" value in this interpretation). It can take values "_blank", "_self", "_parent" and "_top".

<ulink url="http://simpleX.tigress.com.ua?&lang=en" target="_blank">SimpleX engine, based on the XML-file parsing.</ulink>

Result in the browser: SimpleX engine, based on the XML-file parsing., The link with the '#formatted' anchor on the another page (in the another section of the XML-file) of the site.

To get the site element with the defined 'ID' attribute:

<ulink url="?path=1&lang=en#itemizedlist-with-id">Go to the list with the defined 'ID' and 'CLASS' attributes.</ulink>

Result in the browser: Go to the list with the 'ID' and 'CLASS' attributes.


tag: WWW

attributes: ID, CLASS

Just a link which name has the same value as the URL ('A' tag in the HTML, see also ULINK and MAILTO tags):

<www>http://simplex.tigress.com.ua?lang=en</www>

Result in the browser: http://simplex.tigress.com.ua?lang=en

Время генерации страницы 0.021095037460327