Schema Central  >  Resolution DTD  >  res.xsd  >  colspec
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

colspec

CALS Open Table Model. 

Element information

Namespace: None

Schema document: res.xsd

Type: Anonymous

Properties: Global, Qualified

Content

  • Empty content

Attributes

NameOccTypeDescriptionNotes
colnum [0..1]xsd:NMTOKENThis attribute is defined by the OASIS Open Exchange Table Model. Number of column, counting from 1 at left of the table. The value of colnum is not useful to identify a column in an entry, so serves no functional purpose other than a consistency check on the order of the colspecs.
colname [0..1]xsd:NMTOKENThis attribute is defined by the OASIS Open Exchange Table Model. Name of column, used to specify the position or horizontal span of columns in a row by reference in entry using colname, namest, and/or nameend.The colname value could be the same as colnum, as its declared value is NMTOKEN, though there is no such requirement. The name space for colnames is different for each tgroup.
colwidth [0..1]xsd:anySimpleTypeThis attribute is defined by the OASIS Open Exchange Table Model. Either proportional measure of the form number*, e.g., “5*” for 5 times the proportion, or “*” (which is equivalent to “1*”); fixed measure, e.g., 2pt for 2 point, 3pi for 3 pica. (Mixed measure, e.g., 2*+3pt, while allowed in the full CALS table model, is not supported in this Exchange model.) Coefficients are positive integers or fixed point numbers; for fixed point numbers, a leading (possibly 0) integer part is required, and implementations should support at least 2 decimal places. A value of "" [the null string] is treated as a proportional measure of “1*”.The fixed unit values are case insensitive. The standard list of allowed unit values is “pt” (points), “cm” (centimeters), “mm” (millimeters), “pi” (picas), and “in” (inches). The default fixed unit should be interpreted as “pt” if neither a proportion nor a fixed unit is specified.
colsep [0..1]yesornoThis attribute is defined by the OASIS Open Exchange Table Model. Specifies the presence or absence of column separator rules (vertical rules). Provides the default value for all tgroups in this table.If colsep is non-zero, display internal column rules to the right of each entry; if zero, do not display the rules. This value is ignored for the rightmost column, where the frame setting applies. The colsep value is determined by the leftmost column of a spanning entry, even though its effect is on the last column of such spanning entry.This attribute value is implied from the closest element in the inheritance path: colspec then tgroup then table. Note that if a tgroup or table element has no explicit specification for this attribute but does have an associated style sheet that gives a specification for this attribute, then this value shall be used as the value that is inherited from this element.
rowsep [0..1]yesornoThis attribute is defined by the OASIS Open Exchange Table Model. Specifies the presence or absence of row separator rules (horizontal rules). Provides the default value for all tgroups in this table.If rowsep is non-zero, display the internal row rules below each entry; if zero, do not display the rules. Ignored for the last row of the table (i.e., the last row of the last tgroup in this table), where the frame value applies.This attribute is implied from the closest element in the inheritance path: row then colspec then tgroup then table. Note that if a tgroup or table element has no explicit specification for this attribute but does have an associated style sheet that gives a specification for this attribute, then this value shall be used as the value that is inherited from this element.
align [0..1]AnonymousTo be defined when tables are defined.
char [0..1]xsd:anySimpleTypeThis attribute is defined by the OASIS Open Exchange Table Model. Default source for entrys starting in this column. If character alignment is specified, the value is the single alignment character source for any implied char values for entry immediately in this column. A value of "" (the null string) means there is no aligning character.
charoff [0..1]xsd:NMTOKENThis attribute is defined by the OASIS Open Exchange Table Model. It represents the horizontal offset of the alignment character when align=char .Default source for entrys starting in this column. For character alignment on an entry in the column, horizontal character offset is the percent of the current column width to the left of the (left edge of the) alignment character.This value should be number, greater than 0 and less than or equal to 100.
coldef [1..1]AnonymousProvides for column definiton. Examples: text with no leader dots, no spread or align on character. from group tbl.colspec.att
min-data-value [1..1]xsd:NMTOKENAll columns must have a minimum data value specified as a starting point for calculations to justify the table. Text columns must be specified as the minimum number of points required for a given column. The text columns will by default, spread as necessary, unless overridden, for justification of the table. from group tbl.colspec.att
colsep-modify [0..1]AnonymousVertical rules (colsep) will by default normally be hairline rules. A value of "1" in the "colsep" attribute must be used to make the rule in the default weight. The appropriate "colsep-modify" attribute must also be used to change the output to a parallel or bold rule. from group tbl.colspec.att
align-modify-variable [0..1]yesornoWill override whatever is specified in the "align" attribute and will make the output center if it is no more than two lines, but will make it flush and hang if it is more than two lines. The value of "1" will activate this override. from group tbl.colspec.att

Used in