IXML 2.0 tags (working draft) ----------------------------------- (*) after tag name means that this tag is start of block which is ended with where X is the tag name. For example, is ended with =========================================================== IXML (*) - defines the IXML document - no attributes HEAD (*) - head block of IXML - no attributes NODE (*) - node - NAME = - specify the name of this node - TITLE = - specify the title of node - PREV = - previous node - NEXT = - next node === HEADER TAGS =========================================== DATABASE - database attributes and information - NAME = - name of database - AUTHOR = - author of database - VERSION = - version string - COPYRIGHT = - copyright information DOCUMENT - global attributes for this IXML document - WORDWRAP = SMART || - enable smart wordwrap, NONE disable wordwrap - WORDWRAP - enable old wordwrap - INDEX = - URL of index node - HELP = - URL of help node - TOC = - URL of table of contents - VSPACING = - vertical spacing between lines - LEFT = - left position of windows - TOP = - top position of window - WIDTH = - width of window - HEIGHT = - height of window - TABSIZE = - specify tab size - OUTPUT = - specify the output to use (file, console...) - ALIGN = LEFT || CENTER || RIGHT - default horizontal alignment - VALIGN = TOP || CENTER || BOTTOM - default vertical alignment - BACKGROUND = - URL of default page background image - BGCOLOR = <#rrggbb> || - default page background color - TEXTFG = || <#rrggbb> || - text foreground - TEXTBG = || <#rrggbb> || - text background - TEXTSC = || <#rrggbb> || - text shadow color - CODESET = ??? - not yet available - USEBLANKS = TRUE || FALSE - use spaces, tabs, returns as words if TRUE or ignore them if FALSE - LINKPADDING = - inner spacing for text links (between link text and border) - LINKFGCOL = || <#rrggbb> || - text foreground in text links - LINKBG = - URL of link background image - LINKBGCOL = <#rrggbb> || || - link bg color - LINKFGCOLSEL = ... like LINKFG but for selected link - LINKBGSEL = ... like LINKBG but for selected link - LINKBGCOLSEL = ... like LINKBGCOL but for selected link - LINKFRAME = - frame of text link (see TABLE for string format) - LINKFCOL = - text link frame colors (see TABLE for string format) - LINKFCOLSEL = ... like LINKFCOL but for selected text link - LINKBORDER = - depth of border around text link (0 - no border) - BGSOUND = - URL of sound/module file to play in background - BGSOUNDLOOP = - number of loops for bg sound (0-infinite) BASE - specify the base URL for this database - HREF = - base URL SCREEN - define screen to open document on - MODE = - screen mode ID - LEFT = - screen left offset - TOP = - screen top offset - WIDTH = - screen width - HEIGHT = - screen height - DEPTH = - depth of screen - PUBNAME = - name of this screen - USEPUBLIC = - name of public screen to use - DEFAULT - use default screen MACRO - define macro tag - NAME = - name of new macro tag - REAL = - macro string (definition) ALIAS - shortcut for some string - ALIAS = - alias - REAL = - real string REXX - launch the Arexx program - PROGRAM = - URL of Arexx program + arguments - OUTPUT = - output (file, console...) - INPUT = - input file SYSTEM - launch the external program - PROGRAM = - URL of ext. program + arguments - OUTPUT = - output - INPUT = - input ANIMSCRIPT (*) - animation script block (can be used inside NODE, too) - NAME = - name of script - LOOP = - how many loops through all sequences to make '0' means infinite loop - BACKWARD - play from last sequence to first - PINGPONG - 'ping-pong' play MAP (*) - image/anim map definition block (can be used inside NODE, too) - NAME = - name of map === NODE TAGS ============================================= DOCUMENT - specify document attributes local to this node - for attributes see DOCUMENT header tag H? (*) - change font (header font) where '?' is the number from 1 to 6 (1 is the largest font and 6 is the smallest) - no attributes F? (*) - change font (proportional font) '?' is the number from 1 to 6 (see H? tag) - no attributes X? (*) - change font (fixed width font) '?' is the number from 1 to 6 (see H? tag) - no attributes CODE (*) - change font to fixed width font (usually used to display some program code) - no attributes DEFF (*) - change font to default proportional font - no attributes FONT (*) - change the font - NAME = - specify the font name (e.g. times.font) font size can be included at the end of string, after comma. e.g. NAME="times.font,11" - SIZE = - size of font (from 1 to 6) 1 is the smallest it is possible to specify size relative to current font size (e.g. SIZE=+1, SIZE=-2) - COLOR = || <#rrggbb> || - specify text foreground color - BCOLOR = || <#rrggbb> || - specify text background color - SCOLOR = || <#rrggbb> || - specify text shade color REXX - launch the Arexx program when this node is loaded - for attributes see REXX header tag SYSTEM - launch external program when this node is loaded - for attributes see SYSTEM header tag ; obsolete ---------------------------------------------------------- ; similar effect can be done with table cell backgrounds LAYERS (*) - Line layers mode. Lines in layers block will be placed above each other - no attributes ;--------------------------------------------------------------------- B (*) - Bold the following text - no attributes I (*) - Render the following text in italics - no attributes U (*) - Underline the following text - no attributes S (*) - Enable text shadow - no attributes D - make a distance between two objects - SPACE = || - specify the horizontal space to make DIV (*) - Set alignment of text/objects division - ALIGN = LEFT || CENTER || RIGHT - horizontal alignment - VALIGN = TOP || CENTER || BOTTOM - vertical alignment - DEFALIGN - default alignment (from header) CENTER (*) - Center. Same as
- no attributes A (*) - Anchor. Make the following objects selectable and link to or do action specified if activated. Can be also used for labels (NAME attribute) - HREF = - URL of target node, file or something else (for example: HREF="file://localhost/docs:doc.ixml") Label or line to jump to can be also specified, e.g. HREF="main#firstlabel", HREF="main##35" - ACTION = SYSTEM || - launch the external program BEEP || - display beep CLOSE || - close the window QUIT || - quit the viewer RX || - launch the arexx program ALINK - open link in new window - NAME = - label name. Use this name to position document when #label is called. - HELP = - text to be displayed in 'bubble' when object is selected. Special control characters can be used inside string to control text style and color. 'Command' is always preceded with '\' character. 'Command' characters can be: n - jump to new line b - turn on bold i - turn on italic u - turn on underline r - reset style (normal) 0-9 - pen number to use for text foreground Example: HELP="\bthis is bold\i and italic\r\n\2new line in color 2" - TARGET = - name of frame to use as display target IMG - embed image or anim - SRC = - image/anim URL - TRANS - make object transparent - BORDER = - specify the border depth - ALT = - alternative text - WIDTH = - suggested width - HEIGHT = - sugested height - ISANIM - SRC is animation - ANIMSCRIPT = - name of animation script to use - ANIMSPEED = - delay in vblanks between anim frames - USEMAP = - name of map to use (object will be map) - ALIGN = LEFT || RIGHT || TOP || MIDDLE || BOTTOM - alignment within page - HSPACE = - horizontal space between object and text - VSPACE = - vertical space between object and text - FRAME = ... see TABLE tag - FCOLOR = ... see TABLE tag - FCOLSEL = ... like FCOLOR but used for frame when object is selected ANIMSCRIPT (*) - animation script definition block - NAME = - name of this anim script (required) - LOOP = - how many loops through all sequences to make '0' means infinite loop - BACKWARD - play from last sequence to first - PINGPONG - 'ping-pong' play ASEQUENCE - define new anim sequence (can be used only inside ANIMSCRIPT) - FROM = - frame number to start at ('0' is first frame) - TO = - end frame number - LOOP = - how many loops to make ('0' - infinite) - BACKWARD - play from last frame to first - PINGPONG - first->last->first->last... MAP (*) - map definition block (e.g. for image or anim maps) - NAME = - name of this map (required) AREA - specify one area of map (can be used only inside MAP) - COORDS = - rectangular shape dimensions (left,top,right,bottom) example: COORDS="10,20%,30%,50" - HREF = - URL of link target (node, file ...) - ACTION = ...see LINK tag... - ALT = - alternative text - HELP = ... see LINK tag - TARGET = ... see LINK tag HR - horizontal rule - ALIGN = LEFT || CENTER || RIGHT - horizontal alignement - SIZE = - height in pixels - WIDTH = || - width - NOSHADE - no shade BR - break line (jump to new line) - CLEAR = LEFT || RIGHT || ALL - controls textflow around object(s) if LEFT then text cursor will be moved down until left margin clears, RIGHT does the same for RIGHT margin and ALL does both P - new paragraph (same as

) - no attributes NOBR (*) - compact line (no break), keep the following objects in one line - no attributes PRE (*) - Preformatted. use real new line characters to break lines - no attributes UL (*) - unnumbered list - no attributes LI - list item - no attributes RECT - make rectangle for Arexx drawings - NAME = - name of rectangle - WIDTH = - width - HEIGHT = - height - ALIGN = ... see GFX tag - alignement within page - HSPACE = - h space between text and rect - VSPACE = - v space between text and rect - FRAME = - ... see TABLE tag below - FCOLOR = - ... see TABLE tag below - BORDER = - depth of border INDENT - set margins - SIZE = || - size of indent - FROM = LEFT || RIGHT - specify indent for left or right hand side (default: LEFT) - DEFAULT - reset to default TABLE (*) - table - WIDTH = || - width of table (absolute or relative to display width) - BORDER = - specify the depth of table border - CELLBORDER = - depth of border around each cell - FRAME = - which parts of table frame to include; string format is four chracters, each of them can be 'x' or '.'; first character represents left hand side, second top, third right and fourth bottom side of table; 'x' means include frame and '.' means don't include it; For example, if you want frame on left and right hand sides and don't want top and bottom frame you would specify 'x.x.' - FCOLOR = - frame colors; string is in the same format as for FRAME attribute but here 'x' means SHINE color and '.' means SHADOW color; default is 'xx..' (left and top shine and right and bottom shadow) - CELLSPACING = - spacing between cells - CELLPADDING = - spacing within cells - RULES = NONE || GROUPS || ROWS || COLS || - where to draw rules within the table; ALL if GROUPS then make horizontal rule between each row group and vertical rule between each colgroup; if ROWS then make horizontal rules between each row + vertical between colgroups; if COLS then make vertical rules between each column + horizontal between rowgroups; ALL - draw all rules, NONE - none - ALIGN = ... see GFX tag - HSPACE = ... see GFX tag - VSPACE = ... see GFX tag - BACKGROUND = ... see COLGROUP - background image of table - BGCOLOR = ... see COLGROUP - background color of table COLGROUP (*) - colgroup table element (specifies the group of table columns) - SPAN = - default number of columns in group - ALIGN = ... see align ... - default horizontal alignement for cells in columns - VALIGN = ... see align ... - default vertical alignement for cells in columns - WIDTH = || - width of each column in group (absoulte or relative to table) - BACKGROUND = - background image of each cell in group - BGCOLOR = <#rrggbb> || || - specifies the background color of each group cell - FRAME = - frame of each cell (see TABLE tag) - FCOLOR = - frame colors (see TABLE tag) COL - defaults for each column in group (used within COLGROUP) - ALIGN = ... see align ... - horizontal alignement within column - VALIGN = ... see align ... - vertical alignement within column - WIDTH = || - width of column (absolute or relative to table) - BACKGROUND = ... see COLGROUP - BGCOLOR = ... see COLGROUP - FRAME = - frame of each cell (see TABLE tag) - FCOLOR = - frame colors (see TABLE tag) TBODY (*) - rowgroup table element (specifies the group of table rows) - ALIGN = ... see align ... - default horizontal alignement within rows - VALIGN = ... see align ... - default vertical alignement within rows - BACKGROUND = ... see COLGROUP - BGCOLOR = ... see COLGROUP - FRAME = - frame of each cell (see TABLE tag) - FCOLOR = - frame colors (see TABLE tag) TR (*) - table row - ALIGN = ... see align ... - default horiz. alignement within row - VALIGN = ... see align ... - default vert. alignement within row - BACKGROUND = ... see COLGROUP - BGCOLOR = ... see COLGROUP - FRAME = - frame of each cell (see TABLE tag) - FCOLOR = - frame colors (see TABLE tag) TD (*) - table cell - ALIGN = ... see align ... - horizontal alignement of cell data - VALIGN = ... see align ... - vertical alignement of cell data - COLSPAN = - how many columns this cell spans - ROWSPAN = - how many rows this cell spans - BACKGROUND = ... see COLGROUP - BGCOLOR = ... see COLGROUP - FRAME = - cell frame (see TABLE tag) - FCOLOR = - frame colors (see TABLE tag) FRAMESET (*) - define set of frames (can be nested) - COLS = - frame widths e.g. COLS="20%,30%,100" - ROWS = - frame heights e.g. ROWS="30%,150,10%" FRAME - define frame - NAME = - unique name of this frame for targetting - SRC = - URL of frame source - BORDER - render frame border - NORESIZE - allow users to resize frame? ===========================================================