persistent class %Studio.Template.HTMLAttribute
extends %Persistent, %XML.Adaptor
Represents an HTML attribute associated with a specific HTML element.
See the %Studio.Template.HTMLElement class for more information.
parameter XMLNAME = "attr";
This parameter provides the default XMLNAME for the class. If it is
empty then the class name will be used to construct a default XML name.
The default XMLNAME is used as the top level tag
when exporting objects and the export context
did not provide an XML container name.
property Category
as %String(XMLNAME="cat",XMLPROJECTION="attribute");
Category of this attribute.
property Description
as %String(MAXLEN=255,XMLNAME="desc",XMLPROJECTION="attribute");
Description of this attribute.
property Enum
as %String(MAXLEN=300,XMLNAME="enum",XMLPROJECTION="attribute");
List of enumerated values (for enum types).
property Name
as %String(MAXLEN=256,XMLNAME="name",XMLPROJECTION="attribute");
Name of this attribute.
relationship Tag
as HTMLElement [ Inverse = Attrs,Cardinality = parent ];
The tag this attribute is associated with.
property Type
as %String(XMLNAME="type",XMLPROJECTION="attribute");
Type of this attribute.