File:  [Public] / Amaya / amaya / Template.S
Revision 1.6: download - view: text, annotated - select for diffs
Fri Aug 19 13:11:20 2005 UTC (18 years, 10 months ago) by tollenae
Branches: MAIN
CVS tags: HEAD, Amaya-9-51, Amaya-9-5, Amaya-9-4, Amaya-9-3
Add an option (general preferences) to hide presentation associated with template's elements.

A. Tollenaere

            { A. Tollenaere	July 2005 }

	{ Templates schema. Only implements }
	{ protected areas yet }
	
STRUCTURE Template;

DEFPRES TemplateP;

ATTR
   { No global attributes for protected areas }
   xmlid = Text;		{ xml:id }
   
   { generic attributes for internal use }
   Unknown_attribute = TEXT;	{ to store an unknown attribute }

CONST

  C_Empty = ' ';

STRUCT

  Template { The root has no attribute } =
	CASE OF
    FREE_STRUCT = ANY ;
		FREE_CONTENT = ANY ;
	END; 
	
EXCEPT

    Unknown_attribute: Invisible;
    FREE_STRUCT: NoCreate;
		FREE_CONTENT: NoCreate;
    xmlid: CssId;

END

Webmaster