1. XML Model (Draft 7)
ALPHA Script - XML Model has to be well defined and self explained. It is important to try to
generate a lightweight XML schema for easy and fast parsing.
XML Model (Schema)
<?xml version="1.0" encoding="UTF8"?>
<program name="[File name]">
[XML CODE]
</program>
Code Sections
1. Definitions
<definitions>
<definition id="def_num">
…
</definition>
</definitions>
2. Code Blocks
<code_blocks>
<code_block id="code_block_num">
…
</code_block>
</code_blocks>
3. Base
<base>
…
</base
In the XML schema any "code" element in the above sections must have a unique ID.
References & Values
In the XML the references are marked with "@" and the values are marked with "$".
The references return an expression for processing while the values return a
result. These two symbols can be used anywhere in the XML but a few options among
the elements such as "expression", "args" and "execute" do not need them.
6. ALPHA Script XML equivalent tags of ALPHA Script tags for embedding in HTML 4/5.
General Rule
<code id="code_id" keyword="as_tags"/> Put code in ALPHA Script tags (<@ … @>)
George Delaportas (G0D)
---
CEO & Founder of localhost Ltd.
Informatics & Computer Engineer
MSc in Data Communications & Networking
PhD in Digital Forensics