BEE Tag Syntax
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    v BEE Syntax
       o General Syntax
       o BEE Script Syntax
       o BEE Tag Syntax
       o From Script to Tag
    > BEE Commands
    > Database Operation
    > Content Management
    > Objects and Classes
    > Interface with others
    o Glossary
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Reference >> BEE Syntax >> BEE Tag Syntax <=  =>      <  1  >  
Syntax rules for BEE Tag only

BEE Tag:     <beetagname [name1=value1 ...]>

 

Here are the rules specifically for BEE Tag syntax:

1)      A BEE Tag is put in the HTML scope and there is no need to be surrounded by <script> tags.

2)      White spaces inside the tag (between '<' and '>') are ignored unless it is quoted by a pair of double or single quotation marks as the value of a parameter.  White spaces outside the tag are preserved (as with HTML tags).

3)      Comments are surrounded by '<!--' and '-->' as in HTML tag.  ('//', '/*' and '*/' are taken literally without hiding any display.)

4)      A BEE Tag starts with a '<bee' immediately followed by the Command Name, and ends with '>'.

5)      Between the Command Name and the end of the command ('>') is a series of name=value pairs called attributes, even for "access", "if", "elseif", "foreach", "while" and "function", in which a "block-end" tag in the form of "</bee>" is required to close the block.  (To sooth some authoring tools which warn for unmatched block-begin and block-end tags, you can add the command name to the closing tag like "</beeCommandName>; anything between "</bee" and ">" will be ignored.)

6)      White spaces between two BEE Tags are part of the HTML document and will therefore show up in the document source (not necessarily the display though).  White spaces inside a BEE Tag are ignored unless within a Quoted Attribute Value.

BEE Tag name is preceded by "<bee" with no spaces in between, and the tag ends with ">", just like an HTML tag does.  Optionally, a BEE Tag can start with "[bee" and ends with "]", which is useful when your authoring tool complains about a BEE Tag being inside an HTML Tag.

 

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd